From 168c7e1ca9ebfabbe6cbfb04f99055b52c1ac03f Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 4 Jun 2008 13:40:02 +0100 Subject: [PATCH] removing FoamX --- .../defaults/constant/turbulenceProperties | 34 - .../dnsFoam/FoamX/defaults/system/fvSchemes | 68 - .../dnsFoam/FoamX/defaults/system/fvSolution | 38 - .../solvers/DNS/dnsFoam/FoamX/dnsFoam.cfg | 69 - .../solvers/DNS/dnsFoam/FoamX/fvSchemes.cfg | 44 - .../solvers/DNS/dnsFoam/FoamX/fvSolution.cfg | 31 - .../dnsFoam/FoamX/turbulenceProperties.cfg | 43 - .../FoamX/defaults/system/fvSchemes | 64 - .../FoamX/defaults/system/fvSolution | 36 - .../basic/laplacianFoam/FoamX/fvSchemes.cfg | 29 - .../FoamX/fvSchemes/gradSchemes.cfg | 20 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 20 - .../basic/laplacianFoam/FoamX/fvSolution.cfg | 30 - .../laplacianFoam/FoamX/laplacianFoam.cfg | 52 - .../FoamX/transportProperties.cfg | 16 - .../FoamX/defaults/system/fvSchemes | 63 - .../FoamX/defaults/system/fvSolution | 36 - .../basic/potentialFoam/FoamX/fvSchemes.cfg | 29 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 20 - .../basic/potentialFoam/FoamX/fvSolution.cfg | 30 - .../potentialFoam/FoamX/potentialFoam.cfg | 42 - .../FoamX/defaults/system/fvSchemes | 64 - .../FoamX/defaults/system/fvSolution | 36 - .../scalarTransportFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 20 - .../scalarTransportFoam/FoamX/fvSolution.cfg | 30 - .../FoamX/scalarTransportFoam.cfg | 44 - .../FoamX/transportProperties.cfg | 16 - .../combustion/XiFoam/FoamX/XiFoam.cfg | 107 - .../XiFoam/FoamX/combustionProperties.cfg | 39 - .../defaults/constant/combustionProperties | 96 - .../XiFoam/FoamX/defaults/system/fvSchemes | 94 - .../XiFoam/FoamX/defaults/system/fvSolution | 50 - .../combustion/XiFoam/FoamX/fvSchemes.cfg | 28 - .../XiFoam/FoamX/fvSchemes/divSchemes.cfg | 33 - .../XiFoam/FoamX/fvSchemes/gradSchemes.cfg | 19 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 27 - .../combustion/XiFoam/FoamX/fvSolution.cfg | 42 - .../combustion/Xoodles/FoamX/Xoodles.cfg | 112 - .../Xoodles/FoamX/combustionProperties.cfg | 11 - .../defaults/constant/combustionProperties | 89 - .../Xoodles/FoamX/defaults/system/fvSchemes | 92 - .../Xoodles/FoamX/defaults/system/fvSolution | 49 - .../combustion/Xoodles/FoamX/fvSchemes.cfg | 28 - .../Xoodles/FoamX/fvSchemes/divSchemes.cfg | 32 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 26 - .../combustion/Xoodles/FoamX/fvSolution.cfg | 42 - .../engineFoam/FoamX/combustionProperties.cfg | 11 - .../defaults/constant/combustionProperties | 95 - .../FoamX/defaults/constant/engineGeometry | 40 - .../FoamX/defaults/system/fvSchemes | 94 - .../FoamX/defaults/system/fvSolution | 50 - .../engineFoam/FoamX/engineFoam.cfg | 116 - .../engineFoam/FoamX/engineGeometry.cfg | 28 - .../combustion/engineFoam/FoamX/fvSchemes.cfg | 28 - .../engineFoam/FoamX/fvSolution.cfg | 42 - .../compressible/coodles/FoamX/coodles.cfg | 91 - .../coodles/FoamX/defaults/system/fvSchemes | 80 - .../coodles/FoamX/defaults/system/fvSolution | 43 - .../compressible/coodles/FoamX/fvSchemes.cfg | 27 - .../coodles/FoamX/fvSchemes/divSchemes.cfg | 27 - .../coodles/FoamX/fvSchemes/gradSchemes.cfg | 21 - .../FoamX/fvSchemes/interpolationSchemes.cfg | 19 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 25 - .../compressible/coodles/FoamX/fvSolution.cfg | 35 - .../FoamX/defaults/system/fvSchemes | 68 - .../FoamX/defaults/system/fvSolution | 40 - .../rhoSonicFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 23 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 19 - .../rhoSonicFoam/FoamX/fvSolution.cfg | 33 - .../rhoSonicFoam/FoamX/rhoSonicFoam.cfg | 54 - .../FoamX/defaults/system/fvSchemes | 95 - .../FoamX/defaults/system/fvSolution | 54 - .../rhoTurbFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 29 - .../FoamX/fvSchemes/gradSchemes.cfg | 19 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 25 - .../rhoTurbFoam/FoamX/fvSolution.cfg | 36 - .../rhoTurbFoam/FoamX/rhoTurbFoam.cfg | 75 - .../sonicFoam/FoamX/defaults/system/fvSchemes | 70 - .../FoamX/defaults/system/fvSolution | 40 - .../sonicFoam/FoamX/fvSchemes.cfg | 28 - .../sonicFoam/FoamX/fvSchemes/divSchemes.cfg | 22 - .../sonicFoam/FoamX/fvSchemes/gradSchemes.cfg | 21 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 22 - .../sonicFoam/FoamX/fvSolution.cfg | 33 - .../sonicFoam/FoamX/sonicFoam.cfg | 55 - .../sonicFoam/FoamX/transportProperties.cfg | 16 - .../FoamX/defaults/system/fvSchemes | 67 - .../FoamX/defaults/system/fvSolution | 39 - .../sonicLiquidFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 21 - .../FoamX/fvSchemes/gradSchemes.cfg | 20 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 21 - .../sonicLiquidFoam/FoamX/fvSolution.cfg | 32 - .../sonicLiquidFoam/FoamX/sonicLiquidFoam.cfg | 54 - .../FoamX/thermodynamicProperties.cfg | 18 - .../FoamX/transportProperties.cfg | 16 - .../FoamX/defaults/system/fvSchemes | 77 - .../FoamX/defaults/system/fvSolution | 43 - .../sonicTurbFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 27 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 24 - .../sonicTurbFoam/FoamX/fvSolution.cfg | 36 - .../sonicTurbFoam/FoamX/sonicTurbFoam.cfg | 78 - .../FoamX/thermophysicalProperties.cfg | 19 - .../FoamX/defaults/system/fvSchemes | 64 - .../FoamX/defaults/system/fvSolution | 32 - .../FoamX/electrostaticFoam.cfg | 52 - .../electrostaticFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 24 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 20 - .../electrostaticFoam/FoamX/fvSolution.cfg | 29 - .../FoamX/physicalProperties.cfg | 17 - .../mhdFoam/FoamX/defaults/system/fvSchemes | 75 - .../mhdFoam/FoamX/defaults/system/fvSolution | 45 - .../mhdFoam/FoamX/fvSchemes.cfg | 28 - .../mhdFoam/FoamX/fvSchemes/divSchemes.cfg | 23 - .../mhdFoam/FoamX/fvSchemes/gradSchemes.cfg | 21 - .../FoamX/fvSchemes/interpolationSchemes.cfg | 20 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 23 - .../mhdFoam/FoamX/fvSolution.cfg | 42 - .../mhdFoam/FoamX/mhdFoam.cfg | 55 - .../mhdFoam/FoamX/transportProperties.cfg | 19 - .../buoyantFoam/FoamX/buoyantFoam.cfg | 77 - .../FoamX/defaults/system/fvSchemes | 75 - .../FoamX/defaults/system/fvSolution | 43 - .../buoyantFoam/FoamX/fvSchemes.cfg | 29 - .../FoamX/fvSchemes/divSchemes.cfg | 25 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 24 - .../buoyantFoam/FoamX/fvSolution.cfg | 36 - .../FoamX/buoyantSimpleFoam.cfg | 77 - .../FoamX/defaults/system/fvSchemes | 75 - .../FoamX/defaults/system/fvSolution | 54 - .../buoyantSimpleFoam/FoamX/fvSchemes.cfg | 29 - .../buoyantSimpleFoam/FoamX/fvSolution.cfg | 58 - .../channelOodles/FoamX/channelOodles.cfg | 73 - .../FoamX/defaults/system/fvSchemes | 76 - .../FoamX/defaults/system/fvSolution | 44 - .../channelOodles/FoamX/fvSchemes.cfg | 28 - .../channelOodles/FoamX/fvSolution.cfg | 35 - .../FoamX/transportProperties.cfg | 20 - .../icoFoam/FoamX/defaults/system/fvSchemes | 67 - .../icoFoam/FoamX/defaults/system/fvSolution | 48 - .../icoFoam/FoamX/fvSchemes.cfg | 28 - .../icoFoam/FoamX/fvSchemes/divSchemes.cfg | 19 - .../icoFoam/FoamX/fvSchemes/gradSchemes.cfg | 19 - .../FoamX/fvSchemes/interpolationSchemes.cfg | 19 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 21 - .../icoFoam/FoamX/fvSolution.cfg | 31 - .../incompressible/icoFoam/FoamX/icoFoam.cfg | 43 - .../oodles/FoamX/defaults/system/fvSchemes | 77 - .../oodles/FoamX/defaults/system/fvSolution | 42 - .../incompressible/oodles/FoamX/fvSchemes.cfg | 28 - .../oodles/FoamX/fvSchemes/divSchemes.cfg | 25 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 24 - .../oodles/FoamX/fvSolution.cfg | 35 - .../incompressible/oodles/FoamX/oodles.cfg | 79 - .../FoamX/defaults/system/fvSchemes | 79 - .../FoamX/defaults/system/fvSolution | 51 - .../simpleFoam/FoamX/fvSchemes.cfg | 45 - .../simpleFoam/FoamX/fvSolution.cfg | 49 - .../simpleFoam/FoamX/simpleFoam.cfg | 73 - .../turbFoam/FoamX/defaults/system/fvSchemes | 78 - .../turbFoam/FoamX/defaults/system/fvSolution | 42 - .../turbFoam/FoamX/fvSchemes.cfg | 28 - .../turbFoam/FoamX/fvSchemes/divSchemes.cfg | 26 - .../turbFoam/FoamX/fvSchemes/gradSchemes.cfg | 21 - .../FoamX/fvSchemes/interpolationSchemes.cfg | 20 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 25 - .../turbFoam/FoamX/fvSolution.cfg | 35 - .../turbFoam/FoamX/turbFoam.cfg | 73 - .../bubbleFoam/FoamX/bubbleFoam.cfg | 72 - .../defaults/constant/transportProperties | 44 - .../defaults/constant/turbulenceProperties | 49 - .../FoamX/defaults/system/fvSchemes | 72 - .../FoamX/defaults/system/fvSolution | 47 - .../multiphase/bubbleFoam/FoamX/fvSchemes.cfg | 28 - .../bubbleFoam/FoamX/fvSchemes/divSchemes.cfg | 25 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 22 - .../bubbleFoam/FoamX/fvSolution.cfg | 47 - .../bubbleFoam/FoamX/transportProperties.cfg | 29 - .../bubbleFoam/FoamX/turbulenceProperties.cfg | 34 - .../interFoam/FoamX/defaults/system/fvSchemes | 67 - .../FoamX/defaults/system/fvSolution | 64 - .../multiphase/interFoam/FoamX/fvSchemes.cfg | 29 - .../interFoam/FoamX/fvSchemes/divSchemes.cfg | 21 - .../FoamX/fvSchemes/interpolationSchemes.cfg | 18 - .../multiphase/interFoam/FoamX/fvSolution.cfg | 45 - .../multiphase/interFoam/FoamX/interFoam.cfg | 57 - .../FoamX/defaults/system/fvSchemes | 73 - .../FoamX/defaults/system/fvSolution | 47 - .../lesInterFoam/FoamX/fvSchemes.cfg | 29 - .../lesInterFoam/FoamX/fvSchemes/divPhiU.cfg | 55 - .../FoamX/fvSchemes/divSchemes.cfg | 26 - .../FoamX/fvSchemes/interpolationSchemes.cfg | 19 - .../lesInterFoam/FoamX/fvSolution.cfg | 48 - .../lesInterFoam/FoamX/lesInterFoam.cfg | 86 - .../FoamX/defaults/system/fvSchemes | 74 - .../FoamX/defaults/system/fvSolution | 48 - .../rasInterFoam/FoamX/fvSchemes.cfg | 29 - .../FoamX/fvSchemes/divSchemes.cfg | 28 - .../FoamX/fvSchemes/interpolationSchemes.cfg | 19 - .../rasInterFoam/FoamX/fvSolution.cfg | 48 - .../rasInterFoam/FoamX/rasInterFoam.cfg | 94 - .../defaults/constant/transportProperties | 62 - .../defaults/constant/turbulenceProperties | 50 - .../FoamX/defaults/system/fvSchemes | 72 - .../FoamX/defaults/system/fvSolution | 42 - .../settlingFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 24 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 23 - .../settlingFoam/FoamX/fvSolution.cfg | 35 - .../settlingFoam/FoamX/settlingFoam.cfg | 66 - .../FoamX/transportProperties.cfg | 70 - .../FoamX/turbulenceProperties.cfg | 34 - .../defaults/constant/environmentalProperties | 28 - .../constant/initAlphaFieldProperties | 41 - .../defaults/constant/interfacialProperties | 30 - .../defaults/constant/kineticTheoryProperties | 51 - .../FoamX/defaults/constant/ppProperties | 34 - .../defaults/constant/transportProperties | 48 - .../defaults/constant/turbulenceProperties | 45 - .../FoamX/defaults/system/fvSchemes | 77 - .../FoamX/defaults/system/fvSolution | 48 - .../dictionaries/fvSchemes/div/phiTheta.cfg | 15 - .../fvSchemes/laplacian/nuEffEpsilon.cfg | 13 - .../fvSchemes/laplacian/nuEffk.cfg | 13 - .../fvSchemes/laplacian/ppMagfAlpha.cfg | 13 - .../dictionaries/fvSolution/solvers/Theta.cfg | 16 - .../interfacialProperties/dragModela.cfg | 25 - .../interfacialProperties/dragModelb.cfg | 25 - .../interfacialProperties/dragPhase.cfg | 23 - .../entries/Switch/kineticEquilibrium.cfg | 17 - .../FoamX/entries/Switch/kineticTheory.cfg | 17 - .../FoamX/entries/dimensionedScalar/KTFr.cfg | 16 - .../FoamX/entries/dimensionedScalar/KTe.cfg | 16 - .../FoamX/entries/dimensionedScalar/KTeta.cfg | 16 - .../FoamX/entries/dimensionedScalar/KTp.cfg | 16 - .../FoamX/entries/dimensionedScalar/KTphi.cfg | 16 - .../FoamX/entries/dimensionedScalar/L.cfg | 16 - .../entries/dimensionedScalar/alphaMax.cfg | 16 - .../dimensionedScalar/alphaMinFriction.cfg | 16 - .../FoamX/entries/dimensionedScalar/d.cfg | 16 - .../FoamX/entries/dimensionedScalar/g0.cfg | 16 - .../FoamX/entries/geometricFields/Theta.cfg | 18 - .../HrenyaSinclairCoeffs.cfg | 19 - .../conductivityModels.cfg | 23 - .../kineticTheoryModels/viscosityModels.cfg | 24 - .../FoamX/entries/phaseModels/phasea.cfg | 23 - .../FoamX/entries/phaseModels/phaseb.cfg | 23 - .../FoamX/entries/scalar/alphaMax.cfg | 16 - .../FoamX/entries/scalar/expMax.cfg | 16 - .../FoamX/entries/scalar/preAlphaExp.cfg | 16 - .../twoPhaseEulerFoam/FoamX/fvSchemes.cfg | 28 - .../FoamX/fvSchemes/divSchemes.cfg | 27 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 25 - .../twoPhaseEulerFoam/FoamX/fvSolution.cfg | 48 - .../FoamX/interfacialProperties.cfg | 20 - .../FoamX/kineticTheoryProperties.cfg | 34 - .../twoPhaseEulerFoam/FoamX/ppProperties.cfg | 26 - .../FoamX/transportProperties.cfg | 25 - .../FoamX/turbulenceProperties.cfg | 34 - .../FoamX/twoPhaseEulerFoam.cfg | 81 - .../defaults/constant/mechanicalProperties | 34 - .../FoamX/defaults/constant/thermalProperties | 34 - .../FoamX/defaults/system/fvSchemes | 68 - .../FoamX/defaults/system/fvSolution | 39 - .../solidDisplacementFoam/FoamX/fvSchemes.cfg | 27 - .../FoamX/fvSchemes/divSchemes.cfg | 19 - .../FoamX/fvSchemes/gradSchemes.cfg | 21 - .../FoamX/fvSchemes/laplacianSchemes.cfg | 20 - .../FoamX/fvSolution.cfg | 36 - .../FoamX/mechanicalProperties.cfg | 26 - .../FoamX/patchFieldTypes.cfg | 85 - .../FoamX/solidDisplacementFoam.cfg | 81 - .../FoamX/thermalProperties.cfg | 26 - .../FoamX/estimateScalarError.cfg | 27 - .../FoamX/icoErrorEstimate.cfg | 27 - .../icoMomentError/FoamX/icoMomentError.cfg | 27 - .../FoamX/momentScalarError.cfg | 27 - .../autoRefineMesh/FoamX/autoRefineMesh.cfg | 27 - .../collapseEdges/FoamX/collapseEdges.cfg | 32 - .../FoamX/combinePatchFaces.cfg | 32 - .../refinementLevel/FoamX/refinementLevel.cfg | 31 - .../ccm26ToFoam/FoamX/ccm24ToFoam.cfg | 31 - .../ansysToFoam/FoamX/ansysToFoam.cfg | 32 - .../conversion/cfxToFoam/FoamX/cfxToFoam.cfg | 32 - .../FoamX/fluentMeshToFoam.cfg | 32 - .../FoamX/foamMeshToFluent.cfg | 27 - .../gambitToFoam/FoamX/gambitToFoam.cfg | 32 - .../gmshToFoam/FoamX/gmshToFoam.cfg | 33 - .../ideasUnvToFoam/FoamX/kivaToFoam.cfg | 33 - .../kivaToFoam/FoamX/kivaToFoam.cfg | 33 - .../conversion/mshToFoam/FoamX/mshToFoam.cfg | 32 - .../FoamX/netgenNeutralToFoam.cfg | 31 - .../plot3dToFoam/FoamX/plot3dToFoam.cfg | 34 - .../sammToFoam/FoamX/sammToFoam.cfg | 32 - .../starToFoam/FoamX/starToFoam.cfg | 32 - .../tetgenToFoam/FoamX/tetgenToFoam.cfg | 33 - .../writeMeshObj/FoamX/writeMeshObj.cfg | 36 - .../mesh/generation/blockMesh/FoamX/block.cfg | 23 - .../generation/blockMesh/FoamX/blockMesh.cfg | 87 - .../blockMesh/FoamX/blockTopology.cfg | 30 - .../blockMesh/FoamX/cellDensity.cfg | 18 - .../mesh/generation/blockMesh/FoamX/edge.cfg | 135 - .../blockMesh/FoamX/expansionRatio.cfg | 52 - .../mesh/generation/blockMesh/FoamX/hex.cfg | 37 - .../mesh/generation/blockMesh/FoamX/patch.cfg | 55 - .../generation/blockMesh/FoamX/patchPair.cfg | 19 - .../mesh/generation/blockMesh/FoamX/quad.cfg | 25 - .../extrudeMesh/FoamX/extrudeMesh.cfg | 53 - .../extrudeMesh/FoamX/mergeFaces.cfg | 30 - .../extrudeMesh/FoamX/sourceCase.cfg | 43 - .../extrudeMesh/FoamX/sourcePatch.cfg | 43 - .../extrudeMesh/FoamX/sourceRoot.cfg | 43 - .../generation/extrudeMesh/FoamX/surface.cfg | 44 - .../extrudeMesh/FoamX/targetRootAndCase.cfg | 16 - .../attachMesh/FoamX/attachMesh.cfg | 25 - .../autoPatch/FoamX/autoPatch.cfg | 31 - .../manipulation/cellSet/FoamX/boxToCell.cfg | 29 - .../manipulation/cellSet/FoamX/cellSet.cfg | 77 - .../manipulation/cellSet/FoamX/cellToCell.cfg | 20 - .../manipulation/cellSet/FoamX/faceToCell.cfg | 32 - .../cellSet/FoamX/fieldToCell.cfg | 25 - .../cellSet/FoamX/labelToCell.cfg | 24 - .../cellSet/FoamX/nearestToCell.cfg | 24 - .../cellSet/FoamX/pointToCell.cfg | 30 - .../cellSet/FoamX/rotatedBoxToCell.cfg | 38 - .../mesh/manipulation/cellSet/FoamX/set.cfg | 15 - .../cellSet/FoamX/shapeToCell.cfg | 23 - .../cellSet/FoamX/surfaceToCell.cfg | 26 - .../manipulation/cellSet/FoamX/zoneToCell.cfg | 23 - .../checkMesh.save/FoamX/checkMesh.cfg | 33 - .../checkMesh/FoamX/checkMesh.cfg | 33 - .../createBaffles/FoamX/splitMeshRegions.cfg | 43 - .../createPatch/FoamX/createPatch.cfg | 38 - .../createPatch/FoamX/patchDescription.cfg | 58 - .../manipulation/createPatch/FoamX/set.cfg | 15 - .../deformedGeom/FoamX/deformedGeom.cfg | 31 - .../manipulation/faceSet/FoamX/boxToFace.cfg | 29 - .../manipulation/faceSet/FoamX/cellToFace.cfg | 31 - .../manipulation/faceSet/FoamX/faceSet.cfg | 75 - .../manipulation/faceSet/FoamX/faceToFace.cfg | 20 - .../faceSet/FoamX/labelToFace.cfg | 24 - .../faceSet/FoamX/normalToFace.cfg | 30 - .../faceSet/FoamX/patchToFace.cfg | 23 - .../faceSet/FoamX/pointToFace.cfg | 29 - .../mesh/manipulation/faceSet/FoamX/set.cfg | 15 - .../manipulation/faceSet/FoamX/zoneToFace.cfg | 23 - .../flattenMesh/FoamX/flattenMesh.cfg | 27 - .../mergeMeshes/FoamX/mergeMeshes.cfg | 36 - .../mirrorMesh/FoamX/mirrorMesh.cfg | 60 - .../moveDynamicMesh/FoamX/moveDynamicMesh.cfg | 27 - .../moveEngineMesh/FoamX/moveEngineMesh.cfg | 27 - .../manipulation/moveMesh/FoamX/moveMesh.cfg | 27 - .../manipulation/objToVTK/FoamX/objToVTK.cfg | 33 - .../pointSet/FoamX/boxToPoint.cfg | 29 - .../pointSet/FoamX/cellToPoint.cfg | 30 - .../pointSet/FoamX/faceToPoint.cfg | 28 - .../pointSet/FoamX/labelToPoint.cfg | 24 - .../manipulation/pointSet/FoamX/pointSet.cfg | 72 - .../pointSet/FoamX/pointToPoint.cfg | 20 - .../mesh/manipulation/pointSet/FoamX/set.cfg | 15 - .../refineMesh/FoamX/refineMesh.cfg | 86 - .../renumberMesh/FoamX/renumberMesh.cfg | 27 - .../rotateMesh/FoamX/rotateMesh.cfg | 32 - .../splitMesh/FoamX/splitMesh.cfg | 38 - .../FoamX/splitMeshRegions.cfg | 43 - .../stitchMesh/FoamX/stitchMesh.cfg | 34 - .../subsetMesh/FoamX/subsetMesh.cfg | 55 - .../transformPoints/FoamX/transformPoints.cfg | 34 - .../zipUpMesh/FoamX/zipUpMesh.cfg | 27 - .../foamInfoExec/FoamX/foamInfoExec.cfg | 32 - .../decomposePar/FoamX/decomposePar.cfg | 85 - .../decomposePar/FoamX/delta.cfg | 16 - .../decomposePar/FoamX/n.cfg | 19 - .../decomposePar/FoamX/order.cfg | 25 - .../reconstructPar/FoamX/reconstructPar.cfg | 27 - .../FoamX/reconstructParMesh.cfg | 27 - .../FoamX/foamDataToFluent.cfg | 29 - .../FoamX/standardEntries.cfg | 58 - .../foamToEnsight/FoamX/foamToEnsight.cfg | 31 - .../FoamX/foamToFieldview9.cfg | 31 - .../foamToGMV/FoamX/foamToGMV.cfg | 27 - .../smapToFoam/FoamX/smapToFoam.cfg | 31 - .../graphics/paraFoam/FoamX/paraFoam.cfg | 27 - .../engineCompRatio/FoamX/engineCompRatio.cfg | 27 - .../postChannel/FoamX/postChannel.cfg | 38 - .../miscellaneous/ptot/FoamX/ptot.cfg | 27 - .../miscellaneous/wdot/FoamX/wdot.cfg | 27 - .../FoamX/writeCellCentres.cfg | 32 - .../scalarField/pPrime2/FoamX/pPrime2.cfg | 27 - .../FoamX/stressComponents.cfg | 27 - .../postProcessing/turbulence/R/FoamX/R.cfg | 27 - .../velocityField/Co/FoamX/Co.cfg | 27 - .../velocityField/Lambda2/FoamX/Lambda2.cfg | 29 - .../velocityField/Mach/FoamX/Mach.cfg | 27 - .../velocityField/Pe/FoamX/Pe.cfg | 27 - .../velocityField/Q/FoamX/Q.cfg | 27 - .../enstrophy/FoamX/enstrophy.cfg | 27 - .../velocityField/flowType/FoamX/flowType.cfg | 27 - .../streamFunction/FoamX/streamFunction.cfg | 27 - .../velocityField/uprime/FoamX/uprime.cfg | 27 - .../vorticity/FoamX/vorticity.cfg | 27 - .../wall/wallGradU/FoamX/wallGradU.cfg | 27 - .../wall/wallHeatFlux/FoamX/wallHeatFlux.cfg | 27 - .../wallShearStress/FoamX/wallShearStress.cfg | 27 - .../wall/yPlusLES/FoamX/yPlusLES.cfg | 27 - .../wall/yPlusRAS/FoamX/yPlusRAS.cfg | 27 - .../utilities/preProcessing/FoamX/Allwmake | 6 - .../preProcessing/FoamX/C++/Allwmake | 17 - .../C++/FoamXCaseBrowser/FoamXCaseBrowser.C | 145 - .../C++/FoamXCaseBrowser/ICaseBrowserImpl.C | 2963 -- .../C++/FoamXCaseBrowser/ICaseBrowserImpl.H | 396 - .../FoamX/C++/FoamXCaseBrowser/Make/files | 4 - .../FoamX/C++/FoamXCaseBrowser/Make/options | 13 - .../C++/FoamXCaseServer/FoamXCaseServer.C | 225 - .../C++/FoamXCaseServer/ICaseServerImpl.C | 1870 -- .../C++/FoamXCaseServer/ICaseServerImpl.H | 280 - .../FoamX/C++/FoamXCaseServer/Make/files | 4 - .../FoamX/C++/FoamXCaseServer/Make/options | 12 - .../C++/FoamXHostBrowser/FoamXHostBrowser.C | 155 - .../C++/FoamXHostBrowser/IHostBrowserImpl.C | 442 - .../C++/FoamXHostBrowser/IHostBrowserImpl.H | 138 - .../FoamX/C++/FoamXHostBrowser/Make/files | 4 - .../FoamX/C++/FoamXHostBrowser/Make/options | 12 - .../FoamX/C++/FoamXLib/DictionaryWriter.C | 555 - .../FoamX/C++/FoamXLib/DictionaryWriter.H | 269 - .../FoamX/C++/FoamXLib/DimensionSet.C | 50 - .../FoamX/C++/FoamXLib/DimensionSet.H | 64 - .../FoamX/C++/FoamXLib/FoamXAny.C | 816 - .../FoamX/C++/FoamXLib/FoamXAny.H | 158 - .../FoamX/C++/FoamXLib/FoamXAnyList.H | 54 - .../FoamX/C++/FoamXLib/FoamXErrors.C | 380 - .../FoamX/C++/FoamXLib/FoamXErrors.H | 249 - .../FoamX/C++/FoamXLib/FoamXFileNameList.C | 82 - .../FoamX/C++/FoamXLib/FoamXFileNameList.H | 84 - .../FoamX/C++/FoamXLib/FoamXNameSpaces.H | 59 - .../FoamX/C++/FoamXLib/FoamXString.C | 190 - .../FoamX/C++/FoamXLib/FoamXString.H | 124 - .../FoamX/C++/FoamXLib/FoamXStringList.C | 169 - .../FoamX/C++/FoamXLib/FoamXStringList.H | 115 - .../FoamX/C++/FoamXLib/FoamXTypes.C | 149 - .../FoamX/C++/FoamXLib/FoamXTypes.H | 94 - .../FoamX/C++/FoamXLib/FoamXWordList.C | 105 - .../FoamX/C++/FoamXLib/FoamXWordList.H | 93 - .../FoamX/C++/FoamXLib/IApplicationImpl.C | 1160 - .../FoamX/C++/FoamXLib/IApplicationImpl.H | 224 - .../FoamX/C++/FoamXLib/IDictionaryEntryImpl.C | 2099 -- .../FoamX/C++/FoamXLib/IDictionaryEntryImpl.H | 224 - .../FoamXLib/IGeometricFieldDescriptorImpl.C | 360 - .../FoamXLib/IGeometricFieldDescriptorImpl.H | 165 - .../FoamX/C++/FoamXLib/IGeometricFieldImpl.C | 675 - .../FoamX/C++/FoamXLib/IGeometricFieldImpl.H | 161 - .../C++/FoamXLib/IGeometryDescriptorImpl.C | 210 - .../C++/FoamXLib/IGeometryDescriptorImpl.H | 112 - .../FoamX/C++/FoamXLib/IPatchDescriptorImpl.C | 208 - .../FoamX/C++/FoamXLib/IPatchDescriptorImpl.H | 110 - .../IPatchPhysicalTypeDescriptorImpl.C | 487 - .../IPatchPhysicalTypeDescriptorImpl.H | 162 - .../FoamX/C++/FoamXLib/IPropertiesImpl.C | 1534 - .../FoamX/C++/FoamXLib/IPropertiesImpl.H | 310 - .../FoamX/C++/FoamXLib/ITypeDescriptorImpl.C | 2052 -- .../FoamX/C++/FoamXLib/ITypeDescriptorImpl.H | 347 - .../FoamX/C++/FoamXLib/LogEntry.C | 130 - .../FoamX/C++/FoamXLib/LogEntry.H | 102 - .../FoamX/C++/FoamXLib/LogManager.C | 199 - .../FoamX/C++/FoamXLib/LogManager.H | 121 - .../FoamX/C++/FoamXLib/Make/files | 31 - .../FoamX/C++/FoamXLib/Make/omniOptions | 43 - .../FoamX/C++/FoamXLib/Make/options | 7 - .../FoamX/C++/FoamXLib/Make/orbOptions | 31 - .../FoamX/C++/FoamXLib/NameServer.C | 1227 - .../FoamX/C++/FoamXLib/NameServer.H | 186 - .../FoamX/C++/FoamXLib/ObjRefDictionary.H | 107 - .../FoamX/C++/FoamXLib/ObjRefHashTable.H | 111 - .../preProcessing/FoamX/C++/FoamXLib/Orb.C | 88 - .../preProcessing/FoamX/C++/FoamXLib/Orb.H | 89 - .../FoamX/C++/FoamXLib/PatchProperties.C | 321 - .../FoamX/C++/FoamXLib/PatchProperties.H | 123 - .../preProcessing/FoamX/C++/FoamXLib/Paths.C | 67 - .../preProcessing/FoamX/C++/FoamXLib/Paths.H | 65 - .../FoamX/C++/FoamXLib/ProcessControl.C | 464 - .../FoamX/C++/FoamXLib/ProcessControl.H | 177 - .../FoamX/C++/FoamXLib/RootDictionary.C | 255 - .../FoamX/C++/FoamXLib/RootDictionary.H | 111 - .../FoamX/C++/FoamXServer/FoamX.C | 25565 ---------------- .../FoamX/C++/FoamXServer/FoamX.H | 3320 -- .../FoamX/C++/FoamXServer/Make/files | 3 - .../FoamX/C++/FoamXServer/Make/options | 4 - .../utilities/preProcessing/FoamX/FoamX.idl | 0 .../preProcessing/FoamX/Idl/FoamX.idl | 1320 - .../preProcessing/FoamX/Idl/Makefile | 31 - .../preProcessing/FoamX/Java/FoamX/.nbattrs | 14 - .../Java/FoamX/ActionManagement/.nbattrs | 9 - .../FoamX/ActionManagement/ActionManager.java | 157 - .../ActionManagement/IActionProvider.java | 33 - .../ActionManagement/filesystem.attributes | Bin 1279 -> 0 bytes .../preProcessing/FoamX/Java/FoamX/App.form | 136 - .../preProcessing/FoamX/Java/FoamX/App.java | 1717 -- .../FoamX/Java/FoamX/CaseManagement/.nbattrs | 67 - .../CaseManagement/CaseBrowserModel.java | 887 - .../CaseManagement/CaseBrowserPanel.form | 44 - .../CaseManagement/CaseBrowserPanel.java | 3356 -- .../FoamX/CaseManagement/CaseChooserDlg.java | 238 - .../FoamX/CaseManagement/CaseManager.form | 25 - .../FoamX/CaseManagement/CaseManager.java | 990 - .../CaseManagement/CaseManagerEvent.java | 115 - .../CaseManagement/CaseManagerListener.java | 42 - .../Java/FoamX/CaseManagement/CasePanel.form | 38 - .../Java/FoamX/CaseManagement/CasePanel.java | 1421 - .../CaseManagement/CaseSelectionEvent.java | 85 - .../CaseManagement/CaseSelectionListener.java | 38 - .../FoamX/CaseManagement/CaseStatusEvent.java | 125 - .../CaseManagement/CaseStatusListener.java | 41 - .../FoamX/CaseManagement/CloneCaseDialog.form | 221 - .../FoamX/CaseManagement/ContextInfo.java | 267 - .../CaseManagement/CreateCaseDialog.form | 180 - .../CaseManagement/CreateCaseDialog.java | 422 - .../FoamX/CaseManagement/HostChooserDlg.java | 180 - .../Java/FoamX/CaseManagement/IModule.java | 46 - .../FoamX/CaseManagement/IModuleHost.java | 66 - .../FoamX/CaseManagement/TreeNodeInfo.java | 199 - .../CaseManagement/filesystem.attributes | Bin 4060 -> 0 bytes .../FoamX/Java/FoamX/Editors/.nbattrs | 30 - .../FoamX/Editors/ApplicationEditor/.nbattrs | 38 - .../ApplicationDetailsTab.form | 209 - .../ApplicationDetailsTab.java | 329 - .../ApplicationEditorDlg.form | 80 - .../ApplicationEditorDlg.java | 300 - .../ApplicationExeption.java | 50 - .../ApplicationEditor/ApplicationModel.java | 415 - .../BoundaryDefinitionModel.java | 546 - .../BoundaryDefinitionModelItem.java | 343 - .../BoundaryDefinitionPanel.form | 144 - .../BoundaryDefinitionPanel.java | 402 - .../BoundaryDefinitionTreeRenderer.java | 128 - .../ApplicationEditor/BoundaryTypesTab.form | 133 - .../BrowseApplicationesDlg.form | 186 - .../BrowseApplicationesDlg.java | 735 - .../FieldDefinitionModel.java | 465 - .../FieldDescriptorCache.java | 136 - .../FieldDimensionCellEditor.java | 285 - .../FieldDimensionCellRenderer.java | 85 - .../ApplicationEditor/FieldModelEvent.java | 66 - .../ApplicationEditor/FieldModelListener.java | 38 - .../Editors/ApplicationEditor/FieldsTab.form | 76 - .../Editors/ApplicationEditor/FieldsTab.java | 294 - .../Editors/ApplicationEditor/ModulesTab.form | 182 - .../Editors/ApplicationEditor/ModulesTab.java | 400 - .../PatchPhysicalTypesTab.java | 417 - .../ApplicationEditor/filesystem.attributes | Bin 1028 -> 0 bytes .../Java/FoamX/Editors/CompoundEditor.form | 99 - .../Java/FoamX/Editors/CompoundEditor.java | 226 - .../Editors/DictionaryEntryEditor/.nbattrs | 47 - .../CompoundEntryEvent.java | 58 - .../CompoundEntryListener.java | 33 - .../DictionaryEditorPanel.form | 87 - .../DictionaryEditorPanel.java | 282 - .../DictionaryEntry.java | 47 - .../DictionaryEntryCellEditor.java | 226 - .../DictionaryEntryCellRenderer.java | 139 - .../DictionaryEntryCompoundEditor.java | 297 - .../DictionaryEntryCompoundPanel.form | 36 - .../DictionaryEntryCompoundPanel.java | 89 - .../DictionaryEntryTableModel.java | 372 - .../DictionaryNameCellRenderer.java | 93 - .../EntryCache/BooleanCache.java | 158 - .../EntryCache/CaseNameCache.java | 136 - .../EntryCache/CharCache.java | 142 - .../EntryCache/CompoundCache.java | 286 - .../EntryCache/DictionaryCache.java | 183 - .../EntryCache/DictionaryEntryCache.java | 595 - .../EntryCache/DimensionSetCache.java | 166 - .../EntryCache/FixedListCache.java | 162 - .../EntryCache/HostNameCache.java | 195 - .../EntryCache/LabelCache.java | 193 - .../EntryCache/ListCache.java | 273 - .../EntryCache/RootAndCaseCache.java | 267 - .../EntryCache/RootDirCache.java | 203 - .../EntryCache/ScalarCache.java | 199 - .../EntryCache/SelectionCache.java | 195 - .../EntryCache/StringCache.java | 153 - .../EntryCache/TimeCache.java | 145 - .../EntryCache/WordCache.java | 153 - .../SelectionEntryCellRenderer.java | 100 - .../SelectionTableModel.java | 402 - .../filesystem.attributes | Bin 2083 -> 0 bytes .../FoamX/Editors/DimensionSetEditor.form | 104 - .../FoamX/Editors/DimensionSetEditor.java | 324 - .../Java/FoamX/Editors/FixedListEditor.java | 292 - .../FoamX/Java/FoamX/Editors/ListEditor.form | 176 - .../FoamX/Java/FoamX/Editors/ListEditor.java | 506 - .../Java/FoamX/Editors/SelectionEditor.form | 99 - .../Java/FoamX/Editors/SelectionEditor.java | 324 - .../FoamX/Java/FoamX/Editors/ShapeEditor.form | 173 - .../Java/FoamX/Editors/StringListEditor.form | 162 - .../Java/FoamX/Editors/StringListEditor.java | 589 - .../Java/FoamX/Editors/TypeEditor/.nbattrs | 9 - .../TypeEditor/TypeDescriptorCache.java | 666 - .../Editors/TypeEditor/TypeEditorModel.java | 989 - .../Editors/TypeEditor/TypeEditorPanel.form | 138 - .../Editors/TypeEditor/TypeEditorPanel.java | 230 - .../Editors/TypeEditor/TypeParameter.java | 527 - .../TypeEditor/TypeParameterCustomEditor.java | 287 - .../TypeEditor/TypeParameterEditor.java | 116 - .../TypeEditor/TypeParameterRenderer.java | 75 - .../Editors/TypeEditor/filesystem.attributes | Bin 465 -> 0 bytes .../Java/FoamX/Editors/VectorSpaceEditor.form | 113 - .../FoamX/Java/FoamX/Editors/alias | 0 .../Java/FoamX/Editors/filesystem.attributes | Bin 468 -> 0 bytes .../Exceptions/CaseBrowserIOException.java | 65 - .../Java/FoamX/Exceptions/FoamXCancel.java | 47 - .../Java/FoamX/Exceptions/FoamXException.java | 47 - .../Java/FoamX/Modules/CaseEditor/.nbattrs | 33 - .../CaseEditor/BoundaryTypeSelectorDlg.form | 108 - .../Modules/CaseEditor/CaseEditorModule.java | 2332 -- .../CaseEditor/FieldPropertiesWindow.form | 37 - .../CaseEditor/FieldPropertiesWindow.java | 427 - .../Modules/CaseEditor/PatchEditorModel.java | 408 - .../Modules/CaseEditor/PatchEditorWindow.form | 103 - .../Modules/CaseEditor/PatchEditorWindow.java | 245 - .../FoamX/Modules/CaseEditor/PatchEntry.java | 205 - .../PatchPhysicalTypeSelectorDlg.java | 265 - .../Modules/CaseEditor/PatchStatusEvent.java | 50 - .../CaseEditor/PatchStatusListener.java | 33 - .../Modules/CaseEditor/filesystem.attributes | Bin 1244 -> 0 bytes .../DictionaryTextEditor.java | 131 - .../RawDictionaryEditorModule.java | 561 - .../FoamX/Java/FoamX/Options/.nbattrs | 36 - .../Java/FoamX/Options/DocServerTab.form | 92 - .../Java/FoamX/Options/DocServerTab.java | 146 - .../Java/FoamX/Options/FieldTypesTab.form | 8 - .../Java/FoamX/Options/FieldTypesTab.java | 73 - .../Java/FoamX/Options/GeneralOptionsTab.form | 46 - .../Java/FoamX/Options/GeneralOptionsTab.java | 106 - .../FoamX/Java/FoamX/Options/HostsTab.form | 8 - .../FoamX/Java/FoamX/Options/HostsTab.java | 71 - .../Java/FoamX/Options/OptionParameter.java | 61 - .../Java/FoamX/Options/OptionTableModel.java | 200 - .../FoamX/Java/FoamX/Options/OptionsDlg.form | 86 - .../FoamX/Java/FoamX/Options/OptionsDlg.java | 193 - .../Java/FoamX/Options/OptionsManager.java | 194 - .../FoamX/Options/PatchFieldTypesTab.form | 8 - .../FoamX/Options/PatchFieldTypesTab.java | 74 - .../Java/FoamX/Options/PatchTypesTab.form | 8 - .../Java/FoamX/Options/PatchTypesTab.java | 73 - .../Java/FoamX/Options/filesystem.attributes | Bin 459 -> 0 bytes .../FoamX/Java/FoamX/Post/ChoiceListener.java | 13 - .../Java/FoamX/Post/InteractiveNodes/.nbattrs | 29 - .../InteractiveNodes/AmbientLightNode.java | 123 - .../Post/InteractiveNodes/ArrowsNode.java | 139 - .../FoamX/Post/InteractiveNodes/AxisNode.java | 194 - .../Post/InteractiveNodes/BackgroundNode.java | 120 - .../Post/InteractiveNodes/ColorBar2DNode.java | 246 - .../Post/InteractiveNodes/ColorBarNode.java | 126 - .../ColoredSurfaceByRefNode.java | 224 - .../DirectionalLightNode.java | 124 - .../InteractiveNodes/FeatureLinesNode.java | 126 - .../InteractiveNodes/InteractiveNode.java | 48 - .../InteractiveNodes/InteractiveNodeList.java | 266 - .../FoamX/Post/InteractiveNodes/LoopNode.java | 132 - .../Post/InteractiveNodes/MeshLinesNode.java | 126 - .../Post/InteractiveNodes/PatchFacesNode.java | 134 - .../InteractiveNodes/PatchPointsNode.java | 120 - .../Java/FoamX/Post/Mesh/PrimitivePatch.java | 189 - .../FoamX/Java/FoamX/Post/MouseModePanel.java | 178 - .../FoamX/Post/Panels/TimeChangeEvent.java | 66 - .../FoamX/Post/Panels/TimeChangeListener.java | 33 - .../Java/FoamX/Post/Panels/TimePanel.java | 219 - .../FoamX/Post/PatchSelector-WORKING.java | 1088 - .../FoamX/Java/FoamX/Post/PostApp.java | 775 - .../FoamX/Java/FoamX/Post/PostWindow.java | 1424 - .../FoamX/Java/FoamX/Post/Shapes/.nbattrs | 8 - .../FoamX/Java/FoamX/Post/Shapes/Arrows.java | 173 - .../Java/FoamX/Post/Shapes/Axis-NoText.java | 131 - .../Java/FoamX/Post/Shapes/AxisLines.java | 142 - .../Java/FoamX/Post/Shapes/ColorBar.java | 68 - .../FoamX/Post/Shapes/ColoredSurface.java | 196 - .../Post/Shapes/ColoredSurfaceByRef.java | 712 - .../Shapes/ColoredSurfaceByRefNoStrip.java | 264 - .../FoamX/Post/Shapes/ColoredSurfaceVec.java | 714 - .../Post/Shapes/FeatureLines-Indexed.java | 409 - .../Post/Shapes/FeatureLines-UnIndexed.java | 419 - .../Java/FoamX/Post/Shapes/FeatureLines.java | 267 - .../FoamX/Java/FoamX/Post/Shapes/Loop.java | 159 - .../Java/FoamX/Post/Shapes/MeshLines.java | 162 - .../Post/Shapes/MyFirstShape.java-Indexed | 216 - .../Java/FoamX/Post/Shapes/PatchFaces.java | 183 - .../Java/FoamX/Post/Shapes/PatchPoints.java | 127 - .../Java/FoamX/Post/Shapes/PatchSpheres.java | 162 - .../Java/FoamX/Post/Shapes/PickableShape.java | 37 - .../Java/FoamX/Post/Shapes2D/ColorBar2D.java | 51 - .../Java/FoamX/Post/Table/NodeTable.java | 170 - .../Java/FoamX/Post/Util/ArrayStats.java | 53 - .../Java/FoamX/Post/Util/ArrayUtils.java | 157 - .../Java/FoamX/Post/Util/BinaryFoamFile.java | 301 - .../FoamX/Java/FoamX/Post/Util/Colorizer.java | 387 - .../Java/FoamX/Post/Util/ImageDisplayer.java | 109 - .../Java/FoamX/Post/Util/ImagePrinter.java | 97 - .../Java/FoamX/Post/Util/KeyBehavior.java | 353 - .../FoamX/Post/Util/OffScreenCanvas3D.java | 64 - .../FoamX/Post/Util/OrbitPickBehavior.java | 271 - .../FoamX/Post/Util/PickDragBehavior.java | 204 - .../FoamX/Java/FoamX/Post/Util/Placement.java | 99 - .../Java/FoamX/Post/Util/PrintManager.java | 251 - .../FoamX/Java/FoamX/Post/Util/Text.java | 60 - .../Java/FoamX/Post/Util/myMouseScale.java | 191 - .../Java/FoamX/Post/Util/myMouseZoom.java | 263 - .../Java/FoamX/Post/Util/myOrbitBehavior.java | 787 - .../Java/FoamX/ProcessManagement/.nbattrs | 20 - .../ProcessManagement/ProcessEditor.form | 591 - .../ProcessManagement/ProcessEditor.java | 1556 - .../FoamX/ProcessManagement/ProcessModel.java | 342 - .../FoamX/Java/FoamX/Reporting/.nbattrs | 12 - .../FoamX/Reporting/ReportingManager.form | 25 - .../FoamX/Reporting/ReportingManager.java | 301 - .../Java/FoamX/Reporting/ReportingWindow.form | 29 - .../Java/FoamX/Reporting/ReportingWindow.java | 92 - .../FoamX/Reporting/filesystem.attributes | Bin 292 -> 0 bytes .../FoamX/Java/FoamX/TaskManagement/.nbattrs | 12 - .../FoamX/Java/FoamX/TaskManagement/Task.java | 98 - .../FoamX/TaskManagement/TaskManager.java | 154 - .../FoamX/TaskManagement/TaskStatusBar.form | 38 - .../FoamX/TaskManagement/TaskStatusBar.java | 137 - .../TaskManagement/filesystem.attributes | Bin 276 -> 0 bytes .../Java/FoamX/ToolbarManagement/.nbattrs | 13 - .../ToolbarManagement/ActionDelegate.java | 231 - .../Java/FoamX/ToolbarManagement/Toolbar.java | 862 - .../ToolbarManagement/ToolbarManager.form | 19 - .../ToolbarManagement/ToolbarManager.java | 225 - .../ToolbarManagement/filesystem.attributes | Bin 327 -> 0 bytes .../FoamX/Java/FoamX/Tools/.nbattrs | 10 - .../FoamX/Java/FoamX/Tools/IUtility.java | 56 - .../Java/FoamX/Tools/InvokeUtilityAction.java | 360 - .../Java/FoamX/Tools/filesystem.attributes | Bin 935 -> 0 bytes .../FoamX/Java/FoamX/Util/.nbattrs | 55 - .../FoamX/Java/FoamX/Util/ArgsManager.java | 103 - .../FoamX/Java/FoamX/Util/Assert.java | 41 - .../FoamX/Java/FoamX/Util/BusyCursor.java | 103 - .../Util/ButtonActionChangedListener.java | 61 - .../Java/FoamX/Util/CollapseTreeAction.java | 82 - .../Java/FoamX/Util/ExpandTreeAction.java | 82 - .../FoamX/Java/FoamX/Util/FileEditor.java | 418 - .../FoamX/Java/FoamX/Util/FileEvent.java | 55 - .../FoamX/Java/FoamX/Util/FileListener.java | 38 - .../FoamX/Java/FoamX/Util/FileMonitor.java | 221 - .../FoamX/Java/FoamX/Util/FoamXAny.java | 342 - .../Java/FoamX/Util/FoamXListRenderer.java | 131 - .../Java/FoamX/Util/FoamXTreeRenderer.java | 161 - .../FoamX/Java/FoamX/Util/FoamXTypeEx.java | 242 - .../FoamX/Java/FoamX/Util/MemoryView.java | 286 - .../Util/MenuItemActionChangedListener.java | 63 - .../FoamX/Java/FoamX/Util/ReferenceCount.java | 35 - .../FoamX/Java/FoamX/Util/ResourceHelper.java | 249 - .../FoamX/Java/FoamX/Util/RunPanel.form | 306 - .../FoamX/Java/FoamX/Util/RunPanel.java | 872 - .../FoamX/Java/FoamX/Util/SimpleEditor.java | 705 - .../FoamX/Java/FoamX/Util/TabSelection.java | 34 - .../FoamX/Java/FoamX/Util/TableMap.java | 69 - .../FoamX/Java/FoamX/Util/TableSorter.java | 312 - .../FoamX/Java/FoamX/Util/VarString.java | 90 - .../Java/FoamX/Util/filesystem.attributes | Bin 4402 -> 0 bytes .../Java/FoamX/WindowManagement/.nbattrs | 6 - .../WindowManagement/FoamXInternalFrame.form | 24 - .../WindowManagement/FoamXInternalFrame.java | 95 - .../FoamX/WindowManagement/WindowManager.java | 433 - .../FoamX/Java/FoamX/icons/.xvpics/bold.gif | Bin 633 -> 0 bytes .../Java/FoamX/icons/.xvpics/bullets.gif | Bin 657 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/center.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/copy.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/cut.gif | Bin 633 -> 0 bytes .../Java/FoamX/icons/.xvpics/dictionary.xpm | Bin 313 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/dot.gif | Bin 104 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/fg.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/italic.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/left.gif | Bin 633 -> 0 bytes .../Java/FoamX/icons/.xvpics/mini-exclam.xpm | Bin 313 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/new.gif | Bin 633 -> 0 bytes .../Java/FoamX/icons/.xvpics/newAppClass.xpm | Bin 313 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/open.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/open.xpm | Bin 313 -> 0 bytes .../Java/FoamX/icons/.xvpics/palette_crop.gif | Bin 313 -> 0 bytes .../Java/FoamX/icons/.xvpics/palette_draw.gif | Bin 200 -> 0 bytes .../Java/FoamX/icons/.xvpics/palette_hand.gif | Bin 313 -> 0 bytes .../FoamX/icons/.xvpics/palette_select.gif | Bin 273 -> 0 bytes .../Java/FoamX/icons/.xvpics/palette_text.gif | Bin 213 -> 0 bytes .../Java/FoamX/icons/.xvpics/palette_zoom.gif | Bin 282 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/paste.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/pause.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/right.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/run.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/save.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/save.xpm | Bin 313 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/stop.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/.xvpics/swirl.gif | 6 - .../Java/FoamX/icons/.xvpics/underline.gif | Bin 633 -> 0 bytes .../FoamX/Java/FoamX/icons/bold.gif | Bin 105 -> 0 bytes .../FoamX/Java/FoamX/icons/bullets.gif | Bin 136 -> 0 bytes .../FoamX/Java/FoamX/icons/center.gif | Bin 96 -> 0 bytes .../FoamX/Java/FoamX/icons/copy.gif | Bin 159 -> 0 bytes .../FoamX/Java/FoamX/icons/cut.gif | Bin 139 -> 0 bytes .../FoamX/Java/FoamX/icons/dictionary.xpm | 27 - .../FoamX/Java/FoamX/icons/dot.gif | Bin 109 -> 0 bytes .../FoamX/Java/FoamX/icons/fg.gif | Bin 185 -> 0 bytes .../FoamX/Java/FoamX/icons/italic.gif | Bin 97 -> 0 bytes .../FoamX/Java/FoamX/icons/left.gif | Bin 95 -> 0 bytes .../FoamX/Java/FoamX/icons/mini-exclam.xpm | 24 - .../FoamX/Java/FoamX/icons/new.gif | Bin 139 -> 0 bytes .../FoamX/Java/FoamX/icons/newAppClass.xpm | 22 - .../FoamX/Java/FoamX/icons/open.gif | Bin 146 -> 0 bytes .../FoamX/Java/FoamX/icons/open.xpm | 29 - .../FoamX/Java/FoamX/icons/palette_crop.gif | Bin 81 -> 0 bytes .../FoamX/Java/FoamX/icons/palette_draw.gif | Bin 69 -> 0 bytes .../FoamX/Java/FoamX/icons/palette_hand.gif | Bin 81 -> 0 bytes .../FoamX/Java/FoamX/icons/palette_select.gif | Bin 68 -> 0 bytes .../FoamX/Java/FoamX/icons/palette_text.gif | Bin 66 -> 0 bytes .../FoamX/Java/FoamX/icons/palette_zoom.gif | Bin 73 -> 0 bytes .../FoamX/Java/FoamX/icons/paste.gif | Bin 185 -> 0 bytes .../FoamX/Java/FoamX/icons/pause.gif | Bin 107 -> 0 bytes .../FoamX/Java/FoamX/icons/right.gif | Bin 95 -> 0 bytes .../FoamX/Java/FoamX/icons/run.gif | Bin 101 -> 0 bytes .../FoamX/Java/FoamX/icons/save.gif | Bin 184 -> 0 bytes .../FoamX/Java/FoamX/icons/save.xpm | 29 - .../FoamX/icons/small/.xvpics/dictionary.gif | Bin 325 -> 0 bytes .../Java/FoamX/icons/small/TreeClosed.gif | Bin 882 -> 0 bytes .../FoamX/Java/FoamX/icons/small/TreeLeaf.gif | Bin 841 -> 0 bytes .../FoamX/Java/FoamX/icons/small/TreeOpen.gif | Bin 906 -> 0 bytes .../FoamX/Java/FoamX/icons/small/back.gif | Bin 129 -> 0 bytes .../FoamX/Java/FoamX/icons/small/binary.gif | Bin 134 -> 0 bytes .../FoamX/Java/FoamX/icons/small/binhex.gif | Bin 131 -> 0 bytes .../FoamX/Java/FoamX/icons/small/blank.gif | Bin 55 -> 0 bytes .../FoamX/Java/FoamX/icons/small/broken.gif | Bin 139 -> 0 bytes .../FoamX/Java/FoamX/icons/small/burst.gif | Bin 128 -> 0 bytes .../FoamX/Java/FoamX/icons/small/cog.gif | Bin 256 -> 0 bytes .../FoamX/Java/FoamX/icons/small/cog.xpm | 30 - .../FoamX/Java/FoamX/icons/small/comp1.gif | Bin 130 -> 0 bytes .../FoamX/Java/FoamX/icons/small/comp2.gif | Bin 131 -> 0 bytes .../Java/FoamX/icons/small/compressed.gif | Bin 128 -> 0 bytes .../Java/FoamX/icons/small/continued.gif | Bin 114 -> 0 bytes .../Java/FoamX/icons/small/dictionary.gif | Bin 113 -> 0 bytes .../Java/FoamX/icons/small/dictionary2.gif | Bin 209 -> 0 bytes .../FoamX/Java/FoamX/icons/small/dir.gif | Bin 132 -> 0 bytes .../FoamX/Java/FoamX/icons/small/dir2.gif | Bin 122 -> 0 bytes .../FoamX/Java/FoamX/icons/small/document.gif | Bin 680 -> 0 bytes .../FoamX/Java/FoamX/icons/small/file.gif | Bin 862 -> 0 bytes .../FoamX/Java/FoamX/icons/small/folder.gif | Bin 680 -> 0 bytes .../Java/FoamX/icons/small/folder_open.gif | Bin 680 -> 0 bytes .../FoamX/Java/FoamX/icons/small/forward.gif | Bin 125 -> 0 bytes .../FoamX/Java/FoamX/icons/small/generic.gif | Bin 116 -> 0 bytes .../FoamX/Java/FoamX/icons/small/generic2.gif | Bin 127 -> 0 bytes .../FoamX/Java/FoamX/icons/small/generic3.gif | Bin 113 -> 0 bytes .../FoamX/Java/FoamX/icons/small/image.gif | Bin 126 -> 0 bytes .../FoamX/Java/FoamX/icons/small/image2.gif | Bin 138 -> 0 bytes .../FoamX/Java/FoamX/icons/small/index.gif | Bin 145 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/A.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/A1.gif | Bin 402 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/A2.gif | Bin 402 -> 0 bytes .../Java/FoamX/icons/small/maths/Aepsilon.gif | Bin 390 -> 0 bytes .../Java/FoamX/icons/small/maths/Alpha.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Am.gif | Bin 669 -> 0 bytes .../Java/FoamX/icons/small/maths/Amu.gif | Bin 457 -> 0 bytes .../Java/FoamX/icons/small/maths/Aplus.gif | Bin 300 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/B.gif | Bin 318 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/B0.gif | Bin 414 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/B1.gif | Bin 414 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/B2.gif | Bin 630 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Bm.gif | Bin 684 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/C.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/C1.gif | Bin 402 -> 0 bytes .../Java/FoamX/icons/small/maths/C1Ref.gif | Bin 901 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/C2.gif | Bin 402 -> 0 bytes .../Java/FoamX/icons/small/maths/C2Ref.gif | Bin 901 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/C3.gif | Bin 402 -> 0 bytes .../Java/FoamX/icons/small/maths/CDES.gif | Bin 828 -> 0 bytes .../Java/FoamX/icons/small/maths/CRT.gif | Bin 762 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Cb.gif | Bin 390 -> 0 bytes .../Java/FoamX/icons/small/maths/Cb1.gif | Bin 684 -> 0 bytes .../Java/FoamX/icons/small/maths/Cb2.gif | Bin 684 -> 0 bytes .../Java/FoamX/icons/small/maths/Cbag.gif | Bin 774 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Cd.gif | Bin 612 -> 0 bytes .../Java/FoamX/icons/small/maths/CdLimit.gif | Bin 906 -> 0 bytes .../Java/FoamX/icons/small/maths/Cdelta.gif | Bin 402 -> 0 bytes .../Java/FoamX/icons/small/maths/Cdistort.gif | Bin 723 -> 0 bytes .../Java/FoamX/icons/small/maths/Ceps.gif | Bin 390 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Cl.gif | Bin 379 -> 0 bytes .../Java/FoamX/icons/small/maths/Clg1.gif | Bin 577 -> 0 bytes .../Java/FoamX/icons/small/maths/Clg2.gif | Bin 577 -> 0 bytes .../Java/FoamX/icons/small/maths/Clrr1.gif | Bin 919 -> 0 bytes .../Java/FoamX/icons/small/maths/Clrr2.gif | Bin 919 -> 0 bytes .../Java/FoamX/icons/small/maths/Cmu.gif | Bin 442 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Cp.gif | Bin 416 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Cs.gif | Bin 390 -> 0 bytes .../Java/FoamX/icons/small/maths/Cstrip.gif | Bin 508 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Ct.gif | Bin 390 -> 0 bytes .../Java/FoamX/icons/small/maths/Ctau.gif | Bin 414 -> 0 bytes .../Java/FoamX/icons/small/maths/Ctau1.gif | Bin 460 -> 0 bytes .../Java/FoamX/icons/small/maths/Ctau2.gif | Bin 684 -> 0 bytes .../Java/FoamX/icons/small/maths/Ctau3.gif | Bin 684 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Cv.gif | Bin 402 -> 0 bytes .../Java/FoamX/icons/small/maths/Cv1.gif | Bin 684 -> 0 bytes .../Java/FoamX/icons/small/maths/Cv2.gif | Bin 684 -> 0 bytes .../Java/FoamX/icons/small/maths/Cvm.gif | Bin 508 -> 0 bytes .../Java/FoamX/icons/small/maths/Cw1.gif | Bin 710 -> 0 bytes .../Java/FoamX/icons/small/maths/Cw2.gif | Bin 710 -> 0 bytes .../Java/FoamX/icons/small/maths/Cw3.gif | Bin 710 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/D.gif | Bin 218 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/DT.gif | Bin 669 -> 0 bytes .../Java/FoamX/icons/small/maths/Delta.gif | Bin 336 -> 0 bytes .../Java/FoamX/icons/small/maths/Deltat.gif | Bin 385 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/E.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/F.gif | Bin 210 -> 0 bytes .../icons/small/maths/FoamXIcons211x.gif | Bin 710 -> 0 bytes .../icons/small/maths/FoamXIcons427x.gif | Bin 433 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/G.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/Gamma.gif | Bin 138 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/H.gif | Bin 225 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/I.gif | Bin 131 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/J.gif | Bin 300 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/K.gif | Bin 345 -> 0 bytes .../Java/FoamX/icons/small/maths/Kappa.gif | Bin 318 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/L.gif | Bin 202 -> 0 bytes .../Java/FoamX/icons/small/maths/Lambda.gif | Bin 209 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/M.gif | Bin 353 -> 0 bytes .../Java/FoamX/icons/small/maths/Model.gif | Bin 210 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/N.gif | Bin 335 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Nx.gif | Bin 414 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Ny.gif | Bin 646 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Nz.gif | Bin 414 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/O.gif | Bin 210 -> 0 bytes .../Java/FoamX/icons/small/maths/Omega.gif | Bin 318 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/P.gif | Bin 318 -> 0 bytes .../Java/FoamX/icons/small/maths/Phi.gif | Bin 202 -> 0 bytes .../Java/FoamX/icons/small/maths/PhiField.gif | Bin 210 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Pi.gif | Bin 118 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Pr.gif | Bin 380 -> 0 bytes .../Java/FoamX/icons/small/maths/Psi.gif | Bin 202 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Q.gif | Bin 345 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/R.gif | Bin 318 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Re.gif | Bin 380 -> 0 bytes .../Java/FoamX/icons/small/maths/ReLimit.gif | Bin 906 -> 0 bytes .../Java/FoamX/icons/small/maths/RePr.gif | Bin 774 -> 0 bytes .../Java/FoamX/icons/small/maths/ReSc.gif | Bin 523 -> 0 bytes .../icons/small/maths/ReynoldsStress.gif | Bin 335 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/S.gif | Bin 202 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Sc.gif | Bin 362 -> 0 bytes .../Java/FoamX/icons/small/maths/Sigma.gif | Bin 202 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Su.gif | Bin 390 -> 0 bytes .../Java/FoamX/icons/small/maths/Switch.gif | Bin 284 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/T.gif | Bin 318 -> 0 bytes .../Java/FoamX/icons/small/maths/Tair.gif | Bin 710 -> 0 bytes .../Java/FoamX/icons/small/maths/Theta.gif | Bin 210 -> 0 bytes .../Java/FoamX/icons/small/maths/Ttin.gif | Bin 710 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Tu.gif | Bin 390 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/U.gif | Bin 225 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/UR.gif | Bin 414 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Ua.gif | Bin 437 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Ub.gif | Bin 425 -> 0 bytes .../Java/FoamX/icons/small/maths/Ubar.gif | Bin 263 -> 0 bytes .../Java/FoamX/icons/small/maths/Upsilon.gif | Bin 210 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/V.gif | Bin 210 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/V0.gif | Bin 437 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Vs.gif | Bin 425 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/W.gif | Bin 353 -> 0 bytes .../Java/FoamX/icons/small/maths/Weber.gif | Bin 416 -> 0 bytes .../FoamX/icons/small/maths/WeberLimit.gif | Bin 960 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/X.gif | Bin 335 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Xi.gif | Bin 138 -> 0 bytes .../Java/FoamX/icons/small/maths/XiCoef.gif | Bin 425 -> 0 bytes .../Java/FoamX/icons/small/maths/XiFoam.gif | Bin 1371 -> 0 bytes .../FoamX/icons/small/maths/XiShapeCoef.gif | Bin 710 -> 0 bytes .../Java/FoamX/icons/small/maths/Xoodles.gif | Bin 1416 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Y.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/Z.gif | Bin 318 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/a.gif | Bin 170 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/a1.gif | Bin 317 -> 0 bytes .../Java/FoamX/icons/small/maths/alpha.gif | Bin 278 -> 0 bytes .../Java/FoamX/icons/small/maths/alphaEps.gif | Bin 332 -> 0 bytes .../Java/FoamX/icons/small/maths/alphaKsi.gif | Bin 356 -> 0 bytes .../Java/FoamX/icons/small/maths/alphaMin.gif | Bin 437 -> 0 bytes .../Java/FoamX/icons/small/maths/alphaNut.gif | Bin 365 -> 0 bytes .../Java/FoamX/icons/small/maths/alphaR.gif | Bin 365 -> 0 bytes .../FoamX/icons/small/maths/alphaZeta.gif | Bin 356 -> 0 bytes .../Java/FoamX/icons/small/maths/alphah.gif | Bin 341 -> 0 bytes .../Java/FoamX/icons/small/maths/alphak.gif | Bin 341 -> 0 bytes .../Java/FoamX/icons/small/maths/angle.gif | Bin 202 -> 0 bytes .../FoamX/icons/small/maths/application.gif | Bin 403 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/b.gif | Bin 171 -> 0 bytes .../FoamX/icons/small/maths/basePoint.gif | Bin 194 -> 0 bytes .../Java/FoamX/icons/small/maths/beta.gif | Bin 321 -> 0 bytes .../FoamX/icons/small/maths/biscuitFoam.gif | Bin 1790 -> 0 bytes .../Java/FoamX/icons/small/maths/bore.gif | Bin 309 -> 0 bytes .../FoamX/icons/small/maths/boundaryFoam.gif | Bin 2345 -> 0 bytes .../FoamX/icons/small/maths/bubbleFoam.gif | Bin 1790 -> 0 bytes .../FoamX/icons/small/maths/buoyantFoam.gif | Bin 2170 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/c.gif | Bin 160 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/c1.gif | Bin 209 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/c2.gif | Bin 209 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/cB.gif | Bin 341 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/cD.gif | Bin 230 -> 0 bytes .../Java/FoamX/icons/small/maths/cD2.gif | Bin 388 -> 0 bytes .../Java/FoamX/icons/small/maths/cGamma.gif | Bin 336 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/cI.gif | Bin 209 -> 0 bytes .../Java/FoamX/icons/small/maths/cK1.gif | Bin 388 -> 0 bytes .../Java/FoamX/icons/small/maths/cK2.gif | Bin 388 -> 0 bytes .../Java/FoamX/icons/small/maths/cK3.gif | Bin 388 -> 0 bytes .../Java/FoamX/icons/small/maths/cK4.gif | Bin 388 -> 0 bytes .../Java/FoamX/icons/small/maths/cSpace.gif | Bin 765 -> 0 bytes .../Java/FoamX/icons/small/maths/cTime.gif | Bin 437 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/ce.gif | Bin 202 -> 0 bytes .../Java/FoamX/icons/small/maths/cgamma.gif | Bin 336 -> 0 bytes .../FoamX/icons/small/maths/channelOodles.gif | Bin 1939 -> 0 bytes .../Java/FoamX/icons/small/maths/chi.gif | Bin 194 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/ck.gif | Bin 317 -> 0 bytes .../FoamX/icons/small/maths/clearance.gif | Bin 188 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/cm.gif | Bin 237 -> 0 bytes .../FoamX/icons/small/maths/conRodLength.gif | Bin 183 -> 0 bytes .../icons/small/maths/contactStressFoam.gif | Bin 2154 -> 0 bytes .../small/maths/contactUnderrelaxation.gif | Bin 332 -> 0 bytes .../icons/small/maths/convertToMeters.gif | Bin 422 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/d.gif | Bin 291 -> 0 bytes .../Java/FoamX/icons/small/maths/d2dt2.gif | Bin 1494 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/da.gif | Bin 367 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/db.gif | Bin 356 -> 0 bytes .../Java/FoamX/icons/small/maths/ddt.gif | Bin 845 -> 0 bytes .../Java/FoamX/icons/small/maths/delta.gif | Bin 288 -> 0 bytes .../FoamX/icons/small/maths/deltaCoeff.gif | Bin 402 -> 0 bytes .../Java/FoamX/icons/small/maths/deltaT.gif | Bin 385 -> 0 bytes .../Java/FoamX/icons/small/maths/diameter.gif | Bin 309 -> 0 bytes .../icons/small/maths/dieselEngineFoam.gif | Bin 2631 -> 0 bytes .../FoamX/icons/small/maths/dieselFoam.gif | Bin 1678 -> 0 bytes .../FoamX/icons/small/maths/diffusion.gif | Bin 326 -> 0 bytes .../FoamX/icons/small/maths/dirPatchID.gif | Bin 669 -> 0 bytes .../Java/FoamX/icons/small/maths/div.gif | Bin 405 -> 0 bytes .../Java/FoamX/icons/small/maths/divB.gif | Bin 1088 -> 0 bytes .../FoamX/icons/small/maths/divGammaU.gif | Bin 1225 -> 0 bytes .../icons/small/maths/divNuEffGradUT.gif | Bin 1969 -> 0 bytes .../FoamX/icons/small/maths/divNuEffaUaT.gif | Bin 2983 -> 0 bytes .../FoamX/icons/small/maths/divNuEffbUbT.gif | Bin 2925 -> 0 bytes .../FoamX/icons/small/maths/divPhiAlpha.gif | Bin 1163 -> 0 bytes .../icons/small/maths/divPhiAlphaAlpha.gif | Bin 1757 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiB.gif | Bin 1706 -> 0 bytes .../FoamX/icons/small/maths/divPhiB2DBUB.gif | Bin 1287 -> 0 bytes .../icons/small/maths/divPhiB2GammaBUB.gif | Bin 2454 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiBT.gif | Bin 1225 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiBU.gif | Bin 1361 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiCp.gif | Bin 1857 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiE.gif | Bin 1133 -> 0 bytes .../FoamX/icons/small/maths/divPhiEpsilon.gif | Bin 1118 -> 0 bytes .../FoamX/icons/small/maths/divPhiGamma.gif | Bin 1638 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiH.gif | Bin 1638 -> 0 bytes .../FoamX/icons/small/maths/divPhiNuTilda.gif | Bin 1604 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiR.gif | Bin 1225 -> 0 bytes .../FoamX/icons/small/maths/divPhiRho.gif | Bin 1133 -> 0 bytes .../FoamX/icons/small/maths/divPhiRhoP.gif | Bin 2012 -> 0 bytes .../FoamX/icons/small/maths/divPhiStar.gif | Bin 1133 -> 0 bytes .../FoamX/icons/small/maths/divPhiStb.gif | Bin 1791 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiT.gif | Bin 1178 -> 0 bytes .../FoamX/icons/small/maths/divPhiTheta.gif | Bin 1604 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiU.gif | Bin 1225 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiUa.gif | Bin 1808 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiUp.gif | Bin 1270 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiV.gif | Bin 1706 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiVV.gif | Bin 1859 -> 0 bytes .../FoamX/icons/small/maths/divPhiVdjVdj.gif | Bin 1842 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiX.gif | Bin 1706 -> 0 bytes .../FoamX/icons/small/maths/divPhiXiSu.gif | Bin 867 -> 0 bytes .../FoamX/icons/small/maths/divPhiXiXi.gif | Bin 1808 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhiXv.gif | Bin 1791 -> 0 bytes .../FoamX/icons/small/maths/divPhiaUa.gif | Bin 1910 -> 0 bytes .../FoamX/icons/small/maths/divPhibUb.gif | Bin 867 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhidP.gif | Bin 1706 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhih.gif | Bin 1638 -> 0 bytes .../Java/FoamX/icons/small/maths/divPhik.gif | Bin 1638 -> 0 bytes .../FoamX/icons/small/maths/divPhirbGamma.gif | Bin 1859 -> 0 bytes .../Java/FoamX/icons/small/maths/divR.gif | Bin 1088 -> 0 bytes .../FoamX/icons/small/maths/divRhoPhiU.gif | Bin 1842 -> 0 bytes .../FoamX/icons/small/maths/divRhoRho.gif | Bin 1118 -> 0 bytes .../Java/FoamX/icons/small/maths/divSigma.gif | Bin 1027 -> 0 bytes .../Java/FoamX/icons/small/maths/divStar.gif | Bin 997 -> 0 bytes .../FoamX/icons/small/maths/divSuGradb.gif | Bin 1910 -> 0 bytes .../Java/FoamX/icons/small/maths/divU.gif | Bin 1088 -> 0 bytes .../Java/FoamX/icons/small/maths/dnsFoam.gif | Bin 1054 -> 0 bytes .../small/maths/dropletDiameterRatio.gif | Bin 714 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/e.gif | Bin 160 -> 0 bytes .../icons/small/maths/electrostaticFoam.gif | Bin 2214 -> 0 bytes .../Java/FoamX/icons/small/maths/endTime.gif | Bin 345 -> 0 bytes .../FoamX/icons/small/maths/engineFoam.gif | Bin 1925 -> 0 bytes .../Java/FoamX/icons/small/maths/epsilon.gif | Bin 160 -> 0 bytes .../Java/FoamX/icons/small/maths/epsilon0.gif | Bin 202 -> 0 bytes .../Java/FoamX/icons/small/maths/eta.gif | Bin 187 -> 0 bytes .../Java/FoamX/icons/small/maths/eta0.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/f.gif | Bin 321 -> 0 bytes .../FoamX/icons/small/maths/financialFoam.gif | Bin 1421 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/ft.gif | Bin 345 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/fu.gif | Bin 379 -> 0 bytes .../Java/FoamX/icons/small/maths/fuel.gif | Bin 128 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/g.gif | Bin 300 -> 0 bytes .../Java/FoamX/icons/small/maths/gamma.gif | Bin 194 -> 0 bytes .../Java/FoamX/icons/small/maths/grad.gif | Bin 336 -> 0 bytes .../icons/small/maths/gradDBUmagsqrB.gif | Bin 2020 -> 0 bytes .../Java/FoamX/icons/small/maths/gradE.gif | Bin 677 -> 0 bytes .../FoamX/icons/small/maths/gradGamma.gif | Bin 669 -> 0 bytes .../Java/FoamX/icons/small/maths/gradP.gif | Bin 669 -> 0 bytes .../FoamX/icons/small/maths/gradPatchID.gif | Bin 684 -> 0 bytes .../Java/FoamX/icons/small/maths/gradT.gif | Bin 664 -> 0 bytes .../Java/FoamX/icons/small/maths/gradU.gif | Bin 464 -> 0 bytes .../Java/FoamX/icons/small/maths/gradV.gif | Bin 677 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/h.gif | Bin 291 -> 0 bytes .../Java/FoamX/icons/small/maths/hAir.gif | Bin 472 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/hu.gif | Bin 390 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/i.gif | Bin 164 -> 0 bytes .../Java/FoamX/icons/small/maths/icoFoam.gif | Bin 957 -> 0 bytes .../icons/small/maths/icoFoamAutoMotion.gif | Bin 2438 -> 0 bytes .../FoamX/icons/small/maths/icoTopoFoam.gif | Bin 2072 -> 0 bytes .../Java/FoamX/icons/small/maths/ignition.gif | Bin 183 -> 0 bytes .../FoamX/icons/small/maths/ignitionSite.gif | Bin 183 -> 0 bytes .../Java/FoamX/icons/small/maths/injector.gif | Bin 366 -> 0 bytes .../FoamX/icons/small/maths/interFoam.gif | Bin 1541 -> 0 bytes .../FoamX/icons/small/maths/interpolate1A.gif | Bin 1981 -> 0 bytes .../FoamX/icons/small/maths/interpolateB.gif | Bin 440 -> 0 bytes .../icons/small/maths/interpolateHbyA.gif | Bin 2559 -> 0 bytes .../icons/small/maths/interpolatePsi.gif | Bin 403 -> 0 bytes .../icons/small/maths/interpolatePsiU.gif | Bin 1035 -> 0 bytes .../icons/small/maths/interpolateRho.gif | Bin 346 -> 0 bytes .../small/maths/interpolateRho0PsiP0U.gif | Bin 2662 -> 0 bytes .../FoamX/icons/small/maths/interpolateU.gif | Bin 403 -> 0 bytes .../icons/small/maths/interpolationScheme.gif | Bin 986 -> 0 bytes .../Java/FoamX/icons/small/maths/iota.gif | Bin 103 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/j.gif | Bin 193 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/k.gif | Bin 291 -> 0 bytes .../Java/FoamX/icons/small/maths/kappa.gif | Bin 278 -> 0 bytes .../Java/FoamX/icons/small/maths/kcWater.gif | Bin 919 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/l.gif | Bin 105 -> 0 bytes .../Java/FoamX/icons/small/maths/lambda.gif | Bin 291 -> 0 bytes .../FoamX/icons/small/maths/laplacian.gif | Bin 630 -> 0 bytes .../icons/small/maths/laplacian1ABpB.gif | Bin 2676 -> 0 bytes .../FoamX/icons/small/maths/laplacian1AUp.gif | Bin 2505 -> 0 bytes .../icons/small/maths/laplacian1AUpB.gif | Bin 2676 -> 0 bytes .../icons/small/maths/laplacian1AUpcorr.gif | Bin 2863 -> 0 bytes .../FoamX/icons/small/maths/laplacian1phi.gif | Bin 788 -> 0 bytes .../icons/small/maths/laplacianAlphaEffh.gif | Bin 2237 -> 0 bytes .../icons/small/maths/laplacianAlphaEffhu.gif | Bin 2365 -> 0 bytes .../maths/laplacianAlphaEpsNuEffbEpsilon.gif | Bin 1556 -> 0 bytes .../small/maths/laplacianAlphaKNuEffbK.gif | Bin 2564 -> 0 bytes .../small/maths/laplacianAlphahMutAlphaH.gif | Bin 1498 -> 0 bytes .../small/maths/laplacianAlphahMutAlphaHu.gif | Bin 2914 -> 0 bytes .../FoamX/icons/small/maths/laplacianDBB.gif | Bin 2115 -> 0 bytes .../icons/small/maths/laplacianDBEffB.gif | Bin 2582 -> 0 bytes .../icons/small/maths/laplacianDREffR.gif | Bin 2582 -> 0 bytes .../FoamX/icons/small/maths/laplacianDT.gif | Bin 1910 -> 0 bytes .../FoamX/icons/small/maths/laplacianDTT.gif | Bin 2063 -> 0 bytes .../FoamX/icons/small/maths/laplacianDUU.gif | Bin 2148 -> 0 bytes .../FoamX/icons/small/maths/laplacianDVV.gif | Bin 2115 -> 0 bytes .../icons/small/maths/laplacianDepsilon.gif | Bin 1859 -> 0 bytes .../maths/laplacianDepsilonEffEpsilon.gif | Bin 2365 -> 0 bytes .../FoamX/icons/small/maths/laplacianDk.gif | Bin 1893 -> 0 bytes .../icons/small/maths/laplacianDkEffk.gif | Bin 1877 -> 0 bytes .../maths/laplacianDnuTildaEffNuTilda.gif | Bin 2455 -> 0 bytes .../FoamX/icons/small/maths/laplacianDphi.gif | Bin 1910 -> 0 bytes .../FoamX/icons/small/maths/laplacianFoam.gif | Bin 2265 -> 0 bytes .../icons/small/maths/laplacianGammaBB.gif | Bin 2063 -> 0 bytes .../icons/small/maths/laplacianGammaPhi.gif | Bin 1859 -> 0 bytes .../icons/small/maths/laplacianGammaTheta.gif | Bin 1808 -> 0 bytes .../icons/small/maths/laplacianGammaU.gif | Bin 1910 -> 0 bytes .../icons/small/maths/laplacianGammaVV.gif | Bin 2098 -> 0 bytes .../FoamX/icons/small/maths/laplacianMuE.gif | Bin 1808 -> 0 bytes .../small/maths/laplacianMuEffEpsilon.gif | Bin 2183 -> 0 bytes .../icons/small/maths/laplacianMuEffFt.gif | Bin 2292 -> 0 bytes .../icons/small/maths/laplacianMuEffFu.gif | Bin 2347 -> 0 bytes .../icons/small/maths/laplacianMuEffK.gif | Bin 1343 -> 0 bytes .../icons/small/maths/laplacianMuEffU.gif | Bin 2310 -> 0 bytes .../icons/small/maths/laplacianMuEffb.gif | Bin 2183 -> 0 bytes .../small/maths/laplacianMuSgsAlphaH.gif | Bin 2353 -> 0 bytes .../FoamX/icons/small/maths/laplacianMuU.gif | Bin 1910 -> 0 bytes .../icons/small/maths/laplacianMutAlpha.gif | Bin 1910 -> 0 bytes .../small/maths/laplacianNuEffEpsilon.gif | Bin 2147 -> 0 bytes .../icons/small/maths/laplacianNuEffK.gif | Bin 2183 -> 0 bytes .../icons/small/maths/laplacianNuEffU.gif | Bin 1385 -> 0 bytes .../icons/small/maths/laplacianNuEffaUa.gif | Bin 2564 -> 0 bytes .../icons/small/maths/laplacianNuEffbUb.gif | Bin 2509 -> 0 bytes .../FoamX/icons/small/maths/laplacianNuU.gif | Bin 1910 -> 0 bytes .../FoamX/icons/small/maths/laplacianP.gif | Bin 799 -> 0 bytes .../icons/small/maths/laplacianRhoAUp.gif | Bin 2505 -> 0 bytes .../icons/small/maths/laplacianRhoAUpd.gif | Bin 2625 -> 0 bytes .../icons/small/maths/laplacianRhoDU.gif | Bin 2063 -> 0 bytes .../small/maths/laplacianRhoDepsilon.gif | Bin 1944 -> 0 bytes .../icons/small/maths/laplacianRhoDk.gif | Bin 938 -> 0 bytes .../FoamX/icons/small/maths/laplacianStar.gif | Bin 999 -> 0 bytes .../small/maths/laplacianTwoMuLambdaU.gif | Bin 1428 -> 0 bytes .../FoamX/icons/small/maths/lesInterFoam.gif | Bin 1828 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/m.gif | Bin 197 -> 0 bytes .../Java/FoamX/icons/small/maths/max.gif | Bin 604 -> 0 bytes .../Java/FoamX/icons/small/maths/maxCo.gif | Bin 906 -> 0 bytes .../Java/FoamX/icons/small/maths/maxCoNum.gif | Bin 906 -> 0 bytes .../FoamX/icons/small/maths/maxDeltaRatio.gif | Bin 859 -> 0 bytes .../FoamX/icons/small/maths/maxDeltaT.gif | Bin 930 -> 0 bytes .../Java/FoamX/icons/small/maths/mesh.gif | Bin 660 -> 0 bytes .../Java/FoamX/icons/small/maths/mgbsCoef.gif | Bin 641 -> 0 bytes .../Java/FoamX/icons/small/maths/mhdFoam.gif | Bin 1603 -> 0 bytes .../Java/FoamX/icons/small/maths/mixture.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/mmax.gif | Bin 712 -> 0 bytes .../FoamX/icons/small/maths/movingFvMesh.gif | Bin 906 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/mu.gif | Bin 300 -> 0 bytes .../Java/FoamX/icons/small/maths/mu1.gif | Bin 345 -> 0 bytes .../Java/FoamX/icons/small/maths/mu2.gif | Bin 345 -> 0 bytes .../Java/FoamX/icons/small/maths/muSgs.gif | Bin 734 -> 0 bytes .../Java/FoamX/icons/small/maths/muc.gif | Bin 345 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/n.gif | Bin 278 -> 0 bytes .../FoamX/icons/small/maths/nCorrectors.gif | Bin 332 -> 0 bytes .../FoamX/icons/small/maths/nGammaCorr.gif | Bin 415 -> 0 bytes .../icons/small/maths/nGammaSubCycles.gif | Bin 677 -> 0 bytes .../small/maths/nNonOrthogonalCorrectors.gif | Bin 300 -> 0 bytes .../icons/small/maths/nStressCorrectors.gif | Bin 300 -> 0 bytes .../FoamX/icons/small/maths/newInterFoam.gif | Bin 1837 -> 0 bytes .../small/maths/newInterFoamAutoMotion.gif | Bin 2913 -> 0 bytes .../icons/small/maths/nonNewtonianIcoFoam.gif | Bin 2460 -> 0 bytes .../Java/FoamX/icons/small/maths/normal.gif | Bin 118 -> 0 bytes .../FoamX/icons/small/maths/normalVector.gif | Bin 131 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/nu.gif | Bin 170 -> 0 bytes .../Java/FoamX/icons/small/maths/nu0.gif | Bin 216 -> 0 bytes .../Java/FoamX/icons/small/maths/nuInf.gif | Bin 365 -> 0 bytes .../Java/FoamX/icons/small/maths/nuSgs.gif | Bin 685 -> 0 bytes .../Java/FoamX/icons/small/maths/nuTilda.gif | Bin 307 -> 0 bytes .../Java/FoamX/icons/small/maths/nua.gif | Bin 332 -> 0 bytes .../Java/FoamX/icons/small/maths/nub.gif | Bin 317 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/o.gif | Bin 170 -> 0 bytes .../Java/FoamX/icons/small/maths/omega.gif | Bin 182 -> 0 bytes .../Java/FoamX/icons/small/maths/oodles.gif | Bin 843 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/p.gif | Bin 194 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/p0.gif | Bin 345 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/pB.gif | Bin 371 -> 0 bytes .../Java/FoamX/icons/small/maths/patch.gif | Bin 179 -> 0 bytes .../Java/FoamX/icons/small/maths/patches.gif | Bin 677 -> 0 bytes .../Java/FoamX/icons/small/maths/pcorr.gif | Bin 704 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/pd.gif | Bin 345 -> 0 bytes .../Java/FoamX/icons/small/maths/phi.gif | Bin 321 -> 0 bytes .../Java/FoamX/icons/small/maths/phim.gif | Bin 643 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/pi.gif | Bin 176 -> 0 bytes .../small/maths/plasticViscosityCoeff.gif | Bin 442 -> 0 bytes .../small/maths/plasticViscosityExponent.gif | Bin 952 -> 0 bytes .../FoamX/icons/small/maths/potentialFoam.gif | Bin 2265 -> 0 bytes .../Java/FoamX/icons/small/maths/problemD.gif | Bin 388 -> 0 bytes .../Java/FoamX/icons/small/maths/products.gif | Bin 194 -> 0 bytes .../Java/FoamX/icons/small/maths/psi.gif | Bin 321 -> 0 bytes .../FoamX/icons/small/maths/purgeWrite.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/q.gif | Bin 179 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/r.gif | Bin 112 -> 0 bytes .../Java/FoamX/icons/small/maths/rXi.gif | Bin 336 -> 0 bytes .../Java/FoamX/icons/small/maths/ratio.gif | Bin 407 -> 0 bytes .../FoamX/icons/small/maths/reactants.gif | Bin 318 -> 0 bytes .../Java/FoamX/icons/small/maths/rho.gif | Bin 187 -> 0 bytes .../Java/FoamX/icons/small/maths/rho0.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/rho1.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/rho2.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/rhoS.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/rhoa.gif | Bin 335 -> 0 bytes .../Java/FoamX/icons/small/maths/rhob.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/rhoc.gif | Bin 326 -> 0 bytes .../Java/FoamX/icons/small/maths/rhod.gif | Bin 335 -> 0 bytes .../Java/FoamX/icons/small/maths/rpm.gif | Bin 326 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/s.gif | Bin 160 -> 0 bytes .../icons/small/maths/scalarTransportFoam.gif | Bin 2964 -> 0 bytes .../FoamX/icons/small/maths/settlingFoam.gif | Bin 2122 -> 0 bytes .../Java/FoamX/icons/small/maths/sigma.gif | Bin 176 -> 0 bytes .../Java/FoamX/icons/small/maths/sigmaExt.gif | Bin 704 -> 0 bytes .../FoamX/icons/small/maths/simpleFoam.gif | Bin 2011 -> 0 bytes .../FoamX/icons/small/maths/snGradCorrP.gif | Bin 1294 -> 0 bytes .../FoamX/icons/small/maths/snGradCorrU.gif | Bin 1875 -> 0 bytes .../FoamX/icons/small/maths/snGradScheme.gif | Bin 765 -> 0 bytes .../FoamX/icons/small/maths/sonicFoam.gif | Bin 1564 -> 0 bytes .../icons/small/maths/sonicLiquidFoam.gif | Bin 1950 -> 0 bytes .../small/maths/sonicLiquidFoamAutoMotion.gif | Bin 3742 -> 0 bytes .../FoamX/icons/small/maths/sonicTurbFoam.gif | Bin 2027 -> 0 bytes .../FoamX/icons/small/maths/startFrom.gif | Bin 107 -> 0 bytes .../FoamX/icons/small/maths/startTime.gif | Bin 223 -> 0 bytes .../Java/FoamX/icons/small/maths/stopAt.gif | Bin 107 -> 0 bytes .../Java/FoamX/icons/small/maths/stress.gif | Bin 176 -> 0 bytes .../FoamX/icons/small/maths/stressFemFoam.gif | Bin 1904 -> 0 bytes .../FoamX/icons/small/maths/stressedFoam.gif | Bin 1865 -> 0 bytes .../Java/FoamX/icons/small/maths/strike.gif | Bin 183 -> 0 bytes .../Java/FoamX/icons/small/maths/stroke.gif | Bin 183 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/t.gif | Bin 164 -> 0 bytes .../Java/FoamX/icons/small/maths/tau.gif | Bin 170 -> 0 bytes .../Java/FoamX/icons/small/maths/theta.gif | Bin 179 -> 0 bytes .../Java/FoamX/icons/small/maths/theta0.gif | Bin 356 -> 0 bytes .../Java/FoamX/icons/small/maths/thetaA.gif | Bin 604 -> 0 bytes .../Java/FoamX/icons/small/maths/thetaR.gif | Bin 604 -> 0 bytes .../FoamX/icons/small/maths/timeFormat.gif | Bin 622 -> 0 bytes .../FoamX/icons/small/maths/timePrecision.gif | Bin 491 -> 0 bytes .../FoamX/icons/small/maths/toleranceSet.gif | Bin 188 -> 0 bytes .../icons/small/maths/touchTolerance.gif | Bin 188 -> 0 bytes .../Java/FoamX/icons/small/maths/turbFoam.gif | Bin 1121 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/u.gif | Bin 170 -> 0 bytes .../FoamX/icons/small/maths/uPrimeCoeff.gif | Bin 710 -> 0 bytes .../Java/FoamX/icons/small/maths/uTheta.gif | Bin 379 -> 0 bytes .../Java/FoamX/icons/small/maths/upsilon.gif | Bin 170 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/v.gif | Bin 165 -> 0 bytes .../Java/FoamX/icons/small/maths/vecB.gif | Bin 318 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/w.gif | Bin 291 -> 0 bytes .../icons/small/maths/writeCompression.gif | Bin 448 -> 0 bytes .../FoamX/icons/small/maths/writeControl.gif | Bin 410 -> 0 bytes .../FoamX/icons/small/maths/writeFormat.gif | Bin 723 -> 0 bytes .../FoamX/icons/small/maths/writeInterval.gif | Bin 142 -> 0 bytes .../icons/small/maths/writePrecision.gif | Bin 491 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/x.gif | Bin 170 -> 0 bytes .../Java/FoamX/icons/small/maths/xMax.gif | Bin 453 -> 0 bytes .../Java/FoamX/icons/small/maths/xMin.gif | Bin 656 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/xi.gif | Bin 193 -> 0 bytes .../Java/FoamX/icons/small/maths/xvInf.gif | Bin 413 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/y.gif | Bin 291 -> 0 bytes .../Java/FoamX/icons/small/maths/yMax.gif | Bin 341 -> 0 bytes .../Java/FoamX/icons/small/maths/yMin.gif | Bin 672 -> 0 bytes .../icons/small/maths/yieldStressCoeff.gif | Bin 491 -> 0 bytes .../icons/small/maths/yieldStressExponent.gif | Bin 901 -> 0 bytes .../icons/small/maths/yieldStressOffset.gif | Bin 684 -> 0 bytes .../FoamX/Java/FoamX/icons/small/maths/z.gif | Bin 160 -> 0 bytes .../Java/FoamX/icons/small/maths/zMax.gif | Bin 656 -> 0 bytes .../Java/FoamX/icons/small/maths/zMin.gif | Bin 300 -> 0 bytes .../Java/FoamX/icons/small/maths/zeta.gif | Bin 310 -> 0 bytes .../FoamX/Java/FoamX/icons/small/movie.gif | Bin 134 -> 0 bytes .../FoamX/Java/FoamX/icons/small/sound.gif | Bin 130 -> 0 bytes .../FoamX/Java/FoamX/icons/small/sound2.gif | Bin 119 -> 0 bytes .../FoamX/Java/FoamX/icons/small/tar.gif | Bin 132 -> 0 bytes .../FoamX/Java/FoamX/icons/small/text.gif | Bin 128 -> 0 bytes .../FoamX/Java/FoamX/icons/small/transfer.gif | Bin 124 -> 0 bytes .../FoamX/Java/FoamX/icons/small/unknown.gif | Bin 680 -> 0 bytes .../FoamX/Java/FoamX/icons/small/unknown2.gif | Bin 131 -> 0 bytes .../FoamX/icons/small/utilities_package.gif | Bin 680 -> 0 bytes .../FoamX/Java/FoamX/icons/small/uu.gif | Bin 125 -> 0 bytes .../FoamX/Java/FoamX/icons/stop.gif | Bin 98 -> 0 bytes .../FoamX/Java/FoamX/icons/swirl.gif | Bin 829 -> 0 bytes .../FoamX/Java/FoamX/icons/underline.gif | Bin 110 -> 0 bytes .../FoamXServer/ApplicationDescriptor.java | 32 - .../ApplicationDescriptorHelper.java | 98 - .../ApplicationDescriptorHolder.java | 40 - .../ApplicationDescriptorListHelper.java | 62 - .../ApplicationDescriptorListHolder.java | 39 - .../FoamXServer/CaseBrowser/ICaseBrowser.java | 15 - .../CaseBrowser/ICaseBrowserHelper.java | 72 - .../CaseBrowser/ICaseBrowserHolder.java | 40 - .../CaseBrowser/ICaseBrowserOperations.java | 104 - .../CaseBrowser/_ICaseBrowserStub.java | 1058 - .../Java/FoamXServer/CaseDescriptor.java | 50 - .../FoamXServer/CaseDescriptorHelper.java | 126 - .../FoamXServer/CaseDescriptorHolder.java | 40 - .../FoamXServer/CaseDescriptorListHelper.java | 62 - .../FoamXServer/CaseDescriptorListHolder.java | 39 - .../CasePostServer/ICasePostServer.java | 15 - .../CasePostServer/ICasePostServerHelper.java | 72 - .../CasePostServer/ICasePostServerHolder.java | 40 - .../ICasePostServerOperations.java | 89 - .../CasePostServer/_ICasePostServerStub.java | 650 - .../FoamXServer/CaseServer/IApplication.java | 15 - .../CaseServer/IApplicationHelper.java | 72 - .../CaseServer/IApplicationHolder.java | 40 - .../CaseServer/IApplicationOperations.java | 72 - .../FoamXServer/CaseServer/ICaseServer.java | 15 - .../CaseServer/ICaseServerHelper.java | 72 - .../CaseServer/ICaseServerHolder.java | 40 - .../CaseServer/ICaseServerOperations.java | 80 - .../CaseServer/IFoamProperties.java | 15 - .../CaseServer/IFoamPropertiesHelper.java | 72 - .../CaseServer/IFoamPropertiesHolder.java | 40 - .../CaseServer/IFoamPropertiesOperations.java | 65 - .../CaseServer/IGeometricField.java | 15 - .../CaseServer/IGeometricFieldDescriptor.java | 15 - .../IGeometricFieldDescriptorHelper.java | 72 - .../IGeometricFieldDescriptorHolder.java | 40 - .../IGeometricFieldDescriptorOperations.java | 48 - .../CaseServer/IGeometricFieldHelper.java | 72 - .../CaseServer/IGeometricFieldHolder.java | 40 - .../CaseServer/IGeometricFieldOperations.java | 21 - .../CaseServer/IGeometryDescriptor.java | 15 - .../CaseServer/IGeometryDescriptorHelper.java | 72 - .../CaseServer/IGeometryDescriptorHolder.java | 40 - .../IGeometryDescriptorOperations.java | 33 - .../CaseServer/IPatchDescriptor.java | 15 - .../CaseServer/IPatchDescriptorHelper.java | 72 - .../CaseServer/IPatchDescriptorHolder.java | 40 - .../IPatchDescriptorOperations.java | 33 - .../IPatchPhysicalTypeDescriptor.java | 15 - .../IPatchPhysicalTypeDescriptorHelper.java | 72 - .../IPatchPhysicalTypeDescriptorHolder.java | 40 - ...PatchPhysicalTypeDescriptorOperations.java | 31 - .../CaseServer/_IApplicationStub.java | 624 - .../CaseServer/_ICaseServerStub.java | 726 - .../CaseServer/_IFoamPropertiesStub.java | 662 - .../_IGeometricFieldDescriptorStub.java | 309 - .../CaseServer/_IGeometricFieldStub.java | 131 - .../CaseServer/_IGeometryDescriptorStub.java | 168 - .../CaseServer/_IPatchDescriptorStub.java | 168 - .../_IPatchPhysicalTypeDescriptorStub.java | 274 - .../DictionaryEntryListHelper.java | 62 - .../DictionaryEntryListHolder.java | 39 - .../FoamX/Java/FoamXServer/DimensionSet.java | 48 - .../Java/FoamXServer/DimensionSetHelper.java | 117 - .../Java/FoamXServer/DimensionSetHolder.java | 38 - .../FoamXServer/DimensionSetListHelper.java | 62 - .../FoamXServer/DimensionSetListHolder.java | 39 - .../Java/FoamXServer/DoubleListHelper.java | 60 - .../Java/FoamXServer/DoubleListHolder.java | 39 - .../FoamX/Java/FoamXServer/ErrorCode.java | 54 - .../Java/FoamXServer/ErrorCodeHelper.java | 53 - .../Java/FoamXServer/ErrorCodeHolder.java | 38 - .../Java/FoamXServer/FloatListHelper.java | 60 - .../Java/FoamXServer/FloatListHolder.java | 39 - .../FoamX/Java/FoamXServer/FoamXAny.java | 28 - .../Java/FoamXServer/FoamXAnyHelper.java | 84 - .../Java/FoamXServer/FoamXAnyHolder.java | 40 - .../Java/FoamXServer/FoamXAnyListHelper.java | 62 - .../Java/FoamXServer/FoamXAnyListHolder.java | 39 - .../FoamX/Java/FoamXServer/FoamXError.java | 45 - .../Java/FoamXServer/FoamXErrorHelper.java | 107 - .../Java/FoamXServer/FoamXErrorHolder.java | 38 - .../FoamX/Java/FoamXServer/FoamXIOError.java | 51 - .../Java/FoamXServer/FoamXIOErrorHelper.java | 121 - .../Java/FoamXServer/FoamXIOErrorHolder.java | 38 - .../FoamX/Java/FoamXServer/FoamXSYSError.java | 48 - .../Java/FoamXServer/FoamXSYSErrorHelper.java | 114 - .../Java/FoamXServer/FoamXSYSErrorHolder.java | 38 - .../FoamX/Java/FoamXServer/FoamXType.java | 80 - .../Java/FoamXServer/FoamXTypeHelper.java | 55 - .../Java/FoamXServer/FoamXTypeHolder.java | 40 - .../FoamXServer/HostBrowser/IHostBrowser.java | 15 - .../HostBrowser/IHostBrowserHelper.java | 72 - .../HostBrowser/IHostBrowserHolder.java | 40 - .../HostBrowser/IHostBrowserOperations.java | 31 - .../HostBrowser/_IHostBrowserStub.java | 273 - .../Java/FoamXServer/HostDescriptor.java | 28 - .../FoamXServer/HostDescriptorHelper.java | 84 - .../FoamXServer/HostDescriptorHolder.java | 40 - .../FoamXServer/HostDescriptorListHelper.java | 62 - .../FoamXServer/HostDescriptorListHolder.java | 39 - .../Java/FoamXServer/IDictionaryEntry.java | 15 - .../FoamXServer/IDictionaryEntryHelper.java | 72 - .../FoamXServer/IDictionaryEntryHolder.java | 40 - .../IDictionaryEntryOperations.java | 51 - .../Java/FoamXServer/ITypeDescriptor.java | 15 - .../FoamXServer/ITypeDescriptorHelper.java | 72 - .../FoamXServer/ITypeDescriptorHolder.java | 40 - .../ITypeDescriptorOperations.java | 150 - .../FoamX/Java/FoamXServer/JobDescriptor.java | 98 - .../Java/FoamXServer/JobDescriptorHelper.java | 205 - .../Java/FoamXServer/JobDescriptorHolder.java | 40 - .../FoamXServer/JobDescriptorListHelper.java | 62 - .../FoamXServer/JobDescriptorListHolder.java | 39 - .../FoamX/Java/FoamXServer/JobID.java | 30 - .../FoamX/Java/FoamXServer/JobIDHelper.java | 84 - .../FoamX/Java/FoamXServer/JobIDHolder.java | 40 - .../Java/FoamXServer/JobIDListHelper.java | 62 - .../Java/FoamXServer/JobIDListHolder.java | 39 - .../FoamX/Java/FoamXServer/JobStatus.java | 50 - .../Java/FoamXServer/JobStatusHelper.java | 53 - .../Java/FoamXServer/JobStatusHolder.java | 38 - .../Java/FoamXServer/LongListHelper.java | 60 - .../Java/FoamXServer/LongListHolder.java | 39 - .../FoamX/Java/FoamXServer/MessageType.java | 42 - .../Java/FoamXServer/MessageTypeHelper.java | 53 - .../Java/FoamXServer/MessageTypeHolder.java | 38 - .../FoamX/Java/FoamXServer/Point3Helper.java | 66 - .../FoamX/Java/FoamXServer/Point3Holder.java | 39 - .../Java/FoamXServer/StringListHelper.java | 64 - .../Java/FoamXServer/StringListHolder.java | 41 - .../FoamX/Java/FoamXServer/StringPair.java | 26 - .../Java/FoamXServer/StringPairHelper.java | 82 - .../Java/FoamXServer/StringPairHolder.java | 38 - .../FoamXServer/StringPairListHelper.java | 62 - .../FoamXServer/StringPairListHolder.java | 39 - .../FoamXServer/TypeDescriptorListHelper.java | 62 - .../FoamXServer/TypeDescriptorListHolder.java | 39 - .../Java/FoamXServer/ValidationError.java | 39 - .../FoamXServer/ValidationErrorHelper.java | 93 - .../FoamXServer/ValidationErrorHolder.java | 38 - .../FoamXServer/_IDictionaryEntryStub.java | 356 - .../FoamXServer/_ITypeDescriptorStub.java | 1045 - .../FoamX/Java/META-INF/MANIFEST.MF | 3 - .../preProcessing/FoamX/Java/Make/files | 31 - .../preProcessing/FoamX/Java/Make/options | 6 - .../resources/DictEditorModule.properties | 24 - .../FoamX/Java/resources/FoamX.properties | 272 - .../resources/MemoryViewLocale.properties | 35 - .../preProcessing/FoamX/currentBugs.txt | 149 - .../preProcessing/FoamX/lib/jlfgr-1_0.jar | Bin 114580 -> 0 bytes .../preProcessing/boxTurb/FoamX/boxTurb.cfg | 41 - .../changeDictionary/FoamX/foamInfoExec.cfg | 32 - .../engineSwirl/FoamX/engineSwirl.cfg | 27 - .../foamCloneCase/FoamX/foamCloneCase.cfg | 59 - .../mapFields/FoamX/mapFields.cfg | 55 - .../mapFields/FoamX/patchMapping.cfg | 33 - .../setFields/FoamX/boxToCellFields.cfg | 25 - .../setFields/FoamX/setFields.cfg | 57 - .../adiabaticFlameT/FoamX/adiabaticFlameT.cfg | 32 - .../chemkinToFoam/FoamX/chemkinToFoam.cfg | 51 - .../equilibriumCO/FoamX/equilibriumCO.cfg | 27 - .../FoamX/equilibriumFlameT.cfg | 32 - .../FoamX/mixtureAdiabaticFlameT.cfg | 32 - bin/FoamX | 240 - bin/foamCheckJobs | 10 +- bin/foamInstallationTest | 35 +- bin/foamSystemCheck | 48 +- bin/killFoamX | 161 - bin/patchTool | 192 - bin/runFoamXHB | 149 - bin/runPatchToolServer | 159 - doc/Doxygen/Doxyfile | 2 +- doc/GUIDELINES | 1 - etc/apps/FoamX/FoamX.cfg | 48 - etc/apps/FoamX/FoamXClient.cfg | 33 - etc/apps/FoamX/createFlag | 79 - etc/apps/FoamX/createFlagWithArgument | 96 - .../thermophysicalPropertiesCombustion | 40 - .../constant/thermophysicalPropertiesMixture | 31 - etc/apps/FoamX/defaults/system/controlDict | 56 - .../defaults/system/controlDictAdjustTimeStep | 62 - .../FoamX/defaults/system/controlDictSteady | 56 - .../OpenFOAMControlDict/DebugSwitches.cfg | 668 - .../DimensionedConstants.cfg | 38 - .../OpenFOAMControlDict/InfoSwitches.cfg | 35 - .../OptimisationSwitches.cfg | 41 - .../OpenFOAMControlDict/controlDict.cfg | 34 - .../combustionProperties/GuldersCoeffs.cfg | 21 - .../GuldersCoeffs/GuldersCoeffsEntries.cfg | 16 - .../GuldersCoeffs/IsoOctane.cfg | 22 - .../GuldersCoeffs/Methane.cfg | 22 - .../GuldersCoeffs/Propane.cfg | 22 - .../GuldersCoeffs/defaults/IsoOctane.def | 9 - .../GuldersCoeffs/defaults/Methane.def | 9 - .../GuldersCoeffs/defaults/Propane.def | 9 - .../combustionProperties/MKCoeffs.cfg | 19 - .../MKCoeffs/MKCoeffsEntries.cfg | 14 - .../combustionProperties/MKCoeffs/Propane.cfg | 22 - .../MKCoeffs/defaults/Propane.def | 7 - .../combustionProperties/StCorr.cfg | 43 - .../combustionProperties/SuModel.cfg | 22 - .../combustionProperties/XiModel.cfg | 22 - .../combustionProperties.cfg | 13 - .../combustionProperties/fuel.cfg | 22 - .../combustionProperties/ignitionSite.cfg | 43 - .../combustionProperties/ignitionSites.cfg | 22 - .../laminarFlameSpeedCorrelation.cfg | 21 - .../controlDict/adjustTimeStep.cfg | 17 - .../dictionaries/controlDict/controlDict.cfg | 27 - .../controlDict/controlDictAdjustTimeStep.cfg | 30 - .../controlDict/controlDictSteady.cfg | 27 - .../FoamX/dictionaries/controlDict/maxCo.cfg | 16 - .../dictionaries/controlDict/maxDeltaT.cfg | 16 - .../controlDict/standardEntries.cfg | 217 - .../dynamicMeshDict/diffusion.cfg | 28 - .../dynamicMeshDict/distancePatches.cfg | 16 - .../dynamicMeshDict/dynamicMeshDict.cfg | 22 - .../dynamicMeshDict/frozenDiffusion.cfg | 17 - .../dynamicMeshDict/movingFvMesh.cfg | 24 - .../movingInkJetFvMeshCoeffs.cfg | 19 - .../dictionaries/dynamicMeshDict/solver.cfg | 26 - .../dynamicMeshDict/staticFvMesh.cfg | 19 - .../environmentalPropertiesg.cfg | 21 - .../fvSchemes/d2dt2/allSchemes.cfg | 29 - .../dictionaries/fvSchemes/d2dt2/schemes.cfg | 13 - .../dictionaries/fvSchemes/ddt/allSchemes.cfg | 31 - .../dictionaries/fvSchemes/ddt/schemes.cfg | 13 - .../dictionaries/fvSchemes/ddt/steady.cfg | 29 - .../dictionaries/fvSchemes/ddt/transient.cfg | 30 - .../FoamX/dictionaries/fvSchemes/div/B.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/R.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/Rca.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/Rcb.cfg | 15 - .../dictionaries/fvSchemes/div/SuGradb.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/U.cfg | 15 - .../dictionaries/fvSchemes/div/USuXiGradb.cfg | 15 - .../dictionaries/fvSchemes/div/centered.cfg | 24 - .../dictionaries/fvSchemes/div/default.cfg | 37 - .../fvSchemes/div/defaultOnly.cfg | 44 - .../fvSchemes/div/discretisationScheme.cfg | 16 - .../fvSchemes/div/interpolation/all.cfg | 54 - .../fvSchemes/div/interpolation/centered.cfg | 17 - .../fvSchemes/div/interpolation/default.cfg | 31 - .../fvSchemes/div/interpolation/scalar.cfg | 40 - .../fvSchemes/div/interpolation/scalar01.cfg | 19 - .../div/interpolation/scalarMULES.cfg | 19 - .../fvSchemes/div/interpolation/tensor.cfg | 31 - .../fvSchemes/div/interpolation/vector.cfg | 37 - .../fvSchemes/div/muEffGradUT.cfg | 15 - .../fvSchemes/div/multivariateSelection.cfg | 16 - .../FoamX/dictionaries/fvSchemes/div/none.cfg | 15 - .../dictionaries/fvSchemes/div/noneOnly.cfg | 25 - .../fvSchemes/div/nuEffGradUT.cfg | 15 - .../fvSchemes/div/nuEffaGradUaT.cfg | 15 - .../fvSchemes/div/nuEffbGradUbT.cfg | 15 - .../dictionaries/fvSchemes/div/phiAlpha.cfg | 15 - .../fvSchemes/div/phiAlphaAlpha.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/phiB.cfg | 15 - .../dictionaries/fvSchemes/div/phiB2DBUB.cfg | 15 - .../dictionaries/fvSchemes/div/phiBT.cfg | 15 - .../dictionaries/fvSchemes/div/phiBU.cfg | 15 - .../dictionaries/fvSchemes/div/phiEpsilon.cfg | 16 - .../dictionaries/fvSchemes/div/phiGamma.cfg | 15 - .../dictionaries/fvSchemes/div/phiMuTilda.cfg | 15 - .../dictionaries/fvSchemes/div/phiNuTilda.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/phiR.cfg | 15 - .../dictionaries/fvSchemes/div/phiStb.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/phiT.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/phiU.cfg | 15 - .../dictionaries/fvSchemes/div/phiUp.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/phiV.cfg | 15 - .../dictionaries/fvSchemes/div/phiVdjVdj.cfg | 15 - .../dictionaries/fvSchemes/div/phiXiSu.cfg | 15 - .../dictionaries/fvSchemes/div/phiXiXi.cfg | 15 - .../dictionaries/fvSchemes/div/phiaUa.cfg | 15 - .../fvSchemes/div/phibEpsilon.cfg | 15 - .../dictionaries/fvSchemes/div/phibUb.cfg | 15 - .../dictionaries/fvSchemes/div/phibk.cfg | 15 - .../dictionaries/fvSchemes/div/phidp.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/phie.cfg | 15 - .../fvSchemes/div/phift_b_h_hu.cfg | 71 - .../FoamX/dictionaries/fvSchemes/div/phih.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/phik.cfg | 15 - .../dictionaries/fvSchemes/div/phirAlpha.cfg | 15 - .../dictionaries/fvSchemes/div/phirbGamma.cfg | 15 - .../dictionaries/fvSchemes/div/phiv2p.cfg | 15 - .../dictionaries/fvSchemes/div/phivRho.cfg | 15 - .../dictionaries/fvSchemes/div/phivRhoE.cfg | 15 - .../dictionaries/fvSchemes/div/phivRhoU.cfg | 15 - .../dictionaries/fvSchemes/div/rhoPhiU.cfg | 15 - .../FoamX/dictionaries/fvSchemes/div/rhoR.cfg | 15 - .../dictionaries/fvSchemes/div/scalar.cfg | 32 - .../dictionaries/fvSchemes/div/scalar01.cfg | 32 - .../fvSchemes/div/scalarMULES.cfg | 32 - .../dictionaries/fvSchemes/div/schemes.cfg | 13 - .../dictionaries/fvSchemes/div/sigma.cfg | 15 - .../dictionaries/fvSchemes/div/sigmaD.cfg | 15 - .../dictionaries/fvSchemes/div/tensor.cfg | 32 - .../dictionaries/fvSchemes/div/vector.cfg | 33 - .../FoamX/dictionaries/fvSchemes/flux/DT.cfg | 20 - .../FoamX/dictionaries/fvSchemes/flux/T.cfg | 19 - .../FoamX/dictionaries/fvSchemes/flux/U.cfg | 19 - .../FoamX/dictionaries/fvSchemes/flux/UT.cfg | 20 - .../fvSchemes/flux/fluxRequired.cfg | 13 - .../FoamX/dictionaries/fvSchemes/flux/p.cfg | 19 - .../FoamX/dictionaries/fvSchemes/flux/pPB.cfg | 20 - .../dictionaries/fvSchemes/flux/pPcorr.cfg | 20 - .../FoamX/dictionaries/fvSchemes/flux/pd.cfg | 19 - .../dictionaries/fvSchemes/flux/pdPcorr.cfg | 20 - .../fvSchemes/flux/pdPcorrGamma.cfg | 21 - .../FoamX/dictionaries/fvSchemes/flux/phi.cfg | 19 - .../fvSchemes/flux/variables/B.cfg | 16 - .../fvSchemes/flux/variables/D.cfg | 16 - .../fvSchemes/flux/variables/T.cfg | 16 - .../fvSchemes/flux/variables/U.cfg | 16 - .../fvSchemes/flux/variables/default.cfg | 17 - .../fvSchemes/flux/variables/gamma.cfg | 16 - .../fvSchemes/flux/variables/p.cfg | 16 - .../fvSchemes/flux/variables/pB.cfg | 16 - .../fvSchemes/flux/variables/pcorr.cfg | 16 - .../fvSchemes/flux/variables/pd.cfg | 16 - .../fvSchemes/flux/variables/phi.cfg | 16 - .../dictionaries/fvSchemes/fvSchemes.cfg | 14 - .../FoamX/dictionaries/fvSchemes/grad/D.cfg | 15 - .../fvSchemes/grad/DBUmagsqrB.cfg | 15 - .../dictionaries/fvSchemes/grad/Gauss.cfg | 15 - .../FoamX/dictionaries/fvSchemes/grad/T.cfg | 15 - .../FoamX/dictionaries/fvSchemes/grad/U.cfg | 15 - .../FoamX/dictionaries/fvSchemes/grad/V.cfg | 15 - .../dictionaries/fvSchemes/grad/default.cfg | 16 - .../fvSchemes/grad/defaultOnly.cfg | 18 - .../dictionaries/fvSchemes/grad/fourth.cfg | 16 - .../dictionaries/fvSchemes/grad/gamma.cfg | 15 - .../fvSchemes/grad/leastSquares.cfg | 15 - .../dictionaries/fvSchemes/grad/none.cfg | 15 - .../FoamX/dictionaries/fvSchemes/grad/p.cfg | 15 - .../dictionaries/fvSchemes/grad/schemes.cfg | 13 - .../dictionaries/fvSchemes/grad/standard.cfg | 107 - .../fvSchemes/interpolation/1A.cfg | 15 - .../fvSchemes/interpolation/B.cfg | 15 - .../fvSchemes/interpolation/HbyA.cfg | 15 - .../fvSchemes/interpolation/U.cfg | 15 - .../fvSchemes/interpolation/default.cfg | 16 - .../fvSchemes/interpolation/defaultOnly.cfg | 18 - .../interpolation/interpolationScheme.cfg | 20 - .../fvSchemes/interpolation/schemes.cfg | 13 - .../fvSchemes/laplacian/1ABpB.cfg | 15 - .../dictionaries/fvSchemes/laplacian/1AUp.cfg | 15 - .../dictionaries/fvSchemes/laplacian/1Ap.cfg | 15 - .../fvSchemes/laplacian/1ArhoUp.cfg | 15 - .../dictionaries/fvSchemes/laplacian/1p.cfg | 15 - .../dictionaries/fvSchemes/laplacian/DBB.cfg | 15 - .../fvSchemes/laplacian/DBEffB.cfg | 15 - .../dictionaries/fvSchemes/laplacian/DDD.cfg | 15 - .../fvSchemes/laplacian/DREffR.cfg | 15 - .../dictionaries/fvSchemes/laplacian/DTT.cfg | 15 - .../dictionaries/fvSchemes/laplacian/DUU.cfg | 15 - .../dictionaries/fvSchemes/laplacian/DVV.cfg | 15 - .../laplacian/DepsilonEffEpsilon.cfg | 15 - .../fvSchemes/laplacian/DkEffk.cfg | 15 - .../laplacian/DmuTildaEffMuTilda.cfg | 15 - .../laplacian/DnuTildaEffNuTilda.cfg | 15 - .../dictionaries/fvSchemes/laplacian/Dphi.cfg | 15 - .../fvSchemes/laplacian/alphaEffh.cfg | 15 - .../fvSchemes/laplacian/alphaEffhu.cfg | 15 - .../fvSchemes/laplacian/default.cfg | 37 - .../fvSchemes/laplacian/defaultOnly.cfg | 23 - .../laplacian/discretisationScheme.cfg | 16 - .../fvSchemes/laplacian/muEffFt.cfg | 15 - .../fvSchemes/laplacian/muEffU.cfg | 15 - .../fvSchemes/laplacian/muEffb.cfg | 15 - .../fvSchemes/laplacian/muEffft.cfg | 15 - .../dictionaries/fvSchemes/laplacian/muU.cfg | 15 - .../dictionaries/fvSchemes/laplacian/mue.cfg | 15 - .../fvSchemes/laplacian/mutAlpha.cfg | 15 - .../dictionaries/fvSchemes/laplacian/mutU.cfg | 15 - .../dictionaries/fvSchemes/laplacian/none.cfg | 15 - .../fvSchemes/laplacian/nuEffU.cfg | 15 - .../fvSchemes/laplacian/nuEffaUa.cfg | 15 - .../fvSchemes/laplacian/nuEffbUb.cfg | 15 - .../dictionaries/fvSchemes/laplacian/nuU.cfg | 15 - .../dictionaries/fvSchemes/laplacian/phi.cfg | 15 - .../fvSchemes/laplacian/rhoAUp.cfg | 15 - .../fvSchemes/laplacian/rhoAUpd.cfg | 15 - .../fvSchemes/laplacian/scalar.cfg | 25 - .../fvSchemes/laplacian/schemes.cfg | 13 - .../fvSchemes/laplacian/vector.cfg | 25 - .../dictionaries/fvSchemes/snGrad/default.cfg | 16 - .../fvSchemes/snGrad/defaultOnly.cfg | 19 - .../dictionaries/fvSchemes/snGrad/schemes.cfg | 13 - .../fvSchemes/snGrad/snGradSchemeScalar.cfg | 19 - .../fvSchemes/snGrad/snGradSchemeVector.cfg | 18 - .../FoamX/dictionaries/fvSolution/PISO.cfg | 21 - .../FoamX/dictionaries/fvSolution/SIMPLE.cfg | 19 - .../dictionaries/fvSolution/contactPatch.cfg | 21 - .../dictionaries/fvSolution/fvSolution.cfg | 14 - .../dictionaries/fvSolution/solvers/Alpha.cfg | 16 - .../dictionaries/fvSolution/solvers/B.cfg | 16 - .../dictionaries/fvSolution/solvers/D.cfg | 16 - .../dictionaries/fvSolution/solvers/R.cfg | 16 - .../dictionaries/fvSolution/solvers/Su.cfg | 16 - .../dictionaries/fvSolution/solvers/T.cfg | 16 - .../dictionaries/fvSolution/solvers/Tsymm.cfg | 16 - .../dictionaries/fvSolution/solvers/U.cfg | 16 - .../dictionaries/fvSolution/solvers/Ua.cfg | 16 - .../dictionaries/fvSolution/solvers/Ub.cfg | 16 - .../dictionaries/fvSolution/solvers/Usymm.cfg | 16 - .../fvSolution/solvers/Vfinancial.cfg | 16 - .../dictionaries/fvSolution/solvers/Xi.cfg | 16 - .../dictionaries/fvSolution/solvers/alpha.cfg | 16 - .../fvSolution/solvers/asymmetricSparse.cfg | 18 - .../dictionaries/fvSolution/solvers/b.cfg | 16 - .../dictionaries/fvSolution/solvers/beta.cfg | 16 - .../dictionaries/fvSolution/solvers/e.cfg | 16 - .../fvSolution/solvers/epsilon.cfg | 16 - .../dictionaries/fvSolution/solvers/ft.cfg | 16 - .../dictionaries/fvSolution/solvers/fu.cfg | 16 - .../dictionaries/fvSolution/solvers/gamma.cfg | 16 - .../dictionaries/fvSolution/solvers/h.cfg | 16 - .../dictionaries/fvSolution/solvers/hu.cfg | 16 - .../dictionaries/fvSolution/solvers/k.cfg | 16 - .../fvSolution/solvers/motionU.cfg | 16 - .../fvSolution/solvers/nuTilda.cfg | 16 - .../fvSolution/solvers/pAsymm.cfg | 16 - .../dictionaries/fvSolution/solvers/pB.cfg | 16 - .../fvSolution/solvers/pFinal.cfg | 16 - .../dictionaries/fvSolution/solvers/pSymm.cfg | 16 - .../dictionaries/fvSolution/solvers/pcorr.cfg | 16 - .../dictionaries/fvSolution/solvers/pd.cfg | 16 - .../fvSolution/solvers/pdFinal.cfg | 16 - .../dictionaries/fvSolution/solvers/phiEP.cfg | 16 - .../dictionaries/fvSolution/solvers/rho.cfg | 16 - .../dictionaries/fvSolution/solvers/rhoCD.cfg | 16 - .../dictionaries/fvSolution/solvers/rhoE.cfg | 16 - .../dictionaries/fvSolution/solvers/rhoU.cfg | 16 - .../fvSolution/solvers/symmetricSparse.cfg | 18 - .../dictionaries/fvSolution/solvers/theta.cfg | 16 - .../fvSolution/stressAnalysis.cfg | 20 - .../fvTolerances/fvTolerances.cfg | 14 - .../fvTolerances/toleranceSetAll.cfg | 23 - .../fvTolerances/toleranceSetSteady.cfg | 22 - .../fvTolerances/toleranceSetSteadyTight.cfg | 23 - .../fvTolerances/toleranceSetTransient.cfg | 22 - .../injectorProperties/injector.cfg | 62 - .../injectorProperties/injectorProperties.cfg | 32 - .../injectorProperties/timeDistance.cfg | 19 - .../physicalProperties/physicalProperties.cfg | 13 - .../sprayProperties/RanzMarshallCoeffs.cfg | 21 - .../sprayProperties/ReitzDiwakarCoeffs.cfg | 22 - .../sprayProperties/ReitzKHRTCoeffs.cfg | 24 - .../sprayProperties/atomizationModel.cfg | 21 - .../sprayProperties/breakupModel.cfg | 22 - .../sprayProperties/coefficients/B0.cfg | 16 - .../sprayProperties/coefficients/B1.cfg | 16 - .../sprayProperties/coefficients/CRT.cfg | 16 - .../sprayProperties/coefficients/Cb.cfg | 16 - .../sprayProperties/coefficients/Cbag.cfg | 16 - .../coefficients/CdLimiter.cfg | 16 - .../sprayProperties/coefficients/Cdistort.cfg | 16 - .../sprayProperties/coefficients/Cs.cfg | 16 - .../sprayProperties/coefficients/Cstrip.cfg | 16 - .../sprayProperties/coefficients/Ctau.cfg | 16 - .../coefficients/PrExponent.cfg | 16 - .../coefficients/ReExponent.cfg | 16 - .../coefficients/ReLimiter.cfg | 16 - .../coefficients/ScExponent.cfg | 16 - .../coefficients/WeberLimit.cfg | 16 - .../sprayProperties/coefficients/cSpace.cfg | 16 - .../sprayProperties/coefficients/cTime.cfg | 16 - .../coefficients/createCoefficient | 23 - .../coefficients/elasticity.cfg | 16 - .../coefficients/preReFactor.cfg | 16 - .../coefficients/preRePrFactor.cfg | 16 - .../coefficients/preReScFactor.cfg | 16 - .../coefficients/strippedMassLimit.cfg | 16 - .../sprayProperties/collisionModel.cfg | 22 - .../sprayProperties/dispersionModel.cfg | 20 - .../sprayProperties/dragModel.cfg | 20 - .../sprayProperties/evaporationModel.cfg | 21 - .../sprayProperties/heatTransferModel.cfg | 21 - .../sprayProperties/interpolationSchemes.cfg | 24 - .../interpolationSchemes/T.cfg | 22 - .../interpolationSchemes/U.cfg | 22 - .../createInterpolationScheme | 29 - .../interpolationSchemes/ft.cfg | 22 - .../interpolationSchemes/fu.cfg | 23 - .../interpolationSchemes/p.cfg | 22 - .../interpolationSchemes/rho.cfg | 22 - .../sprayProperties/reflectCoeffs.cfg | 19 - .../specConstAtomizationCoeffs.cfg | 31 - .../sprayProperties/sprayProperties.cfg | 13 - .../standardDragModelCoeffs.cfg | 23 - .../standardEvaporationModelCoeffs.cfg | 31 - .../sprayProperties/subCycles.cfg | 17 - .../sprayProperties/trajectoryCoeffs.cfg | 20 - .../sprayProperties/wallModel.cfg | 21 - .../thermodynamicProperties.cfg | 13 - .../thermodynamicPropertiesConst.cfg | 20 - .../coefficients/Cp.cfg | 15 - .../coefficients/Hf.cfg | 15 - .../coefficients/Pr.cfg | 15 - .../coefficients/Tcommon.cfg | 15 - .../coefficients/Thigh.cfg | 15 - .../coefficients/Tlow.cfg | 15 - .../coefficients/createCoefficient | 22 - .../coefficients/highTCpCoeff1.cfg | 15 - .../coefficients/highTCpCoeff2.cfg | 15 - .../coefficients/highTCpCoeff3.cfg | 15 - .../coefficients/highTCpCoeff4.cfg | 15 - .../coefficients/highTCpCoeff5.cfg | 15 - .../coefficients/highThOffset.cfg | 15 - .../coefficients/highTsOffset.cfg | 15 - .../coefficients/lowTCpCoeff1.cfg | 15 - .../coefficients/lowTCpCoeff2.cfg | 15 - .../coefficients/lowTCpCoeff3.cfg | 15 - .../coefficients/lowTCpCoeff4.cfg | 15 - .../coefficients/lowTCpCoeff5.cfg | 15 - .../coefficients/lowThOffset.cfg | 15 - .../coefficients/lowTsOffset.cfg | 15 - .../coefficients/molecularWeight.cfg | 15 - .../coefficients/nMoles.cfg | 15 - .../coefficients/sutherlandA.cfg | 15 - .../coefficients/sutherlandTemp.cfg | 15 - .../coefficients/viscosity.cfg | 16 - .../combustionCoefficients.cfg | 13 - .../combustionCoefficientsHconst.cfg | 41 - .../combustionCoefficientsJanaf.cfg | 84 - .../constTransportCoeffs.cfg | 12 - .../hConstThermoCoeffs.cfg | 12 - .../janafThermoCoeffs.cfg | 27 - .../thermophysicalProperties/liquidFuel.cfg | 45 - .../thermophysicalProperties/specieCoeffs.cfg | 12 - .../standardMixtureCoefficients.cfg | 26 - .../sutherlandTransportCoeffs.cfg | 12 - .../thermophysicalProperties/thermoType.cfg | 28 - .../thermophysicalProperties.cfg | 13 - .../thermophysicalPropertiesCombustion.cfg | 26 - .../thermophysicalPropertiesMixture.cfg | 25 - .../transportProperties/BirdCarreauCoeffs.cfg | 22 - .../CrossPowerLawCoeffs.cfg | 22 - ...ewtonianSinglePhaseTransportProperties.cfg | 19 - .../NewtonianViscosity.cfg | 11 - .../transportProperties/contactAngle.cfg | 19 - .../incompressibleTransportModel.cfg | 22 - .../singlePhaseTransportProperties.cfg | 22 - .../transportProperties.cfg | 13 - .../twoPhaseTransportProperties.cfg | 50 - .../LESmodelsCompressible.cfg | 36 - .../LESmodelsIncompressible.cfg | 46 - .../turbulenceProperties/checkCoeffs | 10 - .../turbulenceProperties/laminarCoeffs.cfg | 16 - .../turbulenceModelsCompressible.cfg | 29 - .../turbulenceModelsIncompressible.cfg | 38 - .../LESmodels/LESdeltas/LESdeltaBottom.cfg | 21 - .../LESmodels/LESdeltas/LESdeltaTop.cfg | 23 - .../LESmodels/LESdeltas/PrandtlCoeffs.cfg | 24 - .../LESmodels/LESdeltas/cubeRootVolCoeffs.cfg | 21 - .../LESdeltas/defaults/PrandtlCoeffs.def | 21 - .../LESdeltas/defaults/cubeRootVolCoeffs.def | 4 - .../LESdeltas/defaults/smoothCoeffs.def | 11 - .../LESdeltas/defaults/vanDriestCoeffs.def | 22 - .../LESmodels/LESdeltas/smoothCoeffs.cfg | 30 - .../LESmodels/LESdeltas/vanDriestCoeffs.cfg | 25 - .../FoamX/entries/LESmodels/LESfilters.cfg | 22 - .../DeardorffDiffStressCoeffs.cfg | 25 - .../LESmodels/compressible/LESmodel.cfg | 25 - .../compressible/SmagorinskyCoeffs.cfg | 24 - .../defaults/DeardorffDiffStressCoeffs.def | 8 - .../defaults/SmagorinskyCoeffs.def | 7 - .../defaults/dynOneEqEddyCoeffs.def | 7 - .../defaults/lowReOneEqEddyCoeffs.def | 7 - .../compressible/defaults/oneEqEddyCoeffs.def | 5 - .../defaults/wallFunctionCoeffs.def | 4 - .../compressible/dynOneEqEddyCoeffs.cfg | 22 - .../compressible/lowReOneEqEddyCoeffs.cfg | 25 - .../compressible/oneEqEddyCoeffs.cfg | 24 - .../compressible/wallFunctionCoeffs.cfg | 23 - .../DeardorffDiffStressCoeffs.cfg | 25 - .../LESmodels/incompressible/LESmodel.cfg | 32 - .../incompressible/LRRDiffStressCoeffs.cfg | 26 - .../incompressible/Smagorinsky2Coeffs.cfg | 25 - .../incompressible/SmagorinskyCoeffs.cfg | 24 - .../incompressible/SpalartAllmarasCoeffs.cfg | 29 - .../defaults/DeardorffDiffStressCoeffs.def | 8 - .../defaults/LRRDiffStressCoeffs.def | 9 - .../defaults/Smagorinsky2Coeffs.def | 8 - .../defaults/SmagorinskyCoeffs.def | 7 - .../defaults/SpalartAllmarasCoeffs.def | 12 - .../defaults/dynMixedSmagorinskyCoeffs.def | 7 - .../defaults/dynOneEqEddyCoeffs.def | 7 - .../defaults/dynSmagorinskyCoeffs.def | 7 - .../defaults/locDynOneEqEddyCoeffs.def | 7 - .../defaults/mixedSmagorinskyCoeffs.def | 7 - .../defaults/oneEqEddyCoeffs.def | 7 - .../defaults/scaleSimilarityCoeffs.def | 6 - .../defaults/spectEddyViscCoeffs.def | 11 - .../defaults/wallFunctionCoeffs.def | 4 - .../dynMixedSmagorinskyCoeffs.cfg | 24 - .../incompressible/dynOneEqEddyCoeffs.cfg | 24 - .../incompressible/dynSmagorinskyCoeffs.cfg | 24 - .../incompressible/locDynOneEqEddyCoeffs.cfg | 24 - .../incompressible/mixedSmagorinskyCoeffs.cfg | 25 - .../incompressible/oneEqEddyCoeffs.cfg | 24 - .../incompressible/scaleSimilarityCoeffs.cfg | 21 - .../incompressible/spectEddyViscCoeffs.cfg | 28 - .../incompressible/wallFunctionCoeffs.cfg | 23 - etc/apps/FoamX/entries/LESmodels/kappa.cfg | 37 - .../FoamX/entries/Switch/BinghamPlastic.cfg | 16 - .../entries/Switch/addCellNeighbours.cfg | 17 - etc/apps/FoamX/entries/Switch/anisotropic.cfg | 16 - .../entries/Switch/compactNormalStress.cfg | 16 - .../FoamX/entries/Switch/correctAlpha.cfg | 18 - etc/apps/FoamX/entries/Switch/createSwitch | 27 - .../FoamX/entries/Switch/geometricCut.cfg | 16 - etc/apps/FoamX/entries/Switch/ignite.cfg | 16 - etc/apps/FoamX/entries/Switch/layeredMesh.cfg | 16 - .../FoamX/entries/Switch/mappingPlane.cfg | 16 - .../entries/Switch/momentumPredictor.cfg | 18 - etc/apps/FoamX/entries/Switch/planeStress.cfg | 17 - etc/apps/FoamX/entries/Switch/problemD.cfg | 22 - .../FoamX/entries/Switch/thermalStress.cfg | 17 - etc/apps/FoamX/entries/Switch/turbulence.cfg | 17 - etc/apps/FoamX/entries/Switch/twoDMotion.cfg | 16 - .../FoamX/entries/Switch/useHexTopology.cfg | 16 - etc/apps/FoamX/entries/Switch/vanDriest.cfg | 17 - etc/apps/FoamX/entries/Switch/writeMesh.cfg | 16 - .../entries/arguments/allowConcaveFaces.cfg | 28 - etc/apps/FoamX/entries/arguments/ascii.cfg | 28 - etc/apps/FoamX/entries/arguments/cell.cfg | 40 - etc/apps/FoamX/entries/arguments/cellDist.cfg | 28 - etc/apps/FoamX/entries/arguments/cellSet.cfg | 40 - .../FoamX/entries/arguments/consistent.cfg | 30 - etc/apps/FoamX/entries/arguments/constant.cfg | 30 - .../FoamX/entries/arguments/controlFile.cfg | 16 - etc/apps/FoamX/entries/arguments/dataFile.cfg | 16 - etc/apps/FoamX/entries/arguments/dict.cfg | 28 - .../FoamX/entries/arguments/dictionary.cfg | 103 - .../FoamX/entries/arguments/edgeLength.cfg | 16 - etc/apps/FoamX/entries/arguments/face.cfg | 40 - etc/apps/FoamX/entries/arguments/faceSet.cfg | 40 - .../FoamX/entries/arguments/featureAngle.cfg | 17 - etc/apps/FoamX/entries/arguments/fields.cfg | 41 - .../FoamX/entries/arguments/fieldsOnly.cfg | 28 - etc/apps/FoamX/entries/arguments/file.cfg | 42 - etc/apps/FoamX/entries/arguments/hex.cfg | 28 - .../FoamX/entries/arguments/inputFile.cfg | 40 - .../FoamX/entries/arguments/invertHex.cfg | 28 - .../FoamX/entries/arguments/invertPrism.cfg | 28 - .../FoamX/entries/arguments/kivaVersion.cfg | 48 - .../FoamX/entries/arguments/latestTime.cfg | 30 - .../FoamX/entries/arguments/masterPatch.cfg | 13 - .../FoamX/entries/arguments/mergeAngle.cfg | 16 - etc/apps/FoamX/entries/arguments/mesh.cfg | 40 - etc/apps/FoamX/entries/arguments/meshFile.cfg | 16 - .../entries/arguments/meshFilePrefix.cfg | 16 - etc/apps/FoamX/entries/arguments/minAngle.cfg | 16 - etc/apps/FoamX/entries/arguments/minArea.cfg | 16 - .../FoamX/entries/arguments/nearCellValue.cfg | 28 - etc/apps/FoamX/entries/arguments/network.cfg | 17 - etc/apps/FoamX/entries/arguments/noBlank.cfg | 28 - etc/apps/FoamX/entries/arguments/noCoords.cfg | 30 - .../FoamX/entries/arguments/noFaceFile.cfg | 28 - .../FoamX/entries/arguments/noInternal.cfg | 28 - etc/apps/FoamX/entries/arguments/noWall.cfg | 30 - .../FoamX/entries/arguments/outputFile.cfg | 40 - .../entries/arguments/parallelSource.cfg | 30 - .../entries/arguments/parallelTarget.cfg | 30 - etc/apps/FoamX/entries/arguments/partial.cfg | 28 - etc/apps/FoamX/entries/arguments/patch.cfg | 40 - .../FoamX/entries/arguments/patchFaces.cfg | 28 - etc/apps/FoamX/entries/arguments/patches.cfg | 41 - etc/apps/FoamX/entries/arguments/perfect.cfg | 28 - etc/apps/FoamX/entries/arguments/point.cfg | 40 - .../FoamX/entries/arguments/readLevel.cfg | 28 - .../FoamX/entries/arguments/rootAndCase.cfg | 16 - etc/apps/FoamX/entries/arguments/rotate.cfg | 49 - .../entries/arguments/rotationVectors.cfg | 30 - etc/apps/FoamX/entries/arguments/scale.cfg | 43 - .../FoamX/entries/arguments/scalingFactor.cfg | 17 - .../FoamX/entries/arguments/shapeMesh.cfg | 30 - .../FoamX/entries/arguments/singleBlock.cfg | 28 - .../FoamX/entries/arguments/slavePatch.cfg | 13 - .../FoamX/entries/arguments/sourceCase.cfg | 16 - .../FoamX/entries/arguments/sourceRoot.cfg | 16 - .../entries/arguments/sourceRootAndCase.cfg | 33 - etc/apps/FoamX/entries/arguments/startAt0.cfg | 28 - .../FoamX/entries/arguments/surfaceFields.cfg | 28 - etc/apps/FoamX/entries/arguments/time.cfg | 43 - etc/apps/FoamX/entries/arguments/times.cfg | 28 - .../FoamX/entries/arguments/translate.cfg | 43 - .../FoamX/entries/arguments/vectorScale.cfg | 43 - etc/apps/FoamX/entries/arguments/zHeadMin.cfg | 42 - .../FoamX/entries/dimensionedScalar/A.cfg | 16 - .../FoamX/entries/dimensionedScalar/A1.cfg | 16 - .../FoamX/entries/dimensionedScalar/A2.cfg | 16 - .../entries/dimensionedScalar/Aepsilon.cfg | 16 - .../FoamX/entries/dimensionedScalar/Am.cfg | 16 - .../FoamX/entries/dimensionedScalar/Amu.cfg | 16 - .../FoamX/entries/dimensionedScalar/Aplus.cfg | 16 - .../FoamX/entries/dimensionedScalar/B.cfg | 16 - .../FoamX/entries/dimensionedScalar/B2.cfg | 16 - .../FoamX/entries/dimensionedScalar/Bm.cfg | 16 - .../FoamX/entries/dimensionedScalar/C.cfg | 16 - .../FoamX/entries/dimensionedScalar/C1.cfg | 16 - .../FoamX/entries/dimensionedScalar/C1Ref.cfg | 16 - .../FoamX/entries/dimensionedScalar/C2.cfg | 16 - .../FoamX/entries/dimensionedScalar/C2Ref.cfg | 16 - .../FoamX/entries/dimensionedScalar/C3.cfg | 16 - .../FoamX/entries/dimensionedScalar/CDES.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cb1.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cb2.cfg | 16 - .../entries/dimensionedScalar/Cdelta.cfg | 16 - .../FoamX/entries/dimensionedScalar/Ceps.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cl.cfg | 16 - .../FoamX/entries/dimensionedScalar/Clg1.cfg | 16 - .../FoamX/entries/dimensionedScalar/Clg2.cfg | 16 - .../FoamX/entries/dimensionedScalar/Clrr1.cfg | 16 - .../FoamX/entries/dimensionedScalar/Clrr2.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cmu.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cs.cfg | 16 - .../FoamX/entries/dimensionedScalar/Ct.cfg | 16 - .../FoamX/entries/dimensionedScalar/Ctau1.cfg | 16 - .../FoamX/entries/dimensionedScalar/Ctau2.cfg | 16 - .../FoamX/entries/dimensionedScalar/Ctau3.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cv.cfg | 17 - .../FoamX/entries/dimensionedScalar/Cv1.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cv2.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cvm.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cw1.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cw2.cfg | 16 - .../FoamX/entries/dimensionedScalar/Cw3.cfg | 16 - .../FoamX/entries/dimensionedScalar/D.cfg | 16 - .../FoamX/entries/dimensionedScalar/DT.cfg | 17 - .../FoamX/entries/dimensionedScalar/E.cfg | 16 - .../FoamX/entries/dimensionedScalar/Kappa.cfg | 16 - .../FoamX/entries/dimensionedScalar/R.cfg | 17 - .../FoamX/entries/dimensionedScalar/Su.cfg | 16 - .../FoamX/entries/dimensionedScalar/W.cfg | 16 - .../entries/dimensionedScalar/XiCoef.cfg | 16 - .../entries/dimensionedScalar/XiShapeCoef.cfg | 16 - .../FoamX/entries/dimensionedScalar/a.cfg | 16 - .../FoamX/entries/dimensionedScalar/a1.cfg | 16 - .../FoamX/entries/dimensionedScalar/alpha.cfg | 16 - .../entries/dimensionedScalar/alphaEps.cfg | 16 - .../entries/dimensionedScalar/alphaK1.cfg | 6 - .../entries/dimensionedScalar/alphaK2.cfg | 6 - .../entries/dimensionedScalar/alphaKsi.cfg | 16 - .../entries/dimensionedScalar/alphaMin.cfg | 16 - .../entries/dimensionedScalar/alphaNut.cfg | 16 - .../entries/dimensionedScalar/alphaOmega1.cfg | 6 - .../entries/dimensionedScalar/alphaOmega2.cfg | 6 - .../entries/dimensionedScalar/alphaR.cfg | 16 - .../entries/dimensionedScalar/alphaZeta.cfg | 16 - .../entries/dimensionedScalar/alphah.cfg | 16 - .../entries/dimensionedScalar/alphak.cfg | 16 - .../FoamX/entries/dimensionedScalar/beta.cfg | 16 - .../FoamX/entries/dimensionedScalar/beta1.cfg | 6 - .../FoamX/entries/dimensionedScalar/beta2.cfg | 6 - .../entries/dimensionedScalar/betaStar.cfg | 6 - .../FoamX/entries/dimensionedScalar/bore.cfg | 16 - .../FoamX/entries/dimensionedScalar/c1.cfg | 16 - .../FoamX/entries/dimensionedScalar/c2.cfg | 16 - .../FoamX/entries/dimensionedScalar/cB.cfg | 16 - .../FoamX/entries/dimensionedScalar/cD.cfg | 16 - .../FoamX/entries/dimensionedScalar/cD2.cfg | 16 - .../FoamX/entries/dimensionedScalar/cI.cfg | 16 - .../FoamX/entries/dimensionedScalar/cK1.cfg | 16 - .../FoamX/entries/dimensionedScalar/cK2.cfg | 16 - .../FoamX/entries/dimensionedScalar/cK3.cfg | 16 - .../FoamX/entries/dimensionedScalar/cK4.cfg | 16 - .../FoamX/entries/dimensionedScalar/ce.cfg | 16 - .../FoamX/entries/dimensionedScalar/ck.cfg | 16 - .../entries/dimensionedScalar/clearance.cfg | 16 - .../FoamX/entries/dimensionedScalar/cm.cfg | 16 - .../dimensionedScalar/conRodLength.cfg | 16 - .../dimensionedScalar/createDimensionedScalar | 22 - .../FoamX/entries/dimensionedScalar/da.cfg | 16 - .../FoamX/entries/dimensionedScalar/db.cfg | 16 - .../FoamX/entries/dimensionedScalar/e.cfg | 16 - .../electromagnetics/epsilon0.cfg | 17 - .../dimensionedScalar/electromagnetics/k.cfg | 17 - .../dimensionedScalar/electromagnetics/mu.cfg | 17 - .../electromagnetics/sigma.cfg | 17 - .../dimensionedScalar/equivalenceRatio.cfg | 16 - .../FoamX/entries/dimensionedScalar/eta.cfg | 16 - .../FoamX/entries/dimensionedScalar/eta0.cfg | 16 - .../FoamX/entries/dimensionedScalar/f.cfg | 16 - .../FoamX/entries/dimensionedScalar/gamma.cfg | 16 - .../entries/dimensionedScalar/gamma1.cfg | 6 - .../entries/dimensionedScalar/gamma2.cfg | 6 - .../FoamX/entries/dimensionedScalar/k.cfg | 16 - .../FoamX/entries/dimensionedScalar/kappa.cfg | 16 - .../FoamX/entries/dimensionedScalar/m.cfg | 16 - .../entries/dimensionedScalar/mgbsCoef.cfg | 16 - .../FoamX/entries/dimensionedScalar/mu.cfg | 17 - .../FoamX/entries/dimensionedScalar/mu1.cfg | 16 - .../FoamX/entries/dimensionedScalar/mu2.cfg | 16 - .../FoamX/entries/dimensionedScalar/muc.cfg | 16 - .../FoamX/entries/dimensionedScalar/n.cfg | 16 - .../FoamX/entries/dimensionedScalar/nu.cfg | 17 - .../FoamX/entries/dimensionedScalar/nu0.cfg | 17 - .../FoamX/entries/dimensionedScalar/nuInf.cfg | 17 - .../FoamX/entries/dimensionedScalar/nua.cfg | 16 - .../FoamX/entries/dimensionedScalar/nub.cfg | 16 - .../FoamX/entries/dimensionedScalar/p0.cfg | 17 - .../FoamX/entries/dimensionedScalar/phim.cfg | 16 - .../plasticViscosityCoeff.cfg | 16 - .../plasticViscosityExponent.cfg | 16 - .../FoamX/entries/dimensionedScalar/psi.cfg | 17 - .../FoamX/entries/dimensionedScalar/r.cfg | 16 - .../FoamX/entries/dimensionedScalar/rho.cfg | 17 - .../FoamX/entries/dimensionedScalar/rho0.cfg | 17 - .../FoamX/entries/dimensionedScalar/rho1.cfg | 17 - .../FoamX/entries/dimensionedScalar/rho2.cfg | 17 - .../FoamX/entries/dimensionedScalar/rhoa.cfg | 17 - .../FoamX/entries/dimensionedScalar/rhob.cfg | 17 - .../FoamX/entries/dimensionedScalar/rhoc.cfg | 17 - .../FoamX/entries/dimensionedScalar/rhod.cfg | 17 - .../FoamX/entries/dimensionedScalar/rpm.cfg | 16 - .../FoamX/entries/dimensionedScalar/s.cfg | 16 - .../FoamX/entries/dimensionedScalar/sigma.cfg | 17 - .../entries/dimensionedScalar/sigmaExt.cfg | 16 - .../stoichiometricAirFuelMassRatio.cfg | 25 - .../entries/dimensionedScalar/stress/C.cfg | 17 - .../entries/dimensionedScalar/stress/E.cfg | 17 - .../dimensionedScalar/stress/alpha.cfg | 17 - .../entries/dimensionedScalar/stress/k.cfg | 17 - .../entries/dimensionedScalar/stress/nu.cfg | 17 - .../entries/dimensionedScalar/strike.cfg | 16 - .../entries/dimensionedScalar/stroke.cfg | 16 - .../entries/dimensionedScalar/theta0.cfg | 16 - .../entries/dimensionedScalar/thetaA.cfg | 16 - .../entries/dimensionedScalar/thetaR.cfg | 16 - .../entries/dimensionedScalar/uPrimeCoef.cfg | 16 - .../entries/dimensionedScalar/uTheta.cfg | 16 - .../FoamX/entries/dimensionedScalar/xi.cfg | 16 - .../dimensionedScalar/yieldStressCoeff.cfg | 16 - .../dimensionedScalar/yieldStressExponent.cfg | 16 - .../dimensionedScalar/yieldStressOffset.cfg | 16 - .../FoamX/entries/dimensionedVector/Ubar.cfg | 17 - .../FoamX/entries/dimensionedVector/V0.cfg | 16 - .../dimensionedVector/createDimensionedVector | 23 - .../FoamX/entries/dimensionedVector/g.cfg | 17 - .../FoamX/entries/engineMesh/engineMesh.cfg | 21 - .../FoamX/entries/fieldValues/fieldValue.cfg | 21 - .../FoamX/entries/fieldValues/fieldValues.cfg | 19 - .../fieldValues/volScalarFieldValue.cfg | 26 - .../fieldValues/volTensorFieldValue.cfg | 26 - .../fieldValues/volVectorFieldValue.cfg | 26 - .../entries/geometricFields/Bdynamic.cfg | 18 - .../entries/geometricFields/Bkinematic.cfg | 18 - .../FoamX/entries/geometricFields/Bsgs.cfg | 18 - .../entries/geometricFields/Rdynamic.cfg | 18 - .../entries/geometricFields/Rkinematic.cfg | 18 - etc/apps/FoamX/entries/geometricFields/Su.cfg | 18 - etc/apps/FoamX/entries/geometricFields/T.cfg | 18 - .../entries/geometricFields/Tdimless.cfg | 18 - etc/apps/FoamX/entries/geometricFields/Tu.cfg | 18 - etc/apps/FoamX/entries/geometricFields/U.cfg | 18 - etc/apps/FoamX/entries/geometricFields/Ua.cfg | 18 - etc/apps/FoamX/entries/geometricFields/Ub.cfg | 18 - .../entries/geometricFields/Vfinancial.cfg | 18 - etc/apps/FoamX/entries/geometricFields/Xi.cfg | 18 - .../FoamX/entries/geometricFields/alpha.cfg | 18 - etc/apps/FoamX/entries/geometricFields/b.cfg | 18 - .../entries/geometricFields/displacement.cfg | 18 - .../geometricFields/electromagnetics/B.cfg | 18 - .../geometricFields/electromagnetics/pB.cfg | 18 - .../FoamX/entries/geometricFields/epsilon.cfg | 18 - etc/apps/FoamX/entries/geometricFields/ft.cfg | 18 - etc/apps/FoamX/entries/geometricFields/fu.cfg | 18 - .../FoamX/entries/geometricFields/gamma.cfg | 18 - etc/apps/FoamX/entries/geometricFields/k.cfg | 18 - .../FoamX/entries/geometricFields/motionU.cfg | 18 - .../FoamX/entries/geometricFields/muSgs.cfg | 18 - .../FoamX/entries/geometricFields/muTilda.cfg | 18 - .../FoamX/entries/geometricFields/nuSgs.cfg | 18 - .../FoamX/entries/geometricFields/nuTilda.cfg | 18 - .../entries/geometricFields/pDynamic.cfg | 18 - .../entries/geometricFields/pKinematic.cfg | 18 - etc/apps/FoamX/entries/geometricFields/pd.cfg | 18 - .../FoamX/entries/geometricFields/phiEP.cfg | 18 - .../FoamX/entries/geometricFields/pointU.cfg | 18 - .../FoamX/entries/geometricFields/rXi.cfg | 18 - .../FoamX/entries/geometricFields/rhoCD.cfg | 18 - .../FoamX/entries/geometricFields/theta.cfg | 18 - .../FoamX/entries/interpolations/Gamma.cfg | 23 - .../FoamX/entries/interpolations/Gamma01.cfg | 23 - .../FoamX/entries/interpolations/GammaV.cfg | 23 - .../FoamX/entries/interpolations/MUSCL.cfg | 15 - .../FoamX/entries/interpolations/MUSCL01.cfg | 15 - etc/apps/FoamX/entries/interpolations/Phi.cfg | 23 - .../FoamX/entries/interpolations/QUICK.cfg | 15 - .../FoamX/entries/interpolations/SFCD.cfg | 15 - .../FoamX/entries/interpolations/SFCDV.cfg | 15 - .../FoamX/entries/interpolations/SuperBee.cfg | 15 - .../entries/interpolations/SuperBee01.cfg | 15 - .../FoamX/entries/interpolations/UMIST.cfg | 15 - .../FoamX/entries/interpolations/blended.cfg | 23 - .../entries/interpolations/byPhi/Gamma.cfg | 21 - .../entries/interpolations/byPhi/Gamma01.cfg | 21 - .../entries/interpolations/byPhi/GammaV.cfg | 21 - .../entries/interpolations/byPhi/MUSCL.cfg | 21 - .../entries/interpolations/byPhi/MUSCL01.cfg | 21 - .../entries/interpolations/byPhi/Phi.cfg | 21 - .../entries/interpolations/byPhi/QUICK.cfg | 21 - .../entries/interpolations/byPhi/SFCD.cfg | 21 - .../entries/interpolations/byPhi/SFCDV.cfg | 21 - .../entries/interpolations/byPhi/SuperBee.cfg | 21 - .../interpolations/byPhi/SuperBee01.cfg | 21 - .../entries/interpolations/byPhi/UMIST.cfg | 21 - .../entries/interpolations/byPhi/blended.cfg | 21 - .../byPhi/createAllInterpolationByPhi | 36 - .../byPhi/createInterpolationByPhi | 41 - .../entries/interpolations/byPhi/downwind.cfg | 21 - .../interpolations/byPhi/filteredLinear.cfg | 21 - .../interpolations/byPhi/filteredLinear2.cfg | 21 - .../interpolations/byPhi/filteredLinear2V.cfg | 21 - .../interpolations/byPhi/gammaCompression.cfg | 21 - .../byPhi/interfaceCompression.cfg | 21 - .../interpolations/byPhi/limitedCubic.cfg | 21 - .../interpolations/byPhi/limitedCubic01.cfg | 21 - .../interpolations/byPhi/limitedCubicV.cfg | 21 - .../interpolations/byPhi/limitedGamma.cfg | 21 - .../byPhi/limitedLimitedCubic.cfg | 21 - .../byPhi/limitedLimitedLinear.cfg | 21 - .../interpolations/byPhi/limitedLinear.cfg | 21 - .../interpolations/byPhi/limitedLinear01.cfg | 21 - .../interpolations/byPhi/limitedLinearV.cfg | 21 - .../interpolations/byPhi/limitedMUSCL.cfg | 21 - .../interpolations/byPhi/limitedSuperBee.cfg | 21 - .../interpolations/byPhi/limitedVanLeer.cfg | 21 - .../interpolations/byPhi/linearUpwind.cfg | 21 - .../interpolations/byPhi/skewLinear.cfg | 21 - .../entries/interpolations/byPhi/upwind.cfg | 21 - .../entries/interpolations/byPhi/vanLeer.cfg | 21 - .../interpolations/byPhi/vanLeer01.cfg | 21 - .../entries/interpolations/byPhi/vanLeerV.cfg | 21 - .../FoamX/entries/interpolations/cubic.cfg | 15 - .../interpolations/cubicCorrection.cfg | 15 - .../FoamX/entries/interpolations/downwind.cfg | 15 - .../entries/interpolations/filteredLinear.cfg | 15 - .../interpolations/filteredLinear2.cfg | 28 - .../interpolations/filteredLinear2V.cfg | 28 - .../FoamX/entries/interpolations/harmonic.cfg | 15 - .../interpolations/interfaceCompression.cfg | 15 - .../entries/interpolations/inverseLinear.cfg | 15 - .../entries/interpolations/limitedCubic.cfg | 23 - .../entries/interpolations/limitedCubic01.cfg | 23 - .../entries/interpolations/limitedCubicV.cfg | 23 - .../entries/interpolations/limitedGamma.cfg | 38 - .../interpolations/limitedLimitedCubic.cfg | 38 - .../interpolations/limitedLimitedLinear.cfg | 38 - .../entries/interpolations/limitedLinear.cfg | 23 - .../interpolations/limitedLinear01.cfg | 23 - .../entries/interpolations/limitedLinearV.cfg | 23 - .../entries/interpolations/limitedMUSCL.cfg | 31 - .../interpolations/limitedSuperBee.cfg | 23 - .../entries/interpolations/limitedVanLeer.cfg | 31 - .../FoamX/entries/interpolations/linear.cfg | 15 - .../entries/interpolations/linearUpwind.cfg | 15 - .../FoamX/entries/interpolations/midPoint.cfg | 15 - .../entries/interpolations/skewLinear.cfg | 15 - .../entries/interpolations/unselected.cfg | 15 - .../FoamX/entries/interpolations/upwind.cfg | 15 - .../FoamX/entries/interpolations/vanLeer.cfg | 15 - .../entries/interpolations/vanLeer01.cfg | 15 - .../FoamX/entries/interpolations/vanLeerV.cfg | 15 - .../FoamX/entries/interpolations/weighted.cfg | 23 - etc/apps/FoamX/entries/label/Nx.cfg | 16 - etc/apps/FoamX/entries/label/Ny.cfg | 16 - etc/apps/FoamX/entries/label/Nz.cfg | 16 - etc/apps/FoamX/entries/label/createLabel | 23 - etc/apps/FoamX/entries/label/dirPatchID.cfg | 17 - etc/apps/FoamX/entries/label/gradPatchID.cfg | 17 - etc/apps/FoamX/entries/label/nAlphaCorr.cfg | 20 - etc/apps/FoamX/entries/label/nBcorrectors.cfg | 20 - etc/apps/FoamX/entries/label/nCorrectors.cfg | 20 - etc/apps/FoamX/entries/label/nGammaCorr.cfg | 16 - .../FoamX/entries/label/nGammaSubCycles.cfg | 16 - .../entries/label/nGammaSubCyclesFixed.cfg | 18 - .../label/nNonOrthogonalCorrectors.cfg | 20 - .../FoamX/entries/label/nOuterIterations.cfg | 19 - .../entries/patchPhysicalTypes/sonic/U.cfg | 1 - .../entries/patchPhysicalTypes/sonic/p.cfg | 3 - .../patchPhysicalTypes/sonic/patches.cfg | 27 - .../entries/patchPhysicalTypes/standard/B.cfg | 6 - .../entries/patchPhysicalTypes/standard/R.cfg | 6 - .../entries/patchPhysicalTypes/standard/U.cfg | 8 - .../entries/patchPhysicalTypes/standard/Y.cfg | 6 - .../patchPhysicalTypes/standard/alpha.cfg | 6 - .../standard/electromagnetics/B.cfg | 6 - .../standard/electromagnetics/pB.cfg | 6 - .../patchPhysicalTypes/standard/epsilon.cfg | 6 - .../patchPhysicalTypes/standard/gamma.cfg | 6 - .../entries/patchPhysicalTypes/standard/k.cfg | 6 - .../standard/meshMotion/U.cfg | 1 - .../standard/meshMotion/patches.cfg | 5 - .../patchPhysicalTypes/standard/motionU.cfg | 8 - .../patchPhysicalTypes/standard/muSgs.cfg | 6 - .../patchPhysicalTypes/standard/muTilda.cfg | 6 - .../patchPhysicalTypes/standard/nuSgs.cfg | 6 - .../patchPhysicalTypes/standard/nuTilda.cfg | 6 - .../entries/patchPhysicalTypes/standard/p.cfg | 11 - .../patchPhysicalTypes/standard/patches.cfg | 83 - .../patchPhysicalTypes/standard/pd.cfg | 11 - .../patchPhysicalTypes/standard/thermal/T.cfg | 8 - .../standard/thermal/meshMotion/U.cfg | 2 - .../standard/thermal/meshMotion/patches.cfg | 21 - .../standard/thermal/patches.cfg | 21 - .../patchPhysicalTypes/wallFunctions/B.cfg | 1 - .../patchPhysicalTypes/wallFunctions/R.cfg | 1 - .../wallFunctions/epsilon.cfg | 1 - .../patchPhysicalTypes/wallFunctions/k.cfg | 1 - .../wallFunctions/meshMotion/U.cfg | 1 - .../wallFunctions/meshMotion/patches.cfg | 15 - .../wallFunctions/muSgs.cfg | 1 - .../wallFunctions/muTilda.cfg | 1 - .../wallFunctions/nuSgs.cfg | 1 - .../wallFunctions/nuTilda.cfg | 1 - .../wallFunctions/patches.cfg | 15 - .../wallFunctions/thermal/T.cfg | 2 - .../wallFunctions/thermal/meshMotion/U.cfg | 2 - .../thermal/meshMotion/patches.cfg | 21 - .../wallFunctions/thermal/patches.cfg | 21 - etc/apps/FoamX/entries/ref/pRef.cfg | 25 - etc/apps/FoamX/entries/ref/pdRef.cfg | 25 - etc/apps/FoamX/entries/removeDisplayName | 4 - etc/apps/FoamX/entries/scalar/cGamma.cfg | 18 - .../FoamX/entries/scalar/convertToMeters.cfg | 19 - etc/apps/FoamX/entries/scalar/createScalar | 22 - etc/apps/FoamX/entries/scalar/delta.cfg | 16 - etc/apps/FoamX/entries/scalar/max.cfg | 16 - .../FoamX/entries/scalar/maxDeltaRatio.cfg | 16 - etc/apps/FoamX/entries/scalar/min.cfg | 16 - etc/apps/FoamX/entries/scalar01/Alpha.cfg | 16 - etc/apps/FoamX/entries/scalar01/B.cfg | 16 - etc/apps/FoamX/entries/scalar01/D.cfg | 16 - etc/apps/FoamX/entries/scalar01/R.cfg | 16 - etc/apps/FoamX/entries/scalar01/T.cfg | 16 - etc/apps/FoamX/entries/scalar01/TimeStep.cfg | 16 - etc/apps/FoamX/entries/scalar01/U.cfg | 16 - etc/apps/FoamX/entries/scalar01/Ua.cfg | 16 - etc/apps/FoamX/entries/scalar01/Ub.cfg | 16 - etc/apps/FoamX/entries/scalar01/X.cfg | 16 - etc/apps/FoamX/entries/scalar01/alpha.cfg | 16 - .../scalar01/contactUnderrelaxation.cfg | 17 - .../FoamX/entries/scalar01/createScalar01 | 23 - etc/apps/FoamX/entries/scalar01/e.cfg | 16 - etc/apps/FoamX/entries/scalar01/epsilon.cfg | 16 - etc/apps/FoamX/entries/scalar01/ft.cfg | 16 - etc/apps/FoamX/entries/scalar01/fu.cfg | 16 - etc/apps/FoamX/entries/scalar01/gamma.cfg | 16 - .../FoamX/entries/scalar01/gammaSmooth.cfg | 16 - etc/apps/FoamX/entries/scalar01/h.cfg | 16 - etc/apps/FoamX/entries/scalar01/hu.cfg | 16 - etc/apps/FoamX/entries/scalar01/k.cfg | 16 - etc/apps/FoamX/entries/scalar01/nuTilda.cfg | 17 - etc/apps/FoamX/entries/scalar01/p.cfg | 16 - etc/apps/FoamX/entries/scalar01/pB.cfg | 16 - etc/apps/FoamX/entries/scalar01/pcorr.cfg | 16 - etc/apps/FoamX/entries/scalar01/pd.cfg | 16 - etc/apps/FoamX/entries/scalar01/rho.cfg | 16 - etc/apps/FoamX/entries/scalar01/rhoS.cfg | 16 - etc/apps/FoamX/entries/scalar01/stress.cfg | 16 - .../FoamX/entries/scalar01/touchTolerance.cfg | 17 - .../FoamX/entries/scalar0Inf/createScalar0Inf | 23 - .../FoamX/entries/scalar0Inf/deltaCoeff.cfg | 17 - etc/apps/FoamX/entries/scalar0Inf/rpm.cfg | 17 - etc/apps/FoamX/entries/scalar0Inf/xMax.cfg | 16 - etc/apps/FoamX/entries/scalar0Inf/xMin.cfg | 16 - etc/apps/FoamX/entries/scalar0Inf/yMax.cfg | 16 - etc/apps/FoamX/entries/scalar0Inf/yMin.cfg | 16 - etc/apps/FoamX/entries/scalar0Inf/zMax.cfg | 16 - etc/apps/FoamX/entries/scalar0Inf/zMin.cfg | 16 - .../FoamX/entries/snGradSchemes/bounded.cfg | 15 - .../FoamX/entries/snGradSchemes/corrected.cfg | 15 - .../FoamX/entries/snGradSchemes/fourth.cfg | 15 - .../FoamX/entries/snGradSchemes/limited.cfg | 23 - .../entries/snGradSchemes/uncorrected.cfg | 15 - etc/apps/FoamX/entries/solvers/BDCG.cfg | 20 - etc/apps/FoamX/entries/solvers/BICCG.cfg | 20 - etc/apps/FoamX/entries/solvers/DCG.cfg | 20 - etc/apps/FoamX/entries/solvers/DIC.cfg | 15 - etc/apps/FoamX/entries/solvers/DILU.cfg | 15 - etc/apps/FoamX/entries/solvers/FDIC.cfg | 15 - etc/apps/FoamX/entries/solvers/GAMG.cfg | 30 - etc/apps/FoamX/entries/solvers/GAMGsymm.cfg | 30 - .../FoamX/entries/solvers/GaussSeidel.cfg | 21 - etc/apps/FoamX/entries/solvers/ICCG.cfg | 20 - etc/apps/FoamX/entries/solvers/PBiCG.cfg | 21 - etc/apps/FoamX/entries/solvers/PCG.cfg | 21 - .../FoamX/entries/solvers/agglomerator.cfg | 20 - .../entries/solvers/agglomeratorSymm.cfg | 21 - .../entries/solvers/cacheAgglomeration.cfg | 16 - etc/apps/FoamX/entries/solvers/diagonal.cfg | 15 - .../entries/solvers/directSolveCoarsest.cfg | 17 - .../FoamX/entries/solvers/mergeLevels.cfg | 16 - etc/apps/FoamX/entries/solvers/nCells.cfg | 15 - .../entries/solvers/nCellsInCoarsestLevel.cfg | 16 - .../FoamX/entries/solvers/nFinestSweeps.cfg | 17 - .../FoamX/entries/solvers/nPostSweeps.cfg | 17 - etc/apps/FoamX/entries/solvers/nPreSweeps.cfg | 17 - etc/apps/FoamX/entries/solvers/nSweeps.cfg | 16 - etc/apps/FoamX/entries/solvers/none.cfg | 15 - .../FoamX/entries/solvers/preconditioner.cfg | 22 - .../entries/solvers/preconditionerSymm.cfg | 23 - etc/apps/FoamX/entries/solvers/relTol.cfg | 16 - .../FoamX/entries/solvers/scaleCorrection.cfg | 17 - .../FoamX/entries/solvers/smoothSolver.cfg | 22 - .../entries/solvers/smoothSolverSymm.cfg | 22 - etc/apps/FoamX/entries/solvers/smoother.cfg | 22 - .../FoamX/entries/solvers/smootherSymm.cfg | 22 - etc/apps/FoamX/entries/solvers/tolerance.cfg | 16 - .../compressible/LRRCoeffs.cfg | 31 - .../compressible/LaunderGibsonRSTMCoeffs.cfg | 34 - .../compressible/LaunderSharmaKECoeffs.cfg | 29 - .../compressible/RNGkEpsilonCoeffs.cfg | 31 - .../compressible/defaults/LRRCoeffs.def | 14 - .../defaults/LamBremhorstKECoeffs.def | 10 - .../defaults/LaunderGibsonRSTMCoeffs.def | 16 - .../defaults/LaunderSharmaKECoeffs.def | 10 - .../defaults/LienCubicKECoeffs.def | 15 - .../defaults/LienCubicKELowReCoeffs.def | 20 - .../defaults/LienLeschzinerLowReCoeffs.def | 14 - .../defaults/NonlinearKEShihCoeffs.def | 16 - .../compressible/defaults/QZetaCoeffs.def | 12 - .../defaults/RNGkEpsilonCoeffs.def | 12 - .../compressible/defaults/kEpsilonCoeffs.def | 12 - .../defaults/wallFunctionCoeffs.def | 5 - .../compressible/kEpsilonCoeffs.cfg | 29 - .../compressible/turbulenceModel.cfg | 25 - .../compressible/wallFunctionCoeffs.cfg | 24 - .../incompressible/LRRCoeffs.cfg | 30 - .../incompressible/LamBremhorstKECoeffs.cfg | 26 - .../LaunderGibsonRSTMCoeffs.cfg | 33 - .../incompressible/LaunderSharmaKECoeffs.cfg | 26 - .../incompressible/LienCubicKECoeffs.cfg | 32 - .../incompressible/LienCubicKELowReCoeffs.cfg | 36 - .../LienLeschzinerLowReCoeffs.cfg | 30 - .../incompressible/NonlinearKEShihCoeffs.cfg | 33 - .../incompressible/QZetaCoeffs.cfg | 27 - .../incompressible/RNGkEpsilonCoeffs.cfg | 29 - .../incompressible/SpalartAllmarasCoeffs.cfg | 27 - .../incompressible/defaults/LRRCoeffs.def | 11 - .../defaults/LamBremhorstKECoeffs.def | 7 - .../defaults/LaunderGibsonRSTMCoeffs.def | 14 - .../defaults/LaunderSharmaKECoeffs.def | 7 - .../defaults/LienCubicKECoeffs.def | 13 - .../defaults/LienCubicKELowReCoeffs.def | 17 - .../defaults/LienLeschzinerLowReCoeffs.def | 11 - .../defaults/NonlinearKEShihCoeffs.def | 14 - .../incompressible/defaults/QZetaCoeffs.def | 9 - .../defaults/RNGkEpsilonCoeffs.def | 10 - .../defaults/SpalartAllmarasCoeffs.def | 10 - .../defaults/kEpsilonCoeffs.def | 9 - .../defaults/kEpsilonCoeffsWithAlphak.def | 10 - .../defaults/kEpsilonCoeffsWithC3.def | 11 - .../defaults/kOmegaSSTCoeffs.def | 15 - .../defaults/wallFunctionCoeffs.def | 5 - .../incompressible/kEpsilonCoeffs.cfg | 26 - .../kEpsilonCoeffsWithAlphak.cfg | 27 - .../incompressible/kEpsilonCoeffsWithC3.cfg | 28 - .../incompressible/kOmegaSSTCoeffs.cfg | 34 - .../incompressible/turbulenceModel.cfg | 33 - .../incompressible/wallFunctionCoeffs.cfg | 24 - etc/apps/FoamX/entries/vector/basePoint.cfg | 16 - etc/apps/FoamX/entries/vector/createVector | 22 - etc/apps/FoamX/entries/vector/direction.cfg | 15 - etc/apps/FoamX/entries/vector/location.cfg | 15 - etc/apps/FoamX/entries/vector/max.cfg | 16 - etc/apps/FoamX/entries/vector/min.cfg | 16 - .../entries/vector/motionPlaneNormal.cfg | 16 - .../FoamX/entries/vector/normalVector.cfg | 16 - etc/apps/FoamX/entries/vector/position.cfg | 15 - etc/apps/FoamX/entries/vector/tan1.cfg | 16 - etc/apps/FoamX/entries/vector/tan2.cfg | 16 - etc/apps/FoamX/types/Switch.cfg | 32 - etc/apps/FoamX/types/angle0180.cfg | 16 - etc/apps/FoamX/types/boolean.cfg | 22 - etc/apps/FoamX/types/debugSwitch.cfg | 17 - etc/apps/FoamX/types/dimensionedScalar.cfg | 35 - etc/apps/FoamX/types/dimensionedVector.cfg | 35 - etc/apps/FoamX/types/fields.cfg | 75 - .../FoamX/types/functionObjects/probe.cfg | 56 - etc/apps/FoamX/types/geometries.cfg | 28 - etc/apps/FoamX/types/model.cfg | 16 - etc/apps/FoamX/types/patchField.cfg | 26 - etc/apps/FoamX/types/patchFields.cfg | 14 - etc/apps/FoamX/types/patchFields/basic.cfg | 219 - etc/apps/FoamX/types/patchFields/cfd.cfg | 755 - .../FoamX/types/patchFields/geometric.cfg | 79 - .../FoamX/types/patchFields/meshMotion.cfg | 86 - etc/apps/FoamX/types/patches.cfg | 53 - etc/apps/FoamX/types/rootCaseArguments.cfg | 19 - .../FoamX/types/rootCaseTimeArguments.cfg | 22 - etc/apps/FoamX/types/scalar.cfg | 15 - etc/apps/FoamX/types/scalar01.cfg | 16 - etc/apps/FoamX/types/scalar0Inf.cfg | 15 - etc/apps/FoamX/types/shape.cfg | 25 - etc/apps/FoamX/types/stringList.cfg | 15 - etc/apps/FoamX/types/tensor.cfg | 18 - etc/apps/FoamX/types/types.cfg | 29 - etc/apps/FoamX/types/vector.cfg | 18 - etc/controlDict | 3 +- etc/settings.csh | 31 - etc/settings.sh | 25 - src/OpenFOAM/fields/Fields/Field/Field.C | 4 +- 2544 files changed, 40 insertions(+), 170520 deletions(-) delete mode 100644 applications/solvers/DNS/dnsFoam/FoamX/defaults/constant/turbulenceProperties delete mode 100644 applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/DNS/dnsFoam/FoamX/dnsFoam.cfg delete mode 100644 applications/solvers/DNS/dnsFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/DNS/dnsFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/DNS/dnsFoam/FoamX/turbulenceProperties.cfg delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/laplacianFoam.cfg delete mode 100644 applications/solvers/basic/laplacianFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/basic/potentialFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/basic/potentialFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/basic/potentialFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/basic/potentialFoam/FoamX/potentialFoam.cfg delete mode 100644 applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/basic/scalarTransportFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/basic/scalarTransportFoam/FoamX/scalarTransportFoam.cfg delete mode 100644 applications/solvers/basic/scalarTransportFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/XiFoam.cfg delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/combustionProperties.cfg delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/defaults/constant/combustionProperties delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/combustion/XiFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/Xoodles.cfg delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/combustionProperties.cfg delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/defaults/constant/combustionProperties delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/combustion/Xoodles/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/combustionProperties.cfg delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/defaults/constant/combustionProperties delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/defaults/constant/engineGeometry delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/engineFoam.cfg delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/engineGeometry.cfg delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/combustion/engineFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/compressible/coodles/FoamX/coodles.cfg delete mode 100644 applications/solvers/compressible/coodles/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/compressible/coodles/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/compressible/coodles/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/compressible/coodles/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/compressible/coodles/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/compressible/coodles/FoamX/fvSchemes/interpolationSchemes.cfg delete mode 100644 applications/solvers/compressible/coodles/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/compressible/coodles/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/compressible/rhoSonicFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/compressible/rhoSonicFoam/FoamX/rhoSonicFoam.cfg delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/compressible/rhoTurbFoam/FoamX/rhoTurbFoam.cfg delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/sonicFoam.cfg delete mode 100644 applications/solvers/compressible/sonicFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/sonicLiquidFoam.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/thermodynamicProperties.cfg delete mode 100644 applications/solvers/compressible/sonicLiquidFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/sonicTurbFoam.cfg delete mode 100644 applications/solvers/compressible/sonicTurbFoam/FoamX/thermophysicalProperties.cfg delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/electrostaticFoam.cfg delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/electromagnetics/electrostaticFoam/FoamX/physicalProperties.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/interpolationSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/mhdFoam.cfg delete mode 100644 applications/solvers/electromagnetics/mhdFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantFoam/FoamX/buoyantFoam.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/buoyantSimpleFoam.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/incompressible/channelOodles/FoamX/channelOodles.cfg delete mode 100644 applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/incompressible/channelOodles/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/incompressible/channelOodles/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/incompressible/channelOodles/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/interpolationSchemes.cfg delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/incompressible/icoFoam/FoamX/icoFoam.cfg delete mode 100644 applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/incompressible/oodles/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/incompressible/oodles/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/incompressible/oodles/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/incompressible/oodles/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/incompressible/oodles/FoamX/oodles.cfg delete mode 100644 applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/incompressible/simpleFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/incompressible/simpleFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/incompressible/simpleFoam/FoamX/simpleFoam.cfg delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/incompressible/turbFoam/FoamX/turbFoam.cfg delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/bubbleFoam.cfg delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/transportProperties delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/turbulenceProperties delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/multiphase/bubbleFoam/FoamX/turbulenceProperties.cfg delete mode 100644 applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/multiphase/interFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/multiphase/interFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/multiphase/interFoam/FoamX/fvSchemes/interpolationSchemes.cfg delete mode 100644 applications/solvers/multiphase/interFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/multiphase/interFoam/FoamX/interFoam.cfg delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divPhiU.cfg delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/multiphase/lesInterFoam/FoamX/lesInterFoam.cfg delete mode 100644 applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg delete mode 100644 applications/solvers/multiphase/rasInterFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/multiphase/rasInterFoam/FoamX/rasInterFoam.cfg delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/transportProperties delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/turbulenceProperties delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/settlingFoam.cfg delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/multiphase/settlingFoam/FoamX/turbulenceProperties.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/environmentalProperties delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/initAlphaFieldProperties delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/interfacialProperties delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/kineticTheoryProperties delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/ppProperties delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/transportProperties delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/turbulenceProperties delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/div/phiTheta.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffEpsilon.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffk.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/ppMagfAlpha.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSolution/solvers/Theta.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModela.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModelb.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragPhase.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticEquilibrium.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticTheory.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTFr.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTe.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTeta.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTp.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTphi.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/L.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMax.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMinFriction.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/d.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/g0.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/geometricFields/Theta.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/HrenyaSinclairCoeffs.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/conductivityModels.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/viscosityModels.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phasea.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phaseb.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/alphaMax.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/expMax.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/preAlphaExp.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/interfacialProperties.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/kineticTheoryProperties.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/ppProperties.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/transportProperties.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/turbulenceProperties.cfg delete mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/twoPhaseEulerFoam.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/mechanicalProperties delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/thermalProperties delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSchemes delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSolution delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/divSchemes.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/gradSchemes.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/laplacianSchemes.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSolution.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/mechanicalProperties.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/patchFieldTypes.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/solidDisplacementFoam.cfg delete mode 100644 applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/thermalProperties.cfg delete mode 100644 applications/utilities/errorEstimation/estimateScalarError/FoamX/estimateScalarError.cfg delete mode 100644 applications/utilities/errorEstimation/icoErrorEstimate/FoamX/icoErrorEstimate.cfg delete mode 100644 applications/utilities/errorEstimation/icoMomentError/FoamX/icoMomentError.cfg delete mode 100644 applications/utilities/errorEstimation/momentScalarError/FoamX/momentScalarError.cfg delete mode 100644 applications/utilities/mesh/advanced/autoRefineMesh/FoamX/autoRefineMesh.cfg delete mode 100644 applications/utilities/mesh/advanced/collapseEdges/FoamX/collapseEdges.cfg delete mode 100644 applications/utilities/mesh/advanced/combinePatchFaces/FoamX/combinePatchFaces.cfg delete mode 100644 applications/utilities/mesh/advanced/refinementLevel/FoamX/refinementLevel.cfg delete mode 100644 applications/utilities/mesh/conversion/Optional/ccm26ToFoam/FoamX/ccm24ToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/ansysToFoam/FoamX/ansysToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/cfxToFoam/FoamX/cfxToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/fluentMeshToFoam/FoamX/fluentMeshToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/foamMeshToFluent/FoamX/foamMeshToFluent.cfg delete mode 100644 applications/utilities/mesh/conversion/gambitToFoam/FoamX/gambitToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/gmshToFoam/FoamX/gmshToFoam.cfg delete mode 100755 applications/utilities/mesh/conversion/ideasUnvToFoam/FoamX/kivaToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/kivaToFoam/FoamX/kivaToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/mshToFoam/FoamX/mshToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/netgenNeutralToFoam/FoamX/netgenNeutralToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/plot3dToFoam/FoamX/plot3dToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/sammToFoam/FoamX/sammToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/starToFoam/FoamX/starToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/tetgenToFoam/FoamX/tetgenToFoam.cfg delete mode 100644 applications/utilities/mesh/conversion/writeMeshObj/FoamX/writeMeshObj.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/block.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/blockMesh.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/blockTopology.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/cellDensity.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/edge.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/expansionRatio.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/hex.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/patch.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/patchPair.cfg delete mode 100644 applications/utilities/mesh/generation/blockMesh/FoamX/quad.cfg delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/FoamX/extrudeMesh.cfg delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/FoamX/mergeFaces.cfg delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceCase.cfg delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/FoamX/sourcePatch.cfg delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceRoot.cfg delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/FoamX/surface.cfg delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/FoamX/targetRootAndCase.cfg delete mode 100644 applications/utilities/mesh/manipulation/attachMesh/FoamX/attachMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/autoPatch/FoamX/autoPatch.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/boxToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/cellSet.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/cellToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/faceToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/fieldToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/labelToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/nearestToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/pointToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/rotatedBoxToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/set.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/shapeToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/surfaceToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/cellSet/FoamX/zoneToCell.cfg delete mode 100644 applications/utilities/mesh/manipulation/checkMesh.save/FoamX/checkMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/checkMesh/FoamX/checkMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/createBaffles/FoamX/splitMeshRegions.cfg delete mode 100644 applications/utilities/mesh/manipulation/createPatch/FoamX/createPatch.cfg delete mode 100644 applications/utilities/mesh/manipulation/createPatch/FoamX/patchDescription.cfg delete mode 100644 applications/utilities/mesh/manipulation/createPatch/FoamX/set.cfg delete mode 100644 applications/utilities/mesh/manipulation/deformedGeom/FoamX/deformedGeom.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/boxToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/cellToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/faceSet.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/faceToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/labelToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/normalToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/patchToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/pointToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/set.cfg delete mode 100644 applications/utilities/mesh/manipulation/faceSet/FoamX/zoneToFace.cfg delete mode 100644 applications/utilities/mesh/manipulation/flattenMesh/FoamX/flattenMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/mergeMeshes/FoamX/mergeMeshes.cfg delete mode 100644 applications/utilities/mesh/manipulation/mirrorMesh/FoamX/mirrorMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/moveDynamicMesh/FoamX/moveDynamicMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/moveEngineMesh/FoamX/moveEngineMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/moveMesh/FoamX/moveMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/objToVTK/FoamX/objToVTK.cfg delete mode 100644 applications/utilities/mesh/manipulation/pointSet/FoamX/boxToPoint.cfg delete mode 100644 applications/utilities/mesh/manipulation/pointSet/FoamX/cellToPoint.cfg delete mode 100644 applications/utilities/mesh/manipulation/pointSet/FoamX/faceToPoint.cfg delete mode 100644 applications/utilities/mesh/manipulation/pointSet/FoamX/labelToPoint.cfg delete mode 100644 applications/utilities/mesh/manipulation/pointSet/FoamX/pointSet.cfg delete mode 100644 applications/utilities/mesh/manipulation/pointSet/FoamX/pointToPoint.cfg delete mode 100644 applications/utilities/mesh/manipulation/pointSet/FoamX/set.cfg delete mode 100644 applications/utilities/mesh/manipulation/refineMesh/FoamX/refineMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/renumberMesh/FoamX/renumberMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/rotateMesh/FoamX/rotateMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/splitMesh/FoamX/splitMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/splitMeshRegions/FoamX/splitMeshRegions.cfg delete mode 100644 applications/utilities/mesh/manipulation/stitchMesh/FoamX/stitchMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/subsetMesh/FoamX/subsetMesh.cfg delete mode 100644 applications/utilities/mesh/manipulation/transformPoints/FoamX/transformPoints.cfg delete mode 100644 applications/utilities/mesh/manipulation/zipUpMesh/FoamX/zipUpMesh.cfg delete mode 100644 applications/utilities/miscellaneous/foamInfoExec/FoamX/foamInfoExec.cfg delete mode 100644 applications/utilities/parallelProcessing/decomposePar/FoamX/decomposePar.cfg delete mode 100644 applications/utilities/parallelProcessing/decomposePar/FoamX/delta.cfg delete mode 100644 applications/utilities/parallelProcessing/decomposePar/FoamX/n.cfg delete mode 100644 applications/utilities/parallelProcessing/decomposePar/FoamX/order.cfg delete mode 100644 applications/utilities/parallelProcessing/reconstructPar/FoamX/reconstructPar.cfg delete mode 100644 applications/utilities/parallelProcessing/reconstructParMesh/FoamX/reconstructParMesh.cfg delete mode 100644 applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/foamDataToFluent.cfg delete mode 100644 applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/standardEntries.cfg delete mode 100644 applications/utilities/postProcessing/dataConversion/foamToEnsight/FoamX/foamToEnsight.cfg delete mode 100644 applications/utilities/postProcessing/dataConversion/foamToFieldview9/FoamX/foamToFieldview9.cfg delete mode 100644 applications/utilities/postProcessing/dataConversion/foamToGMV/FoamX/foamToGMV.cfg delete mode 100644 applications/utilities/postProcessing/dataConversion/smapToFoam/FoamX/smapToFoam.cfg delete mode 100644 applications/utilities/postProcessing/graphics/paraFoam/FoamX/paraFoam.cfg delete mode 100644 applications/utilities/postProcessing/miscellaneous/engineCompRatio/FoamX/engineCompRatio.cfg delete mode 100644 applications/utilities/postProcessing/miscellaneous/postChannel/FoamX/postChannel.cfg delete mode 100644 applications/utilities/postProcessing/miscellaneous/ptot/FoamX/ptot.cfg delete mode 100644 applications/utilities/postProcessing/miscellaneous/wdot/FoamX/wdot.cfg delete mode 100644 applications/utilities/postProcessing/miscellaneous/writeCellCentres/FoamX/writeCellCentres.cfg delete mode 100644 applications/utilities/postProcessing/scalarField/pPrime2/FoamX/pPrime2.cfg delete mode 100644 applications/utilities/postProcessing/stressField/stressComponents/FoamX/stressComponents.cfg delete mode 100644 applications/utilities/postProcessing/turbulence/R/FoamX/R.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/Co/FoamX/Co.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/Lambda2/FoamX/Lambda2.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/Mach/FoamX/Mach.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/Pe/FoamX/Pe.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/Q/FoamX/Q.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/enstrophy/FoamX/enstrophy.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/flowType/FoamX/flowType.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/streamFunction/FoamX/streamFunction.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/uprime/FoamX/uprime.cfg delete mode 100644 applications/utilities/postProcessing/velocityField/vorticity/FoamX/vorticity.cfg delete mode 100644 applications/utilities/postProcessing/wall/wallGradU/FoamX/wallGradU.cfg delete mode 100644 applications/utilities/postProcessing/wall/wallHeatFlux/FoamX/wallHeatFlux.cfg delete mode 100644 applications/utilities/postProcessing/wall/wallShearStress/FoamX/wallShearStress.cfg delete mode 100644 applications/utilities/postProcessing/wall/yPlusLES/FoamX/yPlusLES.cfg delete mode 100644 applications/utilities/postProcessing/wall/yPlusRAS/FoamX/yPlusRAS.cfg delete mode 100755 applications/utilities/preProcessing/FoamX/Allwmake delete mode 100755 applications/utilities/preProcessing/FoamX/C++/Allwmake delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/FoamXCaseBrowser.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/files delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/options delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/FoamXCaseServer.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/files delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/options delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/FoamXHostBrowser.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/files delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/options delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/DictionaryWriter.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/DictionaryWriter.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/DimensionSet.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/DimensionSet.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAny.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAny.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAnyList.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXNameSpaces.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchPhysicalTypeDescriptorImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchPhysicalTypeDescriptorImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/files delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/omniOptions delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/options delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/orbOptions delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefDictionary.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefHashTable.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.C delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.H delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/files delete mode 100644 applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/options delete mode 100644 applications/utilities/preProcessing/FoamX/FoamX.idl delete mode 100644 applications/utilities/preProcessing/FoamX/Idl/FoamX.idl delete mode 100644 applications/utilities/preProcessing/FoamX/Idl/Makefile delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/ActionManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/IActionProvider.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/App.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/App.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserPanel.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserPanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseChooserDlg.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseManager.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseManagerEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseManagerListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CasePanel.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CasePanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CloneCaseDialog.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/ContextInfo.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/HostChooserDlg.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModule.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModuleHost.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/TreeNodeInfo.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationExeption.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionModelItem.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionPanel.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionPanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionTreeRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryTypesTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDefinitionModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDescriptorCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/PatchPhysicalTypesTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntry.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryTableModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryNameCellRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/BooleanCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CaseNameCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CharCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CompoundCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/DictionaryCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/DictionaryEntryCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/DimensionSetCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/FixedListCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/HostNameCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/LabelCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ListCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootAndCaseCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootDirCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ScalarCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/SelectionCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/StringCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/TimeCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/WordCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionEntryCellRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionTableModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DimensionSetEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DimensionSetEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/FixedListEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ShapeEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeDescriptorCache.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameter.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterCustomEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/VectorSpaceEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/alias delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/CaseBrowserIOException.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXCancel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXException.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/BoundaryTypeSelectorDlg.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/CaseEditorModule.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/FieldPropertiesWindow.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/FieldPropertiesWindow.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEntry.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchPhysicalTypeSelectorDlg.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/RawDictionaryEditor/DictionaryTextEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/RawDictionaryEditor/RawDictionaryEditorModule.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionParameter.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionTableModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsDlg.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsDlg.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Options/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/ChoiceListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AmbientLightNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ArrowsNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AxisNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/BackgroundNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBar2DNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBarNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColoredSurfaceByRefNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/DirectionalLightNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/FeatureLinesNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNodeList.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/LoopNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/MeshLinesNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchFacesNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchPointsNode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Mesh/PrimitivePatch.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/MouseModePanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimePanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PatchSelector-WORKING.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostApp.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostWindow.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Arrows.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Axis-NoText.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/AxisLines.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColorBar.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurface.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRef.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRefNoStrip.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceVec.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-Indexed.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-UnIndexed.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Loop.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MeshLines.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MyFirstShape.java-Indexed delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchFaces.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchPoints.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchSpheres.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PickableShape.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes2D/ColorBar2D.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Table/NodeTable.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayStats.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayUtils.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/BinaryFoamFile.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Colorizer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImageDisplayer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImagePrinter.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/KeyBehavior.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OffScreenCanvas3D.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OrbitPickBehavior.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PickDragBehavior.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Placement.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PrintManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Text.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseScale.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseZoom.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myOrbitBehavior.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessModel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/Task.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ActionDelegate.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/Toolbar.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/IUtility.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/InvokeUtilityAction.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ArgsManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/Assert.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/BusyCursor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ButtonActionChangedListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/CollapseTreeAction.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ExpandTreeAction.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEvent.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileMonitor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXAny.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXListRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTreeRenderer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTypeEx.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/MemoryView.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/MenuItemActionChangedListener.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ReferenceCount.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ResourceHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/RunPanel.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/RunPanel.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/SimpleEditor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TabSelection.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableMap.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableSorter.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/VarString.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/Util/filesystem.attributes delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/.nbattrs delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.form delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/WindowManager.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/bold.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/bullets.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/center.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/copy.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/cut.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/dictionary.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/dot.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/fg.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/italic.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/left.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/mini-exclam.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/new.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/newAppClass.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/open.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/open.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_crop.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_draw.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_hand.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_select.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_text.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_zoom.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/paste.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/pause.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/right.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/run.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/save.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/save.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/stop.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/swirl.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/underline.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/bold.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/bullets.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/center.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/copy.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/cut.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/dictionary.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/dot.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/fg.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/italic.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/left.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/mini-exclam.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/new.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/newAppClass.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/open.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/open.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_crop.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_draw.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_hand.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_select.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_text.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_zoom.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/paste.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/pause.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/right.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/run.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/save.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/save.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/.xvpics/dictionary.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/TreeClosed.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/TreeLeaf.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/TreeOpen.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/back.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/binary.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/binhex.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/blank.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/broken.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/burst.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/cog.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/cog.xpm delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/comp1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/comp2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/compressed.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/continued.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dictionary.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dictionary2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dir.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dir2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/document.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/file.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/folder.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/folder_open.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/forward.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/generic.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/generic2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/generic3.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/image.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/image2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/index.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/A.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/A1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/A2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Aepsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Alpha.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Am.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Amu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Aplus.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Bm.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C1Ref.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C2Ref.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C3.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CDES.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CRT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cb.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cb1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cb2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cbag.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cd.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CdLimit.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cdelta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cdistort.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ceps.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cl.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clg1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clg2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clrr1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clrr2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cmu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cp.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cs.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cstrip.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ct.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau3.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cv.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cv1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cv2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cvm.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cw1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cw2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cw3.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/D.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/DT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Delta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Deltat.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/E.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/F.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/FoamXIcons211x.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/FoamXIcons427x.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/G.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Gamma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/H.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/I.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/J.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/K.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Kappa.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/L.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Lambda.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/M.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Model.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/N.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Nx.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ny.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Nz.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/O.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Omega.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/P.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Phi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/PhiField.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Pi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Pr.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Psi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Q.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/R.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Re.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ReLimit.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/RePr.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ReSc.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ReynoldsStress.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/S.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Sc.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Sigma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Su.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Switch.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/T.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Tair.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Theta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ttin.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Tu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/U.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/UR.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ua.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ub.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ubar.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Upsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/V.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/V0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Vs.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/W.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Weber.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/WeberLimit.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/X.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Xi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/XiCoef.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/XiFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/XiShapeCoef.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Xoodles.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Y.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Z.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/a.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/a1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alpha.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaEps.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaKsi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaMin.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaNut.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaR.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaZeta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphah.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphak.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/angle.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/application.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/b.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/basePoint.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/beta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/biscuitFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/bore.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/boundaryFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/bubbleFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/buoyantFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/c.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/c1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/c2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cD.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cD2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cGamma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cI.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK3.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK4.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cSpace.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cTime.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ce.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cgamma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/channelOodles.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/chi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ck.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/clearance.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cm.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/conRodLength.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/contactStressFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/contactUnderrelaxation.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/convertToMeters.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/d.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/d2dt2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/da.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/db.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ddt.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/delta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/deltaCoeff.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/deltaT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/diameter.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dieselEngineFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dieselFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/diffusion.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dirPatchID.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/div.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divGammaU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffGradUT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffaUaT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffbUbT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiAlpha.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiAlphaAlpha.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiB2DBUB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiB2GammaBUB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiBT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiBU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiCp.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiE.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiEpsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiGamma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiH.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiNuTilda.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiR.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiRho.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiRhoP.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiStar.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiStb.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiTheta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiUa.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiUp.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiV.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiVV.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiVdjVdj.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiX.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiXiSu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiXiXi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiXv.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiaUa.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhibUb.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhidP.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhih.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhik.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhirbGamma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divR.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divRhoPhiU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divRhoRho.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divSigma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divStar.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divSuGradb.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dnsFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dropletDiameterRatio.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/e.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/electrostaticFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/endTime.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/engineFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/epsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/epsilon0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/eta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/eta0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/f.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/financialFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ft.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/fu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/fuel.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/g.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gamma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/grad.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradDBUmagsqrB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradE.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradGamma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradP.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradPatchID.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradV.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/h.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/hAir.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/hu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/i.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/icoFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/icoFoamAutoMotion.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/icoTopoFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ignition.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ignitionSite.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/injector.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolate1A.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolateB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolateHbyA.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolatePsi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolatePsiU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolateRho.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolateRho0PsiP0U.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolateU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolationScheme.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/iota.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/j.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/k.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/kappa.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/kcWater.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/l.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/lambda.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1ABpB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1AUp.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1AUpB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1AUpcorr.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1phi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphaEffh.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphaEffhu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphaEpsNuEffbEpsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphaKNuEffbK.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphahMutAlphaH.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphahMutAlphaHu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDBB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDBEffB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDREffR.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDTT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDUU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDVV.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDepsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDepsilonEffEpsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDk.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDkEffk.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDnuTildaEffNuTilda.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDphi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaBB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaPhi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaTheta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaVV.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuE.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffEpsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffFt.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffFu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffK.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffb.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuSgsAlphaH.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMutAlpha.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuEffEpsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuEffK.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuEffU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuEffaUa.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuEffbUb.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianP.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoAUp.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoAUpd.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoDU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoDepsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoDk.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianStar.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianTwoMuLambdaU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/lesInterFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/m.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/max.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/maxCo.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/maxCoNum.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/maxDeltaRatio.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/maxDeltaT.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mesh.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mgbsCoef.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mhdFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mixture.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mmax.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/movingFvMesh.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mu1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mu2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/muSgs.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/muc.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/n.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nCorrectors.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nGammaCorr.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nGammaSubCycles.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nNonOrthogonalCorrectors.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nStressCorrectors.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/newInterFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/newInterFoamAutoMotion.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nonNewtonianIcoFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/normal.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/normalVector.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nu0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nuInf.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nuSgs.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nuTilda.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nua.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nub.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/o.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/omega.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/oodles.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/p.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/p0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/patch.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/patches.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pcorr.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pd.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/phi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/phim.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/plasticViscosityCoeff.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/plasticViscosityExponent.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/potentialFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/problemD.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/products.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/psi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/purgeWrite.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/q.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/r.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rXi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ratio.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/reactants.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho1.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoS.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoa.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhob.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoc.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhod.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rpm.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/s.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/scalarTransportFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/settlingFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sigma.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sigmaExt.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/simpleFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/snGradCorrP.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/snGradCorrU.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/snGradScheme.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicLiquidFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicLiquidFoamAutoMotion.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicTurbFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/startFrom.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/startTime.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stopAt.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stress.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stressFemFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stressedFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/strike.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stroke.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/t.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/tau.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/theta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/theta0.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/thetaA.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/thetaR.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/timeFormat.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/timePrecision.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/toleranceSet.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/touchTolerance.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/turbFoam.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/u.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/uPrimeCoeff.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/uTheta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/upsilon.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/v.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/vecB.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/w.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeCompression.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeControl.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeFormat.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeInterval.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writePrecision.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/x.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xMax.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xMin.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xi.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xvInf.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/y.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yMax.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yMin.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yieldStressCoeff.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yieldStressExponent.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yieldStressOffset.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/z.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/zMax.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/zMin.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/zeta.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/movie.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/sound.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/sound2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/tar.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/text.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/transfer.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/unknown.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/unknown2.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/utilities_package.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/uu.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/stop.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/swirl.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamX/icons/underline.gif delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ApplicationDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ApplicationDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ApplicationDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ApplicationDescriptorListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ApplicationDescriptorListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseBrowser/ICaseBrowser.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseBrowser/ICaseBrowserHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseBrowser/ICaseBrowserHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseBrowser/ICaseBrowserOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseBrowser/_ICaseBrowserStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseDescriptorListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseDescriptorListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CasePostServer/ICasePostServer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CasePostServer/ICasePostServerHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CasePostServer/ICasePostServerHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CasePostServer/ICasePostServerOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CasePostServer/_ICasePostServerStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IApplication.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IApplicationHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IApplicationHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IApplicationOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/ICaseServer.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/ICaseServerHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/ICaseServerHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/ICaseServerOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IFoamProperties.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IFoamPropertiesHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IFoamPropertiesHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IFoamPropertiesOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricField.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricFieldDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricFieldDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricFieldDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricFieldDescriptorOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricFieldHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricFieldHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometricFieldOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometryDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometryDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometryDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IGeometryDescriptorOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchDescriptorOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchPhysicalTypeDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchPhysicalTypeDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/IPatchPhysicalTypeDescriptorOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_IApplicationStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_ICaseServerStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_IFoamPropertiesStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_IGeometricFieldDescriptorStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_IGeometricFieldStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_IGeometryDescriptorStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_IPatchDescriptorStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/CaseServer/_IPatchPhysicalTypeDescriptorStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DictionaryEntryListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DictionaryEntryListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DimensionSet.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DimensionSetHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DimensionSetHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DimensionSetListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DimensionSetListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DoubleListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/DoubleListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCode.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAny.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXError.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOError.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSError.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXType.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowser.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/_IHostBrowserStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntry.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorOperations.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptor.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobID.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatus.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageType.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Helper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Holder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPair.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationError.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHelper.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHolder.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/_IDictionaryEntryStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/FoamXServer/_ITypeDescriptorStub.java delete mode 100644 applications/utilities/preProcessing/FoamX/Java/META-INF/MANIFEST.MF delete mode 100644 applications/utilities/preProcessing/FoamX/Java/Make/files delete mode 100644 applications/utilities/preProcessing/FoamX/Java/Make/options delete mode 100644 applications/utilities/preProcessing/FoamX/Java/resources/DictEditorModule.properties delete mode 100644 applications/utilities/preProcessing/FoamX/Java/resources/FoamX.properties delete mode 100644 applications/utilities/preProcessing/FoamX/Java/resources/MemoryViewLocale.properties delete mode 100644 applications/utilities/preProcessing/FoamX/currentBugs.txt delete mode 100644 applications/utilities/preProcessing/FoamX/lib/jlfgr-1_0.jar delete mode 100644 applications/utilities/preProcessing/boxTurb/FoamX/boxTurb.cfg delete mode 100644 applications/utilities/preProcessing/changeDictionary/FoamX/foamInfoExec.cfg delete mode 100644 applications/utilities/preProcessing/engineSwirl/FoamX/engineSwirl.cfg delete mode 100644 applications/utilities/preProcessing/foamCloneCase/FoamX/foamCloneCase.cfg delete mode 100644 applications/utilities/preProcessing/mapFields/FoamX/mapFields.cfg delete mode 100644 applications/utilities/preProcessing/mapFields/FoamX/patchMapping.cfg delete mode 100644 applications/utilities/preProcessing/setFields/FoamX/boxToCellFields.cfg delete mode 100644 applications/utilities/preProcessing/setFields/FoamX/setFields.cfg delete mode 100644 applications/utilities/thermophysical/adiabaticFlameT/FoamX/adiabaticFlameT.cfg delete mode 100644 applications/utilities/thermophysical/chemkinToFoam/FoamX/chemkinToFoam.cfg delete mode 100644 applications/utilities/thermophysical/equilibriumCO/FoamX/equilibriumCO.cfg delete mode 100644 applications/utilities/thermophysical/equilibriumFlameT/FoamX/equilibriumFlameT.cfg delete mode 100644 applications/utilities/thermophysical/mixtureAdiabaticFlameT/FoamX/mixtureAdiabaticFlameT.cfg delete mode 100755 bin/FoamX delete mode 100755 bin/killFoamX delete mode 100755 bin/patchTool delete mode 100755 bin/runFoamXHB delete mode 100755 bin/runPatchToolServer delete mode 100644 etc/apps/FoamX/FoamX.cfg delete mode 100644 etc/apps/FoamX/FoamXClient.cfg delete mode 100644 etc/apps/FoamX/createFlag delete mode 100644 etc/apps/FoamX/createFlagWithArgument delete mode 100644 etc/apps/FoamX/defaults/constant/thermophysicalPropertiesCombustion delete mode 100644 etc/apps/FoamX/defaults/constant/thermophysicalPropertiesMixture delete mode 100644 etc/apps/FoamX/defaults/system/controlDict delete mode 100644 etc/apps/FoamX/defaults/system/controlDictAdjustTimeStep delete mode 100644 etc/apps/FoamX/defaults/system/controlDictSteady delete mode 100644 etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DebugSwitches.cfg delete mode 100644 etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DimensionedConstants.cfg delete mode 100644 etc/apps/FoamX/dictionaries/OpenFOAMControlDict/InfoSwitches.cfg delete mode 100644 etc/apps/FoamX/dictionaries/OpenFOAMControlDict/OptimisationSwitches.cfg delete mode 100644 etc/apps/FoamX/dictionaries/OpenFOAMControlDict/controlDict.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/GuldersCoeffsEntries.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/IsoOctane.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Methane.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Propane.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/IsoOctane.def delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Methane.def delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Propane.def delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/MKCoeffsEntries.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/Propane.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/defaults/Propane.def delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/StCorr.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/SuModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/XiModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/combustionProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/fuel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/ignitionSite.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/ignitionSites.cfg delete mode 100644 etc/apps/FoamX/dictionaries/combustionProperties/laminarFlameSpeedCorrelation.cfg delete mode 100644 etc/apps/FoamX/dictionaries/controlDict/adjustTimeStep.cfg delete mode 100644 etc/apps/FoamX/dictionaries/controlDict/controlDict.cfg delete mode 100644 etc/apps/FoamX/dictionaries/controlDict/controlDictAdjustTimeStep.cfg delete mode 100644 etc/apps/FoamX/dictionaries/controlDict/controlDictSteady.cfg delete mode 100644 etc/apps/FoamX/dictionaries/controlDict/maxCo.cfg delete mode 100644 etc/apps/FoamX/dictionaries/controlDict/maxDeltaT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/controlDict/standardEntries.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/diffusion.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/distancePatches.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/dynamicMeshDict.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/frozenDiffusion.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/movingFvMesh.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/movingInkJetFvMeshCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/solver.cfg delete mode 100644 etc/apps/FoamX/dictionaries/dynamicMeshDict/staticFvMesh.cfg delete mode 100644 etc/apps/FoamX/dictionaries/environmentalProperties/environmentalPropertiesg.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/allSchemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/schemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/ddt/allSchemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/ddt/schemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/ddt/steady.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/ddt/transient.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/B.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/R.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/Rca.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/Rcb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/SuGradb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/U.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/USuXiGradb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/centered.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/default.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/defaultOnly.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/discretisationScheme.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/all.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/centered.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/default.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar01.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalarMULES.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/tensor.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/vector.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/muEffGradUT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/multivariateSelection.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/none.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/noneOnly.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffGradUT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffaGradUaT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffbGradUbT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlpha.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlphaAlpha.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiB2DBUB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiBT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiBU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiEpsilon.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiGamma.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiMuTilda.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiNuTilda.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiR.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiStb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiUp.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiV.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiVdjVdj.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiSu.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiXi.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiaUa.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phibEpsilon.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phibUb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phibk.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phidp.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phie.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phift_b_h_hu.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phih.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phik.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phirAlpha.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phirbGamma.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phiv2p.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phivRho.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoE.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/rhoPhiU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/rhoR.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/scalar.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/scalar01.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/scalarMULES.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/schemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/sigma.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/sigmaD.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/tensor.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/div/vector.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/DT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/T.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/U.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/UT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/fluxRequired.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/p.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/pPB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/pPcorr.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/pd.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorr.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorrGamma.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/phi.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/B.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/D.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/T.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/U.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/default.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/gamma.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/p.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pcorr.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pd.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/phi.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/fvSchemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/D.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/DBUmagsqrB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/Gauss.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/T.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/U.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/V.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/default.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/defaultOnly.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/fourth.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/gamma.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/leastSquares.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/none.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/p.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/schemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/grad/standard.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/1A.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/B.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/HbyA.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/U.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/default.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/defaultOnly.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/interpolationScheme.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/interpolation/schemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ABpB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1AUp.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1Ap.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ArhoUp.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1p.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBEffB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DDD.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DREffR.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DTT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DUU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DVV.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DkEffk.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DmuTildaEffMuTilda.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DnuTildaEffNuTilda.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/Dphi.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffh.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffhu.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/default.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/defaultOnly.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/discretisationScheme.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffFt.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffft.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mue.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutAlpha.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/none.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffaUa.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffbUb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/phi.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUp.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUpd.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/scalar.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/schemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/laplacian/vector.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/snGrad/default.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/snGrad/defaultOnly.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/snGrad/schemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeScalar.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeVector.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/PISO.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/SIMPLE.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/contactPatch.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/fvSolution.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Alpha.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/B.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/D.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/R.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Su.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/T.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Tsymm.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/U.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Ua.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Ub.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Usymm.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Vfinancial.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/Xi.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/alpha.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/asymmetricSparse.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/b.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/beta.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/e.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/epsilon.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/ft.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/fu.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/gamma.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/h.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/hu.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/k.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/motionU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/nuTilda.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/pAsymm.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/pB.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/pFinal.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/pSymm.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/pcorr.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/pd.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/pdFinal.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/phiEP.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/rho.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoCD.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoE.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoU.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/symmetricSparse.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/solvers/theta.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvSolution/stressAnalysis.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvTolerances/fvTolerances.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetAll.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteady.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteadyTight.cfg delete mode 100644 etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetTransient.cfg delete mode 100644 etc/apps/FoamX/dictionaries/injectorProperties/injector.cfg delete mode 100644 etc/apps/FoamX/dictionaries/injectorProperties/injectorProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/injectorProperties/timeDistance.cfg delete mode 100644 etc/apps/FoamX/dictionaries/physicalProperties/physicalProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/RanzMarshallCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/ReitzDiwakarCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/ReitzKHRTCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/atomizationModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/breakupModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B0.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B1.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CRT.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cb.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cbag.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CdLimiter.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cdistort.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cstrip.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Ctau.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/PrExponent.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReExponent.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReLimiter.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ScExponent.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/WeberLimit.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cSpace.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cTime.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/createCoefficient delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/elasticity.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReFactor.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preRePrFactor.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReScFactor.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/coefficients/strippedMassLimit.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/collisionModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/dispersionModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/dragModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/evaporationModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/heatTransferModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/T.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/U.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/createInterpolationScheme delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/ft.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/fu.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/p.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/rho.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/reflectCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/specConstAtomizationCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/sprayProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/standardDragModelCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/standardEvaporationModelCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/subCycles.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/trajectoryCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/sprayProperties/wallModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicPropertiesConst.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Cp.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Hf.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Pr.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tcommon.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Thigh.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tlow.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/createCoefficient delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff1.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff2.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff3.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff4.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff5.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highThOffset.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTsOffset.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff1.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff2.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff3.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff4.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff5.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowThOffset.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTsOffset.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/molecularWeight.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/nMoles.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandA.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandTemp.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/viscosity.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficients.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsHconst.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsJanaf.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/constTransportCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/hConstThermoCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/janafThermoCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/liquidFuel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/specieCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/standardMixtureCoefficients.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/sutherlandTransportCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/thermoType.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesCombustion.cfg delete mode 100644 etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/BirdCarreauCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/CrossPowerLawCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/NewtonianSinglePhaseTransportProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/NewtonianViscosity.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/contactAngle.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/incompressibleTransportModel.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/singlePhaseTransportProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/transportProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/transportProperties/twoPhaseTransportProperties.cfg delete mode 100644 etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsCompressible.cfg delete mode 100644 etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsIncompressible.cfg delete mode 100644 etc/apps/FoamX/dictionaries/turbulenceProperties/checkCoeffs delete mode 100644 etc/apps/FoamX/dictionaries/turbulenceProperties/laminarCoeffs.cfg delete mode 100644 etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg delete mode 100644 etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsIncompressible.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaBottom.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaTop.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/PrandtlCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/cubeRootVolCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/PrandtlCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/cubeRootVolCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/smoothCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/vanDriestCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/smoothCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESdeltas/vanDriestCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/LESfilters.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/DeardorffDiffStressCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/LESmodel.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/SmagorinskyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/defaults/DeardorffDiffStressCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/defaults/SmagorinskyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/defaults/dynOneEqEddyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/defaults/lowReOneEqEddyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/defaults/oneEqEddyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/defaults/wallFunctionCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/dynOneEqEddyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/lowReOneEqEddyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/oneEqEddyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/compressible/wallFunctionCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/DeardorffDiffStressCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/LESmodel.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/LRRDiffStressCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/Smagorinsky2Coeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/SmagorinskyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/SpalartAllmarasCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/DeardorffDiffStressCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/LRRDiffStressCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/Smagorinsky2Coeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SmagorinskyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SpalartAllmarasCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynMixedSmagorinskyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynOneEqEddyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynSmagorinskyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/locDynOneEqEddyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/mixedSmagorinskyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/oneEqEddyCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/scaleSimilarityCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/spectEddyViscCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/defaults/wallFunctionCoeffs.def delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/dynMixedSmagorinskyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/dynOneEqEddyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/dynSmagorinskyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/locDynOneEqEddyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/mixedSmagorinskyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/oneEqEddyCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/scaleSimilarityCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/spectEddyViscCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/incompressible/wallFunctionCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/LESmodels/kappa.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/BinghamPlastic.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/addCellNeighbours.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/anisotropic.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/compactNormalStress.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/correctAlpha.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/createSwitch delete mode 100644 etc/apps/FoamX/entries/Switch/geometricCut.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/ignite.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/layeredMesh.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/mappingPlane.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/momentumPredictor.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/planeStress.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/problemD.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/thermalStress.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/turbulence.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/twoDMotion.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/useHexTopology.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/vanDriest.cfg delete mode 100644 etc/apps/FoamX/entries/Switch/writeMesh.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/allowConcaveFaces.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/ascii.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/cell.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/cellDist.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/cellSet.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/consistent.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/constant.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/controlFile.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/dataFile.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/dict.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/dictionary.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/edgeLength.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/face.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/faceSet.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/featureAngle.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/fields.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/fieldsOnly.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/file.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/hex.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/inputFile.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/invertHex.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/invertPrism.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/kivaVersion.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/latestTime.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/masterPatch.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/mergeAngle.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/mesh.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/meshFile.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/meshFilePrefix.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/minAngle.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/minArea.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/nearCellValue.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/network.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/noBlank.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/noCoords.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/noFaceFile.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/noInternal.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/noWall.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/outputFile.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/parallelSource.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/parallelTarget.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/partial.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/patch.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/patchFaces.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/patches.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/perfect.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/point.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/readLevel.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/rootAndCase.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/rotate.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/rotationVectors.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/scale.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/scalingFactor.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/shapeMesh.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/singleBlock.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/slavePatch.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/sourceCase.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/sourceRoot.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/sourceRootAndCase.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/startAt0.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/surfaceFields.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/time.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/times.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/translate.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/vectorScale.cfg delete mode 100644 etc/apps/FoamX/entries/arguments/zHeadMin.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/A.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/A1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/A2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Aepsilon.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Am.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Amu.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Aplus.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/B.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/B2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Bm.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/C.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/C1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/C1Ref.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/C2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/C2Ref.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/C3.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/CDES.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cb1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cb2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cdelta.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Ceps.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cl.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Clg1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Clg2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Clrr1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Clrr2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cmu.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cs.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Ct.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Ctau1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Ctau2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Ctau3.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cv.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cv1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cv2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cvm.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cw1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cw2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Cw3.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/D.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/DT.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/E.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Kappa.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/R.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/Su.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/W.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/XiCoef.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/XiShapeCoef.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/a.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/a1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alpha.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaEps.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaK1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaK2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaKsi.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaMin.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaNut.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaOmega1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaOmega2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaR.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphaZeta.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphah.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/alphak.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/beta.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/beta1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/beta2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/betaStar.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/bore.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/c1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/c2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cB.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cD.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cD2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cI.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cK1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cK2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cK3.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cK4.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/ce.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/ck.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/clearance.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/cm.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/conRodLength.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/createDimensionedScalar delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/da.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/db.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/e.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/epsilon0.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/k.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/mu.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/sigma.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/equivalenceRatio.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/eta.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/eta0.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/f.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/gamma.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/gamma1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/gamma2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/k.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/kappa.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/m.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/mgbsCoef.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/mu.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/mu1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/mu2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/muc.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/n.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/nu.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/nu0.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/nuInf.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/nua.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/nub.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/p0.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/phim.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityCoeff.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityExponent.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/psi.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/r.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rho.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rho0.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rho1.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rho2.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rhoa.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rhob.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rhoc.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rhod.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/rpm.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/s.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/sigma.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/sigmaExt.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/stoichiometricAirFuelMassRatio.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/stress/C.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/stress/E.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/stress/alpha.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/stress/k.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/stress/nu.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/strike.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/stroke.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/theta0.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/thetaA.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/thetaR.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/uPrimeCoef.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/uTheta.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/xi.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/yieldStressCoeff.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/yieldStressExponent.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedScalar/yieldStressOffset.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedVector/Ubar.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedVector/V0.cfg delete mode 100644 etc/apps/FoamX/entries/dimensionedVector/createDimensionedVector delete mode 100644 etc/apps/FoamX/entries/dimensionedVector/g.cfg delete mode 100644 etc/apps/FoamX/entries/engineMesh/engineMesh.cfg delete mode 100644 etc/apps/FoamX/entries/fieldValues/fieldValue.cfg delete mode 100644 etc/apps/FoamX/entries/fieldValues/fieldValues.cfg delete mode 100644 etc/apps/FoamX/entries/fieldValues/volScalarFieldValue.cfg delete mode 100644 etc/apps/FoamX/entries/fieldValues/volTensorFieldValue.cfg delete mode 100644 etc/apps/FoamX/entries/fieldValues/volVectorFieldValue.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Bdynamic.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Bkinematic.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Bsgs.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Rdynamic.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Rkinematic.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Su.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/T.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Tdimless.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Tu.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/U.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Ua.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Ub.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Vfinancial.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/Xi.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/alpha.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/b.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/displacement.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/electromagnetics/B.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/electromagnetics/pB.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/epsilon.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/ft.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/fu.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/gamma.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/k.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/motionU.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/muSgs.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/muTilda.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/nuSgs.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/nuTilda.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/pDynamic.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/pKinematic.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/pd.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/phiEP.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/pointU.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/rXi.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/rhoCD.cfg delete mode 100644 etc/apps/FoamX/entries/geometricFields/theta.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/Gamma.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/Gamma01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/GammaV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/MUSCL.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/MUSCL01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/Phi.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/QUICK.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/SFCD.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/SFCDV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/SuperBee.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/SuperBee01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/UMIST.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/blended.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/Gamma.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/Gamma01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/GammaV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/MUSCL.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/MUSCL01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/Phi.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/QUICK.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/SFCD.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/SFCDV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/SuperBee.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/SuperBee01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/UMIST.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/blended.cfg delete mode 100755 etc/apps/FoamX/entries/interpolations/byPhi/createAllInterpolationByPhi delete mode 100755 etc/apps/FoamX/entries/interpolations/byPhi/createInterpolationByPhi delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/downwind.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2V.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/gammaCompression.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/interfaceCompression.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedCubicV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedGamma.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedCubic.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedLinearV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedMUSCL.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedSuperBee.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/limitedVanLeer.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/linearUpwind.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/skewLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/upwind.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/vanLeer.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/vanLeer01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/byPhi/vanLeerV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/cubic.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/cubicCorrection.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/downwind.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/filteredLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/filteredLinear2.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/filteredLinear2V.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/harmonic.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/interfaceCompression.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/inverseLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedCubic.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedCubic01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedCubicV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedGamma.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedLimitedCubic.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedLimitedLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedLinear01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedLinearV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedMUSCL.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedSuperBee.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/limitedVanLeer.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/linear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/linearUpwind.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/midPoint.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/skewLinear.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/unselected.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/upwind.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/vanLeer.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/vanLeer01.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/vanLeerV.cfg delete mode 100644 etc/apps/FoamX/entries/interpolations/weighted.cfg delete mode 100644 etc/apps/FoamX/entries/label/Nx.cfg delete mode 100644 etc/apps/FoamX/entries/label/Ny.cfg delete mode 100644 etc/apps/FoamX/entries/label/Nz.cfg delete mode 100644 etc/apps/FoamX/entries/label/createLabel delete mode 100644 etc/apps/FoamX/entries/label/dirPatchID.cfg delete mode 100644 etc/apps/FoamX/entries/label/gradPatchID.cfg delete mode 100644 etc/apps/FoamX/entries/label/nAlphaCorr.cfg delete mode 100644 etc/apps/FoamX/entries/label/nBcorrectors.cfg delete mode 100644 etc/apps/FoamX/entries/label/nCorrectors.cfg delete mode 100644 etc/apps/FoamX/entries/label/nGammaCorr.cfg delete mode 100644 etc/apps/FoamX/entries/label/nGammaSubCycles.cfg delete mode 100644 etc/apps/FoamX/entries/label/nGammaSubCyclesFixed.cfg delete mode 100644 etc/apps/FoamX/entries/label/nNonOrthogonalCorrectors.cfg delete mode 100644 etc/apps/FoamX/entries/label/nOuterIterations.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/sonic/U.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/sonic/p.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/sonic/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/B.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/R.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/U.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/Y.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/alpha.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/B.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/pB.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/epsilon.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/gamma.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/k.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/U.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/motionU.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/muSgs.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/muTilda.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuSgs.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuTilda.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/p.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/pd.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/T.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/U.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/B.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/R.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/k.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/U.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muSgs.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muTilda.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/U.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/patches.cfg delete mode 100644 etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg delete mode 100644 etc/apps/FoamX/entries/ref/pRef.cfg delete mode 100644 etc/apps/FoamX/entries/ref/pdRef.cfg delete mode 100644 etc/apps/FoamX/entries/removeDisplayName delete mode 100644 etc/apps/FoamX/entries/scalar/cGamma.cfg delete mode 100644 etc/apps/FoamX/entries/scalar/convertToMeters.cfg delete mode 100644 etc/apps/FoamX/entries/scalar/createScalar delete mode 100644 etc/apps/FoamX/entries/scalar/delta.cfg delete mode 100644 etc/apps/FoamX/entries/scalar/max.cfg delete mode 100644 etc/apps/FoamX/entries/scalar/maxDeltaRatio.cfg delete mode 100644 etc/apps/FoamX/entries/scalar/min.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/Alpha.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/B.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/D.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/R.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/T.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/TimeStep.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/U.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/Ua.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/Ub.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/X.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/alpha.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/contactUnderrelaxation.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/createScalar01 delete mode 100644 etc/apps/FoamX/entries/scalar01/e.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/epsilon.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/ft.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/fu.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/gamma.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/gammaSmooth.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/h.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/hu.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/k.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/nuTilda.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/p.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/pB.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/pcorr.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/pd.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/rho.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/rhoS.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/stress.cfg delete mode 100644 etc/apps/FoamX/entries/scalar01/touchTolerance.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/createScalar0Inf delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/deltaCoeff.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/rpm.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/xMax.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/xMin.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/yMax.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/yMin.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/zMax.cfg delete mode 100644 etc/apps/FoamX/entries/scalar0Inf/zMin.cfg delete mode 100644 etc/apps/FoamX/entries/snGradSchemes/bounded.cfg delete mode 100644 etc/apps/FoamX/entries/snGradSchemes/corrected.cfg delete mode 100644 etc/apps/FoamX/entries/snGradSchemes/fourth.cfg delete mode 100644 etc/apps/FoamX/entries/snGradSchemes/limited.cfg delete mode 100644 etc/apps/FoamX/entries/snGradSchemes/uncorrected.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/BDCG.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/BICCG.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/DCG.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/DIC.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/DILU.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/FDIC.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/GAMG.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/GAMGsymm.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/GaussSeidel.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/ICCG.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/PBiCG.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/PCG.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/agglomerator.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/agglomeratorSymm.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/cacheAgglomeration.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/diagonal.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/directSolveCoarsest.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/mergeLevels.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/nCells.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/nCellsInCoarsestLevel.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/nFinestSweeps.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/nPostSweeps.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/nPreSweeps.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/nSweeps.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/none.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/preconditioner.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/preconditionerSymm.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/relTol.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/scaleCorrection.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/smoothSolver.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/smoothSolverSymm.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/smoother.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/smootherSymm.cfg delete mode 100644 etc/apps/FoamX/entries/solvers/tolerance.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/LRRCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderGibsonRSTMCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderSharmaKECoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/RNGkEpsilonCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LRRCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LamBremhorstKECoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderGibsonRSTMCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderSharmaKECoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKECoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKELowReCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienLeschzinerLowReCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/NonlinearKEShihCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/QZetaCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/RNGkEpsilonCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/kEpsilonCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/wallFunctionCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/kEpsilonCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/turbulenceModel.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/compressible/wallFunctionCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/LRRCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/LamBremhorstKECoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderGibsonRSTMCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderSharmaKECoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKECoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKELowReCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/LienLeschzinerLowReCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/NonlinearKEShihCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/QZetaCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/RNGkEpsilonCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/SpalartAllmarasCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LRRCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LamBremhorstKECoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderGibsonRSTMCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderSharmaKECoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKECoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKELowReCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienLeschzinerLowReCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/NonlinearKEShihCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/QZetaCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/RNGkEpsilonCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/SpalartAllmarasCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithAlphak.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithC3.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kOmegaSSTCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/wallFunctionCoeffs.def delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithAlphak.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithC3.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/kOmegaSSTCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/turbulenceModel.cfg delete mode 100644 etc/apps/FoamX/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg delete mode 100644 etc/apps/FoamX/entries/vector/basePoint.cfg delete mode 100644 etc/apps/FoamX/entries/vector/createVector delete mode 100644 etc/apps/FoamX/entries/vector/direction.cfg delete mode 100644 etc/apps/FoamX/entries/vector/location.cfg delete mode 100644 etc/apps/FoamX/entries/vector/max.cfg delete mode 100644 etc/apps/FoamX/entries/vector/min.cfg delete mode 100644 etc/apps/FoamX/entries/vector/motionPlaneNormal.cfg delete mode 100644 etc/apps/FoamX/entries/vector/normalVector.cfg delete mode 100644 etc/apps/FoamX/entries/vector/position.cfg delete mode 100644 etc/apps/FoamX/entries/vector/tan1.cfg delete mode 100644 etc/apps/FoamX/entries/vector/tan2.cfg delete mode 100644 etc/apps/FoamX/types/Switch.cfg delete mode 100644 etc/apps/FoamX/types/angle0180.cfg delete mode 100644 etc/apps/FoamX/types/boolean.cfg delete mode 100644 etc/apps/FoamX/types/debugSwitch.cfg delete mode 100644 etc/apps/FoamX/types/dimensionedScalar.cfg delete mode 100644 etc/apps/FoamX/types/dimensionedVector.cfg delete mode 100644 etc/apps/FoamX/types/fields.cfg delete mode 100644 etc/apps/FoamX/types/functionObjects/probe.cfg delete mode 100644 etc/apps/FoamX/types/geometries.cfg delete mode 100644 etc/apps/FoamX/types/model.cfg delete mode 100644 etc/apps/FoamX/types/patchField.cfg delete mode 100644 etc/apps/FoamX/types/patchFields.cfg delete mode 100644 etc/apps/FoamX/types/patchFields/basic.cfg delete mode 100644 etc/apps/FoamX/types/patchFields/cfd.cfg delete mode 100644 etc/apps/FoamX/types/patchFields/geometric.cfg delete mode 100644 etc/apps/FoamX/types/patchFields/meshMotion.cfg delete mode 100644 etc/apps/FoamX/types/patches.cfg delete mode 100644 etc/apps/FoamX/types/rootCaseArguments.cfg delete mode 100644 etc/apps/FoamX/types/rootCaseTimeArguments.cfg delete mode 100644 etc/apps/FoamX/types/scalar.cfg delete mode 100644 etc/apps/FoamX/types/scalar01.cfg delete mode 100644 etc/apps/FoamX/types/scalar0Inf.cfg delete mode 100644 etc/apps/FoamX/types/shape.cfg delete mode 100644 etc/apps/FoamX/types/stringList.cfg delete mode 100644 etc/apps/FoamX/types/tensor.cfg delete mode 100644 etc/apps/FoamX/types/types.cfg delete mode 100644 etc/apps/FoamX/types/vector.cfg diff --git a/applications/solvers/DNS/dnsFoam/FoamX/defaults/constant/turbulenceProperties b/applications/solvers/DNS/dnsFoam/FoamX/defaults/constant/turbulenceProperties deleted file mode 100644 index 76c4609b7c..0000000000 --- a/applications/solvers/DNS/dnsFoam/FoamX/defaults/constant/turbulenceProperties +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object transportProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -UOsigma 0.090295049; - -UOalpha 0.81532036; - -UOKupper 10; - -UOKlower 7; - - -// ************************************************************************* // diff --git a/applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 69fda62063..0000000000 --- a/applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,68 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss cubic; -} - -laplacianSchemes -{ - default none; - laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(U) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSolution b/applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 707a1fca28..0000000000 --- a/applications/solvers/DNS/dnsFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-06 0; - U BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/DNS/dnsFoam/FoamX/dnsFoam.cfg b/applications/solvers/DNS/dnsFoam/FoamX/dnsFoam.cfg deleted file mode 100644 index d7757a2897..0000000000 --- a/applications/solvers/DNS/dnsFoam/FoamX/dnsFoam.cfg +++ /dev/null @@ -1,69 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Direct numerical simulation (DNS) code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/NewtonianSinglePhaseTransportProperties.cfg"; - turbulenceProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - nuSgs - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuSgs.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg"; - } - - B - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/B.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/B.cfg"; - } - - nuTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/DNS/dnsFoam/FoamX/fvSchemes.cfg b/applications/solvers/DNS/dnsFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 841f655b46..0000000000 --- a/applications/solvers/DNS/dnsFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,44 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 1.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes.cfg; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "../../../incompressible/turbFoam/FoamX/fvSchemes/gradSchemes.cfg"; - include "../../../incompressible/icoFoam/FoamX/fvSchemes/divSchemes.cfg"; - include "../../../incompressible/icoFoam/FoamX/fvSchemes/laplacianSchemes.cfg"; - include "../../../incompressible/turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/DNS/dnsFoam/FoamX/fvSolution.cfg b/applications/solvers/DNS/dnsFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 31785b609b..0000000000 --- a/applications/solvers/DNS/dnsFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/DNS/dnsFoam/FoamX/turbulenceProperties.cfg b/applications/solvers/DNS/dnsFoam/FoamX/turbulenceProperties.cfg deleted file mode 100644 index 4b2171c7a5..0000000000 --- a/applications/solvers/DNS/dnsFoam/FoamX/turbulenceProperties.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Turbulence properties"; -dictionaryPath "constant"; - -entries -{ - UOsigma - { - type scalar; - } - - UOalpha - { - type scalar; - } - - UOKupper - { - type label; - description "Upper wave number"; - } - - UOKlower - { - type label; - description "Lower wave number"; - } -} - -default -{ - include "defaults/constant/turbulenceProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 33d8e6de5f..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,64 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(T) Gauss linear; -} - -divSchemes -{ - default none; -} - -laplacianSchemes -{ - default none; - laplacian(DT,T) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - T; -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSolution b/applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 4648358b2d..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - T ICCG 1e-06 0; -} - -SIMPLE -{ - nNonOrthogonalCorrectors 2; -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes.cfg b/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index aa9fb6c13a..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/noneOnly.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/T.cfg" -; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index d97901d0f0..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/T.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index cdc3fc25fd..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DTT.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/fvSolution.cfg b/applications/solvers/basic/laplacianFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 1e8421f5dd..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Tsymm.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/SIMPLE.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/laplacianFoam.cfg b/applications/solvers/basic/laplacianFoam/FoamX/laplacianFoam.cfg deleted file mode 100644 index 88ec528771..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/laplacianFoam.cfg +++ /dev/null @@ -1,52 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Solves a simple Laplace equation, e.g. for thermal diffusion in a solid."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictSteady.cfg"; - fvSchemes; - fvSolution; - transportProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; -} - -patchPhysicalTypes -{ - fixedTemp - { - description "Fixed T boundary condition"; - } - - fixedFlux - { - description "Fixed heat flux boundary bondition"; - } - - adiabatic - { - description "Adiabatic boundary condition"; - } -} - -patchFieldsPhysicalTypes -{ - T - { - fixedTemp fixedValue; - fixedFlux fixedGradient; - adiabatic zeroGradient; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/laplacianFoam/FoamX/transportProperties.cfg b/applications/solvers/basic/laplacianFoam/FoamX/transportProperties.cfg deleted file mode 100644 index d9eeb9a5ed..0000000000 --- a/applications/solvers/basic/laplacianFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/DT.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index a408d7981e..0000000000 --- a/applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,63 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default steadyState; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; -} - -laplacianSchemes -{ - default none; - laplacian(1,p) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSolution b/applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 70ab823aa3..0000000000 --- a/applications/solvers/basic/potentialFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-06 0; -} - -SIMPLE -{ - nNonOrthogonalCorrectors 3; -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/potentialFoam/FoamX/fvSchemes.cfg b/applications/solvers/basic/potentialFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index e5b24ffb40..0000000000 --- a/applications/solvers/basic/potentialFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/steady.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/noneOnly.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/potentialFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/basic/potentialFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 7dd4493a66..0000000000 --- a/applications/solvers/basic/potentialFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/1p.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/potentialFoam/FoamX/fvSolution.cfg b/applications/solvers/basic/potentialFoam/FoamX/fvSolution.cfg deleted file mode 100644 index f8ebe9c53f..0000000000 --- a/applications/solvers/basic/potentialFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/SIMPLE.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/potentialFoam/FoamX/potentialFoam.cfg b/applications/solvers/basic/potentialFoam/FoamX/potentialFoam.cfg deleted file mode 100644 index 5e664cbb7a..0000000000 --- a/applications/solvers/basic/potentialFoam/FoamX/potentialFoam.cfg +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Simple potential flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictSteady.cfg"; - fvSchemes; - fvSolution; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index ec7910107c..0000000000 --- a/applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,64 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phi,T) Gauss <>; -} - -laplacianSchemes -{ - default none; - laplacian(DT,T) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - T; -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSolution b/applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 7abb5d130d..0000000000 --- a/applications/solvers/basic/scalarTransportFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - T BICCG 1e-06 0; -} - -SIMPLE -{ - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes.cfg b/applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index ee07c20045..0000000000 --- a/applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "../../laplacianFoam/FoamX/fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/T.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 7d925aff51..0000000000 --- a/applications/solvers/basic/scalarTransportFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiT.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/basic/scalarTransportFoam/FoamX/fvSolution.cfg b/applications/solvers/basic/scalarTransportFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 036c034a30..0000000000 --- a/applications/solvers/basic/scalarTransportFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/T.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/SIMPLE.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/scalarTransportFoam/FoamX/scalarTransportFoam.cfg b/applications/solvers/basic/scalarTransportFoam/FoamX/scalarTransportFoam.cfg deleted file mode 100644 index 17085c0acd..0000000000 --- a/applications/solvers/basic/scalarTransportFoam/FoamX/scalarTransportFoam.cfg +++ /dev/null @@ -1,44 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Simple scalar transport flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - transportProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/basic/scalarTransportFoam/FoamX/transportProperties.cfg b/applications/solvers/basic/scalarTransportFoam/FoamX/transportProperties.cfg deleted file mode 100644 index d9eeb9a5ed..0000000000 --- a/applications/solvers/basic/scalarTransportFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/DT.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/XiFoam.cfg b/applications/solvers/combustion/XiFoam/FoamX/XiFoam.cfg deleted file mode 100644 index c458a12133..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/XiFoam.cfg +++ /dev/null @@ -1,107 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Compressible premixed/partially-premixed turbulent combustion code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictAdjustTimeStep.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg"; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesCombustion.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; - combustionProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Tu.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/ft.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/fu.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/b.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Xi.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Su.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - Tu - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - ft - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - fu - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - b - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - Xi - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - Su - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/combustionProperties.cfg b/applications/solvers/combustion/XiFoam/FoamX/combustionProperties.cfg deleted file mode 100644 index a36fe722c6..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/combustionProperties.cfg +++ /dev/null @@ -1,39 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/combustionProperties/combustionProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/combustionProperties/laminarFlameSpeedCorrelation.cfg"; - include "$FOAMX_CONFIG/dictionaries/combustionProperties/fuel.cfg"; - - include "$FOAMX_CONFIG/entries/dimensionedScalar/Su.cfg"; - include "$FOAMX_CONFIG/dictionaries/combustionProperties/SuModel.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/equivalenceRatio.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/sigmaExt.cfg"; - - include "$FOAMX_CONFIG/dictionaries/combustionProperties/XiModel.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/XiCoef.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/XiShapeCoef.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/uPrimeCoef.cfg"; - - include "$FOAMX_CONFIG/dictionaries/combustionProperties/GuldersCoeffs.cfg"; - - include "$FOAMX_CONFIG/entries/Switch/ignite.cfg"; - include "$FOAMX_CONFIG/dictionaries/combustionProperties/ignitionSites.cfg"; - - include "$FOAMX_CONFIG/dictionaries/combustionProperties/StCorr.cfg"; -} - -default -{ - include "defaults/constant/combustionProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/defaults/constant/combustionProperties b/applications/solvers/combustion/XiFoam/FoamX/defaults/constant/combustionProperties deleted file mode 100644 index 32a3f75469..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/defaults/constant/combustionProperties +++ /dev/null @@ -1,96 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object combustionProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -laminarFlameSpeedCorrelation Gulders; - -fuel Propane; - -Su Su [0 1 -1 0 0 0 0] 0.434; - -SuModel unstrained; - -equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 1; - -sigmaExt sigmaExt [0 0 -1 0 0 0 0] 100000; - -XiModel transport; - -XiCoef XiCoef [0 0 0 0 0 0 0] 0.62; - -XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1; - -uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1; - -GuldersCoeffs -{ - Methane - { - W W [0 0 0 0 0 0 0] 0.422; - eta eta [0 0 0 0 0 0 0] 0.15; - xi xi [0 0 0 0 0 0 0] 5.18; - alpha alpha [0 0 0 0 0 0 0] 2; - beta beta [0 0 0 0 0 0 0] -0.5; - f f [0 0 0 0 0 0 0] 2.3; - } - Propane - { - W W [0 0 0 0 0 0 0] 0.446; - eta eta [0 0 0 0 0 0 0] 0.12; - xi xi [0 0 0 0 0 0 0] 4.95; - alpha alpha [0 0 0 0 0 0 0] 1.77; - beta beta [0 0 0 0 0 0 0] -0.2; - f f [0 0 0 0 0 0 0] 2.3; - } - IsoOctane - { - W W [0 0 0 0 0 0 0] 0.4658; - eta eta [0 0 0 0 0 0 0] -0.326; - xi xi [0 0 0 0 0 0 0] 4.48; - alpha alpha [0 0 0 0 0 0 0] 1.56; - beta beta [0 0 0 0 0 0 0] -0.22; - f f [0 0 0 0 0 0 0] 2.3; - } -} - -ignite yes; - -ignitionSites -( - { - location (0 0 0.0005); - diameter 0.003; - start 0; - duration 0.001; - strength 1; - } -); - -ignitionSphereFraction 1; - -ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0; -ignitionCircleFraction 1; - -ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0; - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 8f291b11ab..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,94 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phid,p) Gauss <>; - div(phiU,p) Gauss linear; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(R) Gauss linear; - div(phiXi,Xi) Gauss <>; - div(phiXi,Su) Gauss <>; - div(phiSt,b) Gauss <>; - div(phi,ft_b_h_hu) Gauss multivariateSelection - { - fu <>; - ft <>; - b <>; - h <>; - hu <>; - }; - div(U) Gauss linear; - div((Su*grad(b))) Gauss linear; - div((U+((Su*Xi)*grad(b)))) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(muEff,b) Gauss linear corrected; - laplacian(muEff,ft) Gauss linear corrected; - laplacian(alphaEff,h) Gauss linear corrected; - laplacian(alphaEff,hu) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSolution b/applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index e09bd11c6f..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,50 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - rho ICCG 1e-05 0; - U BICCG 1e-05 0; - p ICCG 1e-06 0; - ft BICCG 1e-05 0; - fu BICCG 1e-05 0; - b BICCG 1e-05 0; - Xi BICCG 1e-05 0; - Su BICCG 1e-05 0; - h BICCG 1e-05 0; - hu BICCG 1e-05 0; - R BICCG 1e-05 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; - momentumPredictor yes; -} - - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes.cfg b/applications/solvers/combustion/XiFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 4ef8c370ae..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 6fd8928357..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phidp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiXiXi.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiXiSu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiStb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phift_b_h_hu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/SuGradb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/USuXiGradb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/muEffGradUT.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index feff7678a8..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 64fb8d034a..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DREffR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffFt.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffh.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffhu.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/XiFoam/FoamX/fvSolution.cfg b/applications/solvers/combustion/XiFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 71cb372e60..0000000000 --- a/applications/solvers/combustion/XiFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/ft.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/fu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/b.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Xi.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Su.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/hu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/Xoodles.cfg b/applications/solvers/combustion/Xoodles/FoamX/Xoodles.cfg deleted file mode 100644 index 19a7b18430..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/Xoodles.cfg +++ /dev/null @@ -1,112 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Compressible premixed/partially-premixed LES turbulent combustion code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/LESmodelsCompressible.cfg"; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesCombustion.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; - combustionProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/muSgs.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Tu.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/ft.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/b.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Xi.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Su.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; - turbulentInlet - { - description "Turbulent inlet"; - parentType inlet; - } -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - turbulentInlet turbulentInlet; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - muSgs - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/muSgs.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/muSgs.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - Tu - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - ft - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - fu - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - b - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - Xi - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - Su - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/combustionProperties.cfg b/applications/solvers/combustion/Xoodles/FoamX/combustionProperties.cfg deleted file mode 100644 index bbf982bd5c..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/combustionProperties.cfg +++ /dev/null @@ -1,11 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "../../XiFoam/FoamX/combustionProperties.cfg"; - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/defaults/constant/combustionProperties b/applications/solvers/combustion/Xoodles/FoamX/defaults/constant/combustionProperties deleted file mode 100644 index 7694f5f66b..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/defaults/constant/combustionProperties +++ /dev/null @@ -1,89 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object combustionProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -laminarFlameSpeedCorrelation const; - -fuel Propane; - -Su Su [0 1 -1 0 0 0 0] 0.135; - -SuModel transport; - -equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 0.6; - -sigmaExt sigmaExt [0 0 -1 0 0 0 0] 338; - -XiModel transport; - -XiCoef XiCoef [0 0 0 0 0 0 0] 0.62; - -XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1; - -uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1; - -GuldersCoeffs -{ - Methane - { - W W [0 0 0 0 0 0 0] 0.422; - eta eta [0 0 0 0 0 0 0] 0.15; - xi xi [0 0 0 0 0 0 0] 5.18; - alpha alpha [0 0 0 0 0 0 0] 2; - beta beta [0 0 0 0 0 0 0] -0.5; - f f [0 0 0 0 0 0 0] 2.3; - } - Propane - { - W W [0 0 0 0 0 0 0] 0.446; - eta eta [0 0 0 0 0 0 0] 0.12; - xi xi [0 0 0 0 0 0 0] 4.95; - alpha alpha [0 0 0 0 0 0 0] 1.77; - beta beta [0 0 0 0 0 0 0] -0.2; - f f [0 0 0 0 0 0 0] 2.3; - } - IsoOctane - { - W W [0 0 0 0 0 0 0] 0.4658; - eta eta [0 0 0 0 0 0 0] -0.326; - xi xi [0 0 0 0 0 0 0] 4.48; - alpha alpha [0 0 0 0 0 0 0] 1.56; - beta beta [0 0 0 0 0 0 0] -0.22; - f f [0 0 0 0 0 0 0] 2.3; - } -} - -ignite no; - -ignitionSites -( -); - -ignitionSphereFraction 1; - -ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0; -ignitionCircleFraction 1; - -ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0; - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSchemes b/applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSchemes deleted file mode 100644 index a30bf4c7af..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,92 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phid,p) Gauss linear; - div(phiU,p) Gauss linear; - div(phi,k) Gauss <>; - div(phi,B) Gauss <>; - div(B) Gauss linear; - div(phiXi,Xi) Gauss <>; - div(phiXi,Su) Gauss <>; - div(phiSt,b) Gauss <>; - div(phi,ft_b_h_hu) Gauss multivariateSelection - { - fu <>; - ft <>; - b <>; - h <>; - hu <>; - }; - div(U) Gauss linear; - div((Su*grad(b))) Gauss linear; - div((U+((Su*Xi)*grad(b)))) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DBEff,B) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(muEff,b) Gauss linear corrected; - laplacian(muEff,ft) Gauss linear corrected; - laplacian(alphaEff,h) Gauss linear corrected; - laplacian(alphaEff,hu) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSolution b/applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSolution deleted file mode 100644 index 108942f3ec..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,49 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - rho ICCG 1e-05 0; - U BICCG 1e-05 0; - p ICCG 1e-06 0; - ft BICCG 1e-05 0; - fu BICCG 1e-05 0; - b BICCG 1e-05 0; - Xi BICCG 1e-05 0; - Su BICCG 1e-05 0; - h BICCG 1e-05 0; - hu BICCG 1e-05 0; - R BICCG 1e-05 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/fvSchemes.cfg b/applications/solvers/combustion/Xoodles/FoamX/fvSchemes.cfg deleted file mode 100644 index fb1df786b8..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "../../XiFoam/FoamX/fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/combustion/Xoodles/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 16f0288443..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phidp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiBT.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiXiXi.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiXiSu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiStb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phift_b_h_hu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/SuGradb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/USuXiGradb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/muEffGradUT.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/combustion/Xoodles/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index a0515ba9e7..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DBEffB.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffFt.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffh.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffhu.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/Xoodles/FoamX/fvSolution.cfg b/applications/solvers/combustion/Xoodles/FoamX/fvSolution.cfg deleted file mode 100644 index 71cb372e60..0000000000 --- a/applications/solvers/combustion/Xoodles/FoamX/fvSolution.cfg +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/ft.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/fu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/b.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Xi.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Su.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/hu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/combustionProperties.cfg b/applications/solvers/combustion/engineFoam/FoamX/combustionProperties.cfg deleted file mode 100644 index bbf982bd5c..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/combustionProperties.cfg +++ /dev/null @@ -1,11 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "../../XiFoam/FoamX/combustionProperties.cfg"; - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/defaults/constant/combustionProperties b/applications/solvers/combustion/engineFoam/FoamX/defaults/constant/combustionProperties deleted file mode 100644 index 7793d63119..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/defaults/constant/combustionProperties +++ /dev/null @@ -1,95 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object combustionProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -laminarFlameSpeedCorrelation Gulders; - -fuel IsoOctane; - -Su Su [0 1 -1 0 0 0 0] 0; - -SuModel unstrained; - -sigmaExt sigmaExt [0 0 -1 0 0 0 0] 100000; - -XiModel transport; - -XiCoef XiCoef [0 0 0 0 0 0 0] 0.62; - -XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1; - -uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1; - -GuldersCoeffs -{ - Methane - { - W W [0 0 0 0 0 0 0] 0.422; - eta eta [0 0 0 0 0 0 0] 0.15; - xi xi [0 0 0 0 0 0 0] 5.18; - alpha alpha [0 0 0 0 0 0 0] 2; - beta beta [0 0 0 0 0 0 0] -0.5; - f f [0 0 0 0 0 0 0] 2.3; - } - Propane - { - W W [0 0 0 0 0 0 0] 0.446; - eta eta [0 0 0 0 0 0 0] 0.12; - xi xi [0 0 0 0 0 0 0] 4.95; - alpha alpha [0 0 0 0 0 0 0] 1.77; - beta beta [0 0 0 0 0 0 0] -0.2; - f f [0 0 0 0 0 0 0] 2.3; - } - IsoOctane - { - W W [0 0 0 0 0 0 0] 0.4658; - eta eta [0 0 0 0 0 0 0] -0.326; - xi xi [0 0 0 0 0 0 0] 4.48; - alpha alpha [0 0 0 0 0 0 0] 1.56; - beta beta [0 0 0 0 0 0 0] -0.22; - f f [0 0 0 0 0 0 0] 2.3; - } -} - -ignite yes; - -ignitionSites -( - - { - location (0.03 0 0.091); - diameter 0.002; - start -15; - duration 20; - strength 4; - } -); - -ignitionSphereFraction 1; - -ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0; -ignitionCircleFraction 1; - -ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0; - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/defaults/constant/engineGeometry b/applications/solvers/combustion/engineFoam/FoamX/defaults/constant/engineGeometry deleted file mode 100644 index 01f66c20dc..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/defaults/constant/engineGeometry +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object engineGeometry; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -engineMesh layered; - -conRodLength conRodLength [0 1 0 0 0 0 0] 0.147; - -bore bore [0 1 0 0 0 0 0] 0.092; - -stroke stroke [0 1 0 0 0 0 0] 0.08423; - -clearance clearance [0 1 0 0 0 0 0] 0.00115; - -rpm rpm [0 0 -1 0 0 0 0] 1500; - -layeredMesh yes; - - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 3302ffea22..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,94 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phid,p) Gauss <>; - div(phiU,p) Gauss linear; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(phiXi,Xi) Gauss <>; - div(phiXi,Su) Gauss <>; - div(phiSt,b) Gauss <>; - div(phi,ft_b_h_hu) Gauss multivariateSelection - { - fu <>; - ft <>; - b <>; - h <>; - hu <>; - }; - div(R) Gauss linear; - div(U) Gauss linear; - div((Su*grad(b))) Gauss linear; - div((U+((Su*Xi)*grad(b)))) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear limited 0.5; - laplacian(DepsilonEff,epsilon) Gauss linear limited 0.5; - laplacian(DREff,R) Gauss linear limited 0.5; - laplacian((rho*(1|A(U))),p) Gauss linear limited 0.5; - laplacian(muEff,b) Gauss linear limited 0.5; - laplacian(muEff,ft) Gauss linear limited 0.5; - laplacian(alphaEff,h) Gauss linear limited 0.5; - laplacian(alphaEff,hu) Gauss linear limited 0.5; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default limited 0.5; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSolution b/applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 04c543d539..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,50 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - rho ICCG 1e-05 0; - U BICCG 1e-05 0; - p ICCG 1e-06 0; - ft BICCG 1e-05 0; - fu BICCG 1e-05 0; - b BICCG 1e-05 0; - Xi BICCG 1e-05 0; - Su BICCG 1e-05 0; - h BICCG 1e-05 0; - hu BICCG 1e-05 0; - R BICCG 1e-05 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 1; - momentumPredictor yes; -} - - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/engineFoam.cfg b/applications/solvers/combustion/engineFoam/FoamX/engineFoam.cfg deleted file mode 100644 index d1fb2c3db4..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/engineFoam.cfg +++ /dev/null @@ -1,116 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Combusting RANS code using the b-Xi two-equation model"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictAdjustTimeStep.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg"; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesCombustion.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; - combustionProperties; - engineGeometry; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Tu.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/ft.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/fu.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/b.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Xi.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Su.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/meshMotion/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/meshMotion/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/meshMotion/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/meshMotion/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/meshMotion/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/meshMotion/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - Tu - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - ft - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - fu - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - b - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - Xi - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } - - Su - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/Y.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/engineGeometry.cfg b/applications/solvers/combustion/engineFoam/FoamX/engineGeometry.cfg deleted file mode 100644 index 97d7f1f3cf..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/engineGeometry.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Engine geometry"; -dictionaryPath "constant"; - -entries -{ - include "$FOAMX_CONFIG/entries/engineMesh/engineMesh.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/conRodLength.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/bore.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/stroke.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/clearance.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/rpm.cfg"; -} - -default -{ - include "defaults/constant/engineGeometry"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/fvSchemes.cfg b/applications/solvers/combustion/engineFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index a748dc86d2..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "../../XiFoam/FoamX/fvSchemes/gradSchemes.cfg"; - include "../../XiFoam/FoamX/fvSchemes/divSchemes.cfg"; - include "../../XiFoam/FoamX/fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/combustion/engineFoam/FoamX/fvSolution.cfg b/applications/solvers/combustion/engineFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 71cb372e60..0000000000 --- a/applications/solvers/combustion/engineFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/ft.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/fu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/b.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Xi.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Su.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/hu.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/coodles.cfg b/applications/solvers/compressible/coodles/FoamX/coodles.cfg deleted file mode 100644 index 392023d12c..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/coodles.cfg +++ /dev/null @@ -1,91 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Compressible large eddy simulation (LES) code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/LESmodelsCompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/muSgs.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Bkinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/muTilda.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; - turbulentInlet - { - description "Turbulent inlet"; - parentType inlet; - } -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/U.cfg"; - turbulentInlet turbulentInlet; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - muSgs - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/muSgs.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/muSgs.cfg"; - } - - B - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/B.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/B.cfg"; - } - - muTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/muTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/muTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/defaults/system/fvSchemes b/applications/solvers/compressible/coodles/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 148d016d6f..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,80 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default backward; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,h) Gauss <>; - div(phiU,p) Gauss linear; - div(phi,k) Gauss <>; - div(phi,B) Gauss <>; - div(phi,muTilda) Gauss <>; - - div(B) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(alphaEff,h) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DBEff,B) Gauss linear corrected; - laplacian(DmuTildaEff,muTilda) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/defaults/system/fvSolution b/applications/solvers/compressible/coodles/FoamX/defaults/system/fvSolution deleted file mode 100644 index ce6871c298..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - rho ICCG 1e-6 0; - h BICCG 1e-6 0; - p ICCG 1e-06 0; - U BICCG 1e-05 0; - k BICCG 1e-05 0; - B BICCG 1e-05 0; - nuTilda BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/fvSchemes.cfg b/applications/solvers/compressible/coodles/FoamX/fvSchemes.cfg deleted file mode 100644 index adef3c4e34..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/compressible/coodles/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 253474cb72..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phih.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiBT.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiMuTilda.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/muEffGradUT.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/compressible/coodles/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index 191b772a68..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/U.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/fvSchemes/interpolationSchemes.cfg b/applications/solvers/compressible/coodles/FoamX/fvSchemes/interpolationSchemes.cfg deleted file mode 100644 index 218a143880..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/fvSchemes/interpolationSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/HbyA.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/compressible/coodles/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 70e2435273..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffh.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DBEffB.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DmuTildaEffMuTilda.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/coodles/FoamX/fvSolution.cfg b/applications/solvers/compressible/coodles/FoamX/fvSolution.cfg deleted file mode 100644 index 6087501bd9..0000000000 --- a/applications/solvers/compressible/coodles/FoamX/fvSolution.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/B.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 80f30526c5..0000000000 --- a/applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,68 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phiv,rho) Gauss <>; - div(phiv,rhoU) Gauss <>; - div(phiv2,p) Gauss <>; - div(phiv,rhoE) Gauss <>; -} - -laplacianSchemes -{ - default none; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSolution b/applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 6816bc22cb..0000000000 --- a/applications/solvers/compressible/rhoSonicFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p BICCG 1e-15 0; - rho BICCG 1e-15 0; - rhoU BICCG 1e-15 0; - rhoE BICCG 1e-15 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes.cfg b/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index d394c4cf3a..0000000000 --- a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "../../sonicFoam/FoamX/fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 52ab2f701f..0000000000 --- a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phivRho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phivRhoU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiv2p.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phivRhoE.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 7e80b5c94a..0000000000 --- a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSolution.cfg b/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSolution.cfg deleted file mode 100644 index e16851c7e0..0000000000 --- a/applications/solvers/compressible/rhoSonicFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pAsymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rhoCD.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rhoU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rhoE.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoSonicFoam/FoamX/rhoSonicFoam.cfg b/applications/solvers/compressible/rhoSonicFoam/FoamX/rhoSonicFoam.cfg deleted file mode 100644 index 1707699c1d..0000000000 --- a/applications/solvers/compressible/rhoSonicFoam/FoamX/rhoSonicFoam.cfg +++ /dev/null @@ -1,54 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Compressible trans-sonic/supersonic laminar gas flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/thermodynamicProperties/thermodynamicPropertiesConst.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 3187f7dde3..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,95 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -// Time derivative discretisation schemes -ddtSchemes -{ - // Default scheme - default Euler; -} - -// Gradient discretisation schemes -gradSchemes -{ - // Default gradient scheme - default Gauss linear; - grad(p) Gauss linear; -} - -// Convection discretisation schemes -divSchemes -{ - // Default scheme - default none; - div(phi,U) Gauss <>; - div(phid,p) Gauss <>; - div(phiU,p) Gauss linear; - div(phi,h) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div((rho*R)) Gauss linear; - div(R) Gauss linear; - div(U) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -// Laplacian discretisation schemes -laplacianSchemes -{ - // Default scheme - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian(mut,U) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(alphaEff,h) Gauss linear corrected; -} - -// Interpolation schemes -interpolationSchemes -{ - // Default scheme - default linear; -} - -// Surface normal gradient schemes -snGradSchemes -{ - // Default scheme - default corrected; -} - -// Calculation of flux -fluxRequired -{ - // Create storage for flux for all solved variables? - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSolution b/applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 776cc0f598..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,54 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - // Solver for the rho equation - rho ICCG 1e-05 0; - // Solver for the U equation - U BICCG 1e-05 0; - // Solver for the p equation - p ICCG 1e-06 0; - // Solver for the h equation - h BICCG 1e-05 0; - // Solver for the R equation - R BICCG 1e-05 0; - // Solver for the k equation - k BICCG 1e-05 0; - // Solver for the epsilon equation - epsilon BICCG 1e-05 0; -} - -PISO -{ - // Number of PISO correctors - nCorrectors 2; - // Number of non-orthogonal correctors - nNonOrthogonalCorrectors 0; - // momentumPredictor? - momentumPredictor yes; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes.cfg b/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 4ef8c370ae..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index f44d49977f..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phidp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phih.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/rhoR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/muEffGradUT.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index feff7678a8..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 7504ee32c5..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/mutU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DREffR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffh.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSolution.cfg b/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSolution.cfg deleted file mode 100644 index c75ef263d3..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/rhoTurbFoam/FoamX/rhoTurbFoam.cfg b/applications/solvers/compressible/rhoTurbFoam/FoamX/rhoTurbFoam.cfg deleted file mode 100644 index 287c506191..0000000000 --- a/applications/solvers/compressible/rhoTurbFoam/FoamX/rhoTurbFoam.cfg +++ /dev/null @@ -1,75 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Transient solver for compressible turbulent flow"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictAdjustTimeStep.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Rkinematic.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - R - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/R.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/R.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 5c400ed7e8..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,70 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phid,p) Gauss <>; - div(phi,e) Gauss <>; -} - -laplacianSchemes -{ - default none; - laplacian(mu,U) Gauss linear corrected; - laplacian(mu,e) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSolution b/applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 45a64af35c..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p BICCG 1e-15 0; - U BICCG 1e-15 0; - rho ICCG 1e-15 0; - e BICCG 1e-15 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes.cfg b/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 4ef8c370ae..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index b6727479c2..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phidp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phie.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index 191b772a68..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/U.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 801ea9c5b3..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/mue.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/fvSolution.cfg b/applications/solvers/compressible/sonicFoam/FoamX/fvSolution.cfg deleted file mode 100644 index f2be1c0032..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pAsymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/e.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/sonicFoam.cfg b/applications/solvers/compressible/sonicFoam/FoamX/sonicFoam.cfg deleted file mode 100644 index fa085c9836..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/sonicFoam.cfg +++ /dev/null @@ -1,55 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Compressible trans-sonic/supersonic laminar gas flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - transportProperties; - include "$FOAMX_CONFIG/dictionaries/thermodynamicProperties/thermodynamicPropertiesConst.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicFoam/FoamX/transportProperties.cfg b/applications/solvers/compressible/sonicFoam/FoamX/transportProperties.cfg deleted file mode 100644 index 24c3fc8915..0000000000 --- a/applications/solvers/compressible/sonicFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/mu.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index a5337e9e96..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,67 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phid,p) Gauss <>; -} - -laplacianSchemes -{ - default none; - laplacian(mu,U) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSolution b/applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index b36d8a0cee..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,39 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p BICCG 1e-06 0; - U BICCG 1e-05 0; - rho ICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 4ef8c370ae..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index ecf17c8164..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phidp.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index 446cb1e5e0..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index f6ea98e29f..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSolution.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSolution.cfg deleted file mode 100644 index ab18dde078..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pAsymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/sonicLiquidFoam.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/sonicLiquidFoam.cfg deleted file mode 100644 index 19fcb49842..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/sonicLiquidFoam.cfg +++ /dev/null @@ -1,54 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Laminar compressible liquid flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - transportProperties; - thermodynamicProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/thermodynamicProperties.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/thermodynamicProperties.cfg deleted file mode 100644 index 06aacd51ee..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/thermodynamicProperties.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/thermodynamicProperties/thermodynamicProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/rho0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/p0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/psi.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicLiquidFoam/FoamX/transportProperties.cfg b/applications/solvers/compressible/sonicLiquidFoam/FoamX/transportProperties.cfg deleted file mode 100644 index 24c3fc8915..0000000000 --- a/applications/solvers/compressible/sonicLiquidFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/mu.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 6ef5701686..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,77 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(phid,p) Gauss <>; - div(phiU,p) Gauss <>; - div(phi,h) Gauss <>; - div(R) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(alphaEff,h) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSolution b/applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 478ce48d7d..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p BICCG 1e-08 0; - rho ICCG 1e-05 0; - U BICCG 1e-05 0; - h BICCG 1e-05 0; - k BICCG 1e-08 0; - epsilon BICCG 1e-08 0; - R BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 2; -} - - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes.cfg b/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 3c334a8bc3..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 219c9f6613..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phidp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phih.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/muEffGradUT.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 359e0f79fd..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DREffR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffh.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSolution.cfg b/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSolution.cfg deleted file mode 100644 index a37c9e02f6..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pAsymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/sonicTurbFoam.cfg b/applications/solvers/compressible/sonicTurbFoam/FoamX/sonicTurbFoam.cfg deleted file mode 100644 index b3afd87eb2..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/sonicTurbFoam.cfg +++ /dev/null @@ -1,78 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Compressible trans-sonic/supersonic turbulent gas flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Rkinematic.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/sonic/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - R - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/R.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/R.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/compressible/sonicTurbFoam/FoamX/thermophysicalProperties.cfg b/applications/solvers/compressible/sonicTurbFoam/FoamX/thermophysicalProperties.cfg deleted file mode 100644 index a10febdf62..0000000000 --- a/applications/solvers/compressible/sonicTurbFoam/FoamX/thermophysicalProperties.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermoType.cfg"; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/standardMixtureCoefficients.cfg"; -} - -include "defaults/thermophysicalProperties.def"; - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 750bcb36fc..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,64 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default leastSquares; -} - -divSchemes -{ - default none; - div(rhoFlux,rho) Gauss <>; -} - -laplacianSchemes -{ - default none; - laplacian(phi) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - phi; -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSolution b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 67ca7d08ea..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - phi ICCG 1e-08 0.2; - rho BICCG 1e-08 0.2; -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/electrostaticFoam.cfg b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/electrostaticFoam.cfg deleted file mode 100644 index db46a97b21..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/electrostaticFoam.cfg +++ /dev/null @@ -1,52 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Electrostatics code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - physicalProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/rhoCD.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/phiEP.cfg"; -} - -patchPhysicalTypes -{ - insulator - { - description "Insulator boundary condition"; - } - - fixedCharge - { - description "Fixed charge boundary condition"; - } -} - -patchFieldsPhysicalTypes -{ - phi - { - insulator fixedValue; - fixedCharge fixedValue; - } - rho - { - insulator zeroGradient; - fixedCharge fixedValue; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes.cfg b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 87ff438d0d..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/phi.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 23005bea61..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - - div(rhoFlux,rho) - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divRhoRho.gif"; - } - } -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index cefd38314d..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/phi.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSolution.cfg b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 3d950e35a6..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/phiEP.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rhoCD.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/physicalProperties.cfg b/applications/solvers/electromagnetics/electrostaticFoam/FoamX/physicalProperties.cfg deleted file mode 100644 index f8c4d7702f..0000000000 --- a/applications/solvers/electromagnetics/electrostaticFoam/FoamX/physicalProperties.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/physicalProperties/physicalProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/electromagnetics/epsilon0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/electromagnetics/k.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 1bcbf51e9e..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,75 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad((DBU*magSqr(B))) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phiB,U) Gauss <>; - div(phi,B) Gauss <>; - div(phiB,((2*DBU)*B)) Gauss <>; -} - -laplacianSchemes -{ - default none; - laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; - laplacian(DB,B) Gauss linear corrected; - laplacian((1|A(B)),pB) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; - interpolate(B) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; - pB; -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSolution b/applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index ff0d37a34f..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,45 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-06 0; - U BICCG 1e-05 0; - B BICCG 1e-05 0; - pB ICCG 1e-05 0; -} - -PISO -{ - nCorrectors 3; - nNonOrthogonalCorrectors 0; -} - -BPISO -{ - nCorrectors 3; -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index e4cc46106a..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/pPB.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 449ee98313..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiBU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiB.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiB2DBUB.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index 94386ed68a..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/DBUmagsqrB.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/interpolationSchemes.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/interpolationSchemes.cfg deleted file mode 100644 index f3587d0051..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/interpolationSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/HbyA.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/B.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 754fc9fb61..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/1AUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DBB.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/1ABpB.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSolution.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 01a0a2ff95..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pB.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; - - BPISO - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/label/nCorrectors.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/mhdFoam.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/mhdFoam.cfg deleted file mode 100644 index 78649a6265..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/mhdFoam.cfg +++ /dev/null @@ -1,55 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible laminar magneto-hydrodynamics code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - transportProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/electromagnetics/B.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/electromagnetics/pB.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - B - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/electromagnetics/B.cfg"; - } - - pB - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/electromagnetics/pB.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/electromagnetics/mhdFoam/FoamX/transportProperties.cfg b/applications/solvers/electromagnetics/mhdFoam/FoamX/transportProperties.cfg deleted file mode 100644 index 4e02f55295..0000000000 --- a/applications/solvers/electromagnetics/mhdFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/rho.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/nu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/electromagnetics/mu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/electromagnetics/sigma.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantFoam/FoamX/buoyantFoam.cfg b/applications/solvers/heatTransfer/buoyantFoam/FoamX/buoyantFoam.cfg deleted file mode 100644 index 6e12f51996..0000000000 --- a/applications/solvers/heatTransfer/buoyantFoam/FoamX/buoyantFoam.cfg +++ /dev/null @@ -1,77 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Solver for transient, buoyant, turbulent flow of compressible fluids for ventilation and heat-transfer"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Rkinematic.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - wall fixedFluxBuoyantPressure; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - R - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/R.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/R.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 3dd417ae43..0000000000 --- a/applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,75 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,h) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(R) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian((rho*(1|A(U))),pd) Gauss linear corrected; - laplacian(alphaEff,h) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - pd; -} - - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSolution b/applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index ffaf80589c..0000000000 --- a/applications/solvers/heatTransfer/buoyantFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - rho ICCG 0 0; - pd ICCG 1e-06 0; - U BICCG 1e-05 0; - h BICCG 1e-05 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; - R BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes.cfg b/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index add633e5c8..0000000000 --- a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/pd.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 86097735a6..0000000000 --- a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phih.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/muEffGradUT.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 745e466004..0000000000 --- a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUpd.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/alphaEffh.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DREffR.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSolution.cfg b/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSolution.cfg deleted file mode 100644 index b7c303b29a..0000000000 --- a/applications/solvers/heatTransfer/buoyantFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pd.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/buoyantSimpleFoam.cfg b/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/buoyantSimpleFoam.cfg deleted file mode 100644 index 837bf8793c..0000000000 --- a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/buoyantSimpleFoam.cfg +++ /dev/null @@ -1,77 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Solver for steady, buoyant, turbulent flow of compressible fluids for ventilation and heat-transfer"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictSteady.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Rkinematic.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - wall fixedFluxBuoyantPressure; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - T - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/thermal/T.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - R - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/R.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/R.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 8b8dd1078a..0000000000 --- a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,75 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default steadyState; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,h) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(R) Gauss linear; - div((muEff*dev2(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian((rho*(1|A(U))),pd) Gauss linear corrected; - laplacian(alphaEff,h) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - pd; -} - - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSolution b/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index d4f55fd54f..0000000000 --- a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,54 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - pd ICCG 1e-08 0; - U BICCG 1e-05 0; - h BICCG 1e-05 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; - R BICCG 1e-05 0; -} - -SIMPLE -{ - nNonOrthogonalCorrectors 0; - pdRefCell 0; - pdRefValue 0; -} - -relaxationFactors -{ - rho 1.0; - pd 0.3; - U 0.5; - h 0.5; - k 0.5; - epsilon 0.5; - R 0.5; -} - - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSchemes.cfg b/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 1bc8323f8a..0000000000 --- a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/steady.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "../../buoyantFoam/FoamX/fvSchemes/divSchemes.cfg"; - include "../../buoyantFoam/FoamX/fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/pd.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSolution.cfg b/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 3b944716a6..0000000000 --- a/applications/solvers/heatTransfer/buoyantSimpleFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,58 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pd.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/h.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - } - } - - SIMPLE - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/ref/pdRef.cfg"; - } - } - - relaxationFactors - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/scalar01/rho.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/pd.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/U.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/h.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/k.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/R.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/channelOodles/FoamX/channelOodles.cfg b/applications/solvers/incompressible/channelOodles/FoamX/channelOodles.cfg deleted file mode 100644 index 0f0e8a64c2..0000000000 --- a/applications/solvers/incompressible/channelOodles/FoamX/channelOodles.cfg +++ /dev/null @@ -1,73 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible large eddy simulation (LES) code for channel flow"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - transportProperties; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/LESmodelsIncompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuSgs.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Bkinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuTilda.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - nuSgs - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuSgs.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg"; - } - - B - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/B.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/B.cfg"; - } - - nuTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSchemes b/applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 5e7d87dd92..0000000000 --- a/applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,76 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default backward; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,k) Gauss <>; - div(phi,B) Gauss <>; - div(B) Gauss linear; - div(phi,nuTilda) Gauss <>; - div((nuEff*dev(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DBEff,B) Gauss linear corrected; - laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(U) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSolution b/applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSolution deleted file mode 100644 index 451878b290..0000000000 --- a/applications/solvers/incompressible/channelOodles/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,44 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-06 0; - pFinal ICCG 1e-06 0; - U BICCG 1e-05 0; - k BICCG 1e-05 0; - B BICCG 1e-05 0; - nuTilda BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; - pRefCell 1001; - pRefValue 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/channelOodles/FoamX/fvSchemes.cfg b/applications/solvers/incompressible/channelOodles/FoamX/fvSchemes.cfg deleted file mode 100644 index 650b94943d..0000000000 --- a/applications/solvers/incompressible/channelOodles/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "../../../incompressible/turbFoam/FoamX/fvSchemes/gradSchemes.cfg"; - include "../../oodles/FoamX/fvSchemes/divSchemes.cfg"; - include "../../oodles/FoamX/fvSchemes/laplacianSchemes.cfg"; - include "../../../incompressible/turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/channelOodles/FoamX/fvSolution.cfg b/applications/solvers/incompressible/channelOodles/FoamX/fvSolution.cfg deleted file mode 100644 index 1004ec6f8f..0000000000 --- a/applications/solvers/incompressible/channelOodles/FoamX/fvSolution.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pFinal.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/nuTilda.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/channelOodles/FoamX/transportProperties.cfg b/applications/solvers/incompressible/channelOodles/FoamX/transportProperties.cfg deleted file mode 100644 index 0d9e8b91e0..0000000000 --- a/applications/solvers/incompressible/channelOodles/FoamX/transportProperties.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedVector/Ubar.cfg"; - include "$FOAMX_CONFIG/dictionaries/transportProperties/incompressibleTransportModel.cfg"; - include "$FOAMX_CONFIG/dictionaries/transportProperties/NewtonianViscosity.cfg"; - include "$FOAMX_CONFIG/dictionaries/transportProperties/CrossPowerLawCoeffs.cfg"; - include "$FOAMX_CONFIG/dictionaries/transportProperties/BirdCarreauCoeffs.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 408a65b671..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,67 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; -} - -laplacianSchemes -{ - default none; - laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSolution b/applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 290da5ea43..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p PCG - { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PCG - { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes.cfg b/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index bb8da02b54..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 70246c785f..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index feff7678a8..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/interpolationSchemes.cfg b/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/interpolationSchemes.cfg deleted file mode 100644 index 218a143880..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/interpolationSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/HbyA.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 6cc1f425ac..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/1AUp.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/fvSolution.cfg b/applications/solvers/incompressible/icoFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 31785b609b..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/icoFoam/FoamX/icoFoam.cfg b/applications/solvers/incompressible/icoFoam/FoamX/icoFoam.cfg deleted file mode 100644 index ded9a15725..0000000000 --- a/applications/solvers/incompressible/icoFoam/FoamX/icoFoam.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible unsteady laminar flow code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/NewtonianSinglePhaseTransportProperties.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSchemes b/applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 2640c70ed2..0000000000 --- a/applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,77 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default backward; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,k) Gauss <>; - div(phi,B) Gauss <>; - div(phi,nuTilda) Gauss <>; - - div(B) Gauss linear; - div((nuEff*dev(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DBEff,B) Gauss linear corrected; - laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(U) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSolution b/applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSolution deleted file mode 100644 index 324cf4b66e..0000000000 --- a/applications/solvers/incompressible/oodles/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-06 0; - pFinal ICCG 1e-06 0; - U BICCG 1e-05 0; - k BICCG 1e-05 0; - B BICCG 1e-05 0; - nuTilda BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/oodles/FoamX/fvSchemes.cfg b/applications/solvers/incompressible/oodles/FoamX/fvSchemes.cfg deleted file mode 100644 index 2fde7b71b7..0000000000 --- a/applications/solvers/incompressible/oodles/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "../../../incompressible/turbFoam/FoamX/fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "../../../incompressible/turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/oodles/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/incompressible/oodles/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 3a0a146977..0000000000 --- a/applications/solvers/incompressible/oodles/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiBT.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiNuTilda.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/nuEffGradUT.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/oodles/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/incompressible/oodles/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index af133fa943..0000000000 --- a/applications/solvers/incompressible/oodles/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/1AUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DBEffB.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DnuTildaEffNuTilda.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/oodles/FoamX/fvSolution.cfg b/applications/solvers/incompressible/oodles/FoamX/fvSolution.cfg deleted file mode 100644 index 1004ec6f8f..0000000000 --- a/applications/solvers/incompressible/oodles/FoamX/fvSolution.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pFinal.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/nuTilda.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/oodles/FoamX/oodles.cfg b/applications/solvers/incompressible/oodles/FoamX/oodles.cfg deleted file mode 100644 index df69a317d4..0000000000 --- a/applications/solvers/incompressible/oodles/FoamX/oodles.cfg +++ /dev/null @@ -1,79 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible large eddy simulation (LES) code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/singlePhaseTransportProperties.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/LESmodelsIncompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuSgs.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Bkinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuTilda.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - turbulentInlet - { - description "Turbulent inlet"; - parentType inlet; - } -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - turbulentInlet turbulentInlet; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - nuSgs - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuSgs.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg"; - } - - B - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/B.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/B.cfg"; - } - - nuTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 071e9c6e34..0000000000 --- a/applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,79 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default steadyState; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(phi,nuTilda) Gauss <>; - - div(R) Gauss linear; - div((nuEff*dev(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; - laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(U) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSolution b/applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 86126ac846..0000000000 --- a/applications/solvers/incompressible/simpleFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,51 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-06 0.01; - U BICCG 1e-05 0.1; - k BICCG 1e-05 0.1; - epsilon BICCG 1e-05 0.1; - R BICCG 1e-05 0.1; - nuTilda BICCG 1e-05 0.1; -} - -SIMPLE -{ - nNonOrthogonalCorrectors 0; -} - -relaxationFactors -{ - p 0.3; - U 0.7; - k 0.7; - epsilon 0.7; - R 0.7; - nuTilda 0.7; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/simpleFoam/FoamX/fvSchemes.cfg b/applications/solvers/incompressible/simpleFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 4d6eca680d..0000000000 --- a/applications/solvers/incompressible/simpleFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,45 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 1.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes.cfg; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/steady.cfg"; - - include "../../turbFoam/FoamX/fvSchemes/gradSchemes.cfg"; - include "../../turbFoam/FoamX/fvSchemes/divSchemes.cfg"; - include "../../turbFoam/FoamX/fvSchemes/laplacianSchemes.cfg"; - include "../../turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/simpleFoam/FoamX/fvSolution.cfg b/applications/solvers/incompressible/simpleFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 9084535b39..0000000000 --- a/applications/solvers/incompressible/simpleFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,49 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/nuTilda.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/SIMPLE.cfg"; - - relaxationFactors - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/scalar01/p.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/U.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/k.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/R.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/nuTilda.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/simpleFoam/FoamX/simpleFoam.cfg b/applications/solvers/incompressible/simpleFoam/FoamX/simpleFoam.cfg deleted file mode 100644 index abe087fa73..0000000000 --- a/applications/solvers/incompressible/simpleFoam/FoamX/simpleFoam.cfg +++ /dev/null @@ -1,73 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible steady turbulent flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictSteady.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/singlePhaseTransportProperties.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsIncompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Rkinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuTilda.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - R - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/R.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/R.cfg"; - } - - nuTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index a43602ff79..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,78 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; - grad(U) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(phi,nuTilda) Gauss <>; - div(R) Gauss linear; - div((nuEff*dev(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; - laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(U) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSolution b/applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 3f61d3d934..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-06 0; - U BICCG 1e-05 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; - R BICCG 1e-05 0; - nuTilda BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes.cfg b/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index bb8da02b54..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index c335c4d96e..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiNuTilda.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/nuEffGradUT.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index 191b772a68..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/p.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/U.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg b/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg deleted file mode 100644 index 5def0dab55..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/interpolationSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/U.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 8385598f7b..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/1AUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DREffR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DnuTildaEffNuTilda.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/fvSolution.cfg b/applications/solvers/incompressible/turbFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 1d5289fb2b..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/nuTilda.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/incompressible/turbFoam/FoamX/turbFoam.cfg b/applications/solvers/incompressible/turbFoam/FoamX/turbFoam.cfg deleted file mode 100644 index 91f7ce748c..0000000000 --- a/applications/solvers/incompressible/turbFoam/FoamX/turbFoam.cfg +++ /dev/null @@ -1,73 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible transient turbulent flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/singlePhaseTransportProperties.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsIncompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/pKinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Rkinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuTilda.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - R - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/R.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/R.cfg"; - } - - nuTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/bubbleFoam.cfg b/applications/solvers/multiphase/bubbleFoam/FoamX/bubbleFoam.cfg deleted file mode 100644 index ee0468f0a2..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/bubbleFoam.cfg +++ /dev/null @@ -1,72 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible turbulent Eulerian two phase flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - transportProperties; - turbulenceProperties; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Ua.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Ub.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/alpha.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - alpha - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/alpha.cfg"; - } - - Ua - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - Ub - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/transportProperties b/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/transportProperties deleted file mode 100644 index f5d8736ce0..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/transportProperties +++ /dev/null @@ -1,44 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object transportProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -rhoa rhoa [1 -3 0 0 0 0 0] 1; - -rhob rhob [1 -3 0 0 0 0 0] 1000; - -nua nua [0 2 -1 0 0 0 0] 1.6e-05; - -nub nub [0 2 -1 0 0 0 0] 1e-06; - -da da [0 1 0 0 0 0 0] 0.003; - -db db [0 1 0 0 0 0 0] 0.0001; - -Cvm Cvm [0 0 0 0 0 0 0] 0.5; - -Cl Cl [0 0 0 0 0 0 0] 0; - -Ct Ct [0 0 0 0 0 0 0] 1; - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/turbulenceProperties b/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/turbulenceProperties deleted file mode 100644 index 0956e1957f..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/constant/turbulenceProperties +++ /dev/null @@ -1,49 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object turbulenceProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -turbulenceModel laminar; - -turbulence off; - -laminarCoeffs -{ -} - -kEpsilonCoeffs -{ - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphak alphak [0 0 0 0 0 0 0] 1; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; -} - -wallFunctionCoeffs -{ - kappa kappa [0 0 0 0 0 0 0] 0.4187; - E E [0 0 0 0 0 0 0] 9; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index c2d2b6c3fd..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,72 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phia,Ua) Gauss <>; - div(phib,Ub) Gauss <>; - div(phib,k) Gauss <>; - div(phib,epsilon) Gauss <>; - div(phi,alpha) Gauss <>; - div((-nuEffa*grad(Ua).T())) Gauss linear; - div((-nuEffb*grad(Ub).T())) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(nuEffa,Ua) Gauss linear corrected; - laplacian(nuEffb,Ub) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSolution b/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index e59bb7c8de..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,47 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-10 0; - Ua BICCG 1e-05 0; - Ub BICCG 1e-05 0; - alpha BICCG 1e-10 0; - beta BICCG 1e-10 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; - nAlphaCorr 2; - correctAlpha no; - pRefCell 0; - pRefValue 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes.cfg b/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 3c334a8bc3..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 865fd600e6..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiaUa.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phibUb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phibk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phibEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiAlpha.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/nuEffaGradUaT.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/nuEffbGradUbT.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 31db10c709..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuEffaUa.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuEffbUb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSolution.cfg b/applications/solvers/multiphase/bubbleFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 1aa4d1e114..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,47 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Ua.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Ub.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/alpha.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/beta.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - } - } - - PISO - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/label/nCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nAlphaCorr.cfg"; - include "$FOAMX_CONFIG/entries/Switch/correctAlpha.cfg"; - include "$FOAMX_CONFIG/entries/ref/pRef.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/transportProperties.cfg b/applications/solvers/multiphase/bubbleFoam/FoamX/transportProperties.cfg deleted file mode 100644 index fd08411380..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/rhoa.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/rhob.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/nua.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/nub.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/da.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/db.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cvm.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cl.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ct.cfg"; -} - -default -{ - include "defaults/constant/transportProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/bubbleFoam/FoamX/turbulenceProperties.cfg b/applications/solvers/multiphase/bubbleFoam/FoamX/turbulenceProperties.cfg deleted file mode 100644 index 8510b9bafb..0000000000 --- a/applications/solvers/multiphase/bubbleFoam/FoamX/turbulenceProperties.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Turbulence properties"; -dictionaryPath "constant"; -entries -{ - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/turbulenceModel.cfg"; - include "$FOAMX_CONFIG/entries/Switch/turbulence.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/laminarCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithAlphak.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg"; -} - -options -{ - turbulenceModel - { - editable 0; - } -} - -default -{ - include "defaults/constant/turbulenceProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 9bd999a781..0000000000 --- a/applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,67 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - div(rho*phi,U) Gauss limitedLinearV 1; - div(phi,gamma) Gauss vanLeer; - div(phirb,gamma) Gauss interfaceCompression; -} - -laplacianSchemes -{ - default Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - pd; - pcorr; - gamma; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSolution b/applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index b9fdd275e5..0000000000 --- a/applications/solvers/multiphase/interFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,64 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - pcorr PCG - { - preconditioner DIC; - tolerance 1e-10; - relTol 0; - }; - pd PCG - { - preconditioner DIC; - tolerance 1e-7; - relTol 0.05; - }; - pdFinal PCG - { - preconditioner DIC; - tolerance 1e-7; - relTol 0; - }; - U PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; -} - -PISO -{ - momentumPredictor no; - nCorrectors 3; - nNonOrthogonalCorrectors 1; - nGammaCorr 1; - nGammaSubCycles 2; - cGamma 1; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/interFoam/FoamX/fvSchemes.cfg b/applications/solvers/multiphase/interFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index b7de774ca6..0000000000 --- a/applications/solvers/multiphase/interFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/defaultOnly.cfg"; - include "fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/pdPcorrGamma.cfg" -; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/interFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/multiphase/interFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 488ddd40aa..0000000000 --- a/applications/solvers/multiphase/interFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/rhoPhiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiGamma.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phirbGamma.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/interFoam/FoamX/fvSchemes/interpolationSchemes.cfg b/applications/solvers/multiphase/interFoam/FoamX/fvSchemes/interpolationSchemes.cfg deleted file mode 100644 index 9a7b1ed7ec..0000000000 --- a/applications/solvers/multiphase/interFoam/FoamX/fvSchemes/interpolationSchemes.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/default.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/interFoam/FoamX/fvSolution.cfg b/applications/solvers/multiphase/interFoam/FoamX/fvSolution.cfg deleted file mode 100644 index da598bafdb..0000000000 --- a/applications/solvers/multiphase/interFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,45 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pcorr.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pd.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pdFinal.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - } - } - - PISO - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/Switch/momentumPredictor.cfg"; - include "$FOAMX_CONFIG/entries/label/nCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nGammaCorr.cfg"; - include "$FOAMX_CONFIG/entries/label/nGammaSubCycles.cfg"; - include "$FOAMX_CONFIG/entries/scalar/cGamma.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/interFoam/FoamX/interFoam.cfg b/applications/solvers/multiphase/interFoam/FoamX/interFoam.cfg deleted file mode 100644 index b0298c5183..0000000000 --- a/applications/solvers/multiphase/interFoam/FoamX/interFoam.cfg +++ /dev/null @@ -1,57 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Free surface-capturing unsteady laminar two-phase flow code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictAdjustTimeStep.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/twoPhaseTransportProperties.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pd.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/gamma.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - - wallContactAngle - { - description "Wall boundary condition with specified contact-angle"; - parentType wall; - } -} - -patchFieldsPhysicalTypes -{ - gamma - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/gamma.cfg"; - wallContactAngle gammaContactAngle; - } - - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - pd - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/pd.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index f827237608..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,73 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - div(rho*phi,U) Gauss linear; - div(phi,gamma) Gauss <>; - div(phirb,gamma) Gauss <>; - div(phi,k) Gauss <>; - div(phi,B) Gauss <>; - div(phi,nuTilda) Gauss <>; - - div(B) Gauss linear; - div((nuEff*dev(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - pd; - pcorr; - gamma; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSolution b/applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 7f9bb4811d..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,47 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - pcorr ICCG 1e-08 0; - pd ICCG 1e-08 0; - pdFinal ICCG 1e-09 0; - U BICCG 1e-08 0; - k BICCG 1e-08 0; - B BICCG 1e-08 0; - nuTilda BICCG 1e-08 0; -} - -PISO -{ - momentumPredictor no; - nCorrectors 2; - nNonOrthogonalCorrectors 1; - nGammaCorr 1; - nGammaSubCycles 4; - cGamma 2; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes.cfg b/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index b7de774ca6..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/defaultOnly.cfg"; - include "fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/pdPcorrGamma.cfg" -; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divPhiU.cfg b/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divPhiU.cfg deleted file mode 100644 index 3328693803..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divPhiU.cfg +++ /dev/null @@ -1,55 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,U) -{ - type compound; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - localBlended - { - type compound; - entries - { - scheme1 - { - type selection; - entries - { - include "$FOAMX_CONFIG/entries/interpolations/Phi.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; - } - } - - scheme2 - { - type selection; - entries - { - include "$FOAMX_CONFIG/entries/interpolations/GammaV.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; - } - } - } - } - - include "$FOAMX_CONFIG/entries/interpolations/GammaV.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 166508b323..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/rhoPhiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiGamma.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phirbGamma.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiBT.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiNuTilda.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/nuEffGradUT.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg b/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg deleted file mode 100644 index 218a143880..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/HbyA.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSolution.cfg b/applications/solvers/multiphase/lesInterFoam/FoamX/fvSolution.cfg deleted file mode 100644 index d22a13cec8..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pcorr.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pd.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pdFinal.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/B.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/nuTilda.cfg"; - } - } - - PISO - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/Switch/momentumPredictor.cfg"; - include "$FOAMX_CONFIG/entries/label/nCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nGammaCorr.cfg"; - include "$FOAMX_CONFIG/entries/label/nGammaSubCycles.cfg"; - include "$FOAMX_CONFIG/entries/scalar/cGamma.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/lesInterFoam/FoamX/lesInterFoam.cfg b/applications/solvers/multiphase/lesInterFoam/FoamX/lesInterFoam.cfg deleted file mode 100644 index 6f0cd9bce2..0000000000 --- a/applications/solvers/multiphase/lesInterFoam/FoamX/lesInterFoam.cfg +++ /dev/null @@ -1,86 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Free surface-capturing unsteady LES two-phase flow code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictAdjustTimeStep.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/twoPhaseTransportProperties.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/LESmodelsIncompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pd.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/gamma.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuSgs.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Bkinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuTilda.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - - wallContactAngle - { - description "Wall boundary condition with specified contact-angle"; - parentType wall; - } -} - -patchFieldsPhysicalTypes -{ - gamma - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/gamma.cfg"; - wallContactAngle gammaContactAngle; - } - - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - pd - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/pd.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - nuSgs - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuSgs.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg"; - } - - B - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/B.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/B.cfg"; - } - - nuTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index d19efb662c..0000000000 --- a/applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,74 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - div(rho*phi,U) Gauss linear; - div(phi,gamma) Gauss <>; - div(phirb,gamma) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phi,R) Gauss <>; - div(phi,nuTilda) Gauss <>; - - div(R) Gauss linear; - div((nuEff*dev(grad(U).T()))) Gauss linear; -} - -laplacianSchemes -{ - default Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - pd; - pcorr; - gamma; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSolution b/applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 86b113d4be..0000000000 --- a/applications/solvers/multiphase/rasInterFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - pcorr ICCG 1e-10 0; - pd ICCG 1e-10 0; - pdFinal ICCG 1e-08 0; - U BICCG 1e-06 0; - k BICCG 1e-08 0; - epsilon BICCG 1e-08 0; - R BICCG 1e-08 0; - nuTilda BICCG 1e-08 0; -} - -PISO -{ - momentumPredictor no; - nCorrectors 3; - nNonOrthogonalCorrectors 0; - nGammaCorr 1; - nGammaSubCycles 4; - cGamma 2; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes.cfg b/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index b7de774ca6..0000000000 --- a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/defaultOnly.cfg"; - include "fvSchemes/interpolationSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/pdPcorrGamma.cfg" -; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index d4e641673e..0000000000 --- a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/rhoPhiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiGamma.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phirbGamma.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiEpsilon.cfg" -; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiR.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiNuTilda.cfg" - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/nuEffGradUT.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg b/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg deleted file mode 100644 index 218a143880..0000000000 --- a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSchemes/interpolationSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/HbyA.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSolution.cfg b/applications/solvers/multiphase/rasInterFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 67a7c632a8..0000000000 --- a/applications/solvers/multiphase/rasInterFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pcorr.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pd.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pdFinal.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/R.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/nuTilda.cfg"; - } - } - - PISO - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/label/nCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nGammaCorr.cfg"; - include "$FOAMX_CONFIG/entries/label/nGammaSubCycles.cfg"; - include "$FOAMX_CONFIG/entries/scalar/cGamma.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/rasInterFoam/FoamX/rasInterFoam.cfg b/applications/solvers/multiphase/rasInterFoam/FoamX/rasInterFoam.cfg deleted file mode 100644 index 090c3062e6..0000000000 --- a/applications/solvers/multiphase/rasInterFoam/FoamX/rasInterFoam.cfg +++ /dev/null @@ -1,94 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Free surface-capturing unsteady RAS two-phase flow code"; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictAdjustTimeStep.cfg"; - fvSchemes; - fvSolution; - include "$FOAMX_CONFIG/dictionaries/transportProperties/twoPhaseTransportProperties.cfg"; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/turbulenceModelsIncompressible.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pd.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/gamma.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Rkinematic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/nuTilda.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; - - wallContactAngle - { - description "Wall boundary condition with specified contact-angle"; - parentType wall; - } - - wallFunctionsContactAngle - { - description "Wall-functions boundary condition with specified contact-angle"; - parentType wallFunctions; - } -} - -patchFieldsPhysicalTypes -{ - gamma - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/gamma.cfg"; - wallContactAngle gammaContactAngle; - wallFunctionsContactAngle gammaContactAngle; - } - - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - pd - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/pd.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - R - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/R.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/R.cfg"; - } - - nuTilda - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/nuTilda.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/transportProperties b/applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/transportProperties deleted file mode 100644 index 8c87e4d092..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/transportProperties +++ /dev/null @@ -1,62 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object transportProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -muc muc [1 -1 -1 0 0 0 0] 0.00178; - -plasticViscosityCoeff plasticViscosityCoeff [1 -1 -1 0 0 0 0] 0.00023143; - -plasticViscosityExponent plasticViscosityExponent [0 0 0 0 0 0 0] 179.26; - -BinghamPlastic on; - -yieldStressCoeff yieldStressCoeff [1 -1 -2 0 0 0 0] 0.00042189; - -yieldStressExponent yieldStressExponent [0 0 0 0 0 0 0] 1050.8; - -yieldStressOffset yieldStressOffset [0 0 0 0 0 0 0] 0; - -rhoc rhoc [1 -3 0 0 0 0 0] 996; - -rhod rhod [1 -3 0 0 0 0 0] 1996; - -VdjModel simple; - -simpleCoeffs -{ - V0 V0 [0 1 -1 0 0 0 0] (0 -0.002198 0); - a a [0 0 0 0 0 0 0] 285.84; - a1 a1 [0 0 0 0 0 0 0] 0; - alphaMin alphaMin [0 0 0 0 0 0 0] 0; -} - -generalCoeffs -{ - V0 V0 [0 1 -1 0 0 0 0] (0 -0.0018 0); - a a [0 0 0 0 0 0 0] 1e-05; - a1 a1 [0 0 0 0 0 0 0] 0.1; - alphaMin alphaMin [0 0 0 0 0 0 0] 2e-05; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/turbulenceProperties b/applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/turbulenceProperties deleted file mode 100644 index ef545fe3bd..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/constant/turbulenceProperties +++ /dev/null @@ -1,50 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object turbulenceProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -turbulenceModel kEpsilon; - -turbulence on; - -laminarCoeffs -{ -} - -kEpsilonCoeffs -{ - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - C3 C3 [0 0 0 0 0 0 0] 0.85; - alphak alphak [0 0 0 0 0 0 0] 1; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; -} - -wallFunctionCoeffs -{ - kappa kappa [0 0 0 0 0 0 0] 0.4187; - E E [0 0 0 0 0 0 0] 9; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 6a2a8f7963..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,72 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss <>; - div(phi,k) Gauss <>; - div(phi,epsilon) Gauss <>; - div(phiAlpha,Alpha) Gauss <>; - div(phiVdj,Vdj) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(muEff,U) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(mut,Alpha) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSolution b/applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index a382f29c64..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-07 0; - U BICCG 1e-07 0; - k BICCG 1e-07 0; - epsilon BICCG 1e-07 0; - rho ICCG 1e-07 0; - Alpha BICCG 1e-07 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes.cfg b/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 3c334a8bc3..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index c709e6b447..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phik.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiAlphaAlpha.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiVdjVdj.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index 34b83a6427..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/muEffU.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DkEffk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/mutAlpha.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/fvSolution.cfg b/applications/solvers/multiphase/settlingFoam/FoamX/fvSolution.cfg deleted file mode 100644 index d6149dc80e..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/U.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/rho.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Alpha.cfg"; - } - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/PISO.cfg"; -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/settlingFoam.cfg b/applications/solvers/multiphase/settlingFoam/FoamX/settlingFoam.cfg deleted file mode 100644 index a986cde1e0..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/settlingFoam.cfg +++ /dev/null @@ -1,66 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible turbulent two phase flow settling code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg"; - fvSchemes; - fvSolution; - transportProperties; - turbulenceProperties; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/U.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/alpha.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - alpha - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/alpha.cfg"; - } - - U - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/transportProperties.cfg b/applications/solvers/multiphase/settlingFoam/FoamX/transportProperties.cfg deleted file mode 100644 index a9b4d286ba..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,70 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/muc.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/plasticViscosityCoeff.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/plasticViscosityExponent.cfg"; - include "$FOAMX_CONFIG/entries/Switch/BinghamPlastic.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/yieldStressCoeff.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/yieldStressExponent.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/yieldStressOffset.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/rhoc.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/rhod.cfg"; - - VdjModel - { - type model; - displayName "VdjModel"; - description "VDJ model selection"; - default simple; - valueList - ( - simple - general - ); - } - - simpleCoeffs - { - type dictionary; - displayName "Simple Model Coefficients"; - description "Simple model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedVector/V0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/a.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/a1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaMin.cfg"; - } - } - - generalCoeffs - { - type dictionary; - displayName "General Model Coefficients"; - description "General model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedVector/V0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/a.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/a1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaMin.cfg"; - } - } -} - -default -{ - include "defaults/constant/transportProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/settlingFoam/FoamX/turbulenceProperties.cfg b/applications/solvers/multiphase/settlingFoam/FoamX/turbulenceProperties.cfg deleted file mode 100644 index 4d1e4e732f..0000000000 --- a/applications/solvers/multiphase/settlingFoam/FoamX/turbulenceProperties.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Turbulence properties"; -dictionaryPath "constant"; -entries -{ - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/turbulenceModel.cfg"; - include "$FOAMX_CONFIG/entries/Switch/turbulence.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/laminarCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithC3.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg"; -} - -options -{ - turbulenceModel - { - editable 0; - } -} - -default -{ - include "defaults/constant/turbulenceProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/environmentalProperties b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/environmentalProperties deleted file mode 100644 index e9aee6c9b5..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/environmentalProperties +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object environmentalProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -g g [0 1 -2 0 0 0 0] (0 -9.81 0); - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/initAlphaFieldProperties b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/initAlphaFieldProperties deleted file mode 100644 index 1c0bee593e..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/initAlphaFieldProperties +++ /dev/null @@ -1,41 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object initAlphaFieldProperties; -} - -// ************************************************************************* // - -xMin xMin [0 1 0 0 0] -100.0; - -xMax xMax [0 1 0 0 0] 100.0; - -yMin yMin [0 1 0 0 0] 0.0; - -yMax yMax [0 1 0 0 0] 0.750; - -zMin zMin [0 1 0 0 0] 0.0; - -zMax zMax [0 1 0 0 0] 1.0; - -insideBoxAlphaValue insideBoxAlphaValue [0 0 0 0 0] 0.999; - -outsideBoxAlphaValue outsideBoxAlphaValue [0 0 0 0 0] 1.0e-6; - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/interfacialProperties b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/interfacialProperties deleted file mode 100644 index cbcf71870a..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/interfacialProperties +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object interfacialProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dragModela SchillerNaumann; -dragModelb SchillerNaumann; - -dragPhase blended; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // \ No newline at end of file diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/kineticTheoryProperties b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/kineticTheoryProperties deleted file mode 100644 index ff1a05f224..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/kineticTheoryProperties +++ /dev/null @@ -1,51 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object interfacialProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -kineticTheory off; - -equilibrium on; - -e e [ 0 0 0 0 0 0 0 ] 0.9 ; - -alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.6 ; - -alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.5 ; - -Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05 ; - -eta eta [ 0 0 0 0 0 0 0 ] 2.0 ; - -p p [ 0 0 0 0 0 0 0 ] 5.0 ; - -phi phi [ 0 0 0 0 0 0 0 ] 25.0 ; - -viscosityModel Syamlal; - -conductivityModel HrenyaSinclair; - -HrenyaSinclairCoeffs -{ - L L [ 0 1 0 0 0 0 0 ] 5.0e-4 ; -} -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/ppProperties b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/ppProperties deleted file mode 100644 index 54dc1dda38..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/ppProperties +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object ppProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -preAlphaExp 300; - -expMax 10.0; - -alphaMax 0.6; - -//g0 g0 [ 0 2 -2 0 0 0 0 ] 1000 ; -g0 g0 [ 0 2 -2 0 0 0 0 ] 0 ; - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/transportProperties b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/transportProperties deleted file mode 100644 index 11ff417de4..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/transportProperties +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object transportProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -// water -phaseb -{ - nu nu [0 2 -1 0 0 0 0] 1.0e-06; - rho rho [1 -3 0 0 0 0 0] 1000.0; - d d [0 1 0 0 0 0 0] 0.0001; -} - -// air -phasea -{ - nu nu [0 2 -1 0 0 0 0] 1.6e-05; - rho rho [1 -3 0 0 0 0 0] 1.0; - d d [0 1 0 0 0 0 0] 0.003; -} - -Cvm Cvm [0 0 0 0 0 0 0] 0.5; - -Cl Cl [0 0 0 0 0 0 0] 0; - -Ct Ct [0 0 0 0 0 0 0] 1.0; - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/turbulenceProperties b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/turbulenceProperties deleted file mode 100644 index 023bcfc148..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/constant/turbulenceProperties +++ /dev/null @@ -1,45 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object turbulenceProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -turbulenceModel kEpsilon; - -turbulence off; - -kEpsilonCoeffs -{ - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphak alphak [0 0 0 0 0 0 0] 1; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; -} - -wallFunctionCoeffs -{ - kappa kappa [0 0 0 0 0 0 0] 0.4187; - E E [0 0 0 0 0 0 0] 9; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 17e02ca976..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,77 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phia,Ua) Gauss <>; - div(phib,Ub) Gauss <>; - div(phib,k) Gauss <>; - div(phib,epsilon) Gauss <>; - div(phi,alpha) Gauss <>; - div(phir,alpha) Gauss <>; - div(phi,Theta) Gauss <>; - div(Rca) Gauss linear; - div(Rcb) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(nuEffa,Ua) Gauss linear corrected; - laplacian(nuEffb,Ub) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(ppMagf,alpha) Gauss linear corrected; - laplacian((alphak*nuEffb),k) Gauss linear corrected; - laplacian((alphaEps*nuEffb),epsilon) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSolution b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index e2fffde183..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p ICCG 1e-10 0; - Ua BICCG 1e-05 0; - Ub BICCG 1e-05 0; - alpha BICCG 1e-10 0; - beta BICCG 1e-10 0; - Theta BICCG 1e-05 0; - k BICCG 1e-05 0; - epsilon BICCG 1e-05 0; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; - nAlphaCorr 2; - correctAlpha no; - pRefCell 0; - pRefValue 0; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/div/phiTheta.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/div/phiTheta.cfg deleted file mode 100644 index 09209d66b3..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/div/phiTheta.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,Theta) -{ - include "$FOAMX_CONFIG//dictionaries/fvSchemes/div/scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiTheta.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffEpsilon.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffEpsilon.cfg deleted file mode 100644 index 6121968887..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffEpsilon.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((alphaEps*nuEffb),epsilon) -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian/nuEffEpsilon.gif"; -} diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffk.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffk.cfg deleted file mode 100644 index 0d15aca4ff..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/nuEffk.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((alphak*nuEffb),k) -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian/nuEffk.gif"; -} diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/ppMagfAlpha.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/ppMagfAlpha.cfg deleted file mode 100644 index 4402e933b4..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSchemes/laplacian/ppMagfAlpha.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(ppMagf,alpha) -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian/ppMagfAlpha.gif"; -} diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSolution/solvers/Theta.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSolution/solvers/Theta.cfg deleted file mode 100644 index 9f8caa8130..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/fvSolution/solvers/Theta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Theta -{ - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/asymmetricSparse.cfg"; - description "Solver for the Theta equation"; - iconURL "/FoamX/icons/small/maths/Theta.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModela.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModela.cfg deleted file mode 100644 index e11cb7663f..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModela.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dragModela -{ - type word; - description "dragmodel for phase a"; - helpURL "controlDict.html"; - default SchillerNaumann; - valueList - ( - Syamlal - SchillerNaumann - GidaspowSchillerNaumann - Gibilaro - Ergun - ); -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModelb.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModelb.cfg deleted file mode 100644 index b0369800ed..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragModelb.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dragModelb -{ - type word; - description "dragmodel for phase b"; - helpURL "controlDict.html"; - default SchillerNaumann; - valueList - ( - Syamlal - SchillerNaumann - GidaspowSchillerNaumann - Gibilaro - Ergun - ); -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragPhase.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragPhase.cfg deleted file mode 100644 index 71a6e355c5..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/dictionaries/interfacialProperties/dragPhase.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dragPhase -{ - type word; - description "Phase used for calculating drag, or from which the size-info is used."; - helpURL "controlDict.html"; - default a; - valueList - ( - a - b - blended - ); -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticEquilibrium.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticEquilibrium.cfg deleted file mode 100644 index e636008d14..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticEquilibrium.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -equilibrium -{ - type SwitchOnOff; - description "Assume production=dissipation for the granular temperature?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default off; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticTheory.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticTheory.cfg deleted file mode 100644 index afdf7fc41a..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/Switch/kineticTheory.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kineticTheory -{ - type SwitchOnOff; - description "Do you wish to calculate the granular temperature?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default off; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTFr.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTFr.cfg deleted file mode 100644 index ee8f406bb1..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTFr.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Fr -{ - type dimensionedScalar; - description "empirical material constant for normal frictional stress"; - iconURL "/FoamX/icons/small/maths/Fr.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTe.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTe.cfg deleted file mode 100644 index e264980c8f..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTe.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -e -{ - type dimensionedScalar; - description "coefficient of restitution"; - iconURL "/FoamX/icons/small/maths/e.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTeta.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTeta.cfg deleted file mode 100644 index 83c0708856..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTeta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -eta -{ - type dimensionedScalar; - description "empirical material constant for normal frictional stress"; - iconURL "/FoamX/icons/small/maths/eta.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTp.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTp.cfg deleted file mode 100644 index 92e624ce6c..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTp.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - type dimensionedScalar; - description "empirical material constant for normal frictional stress"; - iconURL "/FoamX/icons/small/maths/p.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTphi.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTphi.cfg deleted file mode 100644 index 06e4e73475..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/KTphi.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -phi -{ - type dimensionedScalar; - description "angle of internal friction"; - iconURL "/FoamX/icons/small/maths/phi.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/L.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/L.cfg deleted file mode 100644 index 049819cce7..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/L.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -L -{ - type dimensionedScalar; - description "L - characteristic length"; - iconURL "/FoamX/icons/small/maths/L.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMax.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMax.cfg deleted file mode 100644 index c9192c3512..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMax.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaMax -{ - type dimensionedScalar; - description "maximum packing"; - iconURL "/FoamX/icons/small/maths/alphaMax.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMinFriction.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMinFriction.cfg deleted file mode 100644 index 0d4e291421..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/alphaMinFriction.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaMinFriction -{ - type dimensionedScalar; - description "minimum packing for friction"; - iconURL "/FoamX/icons/small/maths/alphaMin.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/d.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/d.cfg deleted file mode 100644 index b328add368..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/d.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -d -{ - type dimensionedScalar; - description "d"; - iconURL "/FoamX/icons/small/maths/d.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/g0.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/g0.cfg deleted file mode 100644 index 7864df73cd..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/dimensionedScalar/g0.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -g0 -{ - type dimensionedScalar; - description "ppForce = g0*min(expMax, exp(preAlphaExp*(alpha - alphaMax)))"; - iconURL "/FoamX/icons/small/maths/g0.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/geometricFields/Theta.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/geometricFields/Theta.cfg deleted file mode 100644 index fe6d3f077f..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/geometricFields/Theta.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Theta -{ - description "Granular temperature, particle velocity fluctuations"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/Theta.gif"; - geometryType vol; - dimensions [ 0 2 -2 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/HrenyaSinclairCoeffs.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/HrenyaSinclairCoeffs.cfg deleted file mode 100644 index 6661a6445e..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/HrenyaSinclairCoeffs.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -HrenyaSinclairCoeffs -{ - type dictionary; - description "Hrenya-Sinclair conductivity model coefficients"; - entries - { - include "../../entries/dimensionedScalar/L.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/conductivityModels.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/conductivityModels.cfg deleted file mode 100644 index db16b2837b..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/conductivityModels.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -conductivityModel -{ - type word; - description "conductivity model for granular temperature eq"; - helpURL "controlDict.html"; - default HrenyaSinclair; - valueList - ( - HrenyaSinclair - Gidaspow - Syamlal - ); -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/viscosityModels.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/viscosityModels.cfg deleted file mode 100644 index 799d88ba0c..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/kineticTheoryModels/viscosityModels.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -viscosityModel -{ - type word; - description "viscosity model for granular temperature eq"; - helpURL "controlDict.html"; - default HrenyaSinclair; - valueList - ( - HrenyaSinclair - Gidaspow - Syamlal - none - ); -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phasea.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phasea.cfg deleted file mode 100644 index 46030f60e5..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phasea.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -phasea -{ - type dictionary; - description "Transport properties for phase a"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/rho.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/nu.cfg"; - include "../../entries/dimensionedScalar/d.cfg"; - } -} - - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phaseb.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phaseb.cfg deleted file mode 100644 index a346d3051a..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/phaseModels/phaseb.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -phaseb -{ - type dictionary; - description "Transport properties for phase b"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/rho.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/nu.cfg"; - include "../../entries/dimensionedScalar/d.cfg"; - } -} - - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/alphaMax.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/alphaMax.cfg deleted file mode 100644 index dbada474c1..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/alphaMax.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaMax -{ - type scalar; - description "ppForce = g0*min(expMax, exp(preAlphaExp*(alpha - alphaMax)))"; - iconURL "/FoamX/icons/small/maths/K.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/expMax.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/expMax.cfg deleted file mode 100644 index 76dbd0d0b8..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/expMax.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -expMax -{ - type scalar; - description "ppForce = g0*min(expMax, exp(preAlphaExp*(alpha - alphaMax)))"; - iconURL "/FoamX/icons/small/maths/K.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/preAlphaExp.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/preAlphaExp.cfg deleted file mode 100644 index a69eeca925..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/entries/scalar/preAlphaExp.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -preAlphaExp -{ - type scalar; - description "ppForce = g0*min(expMax, exp(preAlphaExp*(alpha - alphaMax)))"; - iconURL "/FoamX/icons/small/maths/K.gif"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index 3c334a8bc3..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/ddt/transient.cfg"; - - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/defaultOnly.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/p.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 221807fd71..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiaUa.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phibUb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phibk.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phibEpsilon.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phiAlpha.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/phirAlpha.cfg"; - include "../dictionaries/fvSchemes/div/phiTheta.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/Rca.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/Rcb.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index f8216c4243..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuEffaUa.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/nuEffbUb.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/rhoAUp.cfg"; - include "../dictionaries/fvSchemes/laplacian/ppMagfAlpha.cfg"; - include "../dictionaries/fvSchemes/laplacian/nuEffEpsilon.cfg"; - include "../dictionaries/fvSchemes/laplacian/nuEffk.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSolution.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 873d9c1064..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/pSymm.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Ua.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/Ub.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/alpha.cfg"; - include "dictionaries/fvSolution/solvers/Theta.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/k.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/epsilon.cfg"; - } - } - - PISO - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/Switch/momentumPredictor.cfg"; - include "$FOAMX_CONFIG/entries/label/nCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nAlphaCorr.cfg"; - include "$FOAMX_CONFIG/entries/Switch/correctAlpha.cfg"; - include "$FOAMX_CONFIG/entries/ref/pRef.cfg"; - } - } -} - -default -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/interfacialProperties.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/interfacialProperties.cfg deleted file mode 100644 index 89b0d30123..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/interfacialProperties.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "interfacial properties"; -dictionaryPath "constant"; - -entries -{ - include "dictionaries/interfacialProperties/dragModela.cfg"; - include "dictionaries/interfacialProperties/dragModelb.cfg"; - include "dictionaries/interfacialProperties/dragPhase.cfg"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/kineticTheoryProperties.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/kineticTheoryProperties.cfg deleted file mode 100644 index b2a456ac8c..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/kineticTheoryProperties.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "kinetic theory of granular flow properties"; -dictionaryPath "constant"; - -entries -{ - include "entries/Switch/kineticTheory.cfg"; - include "entries/Switch/kineticEquilibrium.cfg"; - include "entries/kineticTheoryModels/viscosityModels.cfg"; - include "entries/kineticTheoryModels/conductivityModels.cfg"; - include "entries/kineticTheoryModels/HrenyaSinclairCoeffs.cfg"; - include "entries/dimensionedScalar/KTe.cfg"; - include "entries/dimensionedScalar/alphaMax.cfg"; - include "entries/dimensionedScalar/alphaMinFriction.cfg"; - include "entries/dimensionedScalar/KTFr.cfg"; - include "entries/dimensionedScalar/KTeta.cfg"; - include "entries/dimensionedScalar/KTp.cfg"; - include "entries/dimensionedScalar/KTphi.cfg"; -} - -default -{ - include "defaults/constant/kineticTheoryProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/ppProperties.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/ppProperties.cfg deleted file mode 100644 index 4ab8dc935d..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/ppProperties.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "particle-particle interaction properties"; -dictionaryPath "constant"; - -entries -{ - include "entries/scalar/preAlphaExp.cfg"; - include "entries/scalar/expMax.cfg"; - include "entries/scalar/alphaMax.cfg"; - include "entries/dimensionedScalar/g0.cfg"; -} - -default -{ - include "defaults/constant/ppProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/transportProperties.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/transportProperties.cfg deleted file mode 100644 index 361e4d051b..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/transportProperties.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/transportProperties/transportProperties.cfg"; - -entries -{ - include "entries/phaseModels/phasea.cfg"; - include "entries/phaseModels/phaseb.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cvm.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cl.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ct.cfg"; -} - -default -{ - include "defaults/constant/transportProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/turbulenceProperties.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/turbulenceProperties.cfg deleted file mode 100644 index 74af41a3ab..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/turbulenceProperties.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Turbulence properties"; -dictionaryPath "constant"; -entries -{ - include "$FOAMX_CONFIG/entries/Switch/turbulence.cfg"; - include "$FOAMX_CONFIG/dictionaries/turbulenceProperties/laminarCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithAlphak.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg"; -} - -options -{ - turbulenceModel - { - editable 0; - } -} - -default -{ - include "defaults/constant/turbulenceProperties"; -} - - -// ************************************************************************* // diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/twoPhaseEulerFoam.cfg b/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/twoPhaseEulerFoam.cfg deleted file mode 100644 index 2da449cd19..0000000000 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/FoamX/twoPhaseEulerFoam.cfg +++ /dev/null @@ -1,81 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Incompressible turbulent Eulerian two phase flow code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictAdjustTimeStep.cfg"; - fvSchemes; - fvSolution; - transportProperties; - turbulenceProperties; - include "$FOAMX_CONFIG/dictionaries/environmentalProperties/environmentalPropertiesg.cfg"; - interfacialProperties; - kineticTheoryProperties; - ppProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/pDynamic.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Ua.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/Ub.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/k.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/alpha.cfg"; - include "entries/geometricFields/Theta.cfg"; -} - -patchPhysicalTypes -{ - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/patches.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/patches.cfg"; -} - -patchFieldsPhysicalTypes -{ - alpha - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/alpha.cfg"; - } - - Ua - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - Ub - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/U.cfg"; - } - - p - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/p.cfg"; - } - - k - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/k.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/k.cfg"; - } - - epsilon - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/epsilon.cfg"; - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg"; - } - - Theta - { - include "$FOAMX_CONFIG/entries/patchPhysicalTypes/standard/alpha.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/mechanicalProperties b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/mechanicalProperties deleted file mode 100644 index 094175a9df..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/mechanicalProperties +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object mechanicalProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -rho rho [1 -3 0 0 0 0 0] 7854; - -nu nu [0 0 0 0 0 0 0] 0.3; - -E E [1 -1 -2 0 0 0 0] 2e+11; - -planeStress yes; - - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/thermalProperties b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/thermalProperties deleted file mode 100644 index 572aa3cc28..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/constant/thermalProperties +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object thermalProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -C C [0 2 -2 -1 0 0 0] 434; - -k k [1 1 -3 -1 0 0 0] 60.5; - -alpha alpha [0 0 0 -1 0 0 0] 1.1e-05; - -thermalStress no; - - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSchemes b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSchemes deleted file mode 100644 index 4d8f0d6aa9..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSchemes +++ /dev/null @@ -1,68 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -d2dt2Schemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(D) leastSquares; - grad(T) leastSquares; -} - -divSchemes -{ - default none; - div(sigmaD) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(DD,D) Gauss linear corrected; - laplacian(DT,T) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - D yes; - T yes; -} - - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSolution b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSolution deleted file mode 100644 index 669a9eb8a8..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/defaults/system/fvSolution +++ /dev/null @@ -1,39 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - D ICCG 1e-06 0.01; - T ICCG 1e-06 0.01; -} - -stressAnalysis -{ - compactNormalStress yes; - nCorrectors 1; - U 1e-06; -} - - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes.cfg deleted file mode 100644 index c28263142d..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSchemes/fvSchemes.cfg"; - -entries -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/d2dt2/allSchemes.cfg"; - include "fvSchemes/gradSchemes.cfg"; - include "fvSchemes/divSchemes.cfg"; - include "fvSchemes/laplacianSchemes.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/interpolation/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/snGrad/defaultOnly.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/flux/DT.cfg"; -} - -default -{ - include "defaults/system/fvSchemes"; -} - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/divSchemes.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/divSchemes.cfg deleted file mode 100644 index 8147327b4a..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/divSchemes.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/sigmaD.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/gradSchemes.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/gradSchemes.cfg deleted file mode 100644 index eb047e9377..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/gradSchemes.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/D.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/T.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/laplacianSchemes.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/laplacianSchemes.cfg deleted file mode 100644 index eda186ac09..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSchemes/laplacianSchemes.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/schemes.cfg"; - entries - { - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/default.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DDD.cfg"; - include "$FOAMX_CONFIG/dictionaries/fvSchemes/laplacian/DTT.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSolution.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSolution.cfg deleted file mode 100644 index 468bc7ac14..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/fvSolution.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/dictionaries/fvSolution/fvSolution.cfg"; - -entries -{ - solvers - { - type dictionary; - entries - { - D - { - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/symmetricSparse.cfg"; - description "Solver for the D equation"; - iconURL "/FoamX/icons/small/maths/D.gif"; - } - - include "$FOAMX_CONFIG/dictionaries/fvSolution/solvers/T.cfg"; - } - } - include "$FOAMX_CONFIG/dictionaries/fvSolution/stressAnalysis.cfg"; -} - -defaults -{ - include "defaults/system/fvSolution"; -} - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/mechanicalProperties.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/mechanicalProperties.cfg deleted file mode 100644 index 07919eddb4..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/mechanicalProperties.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of mechanical properties"; -dictionaryPath "constant"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/rho.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/stress/nu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/stress/E.cfg"; - include "$FOAMX_CONFIG/entries/Switch/planeStress.cfg"; -} - -defaulst -{ - include "defaults/constant/mechanicalProperties"; -} - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/patchFieldTypes.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/patchFieldTypes.cfg deleted file mode 100644 index 203079445a..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/patchFieldTypes.cfg +++ /dev/null @@ -1,85 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -tractionDisplacement -{ - displayName "tractionDisplacement"; - description "Traction boundary condition"; - type patchField; - options - { - type - { - default tractionDisplacement; - } - } - - entries - { - traction - { - type vectorField; - displayName "traction"; - description "Boundary traction"; - } - - pressure - { - type scalarField; - displayName "pressure"; - description "Boundary Pressure"; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -traction -{ - displayName "traction"; - description "Traction boundary condition"; - type patchField; - options - { - type - { - default traction; - } - } - - entries - { - traction - { - type vectorField; - displayName "traction"; - description "Boundary traction"; - } - - pressure - { - type scalarField; - displayName "pressure"; - description "Boundary Pressure"; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/solidDisplacementFoam.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/solidDisplacementFoam.cfg deleted file mode 100644 index f3881e44b5..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/solidDisplacementFoam.cfg +++ /dev/null @@ -1,81 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -description "Basic linear elastic stress analysis code."; - -dictionaries -{ - include "$FOAMX_CONFIG/dictionaries/controlDict/controlDictSteady.cfg"; - fvSchemes; - fvSolution; - mechanicalProperties; - thermalProperties; -} - -fields -{ - include "$FOAMX_CONFIG/entries/geometricFields/displacement.cfg"; - include "$FOAMX_CONFIG/entries/geometricFields/T.cfg"; -} - -patchPhysicalTypes -{ - slip - { - description "Slip"; - } - - tractionAdiabatic - { - description "Traction and adiabatic"; - } - - tractionFixedTemp - { - description "Traction and fixed temperature"; - } - - constrainedAdiabatic - { - description "Constrained displacement, adiabatic"; - } - - constrainedFixedTemp - { - description "Constrained displacement, fixed temp"; - } -} - -patchFieldTypes -{ - include "patchFieldTypes.cfg"; -} - -patchFieldsPhysicalTypes -{ - D - { - slip slip; - tractionAdiabatic tractionDisplacement; - tractionFixedTemp tractionDisplacement; - constrainedAdiabatic fixedValue; - constrainedFixedTemp fixedValue; - } - - T - { - slip slip; - tractionAdiabatic zeroGradient; - tractionFixedTemp fixedValue; - constrainedAdiabatic zeroGradient; - constrainedFixedTemp fixedValue; - } -} - - -// ************************************************************************* // diff --git a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/thermalProperties.cfg b/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/thermalProperties.cfg deleted file mode 100644 index c5e0159cc5..0000000000 --- a/applications/solvers/stressAnalysis/solidDisplacementFoam/FoamX/thermalProperties.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of thermal properties"; -dictionaryPath "constant"; - -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/stress/C.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/stress/k.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/stress/alpha.cfg"; - include "$FOAMX_CONFIG/entries/Switch/thermalStress.cfg"; -} - -defaults -{ - include "defaults/constant/thermalProperties"; -} - -// ************************************************************************* // diff --git a/applications/utilities/errorEstimation/estimateScalarError/FoamX/estimateScalarError.cfg b/applications/utilities/errorEstimation/estimateScalarError/FoamX/estimateScalarError.cfg deleted file mode 100644 index e9128ce70c..0000000000 --- a/applications/utilities/errorEstimation/estimateScalarError/FoamX/estimateScalarError.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// estimateScalarError tool definition - -description "Estimate the solution error for a scalar transport equation in standard form"; - -estimateScalarErrorDict -{ - type dictionary; - description "estimateScalarError control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/errorEstimation/icoErrorEstimate/FoamX/icoErrorEstimate.cfg b/applications/utilities/errorEstimation/icoErrorEstimate/FoamX/icoErrorEstimate.cfg deleted file mode 100644 index fdc4422724..0000000000 --- a/applications/utilities/errorEstimation/icoErrorEstimate/FoamX/icoErrorEstimate.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// icoErrorEstimate tool definition - -description "Error estimation for incompressible laminar flow"; - -icoErrorEstimateDict -{ - type dictionary; - description "icoErrorEstimate control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/errorEstimation/icoMomentError/FoamX/icoMomentError.cfg b/applications/utilities/errorEstimation/icoMomentError/FoamX/icoMomentError.cfg deleted file mode 100644 index 6b9ddbbd87..0000000000 --- a/applications/utilities/errorEstimation/icoMomentError/FoamX/icoMomentError.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// icoMomentError tool definition - -description "Estimates error for the incompressible laminar CFD application icoFoam"; - -icoMomentErrorDict -{ - type dictionary; - description "icoMomentError control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/errorEstimation/momentScalarError/FoamX/momentScalarError.cfg b/applications/utilities/errorEstimation/momentScalarError/FoamX/momentScalarError.cfg deleted file mode 100644 index 67088c8bd0..0000000000 --- a/applications/utilities/errorEstimation/momentScalarError/FoamX/momentScalarError.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// momentScalarError tool definition - -description "Estimates the error in the solution for a scalar transport equation in the standard form"; - -momentScalarErrorDict -{ - type dictionary; - description "momentScalarError control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/advanced/autoRefineMesh/FoamX/autoRefineMesh.cfg b/applications/utilities/mesh/advanced/autoRefineMesh/FoamX/autoRefineMesh.cfg deleted file mode 100644 index 760a41d187..0000000000 --- a/applications/utilities/mesh/advanced/autoRefineMesh/FoamX/autoRefineMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// autoRefineMesh tool definition - -description "Utility to refine cells near to a surface"; - -autoRefineMeshDict -{ - type dictionary; - description "autoRefineMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/advanced/collapseEdges/FoamX/collapseEdges.cfg b/applications/utilities/mesh/advanced/collapseEdges/FoamX/collapseEdges.cfg deleted file mode 100644 index f95ba140fe..0000000000 --- a/applications/utilities/mesh/advanced/collapseEdges/FoamX/collapseEdges.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// collapseEdges tool definition - -description "Collapse short edges and combines edges that are in line"; - -collapseEdgesDict -{ - type dictionary; - description "collapseEdges control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/edgeLength.cfg"; - include "$FOAMX_CONFIG/entries/arguments/mergeAngle.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/advanced/combinePatchFaces/FoamX/combinePatchFaces.cfg b/applications/utilities/mesh/advanced/combinePatchFaces/FoamX/combinePatchFaces.cfg deleted file mode 100644 index 80a5768e93..0000000000 --- a/applications/utilities/mesh/advanced/combinePatchFaces/FoamX/combinePatchFaces.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// combinePatchFaces tool definition - -description "Checks for neighbouring patch faces on same cell and combines them"; - -combinePatchFacesDict -{ - type dictionary; - description "combinePatchFaces control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/featureAngle.cfg"; - include "$FOAMX_CONFIG/entries/arguments/allowConcaveFaces.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/advanced/refinementLevel/FoamX/refinementLevel.cfg b/applications/utilities/mesh/advanced/refinementLevel/FoamX/refinementLevel.cfg deleted file mode 100644 index 30ce5beca7..0000000000 --- a/applications/utilities/mesh/advanced/refinementLevel/FoamX/refinementLevel.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// refinementLevel tool definition - -description "Estimates the refinement level on refined cartesian meshes"; - -refinementLevelDict -{ - type dictionary; - description "refinementLevel control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/readLevel"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/FoamX/ccm24ToFoam.cfg b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/FoamX/ccm24ToFoam.cfg deleted file mode 100644 index e9a8edf50c..0000000000 --- a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/FoamX/ccm24ToFoam.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// ccm24ToFoam tool definition - -description "Converts CCM/NGeom files written by Prostar/ccm to OpenFOAM"; - -ccm24ToFoamDict -{ - type dictionary; - description "ccm24ToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/ansysToFoam/FoamX/ansysToFoam.cfg b/applications/utilities/mesh/conversion/ansysToFoam/FoamX/ansysToFoam.cfg deleted file mode 100644 index b2afc319c3..0000000000 --- a/applications/utilities/mesh/conversion/ansysToFoam/FoamX/ansysToFoam.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// ansysToFoam tool definition - -description "ANSYS to OpenFOAM mesh converter"; - -ansysToFoamDict -{ - type dictionary; - description "ansysToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/scale.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/cfxToFoam/FoamX/cfxToFoam.cfg b/applications/utilities/mesh/conversion/cfxToFoam/FoamX/cfxToFoam.cfg deleted file mode 100644 index 18b1d3cc2b..0000000000 --- a/applications/utilities/mesh/conversion/cfxToFoam/FoamX/cfxToFoam.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// cfxToFoam tool definition - -description "CFX to OpenFOAM mesh converter"; - -cfxToFoamDict -{ - type dictionary; - description "cfxToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/scale.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/FoamX/fluentMeshToFoam.cfg b/applications/utilities/mesh/conversion/fluentMeshToFoam/FoamX/fluentMeshToFoam.cfg deleted file mode 100644 index 4aa420620f..0000000000 --- a/applications/utilities/mesh/conversion/fluentMeshToFoam/FoamX/fluentMeshToFoam.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// fluentMeshToFoam tool definition - -description "Fluent to OpenFOAM mesh converter"; - -fluentMeshToFoamDict -{ - type dictionary; - description "fluentMeshToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/scale.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/foamMeshToFluent/FoamX/foamMeshToFluent.cfg b/applications/utilities/mesh/conversion/foamMeshToFluent/FoamX/foamMeshToFluent.cfg deleted file mode 100644 index 6d6eae59a9..0000000000 --- a/applications/utilities/mesh/conversion/foamMeshToFluent/FoamX/foamMeshToFluent.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// foamMeshToFluent tool definition - -description "OpenFOAM to Fluent mesh converter"; - -foamMeshToFluentDict -{ - type dictionary; - description "foamMeshToFluent control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/gambitToFoam/FoamX/gambitToFoam.cfg b/applications/utilities/mesh/conversion/gambitToFoam/FoamX/gambitToFoam.cfg deleted file mode 100644 index 12a8ddffd3..0000000000 --- a/applications/utilities/mesh/conversion/gambitToFoam/FoamX/gambitToFoam.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// gambitToFoam tool definition - -description "Gambit to OpenFOAM mesh converter"; - -gambitToFoamDict -{ - type dictionary; - description "gambitToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/scale.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/gmshToFoam/FoamX/gmshToFoam.cfg b/applications/utilities/mesh/conversion/gmshToFoam/FoamX/gmshToFoam.cfg deleted file mode 100644 index ee46d90952..0000000000 --- a/applications/utilities/mesh/conversion/gmshToFoam/FoamX/gmshToFoam.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// gmshToFoam tool definition - -description "Converts msh file as written by Gmsh to OpenFOAM"; - -gmshToFoamDict -{ - type dictionary; - description "gmshToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/invertHex.cfg"; - include "$FOAMX_CONFIG/entries/arguments/invertPrism.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/FoamX/kivaToFoam.cfg b/applications/utilities/mesh/conversion/ideasUnvToFoam/FoamX/kivaToFoam.cfg deleted file mode 100755 index adef87722a..0000000000 --- a/applications/utilities/mesh/conversion/ideasUnvToFoam/FoamX/kivaToFoam.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// kivaToFoam tool definition - -description "Kiva to FOAM mesh converter"; - -kivaToFoamDict -{ - type dictionary; - description "kivaToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/zHeadMin.cfg"; - include "$FOAMX_CONFIG/entries/arguments/file.cfg"; - include "$FOAMX_CONFIG/entries/arguments/kivaVersion.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/kivaToFoam/FoamX/kivaToFoam.cfg b/applications/utilities/mesh/conversion/kivaToFoam/FoamX/kivaToFoam.cfg deleted file mode 100644 index adef87722a..0000000000 --- a/applications/utilities/mesh/conversion/kivaToFoam/FoamX/kivaToFoam.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// kivaToFoam tool definition - -description "Kiva to FOAM mesh converter"; - -kivaToFoamDict -{ - type dictionary; - description "kivaToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/zHeadMin.cfg"; - include "$FOAMX_CONFIG/entries/arguments/file.cfg"; - include "$FOAMX_CONFIG/entries/arguments/kivaVersion.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/mshToFoam/FoamX/mshToFoam.cfg b/applications/utilities/mesh/conversion/mshToFoam/FoamX/mshToFoam.cfg deleted file mode 100644 index 643fed3519..0000000000 --- a/applications/utilities/mesh/conversion/mshToFoam/FoamX/mshToFoam.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// mshToFoam tool definition - -description "Converts msh format generated by the Adventure system to OpenFOAM"; - -mshToFoamDict -{ - type dictionary; - description "mshToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/hex.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/netgenNeutralToFoam/FoamX/netgenNeutralToFoam.cfg b/applications/utilities/mesh/conversion/netgenNeutralToFoam/FoamX/netgenNeutralToFoam.cfg deleted file mode 100644 index 4f6ded1dd2..0000000000 --- a/applications/utilities/mesh/conversion/netgenNeutralToFoam/FoamX/netgenNeutralToFoam.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// netgenNeutralToFoam tool definition - -description "Converts Neutral file format from Netgen44 to OpenFOAM"; - -netgenNeutralToFoamDict -{ - type dictionary; - description "netgenNeutralToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/plot3dToFoam/FoamX/plot3dToFoam.cfg b/applications/utilities/mesh/conversion/plot3dToFoam/FoamX/plot3dToFoam.cfg deleted file mode 100644 index cba50afa88..0000000000 --- a/applications/utilities/mesh/conversion/plot3dToFoam/FoamX/plot3dToFoam.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// plot3dToFoam tool definition - -description "Converts Plot3d mesh (ascii format) to OpenFOAM"; - -plot3dToFoamDict -{ - type dictionary; - description "plot3dToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/scale.cfg"; - include "$FOAMX_CONFIG/entries/arguments/noBlank.cfg"; - include "$FOAMX_CONFIG/entries/arguments/singleBlock.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/sammToFoam/FoamX/sammToFoam.cfg b/applications/utilities/mesh/conversion/sammToFoam/FoamX/sammToFoam.cfg deleted file mode 100644 index 20ce0ac111..0000000000 --- a/applications/utilities/mesh/conversion/sammToFoam/FoamX/sammToFoam.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// sammToFoam tool definition - -description "STAR-CD SAMM format to OpenFOAM mesh converter"; - -sammToFoamDict -{ - type dictionary; - description "sammToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFilePrefix.cfg"; - include "$FOAMX_CONFIG/entries/arguments/scale.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/starToFoam/FoamX/starToFoam.cfg b/applications/utilities/mesh/conversion/starToFoam/FoamX/starToFoam.cfg deleted file mode 100644 index 9b32297331..0000000000 --- a/applications/utilities/mesh/conversion/starToFoam/FoamX/starToFoam.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// starToFoam tool definition - -description "STAR-CD to OpenFOAM mesh converter"; - -starToFoamDict -{ - type dictionary; - description "starToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFilePrefix.cfg"; - include "$FOAMX_CONFIG/entries/arguments/scale.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/tetgenToFoam/FoamX/tetgenToFoam.cfg b/applications/utilities/mesh/conversion/tetgenToFoam/FoamX/tetgenToFoam.cfg deleted file mode 100644 index 26ad184666..0000000000 --- a/applications/utilities/mesh/conversion/tetgenToFoam/FoamX/tetgenToFoam.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// tetgenToFoam tool definition - -description "Converts ele, node and face files from tetgen to OpenFOAM"; - -tetgenToFoamDict -{ - type dictionary; - description "tetgenToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/meshFilePrefix.cfg"; - include "$FOAMX_CONFIG/entries/arguments/noFaceFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/startAt0.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/conversion/writeMeshObj/FoamX/writeMeshObj.cfg b/applications/utilities/mesh/conversion/writeMeshObj/FoamX/writeMeshObj.cfg deleted file mode 100644 index b041692673..0000000000 --- a/applications/utilities/mesh/conversion/writeMeshObj/FoamX/writeMeshObj.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// writeMeshObj tool definition - -description "Writes mesh to 3 separate OBJ files for an OBJ viewer"; - -writeMeshObjDict -{ - type dictionary; - description "writeMeshObj control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/faceSet.cfg"; - include "$FOAMX_CONFIG/entries/arguments/cellSet.cfg"; - include "$FOAMX_CONFIG/entries/arguments/face.cfg"; - include "$FOAMX_CONFIG/entries/arguments/cell.cfg"; - include "$FOAMX_CONFIG/entries/arguments/point.cfg"; - include "$FOAMX_CONFIG/entries/arguments/patchFaces.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/block.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/block.cfg deleted file mode 100644 index 96eaee8ae1..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/block.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -block -{ - type compound; - description "Description of a block"; - - entries - { - include "hex.cfg"; - include "cellDensity.cfg"; - include "expansionRatio.cfg"; - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/blockMesh.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/blockMesh.cfg deleted file mode 100644 index b81952cb84..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/blockMesh.cfg +++ /dev/null @@ -1,87 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// blockMesh tool definition - -description "Block Mesh Generator"; - -blockMeshDict -{ - type dictionary; - description "blockMesh control dictionary"; - dictionaryPath "constant/polyMesh"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "blockTopology.cfg"; - } - } - - include "$FOAMX_CONFIG/entries/scalar/convertToMeters.cfg"; - - vertices - { - type list; - description "list of coordinates of block vertices"; - elementType vector; - } - - blocks - { - type list; - description "list of block descriptions"; - - elementType - { - include "block.cfg"; - } - } - - edges - { - type list; - optional 1; - description "list of curved edge descriptions"; - - elementType - { - include "edge.cfg"; - } - } - - patches - { - type list; - description "list of patch descriptions"; - - elementType - { - include "patch.cfg"; - } - } - - mergePatchPairs - { - type list; - optional 1; - description "list of master-slave patch pairs to be merged"; - - elementType - { - include "patchPair.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/blockTopology.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/blockTopology.cfg deleted file mode 100644 index 5589c33151..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/blockTopology.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -blockTopology -{ - type selection; - displayName "[blockTopology]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-blockTopology"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/cellDensity.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/cellDensity.cfg deleted file mode 100644 index 779922020f..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/cellDensity.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cellDensity -{ - description "No of cells in each local (block) coordinate direction"; - type fixedList; - elementType label; - numElements 3; - elementLabels ( Nx Ny Nz ); -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/edge.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/edge.cfg deleted file mode 100644 index b1d7e3d355..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/edge.cfg +++ /dev/null @@ -1,135 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -edge -{ - type selection; - description "Description of a curved edge"; - - entries - { - arc - { - description "arc edge type"; - type compound; - entries - { - startVertex - { - type label; - } - - endVertex - { - type label; - } - - point - { - type vector; - } - } - } - - simpleSpline - { - description "simpleSpline edge type"; - type compound; - entries - { - startVertex - { - type label; - } - - endVertex - { - type label; - } - - points - { - type list; - description "list of interpolation points"; - elementType vector; - } - } - } - - polySpline - { - description "polySpline edge type"; - type compound; - entries - { - startVertex - { - type label; - } - - endVertex - { - type label; - } - - points - { - type list; - description "list of interpolation points"; - elementType vector; - } - } - } - - polyLine - { - description "polyLine edge type"; - type compound; - entries - { - startVertex - { - type label; - } - - endVertex - { - type label; - } - - points - { - type list; - description "list of interpolation points"; - elementType vector; - } - } - } - - line - { - description "straight line edge type"; - type compound; - entries - { - startVertex - { - type label; - } - - endVertex - { - type label; - } - } - } - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/expansionRatio.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/expansionRatio.cfg deleted file mode 100644 index f547d69761..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/expansionRatio.cfg +++ /dev/null @@ -1,52 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -expansionRatio -{ - type selection; - description "Expansion ratio"; - - entries - { - simpleGrading - { - description "simple grading scheme"; - type fixedList; - elementType scalar0Inf; - numElements 3; - default ( 1 1 1 ); - elementLabels ( x1 x2 x3 ); - } - - edgeGrading - { - description "edge-based grading scheme"; - type fixedList; - elementType scalar0Inf; - numElements 12; - default ( 1 1 1 1 1 1 1 1 1 1 1 1 ); - elementLabels - ( - edge0 - edge1 - edge2 - edge3 - edge4 - edge5 - edge6 - edge7 - edge8 - edge9 - edge10 - edge11 - ); - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/hex.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/hex.cfg deleted file mode 100644 index 0c83492c09..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/hex.cfg +++ /dev/null @@ -1,37 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cellShapes -{ - type selection; - description "Block specification"; - - entries - { - hex - { - description "hex cell shape"; - type fixedList; - elementType label; - numElements 8; - elementLabels - ( - vertex0 - vertex1 - vertex2 - vertex3 - vertex4 - vertex5 - vertex6 - vertex7 - ); - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/patch.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/patch.cfg deleted file mode 100644 index 46074cfd8b..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/patch.cfg +++ /dev/null @@ -1,55 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patch -{ - type compound; - description "Description of a patch"; - - entries - { - geometricType - { - type word; - description "Geometric description of the patch"; - default patch; - valueList - ( - patch - wall - empty - symmetryPlane - wedge - cyclic - processor - ); - } - - name - { - type word; - description "Patch name"; - } - - faceList - { - type list; - description "List of block faces"; - - types - { - include "quad.cfg"; - } - - elementType quad; - } - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/patchPair.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/patchPair.cfg deleted file mode 100644 index 92de49288a..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/patchPair.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patchPair -{ - description "Master - slave patch pair"; - type fixedList; - elementType word; - numElements 2; - elementLabels ( masterPatch slavePatch ); -} - - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/blockMesh/FoamX/quad.cfg b/applications/utilities/mesh/generation/blockMesh/FoamX/quad.cfg deleted file mode 100644 index 2124b8e829..0000000000 --- a/applications/utilities/mesh/generation/blockMesh/FoamX/quad.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -quad -{ - type fixedList; - description "List of face vertices"; - elementType label; - numElements 4; - elementLabels - ( - vertex0 - vertex1 - vertex2 - vertex3 - ); -} - - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/FoamX/extrudeMesh.cfg b/applications/utilities/mesh/generation/extrudeMesh/FoamX/extrudeMesh.cfg deleted file mode 100644 index c9b31f6e6d..0000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/FoamX/extrudeMesh.cfg +++ /dev/null @@ -1,53 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// extrudeMesh tool definition - -description "Extrudes mesh from existing patch or surface"; - -extrudeMeshDict -{ - type dictionary; - description "extrudeMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type compound; - optional 1; - entries - { - include "targetRootAndCase.cfg"; - - nLayers - { - type label; - description "Number of layers of extruded cells"; - } - - overallThickness - { - type scalar0Inf; - description "Overall thickness of extruded layer [m]"; - } - - include "sourceRoot.cfg"; - include "sourceCase.cfg"; - include "sourcePatch.cfg"; - - include "surface.cfg"; - - include "mergeFaces.cfg"; - - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/FoamX/mergeFaces.cfg b/applications/utilities/mesh/generation/extrudeMesh/FoamX/mergeFaces.cfg deleted file mode 100644 index c9d57083ea..0000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/FoamX/mergeFaces.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mergeFaces -{ - type selection; - displayName "[mergeFaces]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-mergeFaces"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceCase.cfg b/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceCase.cfg deleted file mode 100644 index a9ee5f8add..0000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceCase.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sourceCaseOption -{ - type selection; - displayName "[sourceCase]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - caseOption - { - type string; - default "-sourceCase"; - editable 0; - } - - caseValue - { - type caseName; - default ""; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourcePatch.cfg b/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourcePatch.cfg deleted file mode 100644 index 0adbab48ed..0000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourcePatch.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sourcePatchOption -{ - type selection; - displayName "[sourcePatch]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - patchOption - { - type string; - default "-sourcePatch"; - editable 0; - } - - patchValue - { - type string; - default ""; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceRoot.cfg b/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceRoot.cfg deleted file mode 100644 index 14a7276463..0000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/FoamX/sourceRoot.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sourceRootOption -{ - type selection; - displayName "[sourceRoot]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - rootOption - { - type string; - default "-sourceRoot"; - editable 0; - } - - rootValue - { - type rootDir; - default ""; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/FoamX/surface.cfg b/applications/utilities/mesh/generation/extrudeMesh/FoamX/surface.cfg deleted file mode 100644 index 9e00dd69bc..0000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/FoamX/surface.cfg +++ /dev/null @@ -1,44 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -surfaceOption -{ - type selection; - displayName "[surface]"; - description "File to read surface mesh from"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - surfaceOption - { - type string; - default "-surface"; - editable 0; - } - - surfaceValue - { - type string; - default ""; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/FoamX/targetRootAndCase.cfg b/applications/utilities/mesh/generation/extrudeMesh/FoamX/targetRootAndCase.cfg deleted file mode 100644 index fe852b1133..0000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/FoamX/targetRootAndCase.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -targetRootCase -{ - type rootAndCase; - displayName ""; - description "Case directory with complete path to which mesh is written"; -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/attachMesh/FoamX/attachMesh.cfg b/applications/utilities/mesh/manipulation/attachMesh/FoamX/attachMesh.cfg deleted file mode 100644 index dc611464e3..0000000000 --- a/applications/utilities/mesh/manipulation/attachMesh/FoamX/attachMesh.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// attachMesh tool definition - -description "Attach topologically detached mesh using prescribed mesh modifiers"; - -attachMeshDict -{ - type dictionary; - description "attachMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} diff --git a/applications/utilities/mesh/manipulation/autoPatch/FoamX/autoPatch.cfg b/applications/utilities/mesh/manipulation/autoPatch/FoamX/autoPatch.cfg deleted file mode 100644 index b21e73a352..0000000000 --- a/applications/utilities/mesh/manipulation/autoPatch/FoamX/autoPatch.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// autoPatch tool definition - -description "Divides external faces into patches based on (user supplied) feature angle"; - -autoPatchDict -{ - type dictionary; - description "autoPatch control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/featureAngle.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/boxToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/boxToCell.cfg deleted file mode 100644 index 1014293ac6..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/boxToCell.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -boxToCell -{ - type dictionary; - description "Description of a box to cell source"; - - entries - { - box - { - type compound; - description "bounding box"; - entries - { - include "$FOAMX_CONFIG/entries/vector/min.cfg"; - include "$FOAMX_CONFIG/entries/vector/max.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/cellSet.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/cellSet.cfg deleted file mode 100644 index f33c3c9977..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/cellSet.cfg +++ /dev/null @@ -1,77 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// cellSet tool definition - - -description "Creates a cell set based on parameters specified in cellSetDict"; - -cellSetDict -{ - type dictionary; - description "cellSet control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - - name - { - type word; - description "Cell set file name"; - } - - action - { - type word; - description "action on cell set (eg new cells, add cells, delete cells)"; - default new; - valueList - ( - new - add - delete - clear - invert - ); - } - - topoSetSources - { - type list; - description "list of regions"; - - elementType - { - regionType - { - type selection; - - entries - { - include "boxToCell.cfg"; - include "cellToCell.cfg"; - include "faceToCell.cfg"; - include "pointToCell.cfg"; - include "labelToCell.cfg"; - include "shapeToCell.cfg"; - include "rotatedBoxToCell.cfg"; - include "zoneToCell.cfg"; - include "fieldToCell.cfg"; - include "nearestToCell.cfg"; - } - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/cellToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/cellToCell.cfg deleted file mode 100644 index 944bd2c9b4..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/cellToCell.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cellToCell -{ - type dictionary; - description "Cell to cell copy from a cellSet"; - - entries - { - include "set.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/faceToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/faceToCell.cfg deleted file mode 100644 index 391737b225..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/faceToCell.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -faceToCell -{ - type dictionary; - description "Description based on a faceSet"; - - entries - { - include "set.cfg"; - option - { - type word; - default any; - valueList - ( - any - all - neighbour - owner - ); - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/fieldToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/fieldToCell.cfg deleted file mode 100644 index c6bb90bc3e..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/fieldToCell.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fieldToCell -{ - type dictionary; - description "Description of a field to cell source"; - - entries - { - fieldName - { - type word; - } - include "$FOAMX_CONFIG/entries/scalar/min.cfg"; - include "$FOAMX_CONFIG/entries/scalar/max.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/labelToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/labelToCell.cfg deleted file mode 100644 index f15230f64a..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/labelToCell.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -labelToCell -{ - type dictionary; - description "Description based on a list of cell labels"; - - entries - { - value - { - type list; - elementType label; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/nearestToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/nearestToCell.cfg deleted file mode 100644 index 9713f25011..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/nearestToCell.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nearestToCell -{ - type dictionary; - description "Description based on cells nearest to list of points"; - - entries - { - points - { - type list; - elementType vector; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/pointToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/pointToCell.cfg deleted file mode 100644 index f5fc40abe7..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/pointToCell.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pointToCell -{ - type dictionary; - description "Description based on a pointSet"; - - entries - { - include "set.cfg"; - option - { - type word; - default any; - valueList - ( - any - all - ); - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/rotatedBoxToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/rotatedBoxToCell.cfg deleted file mode 100644 index c996cfdbd3..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/rotatedBoxToCell.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rotatedBoxToCell -{ - type dictionary; - description "Description of a rotated box to cell source"; - - entries - { - origin - { - type vector; - } - - i - { - type vector; - } - - j - { - type vector; - } - - k - { - type vector; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/set.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/set.cfg deleted file mode 100644 index 3c7ead362b..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/set.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -set -{ - type word; - description "set file name"; -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/shapeToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/shapeToCell.cfg deleted file mode 100644 index 9c7aa692eb..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/shapeToCell.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -shapeToCell -{ - type dictionary; - description "Description based on a cell shape"; - - entries - { - type - { - type shape; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/surfaceToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/surfaceToCell.cfg deleted file mode 100644 index 3703516cde..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/surfaceToCell.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -surfaceToCell -{ - type dictionary; - description "Description based on surface"; - - entries - { - file - { - type string; - description "STL file name"; - } - - // to be continued - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/cellSet/FoamX/zoneToCell.cfg b/applications/utilities/mesh/manipulation/cellSet/FoamX/zoneToCell.cfg deleted file mode 100644 index 519d208960..0000000000 --- a/applications/utilities/mesh/manipulation/cellSet/FoamX/zoneToCell.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -zoneToCell -{ - type dictionary; - description "Description of a zone to cell source"; - - entries - { - name - { - type word; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/checkMesh.save/FoamX/checkMesh.cfg b/applications/utilities/mesh/manipulation/checkMesh.save/FoamX/checkMesh.cfg deleted file mode 100644 index dbbbb087f2..0000000000 --- a/applications/utilities/mesh/manipulation/checkMesh.save/FoamX/checkMesh.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// checkMesh tool definition - -description "Diagnostic check of the validity of a mesh"; - -checkMeshDict -{ - type dictionary; - description "checkMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/latestTime.cfg"; - include "$FOAMX_CONFIG/entries/arguments/time.cfg"; - include "$FOAMX_CONFIG/entries/arguments/noCoords.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/checkMesh/FoamX/checkMesh.cfg b/applications/utilities/mesh/manipulation/checkMesh/FoamX/checkMesh.cfg deleted file mode 100644 index dbbbb087f2..0000000000 --- a/applications/utilities/mesh/manipulation/checkMesh/FoamX/checkMesh.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// checkMesh tool definition - -description "Diagnostic check of the validity of a mesh"; - -checkMeshDict -{ - type dictionary; - description "checkMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/latestTime.cfg"; - include "$FOAMX_CONFIG/entries/arguments/time.cfg"; - include "$FOAMX_CONFIG/entries/arguments/noCoords.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/createBaffles/FoamX/splitMeshRegions.cfg b/applications/utilities/mesh/manipulation/createBaffles/FoamX/splitMeshRegions.cfg deleted file mode 100644 index dd7ccee689..0000000000 --- a/applications/utilities/mesh/manipulation/createBaffles/FoamX/splitMeshRegions.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// splitMeshRegions tool definition - -description "Splits mesh into multiple regions and writes them to consecutive time directories"; - -splitMeshRegionsDict -{ - type dictionary; - description "splitMeshRegions control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-largestOnly"; - editable 0; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/createPatch/FoamX/createPatch.cfg b/applications/utilities/mesh/manipulation/createPatch/FoamX/createPatch.cfg deleted file mode 100644 index e4a9c68334..0000000000 --- a/applications/utilities/mesh/manipulation/createPatch/FoamX/createPatch.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// createPatch tool definition - -description "Utility to create patches out of selected boundary faces"; - -createPatchDict -{ - type dictionary; - description "createPatch control dictionary"; - dictionaryPath "system"; - - types - { - include "patchDescription.cfg"; - } - - entries - { - arguments - { - type rootCaseArguments; - } - - patches - { - type list; - elementType patchDescription; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/createPatch/FoamX/patchDescription.cfg b/applications/utilities/mesh/manipulation/createPatch/FoamX/patchDescription.cfg deleted file mode 100644 index 889111b9ed..0000000000 --- a/applications/utilities/mesh/manipulation/createPatch/FoamX/patchDescription.cfg +++ /dev/null @@ -1,58 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patchDescription -{ - type dictionary; - description "Description of operation to create patch"; - entries - { - name - { - type word; - description "Name of new patch"; - } - - type - { - type word; - description "Type of new patch"; - valueList - ( - patch - cyclic - symmetryPlane - wedge - wall - empty - ); - } - - constructFrom - { - type word; - description "What the patch is constructed from"; - valueList - ( - patches - set - ); - } - - patches - { - type list; - description "patch names for constructFrom patches"; - elementType word; - } - - include "set.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/createPatch/FoamX/set.cfg b/applications/utilities/mesh/manipulation/createPatch/FoamX/set.cfg deleted file mode 100644 index 36fd4b815a..0000000000 --- a/applications/utilities/mesh/manipulation/createPatch/FoamX/set.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -set -{ - type word; - description "faceSet file name"; -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/deformedGeom/FoamX/deformedGeom.cfg b/applications/utilities/mesh/manipulation/deformedGeom/FoamX/deformedGeom.cfg deleted file mode 100644 index 0dd64cb571..0000000000 --- a/applications/utilities/mesh/manipulation/deformedGeom/FoamX/deformedGeom.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// deformedGeom tool definition - -description "Deform polyMesh geometry by displacement field U and scalingFactor"; - -deformedGeomDict -{ - type dictionary; - description "deformedGeom control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/scalingFactor.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/boxToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/boxToFace.cfg deleted file mode 100644 index 0aa856c7bf..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/boxToFace.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -boxToFace -{ - type dictionary; - description "Description of a box to face source"; - - entries - { - box - { - type compound; - description "bounding box"; - entries - { - include "$FOAMX_CONFIG/entries/vector/min.cfg"; - include "$FOAMX_CONFIG/entries/vector/max.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/cellToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/cellToFace.cfg deleted file mode 100644 index edb6983489..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/cellToFace.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cellToFace -{ - type dictionary; - description "Cell to face copy from a faceSet"; - - entries - { - include "set.cfg"; - option - { - type word; - default all; - valueList - ( - all - both - ); - } - - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/faceSet.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/faceSet.cfg deleted file mode 100644 index a3d7202b52..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/faceSet.cfg +++ /dev/null @@ -1,75 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// cellSet tool definition - - -description "Creates a face set based on parameters specified in faceSetDict"; - -faceSetDict -{ - type dictionary; - description "faceSet control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - - name - { - type word; - description "face set file name"; - } - - action - { - type word; - description "action on face set (eg new faces, add faces, delete faces)"; - default new; - valueList - ( - new - add - delete - clear - invert - ); - } - - topoSetSources - { - type list; - description "list of regions"; - - elementType - { - regionType - { - type selection; - - entries - { - include "boxToFace.cfg"; - include "cellToFace.cfg"; - include "faceToFace.cfg"; - include "pointToFace.cfg"; - include "labelToFace.cfg"; - include "patchToFace.cfg"; - include "zoneToFace.cfg"; - include "normalToFace.cfg"; - } - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/faceToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/faceToFace.cfg deleted file mode 100644 index 9491d8be52..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/faceToFace.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -faceToFace -{ - type dictionary; - description "Copy from a faceSet"; - - entries - { - include "set.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/labelToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/labelToFace.cfg deleted file mode 100644 index c57cdd73a4..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/labelToFace.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -labelToFace -{ - type dictionary; - description "Description based on a list of face labels"; - - entries - { - value - { - type list; - elementType label; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/normalToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/normalToFace.cfg deleted file mode 100644 index e2ee47ef6e..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/normalToFace.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -normalToFace -{ - type dictionary; - description "Description based on faces with normal within angle tolernace"; - - entries - { - normal - { - type vector; - description "normal vector"; - } - - cos - { - type scalar01; - description "Tolerance as max cosine of angle"; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/patchToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/patchToFace.cfg deleted file mode 100644 index 7a2ddd521e..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/patchToFace.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patchToFace -{ - type dictionary; - description "Description of a patch to face source"; - - entries - { - name - { - type word; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/pointToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/pointToFace.cfg deleted file mode 100644 index badc1d367d..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/pointToFace.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pointToFace -{ - type dictionary; - description "Description based on a pointSet"; - - entries - { - include "set.cfg"; - option - { - type word; - default any; - valueList - ( - any - all - ); - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/set.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/set.cfg deleted file mode 100644 index 3c7ead362b..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/set.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -set -{ - type word; - description "set file name"; -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/faceSet/FoamX/zoneToFace.cfg b/applications/utilities/mesh/manipulation/faceSet/FoamX/zoneToFace.cfg deleted file mode 100644 index 9768829f0a..0000000000 --- a/applications/utilities/mesh/manipulation/faceSet/FoamX/zoneToFace.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -zoneToFace -{ - type dictionary; - description "Description of a zone to face source"; - - entries - { - name - { - type word; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/flattenMesh/FoamX/flattenMesh.cfg b/applications/utilities/mesh/manipulation/flattenMesh/FoamX/flattenMesh.cfg deleted file mode 100644 index 98e3f92de2..0000000000 --- a/applications/utilities/mesh/manipulation/flattenMesh/FoamX/flattenMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// flattenMesh tool definition - -description "Flatten the front and back planes of a 2D cartesian mesh"; - -flattenMeshDict -{ - type dictionary; - description "flattenMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/FoamX/mergeMeshes.cfg b/applications/utilities/mesh/manipulation/mergeMeshes/FoamX/mergeMeshes.cfg deleted file mode 100644 index c9580d830d..0000000000 --- a/applications/utilities/mesh/manipulation/mergeMeshes/FoamX/mergeMeshes.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// mergeMeshes tool definition - -description "Merge two meshes"; - -mergeMeshesDict -{ - type dictionary; - description "mergeMeshes control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - rootCaseForSecondMesh - { - type rootAndCase; - displayName ""; - description "Root and case for the mesh to add"; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/FoamX/mirrorMesh.cfg b/applications/utilities/mesh/manipulation/mirrorMesh/FoamX/mirrorMesh.cfg deleted file mode 100644 index 7138173753..0000000000 --- a/applications/utilities/mesh/manipulation/mirrorMesh/FoamX/mirrorMesh.cfg +++ /dev/null @@ -1,60 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// mirrorMesh tool definition - -description "Mirror a mesh around a given plane"; - -mirrorMeshDict -{ - type dictionary; - description "mirrorMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - - planeType - { - type word; - default pointAndNormal; - valueList - ( - pointAndNormal - ); - } - - pointAndNormalDict - { - type dictionary; - entries - { - basePoint - { - type vector; - } - - normalVector - { - type vector; - } - } - } - - planeTolerance - { - type scalar; - default 1e-03; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/moveDynamicMesh/FoamX/moveDynamicMesh.cfg b/applications/utilities/mesh/manipulation/moveDynamicMesh/FoamX/moveDynamicMesh.cfg deleted file mode 100644 index 8581898b03..0000000000 --- a/applications/utilities/mesh/manipulation/moveDynamicMesh/FoamX/moveDynamicMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// moveDynamicMesh tool definition - -description "Mesh motion and topological mesh changes utility"; - -moveDynamicMeshDict -{ - type dictionary; - description "moveDynamicMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/moveEngineMesh/FoamX/moveEngineMesh.cfg b/applications/utilities/mesh/manipulation/moveEngineMesh/FoamX/moveEngineMesh.cfg deleted file mode 100644 index b5a0071e86..0000000000 --- a/applications/utilities/mesh/manipulation/moveEngineMesh/FoamX/moveEngineMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// moveEngineMesh tool definition - -description "Runs a solution for moving an engine mesh"; - -moveEngineMeshDict -{ - type dictionary; - description "moveEngineMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/moveMesh/FoamX/moveMesh.cfg b/applications/utilities/mesh/manipulation/moveMesh/FoamX/moveMesh.cfg deleted file mode 100644 index bdbe37180a..0000000000 --- a/applications/utilities/mesh/manipulation/moveMesh/FoamX/moveMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// moveMesh tool definition - -description "Runs a solution for moving the mesh"; - -moveMeshDict -{ - type dictionary; - description "moveMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/objToVTK/FoamX/objToVTK.cfg b/applications/utilities/mesh/manipulation/objToVTK/FoamX/objToVTK.cfg deleted file mode 100644 index 5526d7494a..0000000000 --- a/applications/utilities/mesh/manipulation/objToVTK/FoamX/objToVTK.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// objToVTK tool definition - -description "Read obj line (not surface!) file and convert into vtk"; - -objToVTKDict -{ - type dictionary; - description "objToVTK control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type compound; - optional 1; - entries - { - include "$FOAMX_CONFIG/entries/arguments/inputFile.cfg"; - include "$FOAMX_CONFIG/entries/arguments/outputFile.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/pointSet/FoamX/boxToPoint.cfg b/applications/utilities/mesh/manipulation/pointSet/FoamX/boxToPoint.cfg deleted file mode 100644 index 3e63c4feda..0000000000 --- a/applications/utilities/mesh/manipulation/pointSet/FoamX/boxToPoint.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -boxToPoint -{ - type dictionary; - description "Description of a box to point source"; - - entries - { - box - { - type compound; - description "bounding box"; - entries - { - include "$FOAMX_CONFIG/entries/vector/min.cfg"; - include "$FOAMX_CONFIG/entries/vector/max.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/pointSet/FoamX/cellToPoint.cfg b/applications/utilities/mesh/manipulation/pointSet/FoamX/cellToPoint.cfg deleted file mode 100644 index 5f734ada30..0000000000 --- a/applications/utilities/mesh/manipulation/pointSet/FoamX/cellToPoint.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cellToPoint -{ - type dictionary; - description "Description based on a cellSet"; - - entries - { - include "set.cfg"; - option - { - type word; - default all; - valueList - ( - all - ); - } - - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/pointSet/FoamX/faceToPoint.cfg b/applications/utilities/mesh/manipulation/pointSet/FoamX/faceToPoint.cfg deleted file mode 100644 index 5c6226d777..0000000000 --- a/applications/utilities/mesh/manipulation/pointSet/FoamX/faceToPoint.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -faceToPoint -{ - type dictionary; - description "Description based on a faceSet"; - - entries - { - include "set.cfg"; - option - { - type word; - default all; - valueList - ( - all - ); - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/pointSet/FoamX/labelToPoint.cfg b/applications/utilities/mesh/manipulation/pointSet/FoamX/labelToPoint.cfg deleted file mode 100644 index 054d5a86b2..0000000000 --- a/applications/utilities/mesh/manipulation/pointSet/FoamX/labelToPoint.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -labelToPoint -{ - type dictionary; - description "Description based on a list of point labels"; - - entries - { - value - { - type list; - elementType label; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/pointSet/FoamX/pointSet.cfg b/applications/utilities/mesh/manipulation/pointSet/FoamX/pointSet.cfg deleted file mode 100644 index 9ff9a91032..0000000000 --- a/applications/utilities/mesh/manipulation/pointSet/FoamX/pointSet.cfg +++ /dev/null @@ -1,72 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// cellSet tool definition - - -description "Creates a point set based on parameters specified in pointSetDict"; - -pointSetDict -{ - type dictionary; - description "pointSet control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - - name - { - type word; - description "point set file name"; - } - - action - { - type word; - description "action on point set (eg new points, add points, delete points)"; - default new; - valueList - ( - new - add - delete - clear - invert - ); - } - - topoSetSources - { - type list; - description "list of regions"; - - elementType - { - regionType - { - type selection; - - entries - { - include "boxToPoint.cfg"; - include "cellToPoint.cfg"; - include "faceToPoint.cfg"; - include "pointToPoint.cfg"; - include "labelToPoint.cfg"; - } - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/pointSet/FoamX/pointToPoint.cfg b/applications/utilities/mesh/manipulation/pointSet/FoamX/pointToPoint.cfg deleted file mode 100644 index 596a97a77c..0000000000 --- a/applications/utilities/mesh/manipulation/pointSet/FoamX/pointToPoint.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pointToPoint -{ - type dictionary; - description "Copy from a pointSet"; - - entries - { - include "set.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/pointSet/FoamX/set.cfg b/applications/utilities/mesh/manipulation/pointSet/FoamX/set.cfg deleted file mode 100644 index 3c7ead362b..0000000000 --- a/applications/utilities/mesh/manipulation/pointSet/FoamX/set.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -set -{ - type word; - description "set file name"; -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/refineMesh/FoamX/refineMesh.cfg b/applications/utilities/mesh/manipulation/refineMesh/FoamX/refineMesh.cfg deleted file mode 100644 index 422fbb3eea..0000000000 --- a/applications/utilities/mesh/manipulation/refineMesh/FoamX/refineMesh.cfg +++ /dev/null @@ -1,86 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// refineMesh tool definition - -description "Refines mesh within a cell set defined in refineMeshDict"; - -refineMeshDict -{ - type dictionary; - description "refineMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/dict.cfg"; - } - } - - set - { - type word; - description "cell set file name"; - } - - coordinateSystem - { - type word; - description "coordinate system for refinement process"; - default global; - valueList - ( - global - patchLocal - ); - } - - globalCoeffs - { - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/vector/tan1.cfg"; - include "$FOAMX_CONFIG/entries/vector/tan2.cfg"; - } - } - - patchLocalCoeffs - { - type dictionary; - entries - { - patch - { - type word; - description "tan2 is face normal to 0th face of this patch"; - } - include "$FOAMX_CONFIG/entries/vector/tan1.cfg"; - } - } - - directions - { - type list; - description "list of directions to refine (must be tan1, tan2 and/or normal)"; - elementType word; - default ( tan1 <> ); - } - - include "$FOAMX_CONFIG/entries/Switch/useHexTopology.cfg"; - include "$FOAMX_CONFIG/entries/Switch/geometricCut.cfg"; - include "$FOAMX_CONFIG/entries/Switch/writeMesh.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/renumberMesh/FoamX/renumberMesh.cfg b/applications/utilities/mesh/manipulation/renumberMesh/FoamX/renumberMesh.cfg deleted file mode 100644 index 67da07dd46..0000000000 --- a/applications/utilities/mesh/manipulation/renumberMesh/FoamX/renumberMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// renumberMesh tool definition - -description "Renumbers mesh and fields to reduce matrix bandwidth"; - -renumberMeshDict -{ - type dictionary; - description "renumberMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/rotateMesh/FoamX/rotateMesh.cfg b/applications/utilities/mesh/manipulation/rotateMesh/FoamX/rotateMesh.cfg deleted file mode 100644 index adcad4d3e4..0000000000 --- a/applications/utilities/mesh/manipulation/rotateMesh/FoamX/rotateMesh.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// rotateMesh tool definition - -description "Rotate mesh and fields by given two vectors"; - -rotateMeshDict -{ - type dictionary; - description "rotateMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/rotationVectors.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/splitMesh/FoamX/splitMesh.cfg b/applications/utilities/mesh/manipulation/splitMesh/FoamX/splitMesh.cfg deleted file mode 100644 index fc75dced52..0000000000 --- a/applications/utilities/mesh/manipulation/splitMesh/FoamX/splitMesh.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// splitMesh tool definition - -description "Splits mesh by making internal faces external"; - -splitMeshDict -{ - type dictionary; - description "splitMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - faceSet - { - type word; - description "Face set to become external faces"; - } - - include "$FOAMX_CONFIG/entries/arguments/masterPatch.cfg"; - include "$FOAMX_CONFIG/entries/arguments/slavePatch.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/FoamX/splitMeshRegions.cfg b/applications/utilities/mesh/manipulation/splitMeshRegions/FoamX/splitMeshRegions.cfg deleted file mode 100644 index dd7ccee689..0000000000 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/FoamX/splitMeshRegions.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// splitMeshRegions tool definition - -description "Splits mesh into multiple regions and writes them to consecutive time directories"; - -splitMeshRegionsDict -{ - type dictionary; - description "splitMeshRegions control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-largestOnly"; - editable 0; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/stitchMesh/FoamX/stitchMesh.cfg b/applications/utilities/mesh/manipulation/stitchMesh/FoamX/stitchMesh.cfg deleted file mode 100644 index 32a7c8c30e..0000000000 --- a/applications/utilities/mesh/manipulation/stitchMesh/FoamX/stitchMesh.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// stitchMesh tool definition - -description "'Stitches' a mesh"; - -stitchMeshDict -{ - type dictionary; - description "stitchMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/masterPatch.cfg"; - include "$FOAMX_CONFIG/entries/arguments/slavePatch.cfg"; - include "$FOAMX_CONFIG/entries/arguments/perfect.cfg"; - include "$FOAMX_CONFIG/entries/arguments/partial.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/subsetMesh/FoamX/subsetMesh.cfg b/applications/utilities/mesh/manipulation/subsetMesh/FoamX/subsetMesh.cfg deleted file mode 100644 index c636021607..0000000000 --- a/applications/utilities/mesh/manipulation/subsetMesh/FoamX/subsetMesh.cfg +++ /dev/null @@ -1,55 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// subsetMesh tool definition - -description "Creates a region of the mesh based on parameter specified in subsetMeshDict"; - -subsetMeshDict -{ - type dictionary; - description "subsetMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/patch.cfg"; - } - } - - points - { - type list; - description "list of point labels"; - elementType label; - } - - faces - { - type list; - description "list of face labels"; - elementType block; - } - - cells - { - type list; - description "list of cell labels"; - elementType edge; - } - - include "$FOAMX_CONFIG/entries/Switch/addCellNeighbours.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/transformPoints/FoamX/transformPoints.cfg b/applications/utilities/mesh/manipulation/transformPoints/FoamX/transformPoints.cfg deleted file mode 100644 index d34aef1c6e..0000000000 --- a/applications/utilities/mesh/manipulation/transformPoints/FoamX/transformPoints.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// transformPoints tool definition - -description "Transform geometry by given translate, rotate and scale arguments"; - -transformPointsDict -{ - type dictionary; - description "transformPoints control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - - entries - { - include "$FOAMX_CONFIG/entries/arguments/translate.cfg"; - include "$FOAMX_CONFIG/entries/arguments/rotate.cfg"; - include "$FOAMX_CONFIG/entries/arguments/vectorScale.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/mesh/manipulation/zipUpMesh/FoamX/zipUpMesh.cfg b/applications/utilities/mesh/manipulation/zipUpMesh/FoamX/zipUpMesh.cfg deleted file mode 100644 index d00c7f6fd6..0000000000 --- a/applications/utilities/mesh/manipulation/zipUpMesh/FoamX/zipUpMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// zipUpMesh tool definition - -description "Closes cells for a mesh with hanging vertices"; - -zipUpMeshDict -{ - type dictionary; - description "zipUpMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/miscellaneous/foamInfoExec/FoamX/foamInfoExec.cfg b/applications/utilities/miscellaneous/foamInfoExec/FoamX/foamInfoExec.cfg deleted file mode 100644 index 6b9347d91b..0000000000 --- a/applications/utilities/miscellaneous/foamInfoExec/FoamX/foamInfoExec.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// foamInfoExec tool definition - -description "Interrogates a case and prints information to screen"; - -foamInfoExecDict -{ - type dictionary; - description "foamInfoExec control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/times.cfg"; - include "$FOAMX_CONFIG/entries/arguments/dictionary.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/parallelProcessing/decomposePar/FoamX/decomposePar.cfg b/applications/utilities/parallelProcessing/decomposePar/FoamX/decomposePar.cfg deleted file mode 100644 index cd6f1b9b6e..0000000000 --- a/applications/utilities/parallelProcessing/decomposePar/FoamX/decomposePar.cfg +++ /dev/null @@ -1,85 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// decomposePar tool definition - -description "Mesh and Field Decomposer"; - -decomposeParDict -{ - type dictionary; - description "decomposePar control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/cellDist.cfg"; - include "$FOAMX_CONFIG/entries/arguments/fieldsOnly.cfg"; - } - } - - numberOfSubdomains - { - type label; - default 1; - } - - method - { - type word; - default simple; - valueList - ( - metis - simple - hierarchical - manual - ); - } - - simpleCoeffs - { - type dictionary; - entries - { - include "n.cfg"; - include "delta.cfg"; - } - } - - hierarchicalCoeffs - { - type dictionary; - entries - { - include "n.cfg"; - include "delta.cfg"; - include "order.cfg"; - } - } - - manualCoeffs - { - type dictionary; - entries - { - dataFile - { - type string; - description "Path of decomposition data file"; - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/parallelProcessing/decomposePar/FoamX/delta.cfg b/applications/utilities/parallelProcessing/decomposePar/FoamX/delta.cfg deleted file mode 100644 index 25a0fafb46..0000000000 --- a/applications/utilities/parallelProcessing/decomposePar/FoamX/delta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -delta -{ - type scalar0Inf; - description "delta"; - default 0.001; -} - -// ************************************************************************* // diff --git a/applications/utilities/parallelProcessing/decomposePar/FoamX/n.cfg b/applications/utilities/parallelProcessing/decomposePar/FoamX/n.cfg deleted file mode 100644 index 39c57729cb..0000000000 --- a/applications/utilities/parallelProcessing/decomposePar/FoamX/n.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -n -{ - description "n"; - type fixedList; - elementType label; - numElements 3; - elementLabels ( Nx Ny Nz ); - default ( 1 1 1 ); -} - -// ************************************************************************* // diff --git a/applications/utilities/parallelProcessing/decomposePar/FoamX/order.cfg b/applications/utilities/parallelProcessing/decomposePar/FoamX/order.cfg deleted file mode 100644 index 3231d2c4a4..0000000000 --- a/applications/utilities/parallelProcessing/decomposePar/FoamX/order.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -order -{ - type word; - description "order"; - default xyz; - valueList - ( - xyz - xzy - yxz - yzx - zxy - zyx - ); -} - -// ************************************************************************* // diff --git a/applications/utilities/parallelProcessing/reconstructPar/FoamX/reconstructPar.cfg b/applications/utilities/parallelProcessing/reconstructPar/FoamX/reconstructPar.cfg deleted file mode 100644 index 97fdb9d55e..0000000000 --- a/applications/utilities/parallelProcessing/reconstructPar/FoamX/reconstructPar.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// reconstructPar tool definition - -description "Decomposed case field reconstruction"; - -reconstructParDict -{ - type dictionary; - description "reconstructPar control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/FoamX/reconstructParMesh.cfg b/applications/utilities/parallelProcessing/reconstructParMesh/FoamX/reconstructParMesh.cfg deleted file mode 100644 index 4fb437f75f..0000000000 --- a/applications/utilities/parallelProcessing/reconstructParMesh/FoamX/reconstructParMesh.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// reconstructParMesh tool definition - -description "Reconstructs a mesh using geometric information only"; - -reconstructParMeshDict -{ - type dictionary; - description "reconstructParMesh control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/foamDataToFluent.cfg b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/foamDataToFluent.cfg deleted file mode 100644 index 4ff1f15322..0000000000 --- a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/foamDataToFluent.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// foamDataToFluent tool definition - -description "OpenFOAM to Fluent field data converter"; - -foamDataToFluentDict -{ - type dictionary; - description "foamDataToFluent control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - - include "standardEntries.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/standardEntries.cfg b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/standardEntries.cfg deleted file mode 100644 index b2b5a6f0d5..0000000000 --- a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/FoamX/standardEntries.cfg +++ /dev/null @@ -1,58 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - type label; - optional 1; - default 1; -} - -U -{ - type label; - optional 1; - default 2; -} - -T -{ - type label; - optional 1; - default 3; -} - -h -{ - type label; - optional 1; - default 4; -} - -k -{ - type label; - optional 1; - default 5; -} - -epsilon -{ - type label; - optional 1; - default 6; -} - -gamma -{ - type label; - optional 1; - default 150; -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsight/FoamX/foamToEnsight.cfg b/applications/utilities/postProcessing/dataConversion/foamToEnsight/FoamX/foamToEnsight.cfg deleted file mode 100644 index 8643e4a4fe..0000000000 --- a/applications/utilities/postProcessing/dataConversion/foamToEnsight/FoamX/foamToEnsight.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// foamToEnsight tool definition - -description "Translates OpenFOAM data to EnSight format"; - -foamToEnsightDict -{ - type dictionary; - description "foamToEnsight control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/patches.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/FoamX/foamToFieldview9.cfg b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/FoamX/foamToFieldview9.cfg deleted file mode 100644 index 48e2f9f66d..0000000000 --- a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/FoamX/foamToFieldview9.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// foamToFieldview9 tool definition - -description "Converts an OpenFOAM mesh to Fieldview-UNS format (binary)"; - -foamToFieldview9Dict -{ - type dictionary; - description "foamToFieldview9 control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/noWall.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/FoamX/foamToGMV.cfg b/applications/utilities/postProcessing/dataConversion/foamToGMV/FoamX/foamToGMV.cfg deleted file mode 100644 index 0b956380e6..0000000000 --- a/applications/utilities/postProcessing/dataConversion/foamToGMV/FoamX/foamToGMV.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// foamToGMV tool definition - -description "Converts OpenFOAM output to GMV format"; - -foamToGMVDict -{ - type dictionary; - description "foamToGMV control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/dataConversion/smapToFoam/FoamX/smapToFoam.cfg b/applications/utilities/postProcessing/dataConversion/smapToFoam/FoamX/smapToFoam.cfg deleted file mode 100644 index fe18470215..0000000000 --- a/applications/utilities/postProcessing/dataConversion/smapToFoam/FoamX/smapToFoam.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// smapToFoam tool definition - -description "Converts field data from STAR-CD SMAP to OpenFOAM format"; - -smapToFoamDict -{ - type dictionary; - description "smapToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/dataFile.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/graphics/paraFoam/FoamX/paraFoam.cfg b/applications/utilities/postProcessing/graphics/paraFoam/FoamX/paraFoam.cfg deleted file mode 100644 index fea99de0bf..0000000000 --- a/applications/utilities/postProcessing/graphics/paraFoam/FoamX/paraFoam.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// paraFoam tool definition - -description "Graphics post-processing using ParaView"; - -paraFoamDict -{ - type dictionary; - description "paraFoam control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/FoamX/engineCompRatio.cfg b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/FoamX/engineCompRatio.cfg deleted file mode 100644 index f31f327d9b..0000000000 --- a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/FoamX/engineCompRatio.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// engineCompRatio tool definition - -description "Calculates the geometric compression ratio"; - -engineCompRatioDict -{ - type dictionary; - description "engineCompRatio control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/FoamX/postChannel.cfg b/applications/utilities/postProcessing/miscellaneous/postChannel/FoamX/postChannel.cfg deleted file mode 100644 index 480c6a2e63..0000000000 --- a/applications/utilities/postProcessing/miscellaneous/postChannel/FoamX/postChannel.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// postChannel tool definition - -description "Periodic channel flow statistics; works only for meshes with i-j-k style cell numbering; j numbering can accommodate multiple blocks"; - -postChannelDict -{ - type dictionary; - description "postChannel control dictionary"; - dictionaryPath "constant"; - - entries - { - arguments - { - type rootCaseArguments; - } - - include "$FOAMX_CONFIG/entries/label/Nx.cfg"; - - Ny - { - type list; - description "Ny - number of cells in EACH BLOCK of mesh in y direction "; - elementType label; - } - - include "$FOAMX_CONFIG/entries/label/Nz.cfg"; - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/miscellaneous/ptot/FoamX/ptot.cfg b/applications/utilities/postProcessing/miscellaneous/ptot/FoamX/ptot.cfg deleted file mode 100644 index f40f6424f8..0000000000 --- a/applications/utilities/postProcessing/miscellaneous/ptot/FoamX/ptot.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// ptot tool definition - -description "Calculate the total-pressure field"; - -ptotDict -{ - type dictionary; - description "ptot control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/miscellaneous/wdot/FoamX/wdot.cfg b/applications/utilities/postProcessing/miscellaneous/wdot/FoamX/wdot.cfg deleted file mode 100644 index c9085daf70..0000000000 --- a/applications/utilities/postProcessing/miscellaneous/wdot/FoamX/wdot.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// wdot tool definition - -description "Calculate the reaction rate field for the Weller combustion model"; - -wdotDict -{ - type dictionary; - description "wdot control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/miscellaneous/writeCellCentres/FoamX/writeCellCentres.cfg b/applications/utilities/postProcessing/miscellaneous/writeCellCentres/FoamX/writeCellCentres.cfg deleted file mode 100644 index 09db66ef28..0000000000 --- a/applications/utilities/postProcessing/miscellaneous/writeCellCentres/FoamX/writeCellCentres.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// writeCellCentres tool definition - -description "Outputs components of cell centres"; - -writeCellCentresDict -{ - type dictionary; - description "writeCellCentres control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - entries - { - include "$FOAMX_CONFIG/entries/arguments/latestTime.cfg"; - include "$FOAMX_CONFIG/entries/arguments/time.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/scalarField/pPrime2/FoamX/pPrime2.cfg b/applications/utilities/postProcessing/scalarField/pPrime2/FoamX/pPrime2.cfg deleted file mode 100644 index a87d01558f..0000000000 --- a/applications/utilities/postProcessing/scalarField/pPrime2/FoamX/pPrime2.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// pPrime2 tool definition - -description "Calculate the sqr(p') field"; - -pPrime2Dict -{ - type dictionary; - description "pPrime2 control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/stressField/stressComponents/FoamX/stressComponents.cfg b/applications/utilities/postProcessing/stressField/stressComponents/FoamX/stressComponents.cfg deleted file mode 100644 index 317f7527ed..0000000000 --- a/applications/utilities/postProcessing/stressField/stressComponents/FoamX/stressComponents.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// stressComponents tool definition - -description "Decompose stress tensor into individual components"; - -stressComponentsDict -{ - type dictionary; - description "stressComponents control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/turbulence/R/FoamX/R.cfg b/applications/utilities/postProcessing/turbulence/R/FoamX/R.cfg deleted file mode 100644 index 65e603ac04..0000000000 --- a/applications/utilities/postProcessing/turbulence/R/FoamX/R.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// R tool definition - -description "Reynolds stress calculation"; - -RDict -{ - type dictionary; - description "R control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/Co/FoamX/Co.cfg b/applications/utilities/postProcessing/velocityField/Co/FoamX/Co.cfg deleted file mode 100644 index a51966bb5a..0000000000 --- a/applications/utilities/postProcessing/velocityField/Co/FoamX/Co.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Co tool definition - -description "Create the Courant-number field"; - -CoDict -{ - type dictionary; - description "Co control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/FoamX/Lambda2.cfg b/applications/utilities/postProcessing/velocityField/Lambda2/FoamX/Lambda2.cfg deleted file mode 100644 index 0e48403d0a..0000000000 --- a/applications/utilities/postProcessing/velocityField/Lambda2/FoamX/Lambda2.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Lambda2 tool definition - -description "Calculate the second largest eigenvalue of the sum of the - square of the symmetrical and anti-symmetrical parts of the velocity - gradient tensor"; - -Lambda2Dict -{ - type dictionary; - description "Lambda2 control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/Mach/FoamX/Mach.cfg b/applications/utilities/postProcessing/velocityField/Mach/FoamX/Mach.cfg deleted file mode 100644 index 9503e49775..0000000000 --- a/applications/utilities/postProcessing/velocityField/Mach/FoamX/Mach.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Mach tool definition - -description "Mach number calculation"; - -MachDict -{ - type dictionary; - description "Mach control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/Pe/FoamX/Pe.cfg b/applications/utilities/postProcessing/velocityField/Pe/FoamX/Pe.cfg deleted file mode 100644 index 493150acbf..0000000000 --- a/applications/utilities/postProcessing/velocityField/Pe/FoamX/Pe.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Pe tool definition - -description "Calculate the Peclet-number field"; - -PeDict -{ - type dictionary; - description "Pe control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/Q/FoamX/Q.cfg b/applications/utilities/postProcessing/velocityField/Q/FoamX/Q.cfg deleted file mode 100644 index ee4ab9835f..0000000000 --- a/applications/utilities/postProcessing/velocityField/Q/FoamX/Q.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Q tool definition - -description "Calculate the second invariant of the velocity gradient tensor"; - -QDict -{ - type dictionary; - description "Q control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/FoamX/enstrophy.cfg b/applications/utilities/postProcessing/velocityField/enstrophy/FoamX/enstrophy.cfg deleted file mode 100644 index e666e63312..0000000000 --- a/applications/utilities/postProcessing/velocityField/enstrophy/FoamX/enstrophy.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// enstrophy tool definition - -description "Enstrophy calculation"; - -enstrophyDict -{ - type dictionary; - description "enstrophy control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/flowType/FoamX/flowType.cfg b/applications/utilities/postProcessing/velocityField/flowType/FoamX/flowType.cfg deleted file mode 100644 index 7e684abd18..0000000000 --- a/applications/utilities/postProcessing/velocityField/flowType/FoamX/flowType.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// flowType tool definition - -description "Create the flow-type field"; - -flowTypeDict -{ - type dictionary; - description "flowType control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/streamFunction/FoamX/streamFunction.cfg b/applications/utilities/postProcessing/velocityField/streamFunction/FoamX/streamFunction.cfg deleted file mode 100644 index e7bb2c9d48..0000000000 --- a/applications/utilities/postProcessing/velocityField/streamFunction/FoamX/streamFunction.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// streamFunction tool definition - -description "Stream function calculation"; - -streamFunctionDict -{ - type dictionary; - description "streamFunction control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/uprime/FoamX/uprime.cfg b/applications/utilities/postProcessing/velocityField/uprime/FoamX/uprime.cfg deleted file mode 100644 index ba3debf223..0000000000 --- a/applications/utilities/postProcessing/velocityField/uprime/FoamX/uprime.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// uprime tool definition - -description "Uprime calculated from k"; - -uprimeDict -{ - type dictionary; - description "uprime control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/velocityField/vorticity/FoamX/vorticity.cfg b/applications/utilities/postProcessing/velocityField/vorticity/FoamX/vorticity.cfg deleted file mode 100644 index 6cd8a6fa70..0000000000 --- a/applications/utilities/postProcessing/velocityField/vorticity/FoamX/vorticity.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// vorticity tool definition - -description "Calculate the vorticity of the velocity field curl(U)"; - -vorticityDict -{ - type dictionary; - description "vorticity control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/wall/wallGradU/FoamX/wallGradU.cfg b/applications/utilities/postProcessing/wall/wallGradU/FoamX/wallGradU.cfg deleted file mode 100644 index d878444c62..0000000000 --- a/applications/utilities/postProcessing/wall/wallGradU/FoamX/wallGradU.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// wallGradU tool definition - -description "Calculate the gradient of the velocity at the wall"; - -wallGradUDict -{ - type dictionary; - description "wallGradU control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/wall/wallHeatFlux/FoamX/wallHeatFlux.cfg b/applications/utilities/postProcessing/wall/wallHeatFlux/FoamX/wallHeatFlux.cfg deleted file mode 100644 index 054b9a8aa7..0000000000 --- a/applications/utilities/postProcessing/wall/wallHeatFlux/FoamX/wallHeatFlux.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// wallHeatFlux tool definition - -description "Calculate the wall heat-flux"; - -wallHeatFluxDict -{ - type dictionary; - description "wallHeatFlux control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/wall/wallShearStress/FoamX/wallShearStress.cfg b/applications/utilities/postProcessing/wall/wallShearStress/FoamX/wallShearStress.cfg deleted file mode 100644 index ec461a38ec..0000000000 --- a/applications/utilities/postProcessing/wall/wallShearStress/FoamX/wallShearStress.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// wallShearStress tool definition - -description "Calculate the wall shear stress"; - -wallShearStressDict -{ - type dictionary; - description "wallShearStress control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/wall/yPlusLES/FoamX/yPlusLES.cfg b/applications/utilities/postProcessing/wall/yPlusLES/FoamX/yPlusLES.cfg deleted file mode 100644 index 7e11025db5..0000000000 --- a/applications/utilities/postProcessing/wall/yPlusLES/FoamX/yPlusLES.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// yPlusLES tool definition - -description "Calculate the y+ field for LES"; - -yPlusLESDict -{ - type dictionary; - description "yPlusLES control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/postProcessing/wall/yPlusRAS/FoamX/yPlusRAS.cfg b/applications/utilities/postProcessing/wall/yPlusRAS/FoamX/yPlusRAS.cfg deleted file mode 100644 index 8e0b98c0fa..0000000000 --- a/applications/utilities/postProcessing/wall/yPlusRAS/FoamX/yPlusRAS.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// yPlusRAS tool definition - -description "Create the y+ field"; - -checkYPlusDict -{ - type dictionary; - description "yPlusRAS control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/Allwmake b/applications/utilities/preProcessing/FoamX/Allwmake deleted file mode 100755 index f25f6de63c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Allwmake +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -set -x - -(cd Idl ; make) -(cd C++ ; ./Allwmake) -(cd Java ; wmake jar) diff --git a/applications/utilities/preProcessing/FoamX/C++/Allwmake b/applications/utilities/preProcessing/FoamX/C++/Allwmake deleted file mode 100755 index d1e67270c1..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/Allwmake +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -set -x - -case $WM_ARCH in - linux*) - CMD="wmake libso" - ;; - *) - CMD="wmake lib" -esac - -(cd FoamXServer; $CMD) -(cd FoamXLib; $CMD) -(cd FoamXHostBrowser ; wmake) -(cd FoamXCaseBrowser ; wmake) -(cd FoamXCaseServer ; wmake) -#(cd FoamXCasePostServer ; wmake) diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/FoamXCaseBrowser.C b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/FoamXCaseBrowser.C deleted file mode 100644 index b824edf260..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/FoamXCaseBrowser.C +++ /dev/null @@ -1,145 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "argList.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamXErrors.H" -#include "ICaseBrowserImpl.H" -#include "LogManager.H" -#include "LogEntry.H" -#include "Paths.H" -#include "Orb.H" - -// Declare all the namespaces used by FoamX -#include "FoamXNameSpaces.H" - -using namespace FoamX; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -int main(int argc, char **argv) -{ - static const char* functionName = - "FoamXCaseBrowser::main(int argc, char **argv)"; - - try - { - FatalError.throwExceptions(); - FatalIOError.throwExceptions(); - - // Make copy of raw args (since Orb modifies them) - stringList args(argc); - forAll(args, argI) - { - args[argI] = argv[argI]; - } - - // Initialise the log manager object. - LogManager logManager(Paths::tmp/"CaseBrowserLog.xml"); - - // Register the root function call. - LogEntry log(functionName, __FILE__, __LINE__); - - // Construct the ORB. - FoamX::Orb orb(argc, argv); - - // Construct argList so job gets registered. - argList::validArgs.clear(); - argList dummyArgs(argc, argv); - - // Allocate the ICaseBrowserImpl object on the heap. - // This is a reference counted object and will be deleted by - // the POA when it is no longer needed. - ICaseBrowserImpl* caseBrowserPtr = new ICaseBrowserImpl(orb, args); - - if (caseBrowserPtr == NULL) - { - FatalErrorIn(functionName) - << "Failed to instantiate ICaseBrowserImpl object." - << exit(FatalError); - } - - log << "Created ICaseBrowserImpl object" << endl; - - // Emit the IOR. - log << "IOR : " << orb.ior(caseBrowserPtr->_this()) << endl; - - Info << "CaseBrowser running....." << endl; - - // Go! Go! Go! - orb.run(); - } - catch (Foam::IOerror& fIOErr) - { - Serr<< "Caught Foam IOerror in " << functionName << " : " - << nl << fIOErr << endl; - } - catch (Foam::error& fErr) - { - Serr<< "Caught Foam error in " << functionName << " : " - << nl << fErr << endl; - } - catch (FoamXServer::FoamXIOError& fIOErr) - { - Serr<< "Caught FoamXIOError exception in " << functionName << " : " - << nl << fIOErr << endl; - } - catch (FoamXServer::FoamXError& ex) - { - Serr<< "Caught FoamXError exception in " << functionName << " : " - << nl << ex << endl; - } - catch (CORBA::COMM_FAILURE& ex) - { - Serr<< "Caught CORBA::COMM_FAILURE exception in " - << functionName << endl; - } - catch (CORBA::SystemException& ex) - { - Serr<< "Caught CORBA::SystemException exception in " - << functionName << endl; - } - catch (CORBA::Exception& ex) - { - Serr<< "Caught CORBA::Exception exception in " - << functionName << endl; - } - catch (...) - { - Serr<< "Caught system exception in " - << functionName << endl; - } - - Info<< "Finishing " << functionName << endl; - - return 0; -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.C deleted file mode 100644 index 7578e62117..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.C +++ /dev/null @@ -1,2963 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "long.H" -#include "dictionary.H" -#include "IFstream.H" -#include "OFstream.H" -#include "wordList.H" -#include "stringList.H" -#include "fileNameList.H" -#include "clock.H" -#include "OSspecific.H" -#include "Pstream.H" -#include "HashSet.H" - -// FoamX header files. -#include "ICaseBrowserImpl.H" -#include "IPropertiesImpl.H" -#include "LogEntry.H" -#include "NameServer.H" -#include "DictionaryWriter.H" -#include "Orb.H" -#include "Paths.H" -#include "instantList.H" -#include "Time.H" -#include "Time.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ICaseBrowserImpl::ICaseBrowserImpl -( - Orb& orb, - const stringList& args -) -: - hostContext_(hostName()), - objectName_(hostName()/"FoamXCaseBrowser"), - orb_(orb), - args_(args), - hostBrowser_(NULL), - foamProperties_(NULL), - procControl_(dotFoam("apps/FoamX/FoamX.cfg")) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::ICaseBrowserImpl(Orb& orb)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Create the Foam system properties object. - // Allow application class authoring. - foamProperties_ = new IPropertiesImpl(false); - if (foamProperties_ == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create Foam system properties object", - functionName, - __FILE__, __LINE__ - ); - } - - // Connect to the naming service. - NameServer fxNameServer(orb_.orbPtr_); - - // First get reference to hostBrowser - // Host browser should have registered itself with the name server - // under a "FoamXHostBrowser" key. - fileName hostBrowserKey = "FoamXHostBrowser"; - - if (fxNameServer.isObjectBound(hostBrowserKey)) - { - // Return server reference. - hostBrowser_ = - fxNameServer.resolve - (hostBrowserKey); - } - else - { - throw FoamXError - ( - E_FAIL, - "Hostbrowser '" + hostBrowserKey - + "' not found on name server. " - "getServerReference call timed out", - functionName, - __FILE__, __LINE__ - ); - } - - // Register myself with the naming service. - - // Do not fail if context already exists. - fxNameServer.createContext(hostContext_, false); - - // Bind object under key hostName/CaseBrowser. - FoamXServer::CaseBrowser::ICaseBrowser_var browserRef = _this(); - - // Throw exception if already bound. - fxNameServer.bindObject(objectName_, browserRef, false); - - // Decrement the reference count of the object implementation, so - // that it will be properly cleaned up when the POA has determined - // that it is no longer needed. - _remove_ref(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ICaseBrowserImpl::~ICaseBrowserImpl() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::~ICaseBrowserImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::CaseServer::IFoamProperties_ptr -FoamX::ICaseBrowserImpl::foamProperties() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::foamProperties()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Return a reference to the Foam System Properties object. - IFoamProperties_ptr pFoamProperties = IFoamProperties::_nil(); - - if (foamProperties_ != NULL) - { - pFoamProperties = foamProperties_->_this(); - } - - return pFoamProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::CaseDescriptorList* FoamX::ICaseBrowserImpl::cases() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::cases()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - CaseDescriptorList* caseListPtr = new CaseDescriptorList(); - caseListPtr->length(cases_.size()); - - label i = 0; - for - ( - Foam::HashPtrTable::iterator - iter = cases_.begin(); - iter != cases_.end(); - ++iter - ) - { - (*caseListPtr)[i++] = *iter(); - } - - return caseListPtr; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::JobDescriptorList* FoamX::ICaseBrowserImpl::runningJobs() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::runningJobs()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - JobDescriptorList* jobListPtr = new JobDescriptorList(); - jobListPtr->length(runningJobs_.size()); - - label i = 0; - for - ( - JobHashTable::iterator iter = runningJobs_.begin(); - iter != runningJobs_.end(); - ++iter - ) - { - (*jobListPtr)[i++] = *iter(); - } - - return jobListPtr; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::JobDescriptorList* FoamX::ICaseBrowserImpl::finishedJobs() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::finishedJobs()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - JobDescriptorList* jobListPtr = new JobDescriptorList(); - jobListPtr->length(finishedJobs_.size()); - - label i = 0; - for - ( - JobHashTable::iterator - iter = finishedJobs_.begin(); - iter != finishedJobs_.end(); - ++iter - ) - { - (*jobListPtr)[i++] = *iter(); - } - - return jobListPtr; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::getEnv -( - const char* envName, - CORBA::String_out enval -) -{ - enval = CORBA::string_dup(Foam::getEnv(envName).c_str()); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::getHostName -( - CORBA::String_out hostName -) -{ - hostName = CORBA::string_dup(Foam::hostName().c_str()); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::getUserName -( - CORBA::String_out userName -) -{ - userName = CORBA::string_dup(Foam::userName().c_str()); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Long FoamX::ICaseBrowserImpl::fileModificationDate -( - const char* fName -) -{ - if (exists(fName)) - { - return label(lastModified(fName)); - } - else - { - //mj. Ugly. Let's hope not many dates with time_t==0 - return 0; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::readFile -( - const char* fName, - CORBA::String_out contents -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::readFile" - "(const char* fName, CORBA::String_out contents)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName ffName = fName; - - log << "File = " << ffName << endl; - - // If file exists, return its contents. - if (exists(ffName)) - { - IFstream ifFile(ffName); - - if (ifFile) - { - OStringStream fileString; - - char ch; - while (ifFile.get(ch)) - { - fileString << ch; - } - - // Must duplicate string to return. - contents = CORBA::string_dup(fileString.str().c_str()); - } - else - { - throw FoamXError - ( - E_FAIL, - "Failed to read file '" + ffName + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - else - { - throw FoamXError - ( - E_FAIL, - "Failed to open file '" + ffName + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::writeFile -( - const char* fName, - const char* contents -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::writeFile" - "(const char* fName, const char* contents)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName ffName = fName; - - log << "File = " << ffName << endl; - - // Check if file already exists, and if so move to .bak - if (file(ffName)) - { - mv(ffName, ffName + ".bak"); - } - - // Make sure path exists. - if (!dir(ffName.path()) && !mkDir(ffName.path())) - { - throw FoamXError - ( - E_FAIL, - "Failed to create directory '" + ffName.path() + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Write file contents. - OFstream ofFile(ffName); - if (ofFile) - { - ofFile << contents; - } - else - { - throw FoamXError - ( - E_FAIL, - "Failed to write file '" + ffName + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Long FoamX::ICaseBrowserImpl::invokeUtility -( - const char* hostName, - const char* utilityName, - const FoamXServer::StringList& arguments, - const char* logName, - CORBA::Boolean background -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::invokeUtility" - "(const char* hostName, const char* utilityName, " - "const FoamXServer::StringList& arguments, const char* logName" - "CORBA::Boolean background)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - pid_t pid = -1; - - try - { - log << "Invoking utility " << utilityName << endl; - - stringList args(arguments.length() + 1); - - - // Convert args to Foam type and add application - unsigned int argi = 0; - - args[argi++] = utilityName; - for (unsigned int i = 0; i (arguments[i]); - } - - if (hostName == Foam::hostName()) - { - // Running on same host. - pid = ProcessControl::fork(args, logName); - - if (!background && pid > 0) - { - // Wait for process to finish. - ProcessControl::waitpid(pid); - } - } - else - { - // Running on different host. No easy way of obtaining pid so - // use plain system. - - int err = procControl_.system - ( - procControl_.remoteShellArgs - ( - userName(), - hostName, - args, - string(logName), - background - ), - background ? procControl_.timeOut() : 0 - ); - - if (err != 0) - { - string msg("Error executing utility "); - msg += utilityName; - - if (err == ProcessControl::TIMEDOUT) - { - // Timeout will only occur if running in foreground. - // (something seriously wrong if spawn does not work in - // timeout) - msg += - "\nHost " - + string(hostName) - + " can not be reached (timeout)."; - - if (!background) - { - throw FoamXSYSError - ( - E_FAIL, - msg, - hostName, - functionName, - __FILE__, __LINE__ - ); - } - } - if (err == -1) - { - msg += "\nCall to system() returned -1"; - } - else if (err == 127) - { - msg += "\nCall to system() returned 127"; - } - else - { - msg += - "\nThe utility exited with error code " - + name(err); - } - - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - } - } - CATCH_ALL(functionName); - - return pid; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::openCase -( - const FoamXServer::CaseDescriptor& caseDesc -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::openCase" - "(const FoamXServer::CaseDescriptor& caseDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - caseIsInError(caseDesc); - - fileName expandedRootDir = fileName(caseDesc.rootDir).expand(); - fileName caseDir = expandedRootDir/fileName(caseDesc.caseName); - fileName caseFileName = caseDir/"system/controlDict"; - fileName lockFileName = caseDir/".fxLock"; - - if - ( - orb_.isObjectBound - ( - caseServerKey(caseDesc.rootDir, caseDesc.caseName) - ) - ) - { - throw FoamXError - ( - E_FAIL, - "Case " + caseDir - + " is already registered with nameserver", - functionName, - __FILE__, __LINE__ - ); - } - - // Check that the control dictionary exists. - if (!exists(caseFileName)) - { - throw FoamXError - ( - E_FAIL, - "Case control dictionary not found at '" + caseFileName + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // See if this case is being pre-processed by someone - // (or something?) else. - if (exists(lockFileName)) - { - throw FoamXError - ( - E_FAIL, - "Case " + caseDir + " locked", - functionName, - __FILE__, __LINE__ - ); - } - - // Everything is pucker so run the case server process. - log << "Spawning CaseServer process to open the case " - << caseDir << endl; - - stringList serverArgs(args_.size() + 3); - label argI = 0; - - serverArgs[argI++] = "FoamXCaseServer"; - - // Pass through caseBrowser args - for(label i = 1; i < args_.size(); i++) - { - serverArgs[argI++] = args_[i]; - } - serverArgs[argI++] = - "-case " + expandedRootDir/fileName(caseDesc.caseName); - serverArgs[argI++] = "-open"; - serverArgs[argI++] = "&"; - - if (procControl_.system(serverArgs, procControl_.timeOut()) != 0) - { - throw FoamXError - ( - E_FAIL, - "Error executing CaseServer process", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::openCasePost -( - const FoamXServer::CaseDescriptor& caseDesc, - const CORBA::Long nProcs -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::openCasePost" - "(const FoamXServer::CaseDescriptor& caseDesc," - " const CORBA::Long nProcs)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName expandedRootDir = fileName(caseDesc.rootDir).expand(); - fileName caseDir = expandedRootDir/fileName(caseDesc.caseName); - fileName caseFileName = caseDir/"system/controlDict"; - fileName lockFileName = caseDir/".fxLock"; - - // Check that the control dictionary exists. - if (!exists(caseFileName)) - { - throw FoamXError - ( - E_FAIL, - "Case control dictionary not found at '" + caseFileName + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Everything is pucker so run the case server process. - log << "Spawning CasePostServer process to postprocess the case " - << caseDir << endl; - - stringList serverArgs; - - label argI = 0; - - if (nProcs == 1) - { - serverArgs.setSize(args_.size() + 3); - } - else - { - serverArgs.setSize(args_.size() + 5); - serverArgs[argI++] = "foamJob"; - serverArgs[argI++] = "-ofd"; - } - - serverArgs[argI++] = "FoamXCasePostServer"; - - // Pass through caseBrowser args - for(label i = 1; i < args_.size(); i++) - { - serverArgs[argI++] = args_[i]; - } - - serverArgs[argI++] = - "-case " + expandedRootDir/fileName(caseDesc.caseName); - serverArgs[argI++] = "-post"; - serverArgs[argI++] = "&"; - - Info<< "Spawning:" << serverArgs << endl; - - if (procControl_.system(serverArgs, procControl_.timeOut()) != 0) - { - throw FoamXError - ( - E_FAIL, - "Error executing CasePostServer process", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::newCase -( - const char* rootDir, - const char* caseName, - const char* app -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::newCase" - "(const char* rootDir, const char* caseName, const char* app)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName expandedRootDir = fileName(rootDir).expand(); - fileName caseDir = expandedRootDir/caseName; - fileName caseFileName = caseDir/"system/controlDict"; - fileName lockFileName = caseDir/".fxLock"; - - if (orb_.isObjectBound(caseServerKey(rootDir, caseName))) - { - throw FoamXError - ( - E_FAIL, - "Case " + caseDir + " is already registered with nameserver", - functionName, - __FILE__, __LINE__ - ); - } - - // Check that the control dictionary doesn't exist. - if (dir(caseDir)) - { - throw FoamXError - ( - E_FAIL, - "Directory already exists at '" - + caseDir + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Everything is pucker so run the case server process. - log << "Spawning CaseServer process to create the case " - << caseDir << " for application " << app << endl; - - stringList serverArgs(args_.size() + 4); - - label argI = 0; - - serverArgs[argI++] = "FoamXCaseServer"; - - // Pass through caseBrowser args - for(label i = 1; i < args_.size(); i++) - { - serverArgs[argI++] = args_[i]; - } - - serverArgs[argI++] = "-case " + expandedRootDir/fileName(caseName); - serverArgs[argI++] = "-create"; - serverArgs[argI++] = app; - serverArgs[argI++] = "&"; - - if (procControl_.system(serverArgs, procControl_.timeOut()) != 0) - { - throw FoamXError - ( - E_FAIL, - "Error executing CaseServer process", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::importCase -( - const char* rootDir, - const char* caseName, - const char* app -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::importCase" - "(const char* rootDir, const char* caseName, const char* app)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName expandedRootDir = fileName(rootDir).expand(); - fileName caseDir = expandedRootDir/caseName; - fileName caseFileName = caseDir/"system/controlDict"; - fileName lockFileName = caseDir/".fxLock"; - - if - ( - orb_.isObjectBound - ( - caseServerKey(rootDir, caseName) - ) - ) - { - throw FoamXError - ( - E_FAIL, - "Case " + caseDir + " is already registered with nameserver", - functionName, - __FILE__, __LINE__ - ); - } - - // Check that the control dictionary exists. - if (!exists(caseFileName)) - { - throw FoamXError - ( - E_FAIL, - "Case control dictionary not found at '" + caseFileName + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // See if this is being pre-processed by someone (or something?) else. - if (exists(lockFileName)) - { - throw FoamXError - ( - E_FAIL, - "Case locked", - functionName, - __FILE__, __LINE__ - ); - } - - // Everything is pucker so run the case server process. - log << "Spawning CaseServer process to import the case " - << caseDir << " for application " << app << endl; - - stringList serverArgs(args_.size() + 4); - - label argI = 0; - - serverArgs[argI++] = "FoamXCaseServer"; - - // Pass through caseBrowser args - for(label i = 1; i < args_.size(); i++) - { - serverArgs[argI++] = args_[i]; - } - - serverArgs[argI++] = "-case " + expandedRootDir/fileName(caseName); - serverArgs[argI++] = "-import"; - serverArgs[argI++] = app; - serverArgs[argI++] = "&"; - - if (procControl_.system(serverArgs, procControl_.timeOut()) != 0) - { - throw FoamXError - ( - E_FAIL, - "Error executing CaseServer process", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::deleteCase -( - const FoamXServer::CaseDescriptor& caseDesc -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::deleteCase" - "(const FoamXServer::CaseDescriptor& caseDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName expandedRootDir = fileName(caseDesc.rootDir).expand(); - fileName caseDir = expandedRootDir/fileName(caseDesc.caseName); - fileName caseFileName = caseDir/"system/controlDict"; - fileName lockFileName = caseDir/".fxLock"; - - // Check that the control dictionary exists. - if (!exists(caseDir)) - { - throw FoamXError - ( - E_FAIL, - "Case control dictionary not found at '" + caseDir + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // See if this is being pre-processed by someone (or something?) else. - if (exists(lockFileName)) - { - throw FoamXError - ( - E_FAIL, - "Case locked", - functionName, - __FILE__, __LINE__ - ); - } - - log << "Deleting case " << caseDir << endl; - - // Delete all the case dictionaries and data files. - rmDir(caseDir); - - // Remove case from list. - Foam::HashPtrTable::iterator - iter = cases_.find(caseDir); - - if (iter != cases_.end()) - { - cases_.erase(iter); - } - else - { - throw FoamXError - ( - E_FAIL, - "Cannot remove case " + caseDir + " from case list", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::cloneCase -( - const FoamXServer::CaseDescriptor& caseDesc, - const char* newRootDir, - const char* newCaseName, - const char* newAppClassName, - const char* timeSel -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::cloneCase" - "(const FoamXServer::CaseDescriptor& caseDesc," - " const char* newRootDir, const char* newCaseName," - " const char* newAppClassName, const char* timeSel)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName expandedRootDir = fileName(caseDesc.rootDir).expand(); - fileName caseDir = expandedRootDir/fileName(caseDesc.caseName); - fileName caseFileName = caseDir/"system/controlDict"; - fileName expandedNewRootDir = fileName(newRootDir).expand(); - fileName newCaseDir = expandedNewRootDir/newCaseName; - - // Check that the source control dictionary exists. - if (!exists(caseFileName)) - { - throw FoamXError - ( - E_FAIL, - "Source case control dictionary not found at '" - + caseFileName + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Check that the source and destination cases aren't the same. - if (caseDir == newCaseDir) - { - throw FoamXError - ( - E_FAIL, - "Invalid destination case name", - functionName, - __FILE__, __LINE__ - ); - } - - // Check that the destination case does not yet exist. - if (exists(newCaseDir)) - { - throw FoamXError - ( - E_FAIL, - "Destination directory '" - + newCaseDir - + "' already exists", - functionName, - __FILE__, __LINE__ - ); - } - - log << "Copying case " << caseDir << " to "<< newCaseDir << endl; - - if - ( - !mkDir(newCaseDir) - || !cp(caseDir/"system", newCaseDir) - || !cp(caseDir/"constant", newCaseDir) - ) - { - throw FoamXError - ( - E_FAIL, - "Could not copy system and/or constant directory to '" - + newCaseDir, - functionName, - __FILE__, __LINE__ - ); - } - - instantList times(Time::findTimes(caseDir)); - - label firstTimeI = 0; - label lastTimeI = -1; - - word timeSelMode(timeSel); - - if (timeSelMode == "latestTime") - { - firstTimeI = times.size() - 1; - lastTimeI = firstTimeI; - } - else if (timeSelMode == "firstTime") - { - firstTimeI = 0; - lastTimeI = firstTimeI; - } - else if (timeSelMode == "noTime") - { - firstTimeI = labelMax; - lastTimeI = labelMin; - } - else if (timeSelMode == "allTime") - { - firstTimeI = 0; - lastTimeI = times.size() - 1; - } - else - { - throw FoamXError - ( - E_FAIL, - "Illegal time selection " - + timeSelMode, - functionName, - __FILE__, __LINE__ - ); - } - - for - ( - label timeI = firstTimeI; - (timeI <= lastTimeI) && (timeI < times.size()); - timeI++ - ) - { - log << "Copying time directory " - << caseDir/times[timeI].name() << endl; - - if (!cp(caseDir/times[timeI].name(), newCaseDir)) - { - throw FoamXError - ( - E_FAIL, - "Could not copy time directory '" - + caseDir/times[timeI].name() - + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - - // Create a temporary foam database. - Time db(Time::controlDictName, newRootDir, newCaseName); - - // Read controlDict, change application and save - IOdictionary controlDict - ( - IOobject - ( - Time::controlDictName, - db.system(), - db, - IOobject::MUST_READ, - IOobject::NO_WRITE - ) - ); - - if - ( - !controlDict.remove("application") - && !controlDict.remove("applicationClass") - ) - { - throw FoamXIOError - ( - "Could not find application entry in controlDict", - controlDict.name(), - controlDict.startLineNumber(), - controlDict.endLineNumber(), - functionName, - __FILE__, __LINE__ - ); - } - - controlDict.add("application", newAppClassName); - - if (!controlDict.regIOobject::write()) - { - throw FoamXError - ( - E_FAIL, - "Could not write controlDict '" - + controlDict.path() - + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Add the new case to the case list - addCase - ( - expandedNewRootDir.c_str(), - newRootDir, - newCaseName, - newAppClassName - ); - - // Unlock the new case if it is locked - unlockCase(expandedNewRootDir.c_str(), newCaseName); - - // TODO : Change the root header entry in all case dictionaries. - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ICaseBrowserImpl::caseLocked -( - const FoamXServer::CaseDescriptor& caseDesc -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::caseLocked" - "(const FoamXServer::CaseDescriptor& caseDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // See if this is being pre-processed by someone (or something?) else. - fileName lockFileName = - fileName(caseDesc.rootDir).expand()/fileName(caseDesc.caseName) - /".fxLock"; - - return exists(lockFileName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::unlockCase -( - const char* rootDir, - const char* caseName -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::unlockCase" - "(const FoamXServer::CaseDescriptor& caseDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName caseDir = fileName(rootDir)/caseName; - fileName lockFileName = caseDir/".fxLock"; - - log << "Unlocking case " << caseDir << endl; - - if (exists(lockFileName)) - { - rm(lockFileName); - } - - Foam::HashPtrTable::iterator - iter = cases_.find(caseDir); - - if (iter != cases_.end()) - { - iter()->locked = false; - } - else - { - throw FoamXError - ( - E_FAIL, - "Cannot unlock case " + caseDir + ", not in case list", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::unlockCaseDescriptor -( - const FoamXServer::CaseDescriptor& caseDesc -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::unlockCase" - "(const FoamXServer::CaseDescriptor& caseDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - unlockCase(caseDesc.rootDir, caseDesc.caseName); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::CaseDescriptor* FoamX::ICaseBrowserImpl::caseDescriptor -( - const fileName& rootDir, - const fileName& rawRootDir, - const fileName& caseName -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::caseDescriptor" - "(const fileName& rootDir, const fileName& rawRootDir, " - "const fileName& caseName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fileName caseDir = fileName(rootDir)/fileName(caseName); - - try - { - log << "Considering case " << caseDir << endl; - - CaseDescriptor* caseDescPtr = new FoamXServer::CaseDescriptor(); - - if (caseDescPtr == NULL) - { - throw FoamXError - ( - E_UNEXPECTED, - "Failed to create case descriptor for case '" + caseDir, - functionName, - __FILE__, __LINE__ - ); - } - - CaseDescriptor& caseDesc = *caseDescPtr; - - // Fill the caseDescriptor - caseDesc.rootDir = rootDir.c_str(); - caseDesc.rawRootDir = rawRootDir.c_str(); - caseDesc.caseName = caseName.c_str(); - caseDesc.app = ""; - - - // Get number of processors - label nProcs = 0; - while(exists(fileName(caseDir/"processor" + name(nProcs)))) - { - nProcs++; - } - if (nProcs == 0) - { - nProcs = 1; - } - caseDesc.nProcs = nProcs; - - - fileName lockFile = caseDir/".fxLock"; - - // See if this case is locked by another user. - caseDesc.locked = exists(lockFile); - - // Set the error state to false - caseDesc.error = false; - - // See if the lock file contains an error state - if (caseDesc.locked) - { - // Extract the IOR of the FoamX case server - IFstream lockFileStream(lockFile); - word ior(lockFileStream); - - if (ior == "FatalError") - { - //reThrow(lockFileStream); - caseDesc.error = true; - } - } - - // See if this is a FoamX managed case - // (ie, the application entry in the - // controlDict is defined). - fileName controlDictFileName = caseDir/"system/controlDict"; - - dictionary controlDict((IFstream(controlDictFileName)())); - - if (controlDict.found("application")) - { - caseDesc.managed = true; - word app = controlDict.lookup("application"); - caseDesc.app = app.c_str(); - } - else if (controlDict.found("applicationClass")) - { - caseDesc.managed = true; - word app = controlDict.lookup("applicationClass"); - caseDesc.app = app.c_str(); - } - - log << "Found case " << caseDir << endl; - - return caseDescPtr; - } - CATCH_ALL(functionName); - - return NULL; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::addCase -( - const char* rootDir, - const char* rawRootDir, - const char* caseName, - const char* appName -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::addCase" - "(const fileName& rootDir, const fileName& rawRootDir, " - "const fileName& caseName, const fileName& appName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName caseDir = fileName(rootDir)/fileName(caseName); - - log << "Adding case " << caseDir << endl; - - CaseDescriptor* caseDescPtr = new FoamXServer::CaseDescriptor(); - CaseDescriptor& caseDescriptor = *caseDescPtr; - - caseDescriptor.rootDir = rootDir; - caseDescriptor.rawRootDir = rawRootDir; - caseDescriptor.caseName = caseName; - caseDescriptor.app = appName; - caseDescriptor.managed = true; - caseDescriptor.locked = true; - caseDescriptor.error = false; - - if (!cases_.insert(caseDir, caseDescPtr)) - { - delete caseDescPtr; - caseDescPtr = NULL; - - throw FoamXError - ( - E_UNEXPECTED, - "Failed to add case '" + caseDir - + "' to case list. It is probably already in list", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::caseOpen -( - const char* rootDir, - const char* caseName -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::caseOpen" - "(const fileName& rootDir, const fileName& caseName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName caseDir = fileName(rootDir)/fileName(caseName); - - // Remove case from list. - Foam::HashPtrTable::iterator - iter = cases_.find(caseDir); - - if (iter != cases_.end()) - { - iter()->locked = true; - iter()->error = false; - } - else - { - throw FoamXError - ( - E_FAIL, - "Cannot find case " + caseDir + " in case list", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ICaseBrowserImpl::isCaseInError -( - const FoamXServer::CaseDescriptor& caseDesc -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::isCaseInError" - "(const FoamXServer::CaseDescriptor& caseDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // See if this is being pre-processed by someone (or something?) else. - fileName lockFile = - fileName(caseDesc.rootDir).expand()/fileName(caseDesc.caseName) - /".fxLock"; - - // See if the lock file contains an error state - if (exists(lockFile)) - { - // Extract the IOR of the FoamX case server - IFstream lockFileStream(lockFile); - word ior(lockFileStream); - - if (ior == "FatalError") - { - reThrow(lockFileStream); - return true; - } - } - - return false; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::caseIsInError -( - const FoamXServer::CaseDescriptor& caseDesc -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::caseIsInError" - "(const FoamXServer::CaseDescriptor& caseDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName caseDir = - fileName(caseDesc.rootDir)/fileName(caseDesc.caseName); - - // Remove case from list. - Foam::HashPtrTable::iterator - iter = cases_.find(caseDir); - - if (iter != cases_.end()) - { - iter()->locked = true; - iter()->error = true; - } - else - { - throw FoamXError - ( - E_FAIL, - "Cannot find case " + caseDir + " in case list", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::refreshCaseList() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::refreshCaseList()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Collect used roots - HashTable usedRoots; - - for - ( - Foam::HashPtrTable::iterator - iter = cases_.begin(); - iter != cases_.end(); - ++iter - ) - { - fileName fName(iter()->rootDir); - - if (!usedRoots.found(fName)) - { - usedRoots.insert(fName, fName); - } - } - - // Clear the existing list - cases_.clear(); - - forAll(usedRoots.toc(), rootI) - { - addToCaseList(usedRoots.toc()[rootI].c_str()); - } -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::addToCaseList(const char* dir) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::refreshCaseList(const char*)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Get case root list. - StringList_var rootDirs = foamProperties_->rootDirectories(); - StringList_var rawRootDirs = foamProperties_->rawRootDirectories(); - - // Loop over all case roots - unsigned int rootIndex = 0; - bool rootFound = false; - - for (unsigned int i = 0; i < rootDirs->length(); i++ ) - { - fileName storedRootDir(rootDirs[i]); - - if (exists(storedRootDir) && (storedRootDir == dir)) - { - rootFound = true; - rootIndex = i; - break; - } - } - if (!rootFound) - { - throw FoamXError - ( - E_FAIL, - "Cannot find root " + fileName(dir) + " in list of roots", - functionName, - __FILE__, __LINE__ - ); - } - - fileName rootDir(rootDirs[rootIndex]); - fileName rawRootDir(rawRootDirs[rootIndex]); - - // Get a list of directories under this root. - fileNameList caseDirs - ( - readDir(rootDir, fileName::DIRECTORY) - ); - - // Search each potential case for a control dictionary. - for (int nCaseDir = 0; nCaseDir < caseDirs.size(); nCaseDir++) - { - try - { - fileName controlDictFileName = - rootDir/caseDirs[nCaseDir]/"system/controlDict"; - - if (exists(controlDictFileName)) - { - CaseDescriptor* caseDescPtr = caseDescriptor - ( - rootDir, - fileName(rawRootDir), - caseDirs[nCaseDir] - ); - - if (caseDescPtr) - { - cases_.insert - ( - rootDir/caseDirs[nCaseDir], - caseDescPtr - ); - } - else - { - throw FoamXError - ( - E_UNEXPECTED, - "Failed to create caseDescriptor for case '" - + rootDir/caseDirs[nCaseDir] + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - } - catch (error& fErr) - { - log << fErr << " failed to open case " - << rootDir/caseDirs[nCaseDir] << endl; - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::label FoamX::ICaseBrowserImpl::getEntry -( - const dictionary& dict, - const word& key, - const label defaultValue -) -{ - if (dict.found(key)) - { - return readLabel(dict[key]); - } - else - { - return defaultValue; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::string FoamX::ICaseBrowserImpl::getEntry -( - const dictionary& dict, - const word& key, - const string& defaultValue -) -{ - if (dict.found(key)) - { - return dict[key]; - } - else - { - return defaultValue; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::readJobs -( - JobHashTable& jobsList, - const fileName& dir, - const bool throwOnError -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::readJobs" - "(JobHashTable& jobsList, const fileName& dir)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Clear the existing list - jobsList.clear(); - - // Read the names of all the job files - fileNameList jobFiles = readDir(dir, fileName::FILE); - - forAll (jobFiles, i) - { - const fileName& jobFile = jobFiles[i]; - - try - { - if (size(dir/jobFile) > 0) - { - dictionary jobDict(IFstream(dir/jobFile)()); - - // Required entries - - JobDescriptor* jobDescPtr = new JobDescriptor(); - - string::size_type dotPos = - jobFile.find_last_of('.'); - - jobDescPtr->jobID.hostName = jobFile(0, dotPos).c_str(); - - jobDescPtr->jobID.processID = - atoi(jobFile(dotPos + 1, string::npos).c_str()); - - jobDescPtr->startDate = - getEntry(jobDict, "startDate", "").c_str(); - - jobDescPtr->startTime = - getEntry(jobDict, "startTime", "").c_str(); - - - // Cannot use getEntry since returns string which is - // invalid word. - word foamUser(""); - if (jobDict.found("userName")) - { - foamUser = word(jobDict["userName"]); - } - jobDescPtr->userName = foamUser.c_str(); - - word foamVersion("0.0"); - if (jobDict.found("foamVersion")) - { - foamVersion = token(jobDict["foamVersion"]).wordToken(); - } - jobDescPtr->foamVersion = foamVersion.c_str(); - - word foamCode(""); - if (jobDict.found("code")) - { - foamCode = word(jobDict["code"]); - } - jobDescPtr->code = foamCode.c_str(); - - jobDescPtr->argList = - getEntry(jobDict, "argList", "").c_str(); - - jobDescPtr->currentDir = - getEntry(jobDict, "currentDir", "").c_str(); - - jobDescPtr->pgid = - getEntry(jobDict, "PGID", 0); - - jobDescPtr->ppid = 0; - getEntry(jobDict, "PPID", 0); - - fileName root = - getEntry(jobDict, "root", ""); - - if ((root.size() > 0) && (root[0] != '/')) - { - jobDescPtr->rootDir = - ( - fileName(jobDescPtr->currentDir) - + "/" + root - ).c_str(); - } - else - { - jobDescPtr->rootDir = - root.c_str(); - } - - jobDescPtr->caseName = - getEntry(jobDict, "case", "").c_str(); - - jobDescPtr->nProcs = - getEntry(jobDict, "nProcs", 1); - - if (jobDict.found("slaves")) - { - wordList slaveJobs(jobDict.lookup("slaves")); - jobDescPtr->slaves.length(slaveJobs.size()); - - forAll(slaveJobs, i) - { - const word& sl = slaveJobs[i]; - - string::size_type dotPos = - sl.find_last_of('.'); - - jobDescPtr->slaves[i].hostName = - sl(0, dotPos).c_str(); - jobDescPtr->slaves[i].processID = - atoi(sl(dotPos + 1, string::npos).c_str()); - } - } - else - { - jobDescPtr->slaves.length(0); - } - - jobDescPtr->nCountedProcs = - getEntry(jobDict, "nCountedProcs", 0); - - if (jobDict.found("cpuTime")) - { - jobDescPtr->cpuTime = - readScalar(jobDict["cpuTime"]); - } - else - { - jobDescPtr->cpuTime = 0.0; - } - - jobDescPtr->endDate = - getEntry(jobDict, "endDate", "").c_str(); - - jobDescPtr->endTime = - getEntry(jobDict, "endTime", "").c_str(); - - jobDescPtr->status = JOB_UNDEFINED; - - if (jobDict.found("termination")) - { - word termination(jobDict.lookup("termination")); - - if (termination == "normal") - { - jobDescPtr->status = JOB_FINISHED; - } - else - { - jobDescPtr->status = JOB_ABORTED; - } - } - - jobsList.insert(jobDescPtr->jobID, jobDescPtr); - } - } - catch (...) - { - fileName fName(dir/jobFile); - - - if (throwOnError) - { - throw FoamXIOError - ( - "Error in job description file", - fName, - -1, -1, - functionName, - __FILE__, __LINE__ - ); - } - else - { - WarningIn(functionName) - << "Removing illegal jobInfo file " << fName - << endl; - - // Try removing jobInfo file (try since we might not own it) - rm(fName); - } - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::refreshJobsLists() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::refreshJobsLists()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!env("FOAM_JOB_DIR")) - { - throw FoamXError - ( - E_FAIL, - "Cannot get essential environment variable 'FOAM_JOB_DIR'", - functionName, - __FILE__, __LINE__ - ); - } - - fileName licenceDir = Foam::getEnv("FOAM_JOB_DIR"); - - // Throw error for illegal job entry files. Don't remove since might - // upset licensing. - readJobs(runningJobs_, licenceDir/"runningJobs", true); - // Remove any illegal job entry files - readJobs(finishedJobs_, licenceDir/"finishedJobs", false); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::checkRunningJobs() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::checkRunningJobs()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fileName licenceDir = Foam::getEnv("FOAM_JOB_DIR"); - - - // Get hashtable of all hosts running jobs - - HashSet machines; - - try - { - if (!env("FOAM_JOB_DIR")) - { - throw FoamXError - ( - E_FAIL, - "Cannot get essential environment variable 'FOAM_JOB_DIR'", - functionName, - __FILE__, __LINE__ - ); - } - - - for - ( - JobHashTable::const_iterator iter = runningJobs_.begin(); - iter != runningJobs_.end(); - ++iter - ) - { - machines.insert(word(iter.key().hostName)); - } - } - CATCH_ALL(functionName); - - - try - { - - // Run external utility foamProcessInfo to get processes running on - // hosts. It writes file (see processLogFileName below) which is gives - // for every process the status. - - stringList args(2); - args[0] = "foamProcessInfo"; - - - HashSet unLicensedMachines; - string unLicensedMsg = ""; - - for - ( - HashSet::const_iterator hostIter = machines.begin(); - hostIter != machines.end(); - ++hostIter - ) - { - const word& hostName = hostIter.key(); - - log << "Checking host " << hostName << endl; - - try - { - if (!hostBrowser_->isHostAlive(hostName.c_str())) - { - log << "Skipping non-accessible host " << hostName << endl; - continue; - } - } - catch (FoamXServer::FoamXError& fxErr) - { - log << "Non-licensed host " << hostName << endl; - - unLicensedMachines.insert(hostName); - - unLicensedMsg += hostName + " "; - - continue; - } - - fileName processLogFileName = - licenceDir/(userName() + '@' + hostName + ".log"); - - args[1] = processLogFileName; - - stringList systemArgs = procControl_.remoteShellArgs - ( - userName(), - hostName, - args, - "", - false - ); - int sysStatus = procControl_.system - ( - systemArgs, - procControl_.timeOut() - ); - - if (sysStatus == ProcessControl::TIMEDOUT) - { - string msg = - "Error executing " - + procControl_.commandString(systemArgs) - + "\nHost " + hostName + " can not be reached (timeout)."; - - // Tell Java that machine is non-accessible - throw FoamXSYSError - ( - E_FAIL, - msg, - hostName, - functionName, - __FILE__, __LINE__ - ); - } - else if (sysStatus != 0) - { - throw FoamXError - ( - E_FAIL, - "Error executing " - + procControl_.commandString(systemArgs), - functionName, - __FILE__, __LINE__ - ); - } - - IFstream processLogFile(processLogFileName); - - if (!processLogFile) - { - throw FoamXIOError - ( - "Error opening file", - processLogFileName, - -1, -1, - functionName, - __FILE__, __LINE__ - ); - } - - // Convert output from foamProcessInfo into hashtable - HashTable > processTable(processLogFile); - rm(processLogFileName); - - // Check for each process in runningJobs whether it is - // in the processLogFile - - for - ( - JobHashTable::iterator jobIter = runningJobs_.begin(); - jobIter != runningJobs_.end(); - ++jobIter - ) - { - if (word(jobIter.key().hostName) == hostName) - { - // See if this process is mentioned in the processTable - - HashTable >::const_iterator - processFnd = processTable.find(jobIter.key().processID); - - if (processFnd != processTable.end()) - { - const word& status = processFnd(); - - if (status == "RUNN") - { - // Preserve 'ending' status - if (jobIter()->status != JOB_STOPPING) - { - jobIter()->status = JOB_RUNNING; - } - } - else if (status == "SUSP") - { - jobIter()->status = JOB_SUSPENDED; - } - else if (status == "OTHR") - { - jobIter()->status = JOB_UNDEFINED; - } - else - { - - throw FoamXIOError - ( - "Unknown job status " + status + " in file ", - processLogFileName, - -1, -1, - functionName, - __FILE__, __LINE__ - ); - } - } - else - { - jobIter()->status = JOB_ABORTED; - } - } - } - } - if (unLicensedMachines.size() > 0) - { - // Purge runningJobs entries belonging to unlicensed hosts. - for - ( - JobHashTable::iterator jobIter = runningJobs_.begin(); - jobIter != runningJobs_.end(); - ++jobIter - ) - { - if (unLicensedMachines.found(word(jobIter.key().hostName))) - { - jobIter()->status = JOB_ABORTED; - } - } - purgeRunningJobs(); - - string msg = - "Detected unlicensed hosts\n" - + unLicensedMsg - + "\nPurged jobs from runningJobs/."; - - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::purgeRunningJobs() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::purgeRunningJobs()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!env("FOAM_JOB_DIR")) - { - throw FoamXError - ( - E_FAIL, - "Cannot get essential environment variable 'FOAM_JOB_DIR'", - functionName, - __FILE__, __LINE__ - ); - } - - fileName licenceDir = Foam::getEnv("FOAM_JOB_DIR"); - fileName runningJobsDir = licenceDir/"runningJobs"; - fileName finishedJobsDir = licenceDir/"finishedJobs"; - - // 1. Mark jobs to be removed. Cannot remove from runningJobs here since - // we're looping over it. - DynamicList toBeRemoved; - - for - ( - JobHashTable::const_iterator iter = runningJobs_.begin(); - iter != runningJobs_.end(); - ++iter - ) - { - if (iter()->status == JOB_ABORTED || iter()->status == JOB_FINISHED) - { - toBeRemoved.append(iter.key()); - } - } - - // 2. Actually remove - forAll(toBeRemoved, i) - { - const JobID& jobID = toBeRemoved[i]; - - // Remove any identically named entries in finishedJobs (if any) - JobHashTable::iterator finishFnd = finishedJobs_.find(jobID); - - if (finishFnd != finishedJobs_.end()) - { - finishedJobs_.erase(finishFnd); - } - - // Transfer jobId from runningJobs to finishedJobs - JobHashTable::iterator runFnd = runningJobs_.find(jobID); - - if (runFnd != runningJobs_.end()) - { - finishedJobs_.insert(jobID, runningJobs_.remove(runFnd)); - } - - fileName jobFileName = - word(jobID.hostName) - + '.' - + name(jobID.processID); - - if (exists(runningJobsDir/jobFileName)) - { - mv(runningJobsDir/jobFileName, finishedJobsDir); - } - } - - // 3. Remove zero sized files - fileNameList jobFiles = readDir(runningJobsDir, fileName::FILE); - - forAll (jobFiles, i) - { - fileName jobFileName = runningJobsDir/jobFiles[i]; - - if (size(jobFileName) == 0) - { - rm(jobFileName); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::purgeFinishedJob(const FoamXServer::JobID& jobID) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::purgeFinishedJob(const FoamXServer::JobID&)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!env("FOAM_JOB_DIR")) - { - throw FoamXError - ( - E_FAIL, - "Cannot get essential environment variable 'FOAM_JOB_DIR'", - functionName, - __FILE__, __LINE__ - ); - } - - fileName finishedJobsDir = Foam::getEnv("FOAM_JOB_DIR")/"finishedJobs"; - - fileName jobFileName = - finishedJobsDir - /(word(jobID.hostName) + '.' + name(jobID.processID)); - - rm(jobFileName); - - JobHashTable::iterator finishFnd = finishedJobs_.find(jobID); - - if (finishFnd != finishedJobs_.end()) - { - finishedJobs_.erase(finishFnd); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::purgeFinishedJobs(CORBA::Long nDays) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::purgeFinishedJobs(CORBA::Long nDays)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!env("FOAM_JOB_DIR")) - { - throw FoamXError - ( - E_FAIL, - "Cannot get essential environment variable 'FOAM_JOB_DIR'", - functionName, - __FILE__, __LINE__ - ); - } - - fileName finishedJobsDir = Foam::getEnv("FOAM_JOB_DIR")/"finishedJobs"; - fileName runningJobsDir = Foam::getEnv("FOAM_JOB_DIR")/"runningJobs"; - - // Current time to compare against file modification time. - time_t now = Foam::clock::getTime(); - - // 1. Mark jobs to be removed. Cannot remove from finishedJobs here - // since we're looping over it. - DynamicList toBeRemoved; - - for - ( - JobHashTable::const_iterator iter = finishedJobs_.begin(); - iter != finishedJobs_.end(); - ++iter - ) - { - fileName jobName = - word(iter.key().hostName) - + '.' - + name(iter.key().processID); - - - fileName jobFileName = finishedJobsDir/jobName; - - if (exists(jobFileName)) - { - if (size(jobFileName) > 0) - { - if ((now - lastModified(jobFileName))/86400 > nDays) - { - // File older than nDays days - rm(jobFileName); - toBeRemoved.append(iter.key()); - } - else - { - //keep file - } - } - else - { - // Zero sized file. Keep if has runningJobs equivalence - if (!exists(runningJobsDir/jobName)) - { - rm(jobFileName); - toBeRemoved.append(iter.key()); - } - } - } - else - { - // Does not exist in finishedJobs anymore - toBeRemoved.append(iter.key()); - } - } - - - // 2. Actually remove - forAll(toBeRemoved, i) - { - JobHashTable::iterator finishFnd = - finishedJobs_.find(toBeRemoved[i]); - - if (finishFnd != finishedJobs_.end()) - { - finishedJobs_.erase(finishFnd); - } - } - - // 3. Zero size files not in finishedJobs - fileNameList jobFiles = readDir(finishedJobsDir, fileName::FILE); - - forAll (jobFiles, i) - { - fileName jobFileName = finishedJobsDir/jobFiles[i]; - - if (size(jobFileName) == 0) - { - // Zero sized file. Keep if has runningJobs equivalence - if (!exists(runningJobsDir/jobFiles[i])) - { - rm(jobFileName); - } - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::kill(const JobID& jobID) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::kill(const JobID&)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - int retVal = procControl_.kill(word(jobID.hostName), jobID.processID); - - if (retVal == ProcessControl::TIMEDOUT) - { - string msg = - "Error killing job on " + word(jobID.hostName) - + " with PID " + name(jobID.processID) - + "\nHost " + word(jobID.hostName) - + " can not be reached (timeout)."; - - throw FoamXSYSError - ( - E_FAIL, - msg, - word(jobID.hostName), - functionName, - __FILE__, __LINE__ - ); - } - else if (retVal == -1) - { - throw FoamXError - ( - E_FAIL, - "Error killing job on " + word(jobID.hostName) - + " with PID " + name(jobID.processID), - functionName, - __FILE__, __LINE__ - ); - } - else - { - JobHashTable::iterator iter = runningJobs_.find(jobID); - - if (iter != runningJobs_.end()) - { - // Note: make copy of key. Needed because key gets destroyed - // in remove below. - JobID job(iter.key()); - - iter()->status = JOB_ABORTED; - - // Remove from finishedJobs if already present - JobHashTable::iterator finishFnd = finishedJobs_.find(jobID); - - if (finishFnd != finishedJobs_.end()) - { - finishedJobs_.erase(finishFnd); - } - - // Transfer from runningJobs to finishedJobs. - finishedJobs_.insert(job, runningJobs_.remove(iter)); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::suspend(const JobID& jobID) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::suspend(const JobID&)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - int retVal = procControl_.suspend - ( - word(jobID.hostName), - jobID.processID - ); - if (retVal == ProcessControl::TIMEDOUT) - { - string msg = - "Error killing job on " + word(jobID.hostName) - + " with PID " + name(jobID.processID) - + "\nHost " + word(jobID.hostName) - + " can not be reached (timeout)."; - - throw FoamXSYSError - ( - E_FAIL, - msg, - word(jobID.hostName), - functionName, - __FILE__, __LINE__ - ); - } - else if (retVal == -1) - { - throw FoamXError - ( - E_FAIL, - "Error suspending job on " + word(jobID.hostName) - + " with PID " + name(jobID.processID), - functionName, - __FILE__, __LINE__ - ); - } - else - { - JobHashTable::iterator iter = runningJobs_.find(jobID); - - if (iter != runningJobs_.end()) - { - iter()->status = JOB_SUSPENDED; - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::cont(const JobID& jobID) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::cont(const JobID&)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - int retVal = procControl_.cont(word(jobID.hostName), jobID.processID); - - if (retVal == ProcessControl::TIMEDOUT) - { - string msg = - "Error killing job on " + word(jobID.hostName) - + " with PID " + name(jobID.processID) - + "\nHost " + word(jobID.hostName) - + " can not be reached (timeout)."; - - throw FoamXSYSError - ( - E_FAIL, - msg, - word(jobID.hostName), - functionName, - __FILE__, __LINE__ - ); - } - if (retVal == -1) - { - throw FoamXError - ( - E_FAIL, - "Error continuing job on " + word(jobID.hostName) - + " with PID " + name(jobID.processID), - functionName, - __FILE__, __LINE__ - ); - } - else - { - JobHashTable::iterator iter = runningJobs_.find(jobID); - - if (iter != runningJobs_.end()) - { - iter()->status = JOB_RUNNING; - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::end -( - const JobID& jobID, - const char* rootDir, - const char* caseName, - const CORBA::Boolean now -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::end" - "(const JobID&, const char*, const char*, CORBA::Boolean)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - int argsLen = 3; - - if (now) - { - argsLen = 4; - } - - stringList args(argsLen); - - int argi = 0; - - args[argi++] = "foamEndJob"; - if (now) - { - args[argi++] = "-n"; - } - args[argi++] = "-case " + fileName(rootDir)/fileName(caseName); - args[argi++] = name(jobID.processID); - - stringList systemArgs = procControl_.remoteShellArgs - ( - userName(), - word(jobID.hostName), - args, - "", - true - ); - - int sysStatus = procControl_.system - ( - systemArgs, - procControl_.timeOut() - ); - - if (sysStatus == ProcessControl::TIMEDOUT) - { - string msg = - "Error executing " - + procControl_.commandString(systemArgs) - + "\nHost " + word(jobID.hostName) - + " can not be reached (timeout)."; - - throw FoamXSYSError - ( - E_FAIL, - msg, - word(jobID.hostName), - functionName, - __FILE__, __LINE__ - ); - } - else if (sysStatus != 0) - { - throw FoamXError - ( - E_FAIL, - "Error executing " - + procControl_.commandString(systemArgs), - functionName, - __FILE__, __LINE__ - ); - } - else - { - JobHashTable::iterator iter = runningJobs_.find(jobID); - - if (iter != runningJobs_.end()) - { - iter()->status = JOB_STOPPING; - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::setStatus -( - const FoamXServer::JobID& jobID, - FoamXServer::JobStatus jobStatus -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::setStatus" - "(const FoamXServer::JobID&, FoamXServer::JobStatus)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - JobHashTable::iterator iter = runningJobs_.find(jobID); - - if (iter != runningJobs_.end()) - { - iter()->status = jobStatus; - } - else - { - throw FoamXError - ( - E_FAIL, - "Error setting status for job on " + word(jobID.hostName) - + " with PID " + name(jobID.processID) - + ", job not in runningJobs list.", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::close() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::close()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Release Foam System Properties object. - if (foamProperties_ != NULL) - { - foamProperties_->_remove_ref(); - } - - // Unregister object from name server. - NameServer fxNameServer(orb_.orbPtr_); - fxNameServer.unbindObject(objectName_); - - fxNameServer.removeContext(hostContext_); - - // Explicit disconnect (before orb shutdown) - fxNameServer.disconnect(); - - // Shutdown th'Orb. - // Removed because it screws-up Java 1.4 CORBA connection - orb_.orbPtr_->shutdown(false); // Do not wait for completion. - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::validate() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::validate()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseBrowserImpl::save() -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::save()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Get the properties object to save the user properties. - foamProperties_->saveUserProperties(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::fileName FoamX::ICaseBrowserImpl::caseServerKey -( - const char* rootDir, - const char* caseName -) -{ - return hostName()/userName()/fileName(rootDir)/caseName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ICaseBrowserImpl::getCaseServerReference -( - const char* rootDir, - const char* caseName, - FoamXServer::CaseServer::ICaseServer_out caseObj -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::getCaseServerReference" - "(const char* rootDir, const char* caseName, " - "FoamXServer::CaseServer::ICaseServer_out caseObj)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName lockFile = fileName(rootDir)/fileName(caseName)/".fxLock"; - - if (exists(lockFile)) - { - // Extract the IOR of the FoamX case server process. - IFstream lockFileStream(lockFile); - word ior(lockFileStream); - - if (ior == "FatalError") - { - reThrow(lockFileStream); - } - - log << "IOR : " << ior << endl; - - CORBA::Object_var obj = orb_.orbPtr_->string_to_object(ior.c_str()); - ICaseServer_var ref = ICaseServer::_narrow(obj); - - if (CORBA::is_nil(ref)) - { - throw FoamXError - ( - E_FAIL, - "Can't get narrow reference to type ICaseServer " - "(or it was nil)", - functionName, - __FILE__, __LINE__ - ); - } - - // Return reference to the case server object. - caseObj = ICaseServer::_duplicate(ref); - - return true; - } - else - { - return false; - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ICaseBrowserImpl::getCasePostServerReference -( - const char* rootDir, - const char* caseName, - CORBA::Long nProcs, - FoamXServer::CasePostServer::ICasePostServer_out caseObj -) -{ - static const char* functionName = - "FoamX::ICaseBrowserImpl::getCasePostServerReference" - "(const char* rootDir, const char* caseName, CORBA::Long nProcs, " - "FoamXServer::CasePostServer::ICasePostServer_out caseObj)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - if (nProcs == 0) - { - nProcs = 1; - } - fileNameList serverKeys(nProcs); - - serverKeys[0] = - "FoamXCasePostServer"/userName() - /string::validate(rootDir)/caseName; - - for(label procIndex = 1; procIndex < nProcs; procIndex++) - { - serverKeys[procIndex] = - "FoamXCasePostServer"/userName()/string::validate(rootDir) - / word(caseName/("processor" + name(procIndex))); - } - - try - { - // Connect to name server. - NameServer fxNameServer(orb_.orbPtr_); - - string procLabel = '[' + word(name(Pstream::myProcNo())) + "]-"; - - // See if all processors bound - forAll(serverKeys, keyI) - { - if (!fxNameServer.isObjectBound(serverKeys[keyI])) - { - Pout<< serverKeys[keyI] - << " not yet resolved." << endl; - - return false; - } - } - - // Resolve and return master - caseObj = - fxNameServer.resolve - ( - serverKeys[0] - ); - - return true; - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.H deleted file mode 100644 index a986ed70a4..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/ICaseBrowserImpl.H +++ /dev/null @@ -1,396 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ICaseServerImpl - -Description - -SourceFiles - ICaseBrowserImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef ICaseBrowserImpl_H -#define ICaseBrowserImpl_H - -// Foam header files. -#include "fileName.H" -#include "HashPtrTable.H" -#include "long.H" -#include "stringList.H" - -// FoamX header files. -#include "FoamX.H" -#include "ProcessControl.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - inline bool operator== - ( - const FoamXServer::JobID& jid1, - const FoamXServer::JobID& jid2 - ) - { - return - ( - jid1.processID == jid2.processID - && Foam::word(jid1.hostName) == Foam::word(jid2.hostName) - ); - } - - inline Ostream& operator<< - ( - Ostream& os, - const FoamXServer::JobID& jid - ) - { - os << Foam::word(jid.hostName) << '.' << jid.processID; - - return os; - } -}; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class IPropertiesImpl; -class Orb; - -/*---------------------------------------------------------------------------*\ - Class ICaseBrowserImpl Declaration -\*---------------------------------------------------------------------------*/ - -class ICaseBrowserImpl -: - public POA_FoamXServer::CaseBrowser::ICaseBrowser, - public PortableServer::RefCountServantBase -{ - // Private data - - //- Context name for name server registration. - Foam::fileName hostContext_; - - //- Object name for name server registration. - Foam::fileName objectName_; - - //- Reference to the ORB - Orb& orb_; - - //- Argument list - Foam::stringList args_; - - //- Reference to the host browser - FoamXServer::HostBrowser::IHostBrowser_var hostBrowser_; - - //- Foam system properties for this server. - IPropertiesImpl* foamProperties_; - - //- Case list. - Foam::HashPtrTable cases_; - - class hashJobID - { - - public: - - hashJobID() - {} - - Foam::label operator() - ( - const FoamXServer::JobID& key, - const Foam::label tableSize - ) const - { - return Foam::mag(Foam::label(key.processID%tableSize)); - } - }; - - typedef Foam::HashPtrTable - - JobHashTable; - - //- Running jobs list. - JobHashTable runningJobs_; - - //- Finished jobs list. - JobHashTable finishedJobs_; - - //- Process controls - FoamX::ProcessControl procControl_; - - - // Private member functions. - - // Return the case server key for the given root and case - static Foam::fileName caseServerKey - ( - const char* rootDir, - const char* caseName - ); - - void getCaseServerReference - ( - const Foam::fileName& lockFile, - FoamXServer::CaseServer::ICaseServer_out caseObj - ); - - static FoamXServer::CaseDescriptor* caseDescriptor - ( - const Foam::fileName& rootDir, - const Foam::fileName& rawRootDir, - const Foam::fileName& caseFileName - ); - - //- Get dictionary entry or default value. - static Foam::label getEntry - ( - const Foam::dictionary&, - const Foam::word& key, - const Foam::label defaultValue - ); - - //- Get dictionary entry or default value. - static Foam::string getEntry - ( - const Foam::dictionary&, - const Foam::word& key, - const Foam::string& defaultValue - ); - - static void readJobs - ( - JobHashTable& jobsList, - const Foam::fileName& dir, - const bool throwOnError - ); - -public: - - // Constructors - - ICaseBrowserImpl(Orb& orb, const Foam::stringList& args); - - - // Destructor - - virtual ~ICaseBrowserImpl(); - - - // Member Functions - - // Implemented ICaseBrowser methods. - - //- Foam system properties (user data editable). - virtual FoamXServer::CaseServer::IFoamProperties_ptr - foamProperties(); - - //- Managed cases list. - virtual FoamXServer::CaseDescriptorList* cases(); - - //- Running jobs list. - virtual FoamXServer::JobDescriptorList* runningJobs(); - - //- Finished jobs list. - virtual FoamXServer::JobDescriptorList* finishedJobs(); - - virtual void getEnv - ( - const char* envName, - CORBA::String_out enval - ); - - virtual void getHostName(CORBA::String_out hostName); - - virtual void getUserName(CORBA::String_out userName); - - virtual CORBA::Long fileModificationDate(const char* fName); - - virtual void readFile - ( - const char* fName, - CORBA::String_out contents - ); - - virtual void writeFile - ( - const char* fName, - const char* contents - ); - - virtual CORBA::Long invokeUtility - ( - const char* hostName, - const char* utilityName, - const FoamXServer::StringList& arguments, - const char* logName, - CORBA::Boolean background - ); - - virtual void openCase - ( - const FoamXServer::CaseDescriptor& caseDesc - ); - - virtual void openCasePost - ( - const FoamXServer::CaseDescriptor& caseDesc, - const CORBA::Long nProcs - ); - - virtual void newCase - ( - const char* rootDir, - const char* caseName, - const char* app - ); - - virtual void importCase - ( - const char* rootDir, - const char* caseName, - const char* app - ); - - virtual void deleteCase - ( - const FoamXServer::CaseDescriptor& caseDesc - ); - - virtual void cloneCase - ( - const FoamXServer::CaseDescriptor& caseDesc, - const char* newRootDir, - const char* newCaseName, - const char* newAppClassName, - const char* timeSel - ); - - virtual CORBA::Boolean getCaseServerReference - ( - const char* rootDir, - const char* caseName, - FoamXServer::CaseServer::ICaseServer_out caseObj - ); - - virtual CORBA::Boolean getCasePostServerReference - ( - const char* rootDir, - const char* caseName, - CORBA::Long nProcs, - FoamXServer::CasePostServer::ICasePostServer_out caseObj - ); - - virtual CORBA::Boolean caseLocked - ( - const FoamXServer::CaseDescriptor& caseDesc - ); - - virtual void unlockCase - ( - const char* rootDir, - const char* caseName - ); - - virtual void unlockCaseDescriptor - ( - const FoamXServer::CaseDescriptor& caseDesc - ); - - virtual void addCase - ( - const char* rootDir, - const char* rawRootDir, - const char* caseName, - const char* appName - ); - - virtual void caseOpen - ( - const char* rootDir, - const char* caseName - ); - - virtual CORBA::Boolean isCaseInError - ( - const FoamXServer::CaseDescriptor& caseDesc - ); - - virtual void caseIsInError - ( - const FoamXServer::CaseDescriptor& caseDesc - ); - - virtual void refreshCaseList(); - - virtual void addToCaseList(const char* rootDir); - - - // Process control - - virtual void refreshJobsLists(); - virtual void checkRunningJobs(); - virtual void purgeRunningJobs(); - virtual void purgeFinishedJob(const FoamXServer::JobID& jobID); - virtual void purgeFinishedJobs(CORBA::Long nDays); - virtual void kill(const FoamXServer::JobID& jobID); - virtual void suspend(const FoamXServer::JobID& jobID); - virtual void cont(const FoamXServer::JobID& jobID); - virtual void end - ( - const FoamXServer::JobID& jobID, - const char* rootDir, - const char* caseName, - const CORBA::Boolean now - ); - virtual void setStatus - ( - const FoamXServer::JobID& jobID, - FoamXServer::JobStatus jobStatus - ); - - - // IO - - virtual void validate(); - virtual void save(); - virtual void close(); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/files b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/files deleted file mode 100644 index 5b8b21a478..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/files +++ /dev/null @@ -1,4 +0,0 @@ -ICaseBrowserImpl.C -FoamXCaseBrowser.C - -EXE = $(FOAM_APPBIN)/FoamXCaseBrowser diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/options b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/options deleted file mode 100644 index 92e0f66b0d..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseBrowser/Make/options +++ /dev/null @@ -1,13 +0,0 @@ -#include "../../FoamXLib/Make/orbOptions" - -EXE_INC = \ - $(ORB_INC) \ - -I../FoamXLib/lnInclude \ - -I../FoamXServer \ - -EXE_LIBS = \ - -lFoamX \ - -lFoamXServer \ - $(ORB_LIBS) - - diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/FoamXCaseServer.C b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/FoamXCaseServer.C deleted file mode 100644 index b9d28fabbc..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/FoamXCaseServer.C +++ /dev/null @@ -1,225 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "dictionary.H" -#include "argList.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamXErrors.H" -#include "ICaseServerImpl.H" -#include "LogManager.H" -#include "LogEntry.H" -#include "Orb.H" - -// Declare all the namespaces used by FoamX -#include "FoamXNameSpaces.H" - -using namespace FoamX; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -int main(int argc, char **argv) -{ - static const char* functionName = - "FoamXCaseServer::main(int argc, char **argv)"; - - fileName lockFileName; - - try - { - FatalError.throwExceptions(); - FatalIOError.throwExceptions(); - - // Construct the ORB, remove ORB arguments - Orb orb(argc, argv); - - argList::validOptions.insert("open", ""); - argList::validOptions.insert("create", "app"); - argList::validOptions.insert("import", "app"); - //argList::validOptions.insert("test", ""); - argList args(argc, argv); - - lockFileName = args.path()/".fxLock"; - - // Initialise the log manager object. - // Write the log into the case directory. - LogManager logMgr(args.path()/"CaseServerLog.xml"); - - // Register the root function call. - LogEntry log(functionName, __FILE__, __LINE__); - - word mode; - word app; - if (args.options().found("open")) - { - mode = "open"; - } - else if (args.options().found("create")) - { - mode = "create"; - app = args.options()["create"]; - } - else if (args.options().found("import")) - { - mode = "import"; - app = args.options()["import"]; - } - else - { - FatalErrorIn(functionName) - << "Essential option not given" << endl; - args.printUsage(); - FatalError.abort(); - } - - // Allocate the ICaseServerImpl object on the heap. - // This is a reference counted object and will be deleted by - // the POA when it is no longer needed. - ICaseServerImpl* caseServerPtr = new ICaseServerImpl - ( - orb, - args.rootPath(), - args.caseName(), - mode, - app - ); - - if (caseServerPtr == NULL) - { - FatalErrorIn(functionName) - << "Failed to instantiate ICaseServerImpl object." - << exit(FatalError); - } - - log << "Created ICaseServerImpl object." << endl; - - // Get the object IOR and write to lock file. - string ior = orb.ior(caseServerPtr->_this()); - - log << "IOR : " << ior << "." << endl; - - { - OFstream ofLock(lockFileName); - - if (ofLock.good()) - { - ofLock << ior.c_str(); - } - else - { - throw FoamX::FoamXError - ( - E_FAIL, - "Failed to open lock file " + lockFileName, - functionName, - __FILE__, __LINE__ - ); - } - } - - if (args.options().found("test")) - { - caseServerPtr->readMesh(); - caseServerPtr->save(); - } - else - { - log << "CaseServer running....." << endl; - Info << "CaseServer running....." << endl; - - // Go! - orb.run(); - - // Clean up all the resources. - log << "Shutting down Case Server." << endl; - } - } - catch (Foam::IOerror& fIOErr) - { - Serr<< "Caught Foam IOerror in " << functionName << " : " - << nl << fIOErr << endl; - - writeException(fIOErr, lockFileName); - } - catch (Foam::error& fErr) - { - Serr<< "Caught Foam error in " << functionName << " : " - << nl << fErr << endl; - - writeException(fErr, lockFileName); - } - catch (FoamXServer::FoamXIOError& fIOErr) - { - Serr<< "Caught FoamXIOError exception in " << functionName << " : " - << nl << fIOErr << endl; - - writeException(fIOErr, lockFileName); - } - catch (FoamXServer::FoamXError& ex) - { - Serr<< "Caught FoamXError exception in " << functionName << " : " - << nl << ex << endl; - - writeException(ex, lockFileName); - } - catch (CORBA::COMM_FAILURE& ex) - { - Serr<< "Caught CORBA::COMM_FAILURE exception in " - << functionName << endl; - - writeException(ex, lockFileName); - } - catch (CORBA::SystemException& ex) - { - Serr<< "Caught CORBA::SystemException exception in " - << functionName << endl; - - writeException(ex, lockFileName); - } - catch (CORBA::Exception& ex) - { - Serr<< "Caught CORBA::Exception exception in " - << functionName << endl; - - writeException(ex, lockFileName); - } - catch (...) - { - Serr<< "Caught system exception in " - << functionName << endl; - - writeException(systemError(), lockFileName); - } - - Info<< "Finishing " << functionName << endl; - - return 0; -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.C deleted file mode 100644 index 8b7587e326..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.C +++ /dev/null @@ -1,1870 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -#include - -// Foam header files. -#include "long.H" -#include "dictionary.H" -#include "wordList.H" -#include "stringList.H" -#include "fileNameList.H" -#include "IFstream.H" -#include "OStringStream.H" -#include "instantList.H" -#include "IOPtrList.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamXErrors.H" -#include "ICaseServerImpl.H" -#include "DictionaryWriter.H" -#include "RootDictionary.H" -#include "IGeometricFieldImpl.H" -#include "LogEntry.H" -#include "NameServer.H" -#include "PatchProperties.H" -#include "Orb.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -// Define word for IOPtrList. -template<> -const Foam::word Foam::IOPtrList::typeName("polyBoundaryMesh"); - - -// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // - -Foam::Time& FoamX::ICaseServerImpl::time() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::time()"; - - if (!dbPtr_) - { - throw FoamXError - ( - E_FAIL, - "database not yet constructed", - functionName, - __FILE__, __LINE__ - ); - } - return *dbPtr_; -} - - -void FoamX::ICaseServerImpl::saveControlDict() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::saveControlDict()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - //---------------------------------------------------------------------- - // Make sure the control dictionary is saved. - IDictionaryEntry_var controlDict; // Auto Release. - getDictionary(Time::controlDictName.c_str(), false, controlDict.out()); - if (CORBA::is_nil(controlDict)) - { - throw FoamXError - ( - E_FAIL, - "Failed to open control dictionary entry object", - functionName, - __FILE__, __LINE__ - ); - } - - // Make sure the control dictionary is saved. - controlDict->save(); -} - - -void FoamX::ICaseServerImpl::writePatchData() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::writePatchData()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Create the polyMesh directory if required. - fileName polyMeshDir = rootDir_/caseName_/"constant"/"polyMesh"; - if (!dir(polyMeshDir) && !mkDir(polyMeshDir)) - { - throw FoamXError - ( - E_FAIL, - "Mesh directory '" + polyMeshDir + "' could not be created", - functionName, - __FILE__, __LINE__ - ); - } - - // Write boundary file (fixed form). - DictionaryWriter dict - ( - rootDir_, - caseName_, - "constant/polyMesh", - "boundary" - ); - dict.writeHeader - ( - "FoamX Mesh Description File", - "polyBoundaryMesh" - ); - - // Start list. - dict.startList(patchMap_.size()); - - // Write patch boundary information. - for - ( - Dictionary::iterator iter = patchMap_.begin(); - iter != patchMap_.end(); - ++iter - ) - { - dict.writeEndl(); - iter().save(dict); - } - - // End list. - dict.endList(); - - dict.writeEndl(); - dict.writeEndBar(); - } - CATCH_ALL(functionName); -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// patchPhysicalType is the name of the boundary type name, not the definition key. - -void FoamX::ICaseServerImpl::addPatch -( - const char* patchName, - const char* patchPhysicalType -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::addPatch" - "(const char* patchName, const char* patchPhysicalType)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Patch = " << patchName - << ", Boundary (Physical) Type = " << patchPhysicalType << endl; - - // Create a new patch descriptor object for this patch. - PatchProperties* patchProps = new PatchProperties(patchName); - - if (patchProps == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create Patch Properties object", - functionName, - __FILE__, __LINE__ - ); - } - - IPatchPhysicalTypeDescriptor_var boundaryDescriptor; - app_->getPatchPhysicalType(patchPhysicalType, boundaryDescriptor.out()); - patchProps->patchType(boundaryDescriptor->patchType()); - - patchProps->physicalType(patchPhysicalType); - - // Append to patch descriptor list. - addPatch(patchProps); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -bool FoamX::ICaseServerImpl::fieldsMatchPatchPhysicalType(const word& patchName) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::fieldsMatchPatchPhysicalType" - "(const char* patchName)"; - - // Get properties read from boundary file. - PatchProperties* patchProps = patchMap_.lookup(patchName); - - Info<< "Trying to match patch " << patchName << " physical type " - << patchProps->physicalType() << endl; - - // Get the specified boundary type descriptor object (ultimately from the - // application class. - IPatchPhysicalTypeDescriptor_var boundaryDescriptor; - app_->getPatchPhysicalType - ( - patchProps->physicalType().c_str(), - boundaryDescriptor.out() - ); - - // Get the types for individual fields - StringPairList_var patchFieldTypes = - boundaryDescriptor->patchFieldTypes(); - - // Try to see if all fields specified have the correct type - for (unsigned int i = 0; i length(); i++) - { - word fieldName(patchFieldTypes[i].name); - - Info<< " name:" << fieldName - << " type:" << patchFieldTypes[i].value << endl; - - - if (fieldValueMap_.found(fieldName)) - { - // Convert between the patch field type key and the Foam name. - - // Get the PatchFieldDescriptor object. - ITypeDescriptor_var pfDescriptor; - foamProperties_->getPatchFieldType - ( - patchFieldTypes[i].value, - pfDescriptor.out() - ); - CORBA::String_var pfName = pfDescriptor->name(); - - IGeometricFieldImpl* pFieldValue = fieldValueMap_[fieldName]; - - IDictionaryEntry_var pfParams; - pFieldValue->getPatchFieldParameters(patchName.c_str(), pfParams); - - DictionaryEntryList* subElemsPtr = pfParams->subElements(); - - for - ( - unsigned int elemI = 0; - elemI < subElemsPtr->length(); - elemI++ - ) - { - FoamXServer::FoamXAny* subValPtr = - (*subElemsPtr)[elemI]->value(); - - void* nasty = &(subValPtr->value); - - Info<< " " << elemI << "type:" << subValPtr->type - << " value:" << long(nasty) << endl; - } - } - else - { - WarningIn(functionName) - << "Did not find field " << fieldName - << " specified in physical patch type " - << patchProps->physicalType() - << endl; - } - } - return true; -} - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -FoamX::ICaseServerImpl::ICaseServerImpl -( - Orb& orb, - const fileName& rootDir, - const fileName& caseName, - const word& mode, - const word& app -) -: - rootDir_(rootDir), - caseName_(caseName), - hostContext_(hostName()), - userContext_(userName()), - objectName_(hostContext_/userContext_/string::validate(rootDir_)/caseName_), - caseDictName_(rootDir_/caseName_/"system/controlDict"), - appName_(app), - orb_(orb), - dbPtr_(NULL), - caseBrowser_(NULL), - foamProperties_(NULL), - app_(NULL), - managed_(false), - procControl_(dotFoam("apps/FoamX/FoamX.cfg")), - pid_(-1) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::ICaseServerImpl" - "(Orb& orb, const fileName& rootDir, const fileName& caseName, " - "const word& mode, const word& app)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Connect to name server. - NameServer fxNameServer(orb_.orbPtr_); - - // Case browser should have registered itself with the name server under - // a "hostName/"FoamXCaseBrowser"" key. - fileName caseBrowserKey = hostName()/"FoamXCaseBrowser"; - - if (fxNameServer.isObjectBound(caseBrowserKey)) - { - // Return server reference. - caseBrowser_ = - fxNameServer.resolve - (caseBrowserKey); - } - else - { - throw FoamXError - ( - E_FAIL, - "Server '" + caseBrowserKey + "' not found on name server. " - "getServerReference call timed out", - functionName, - __FILE__, __LINE__ - ); - } - - foamProperties_ = caseBrowser_->foamProperties(); - - - //---------------------------------------------------------------------- - // See if we are opening an existing case or creating/importing - // a new case. - if (mode == "open") - { - // Control dictionary must exist. - if (!exists(caseDictName_)) - { - throw FoamXError - ( - E_FAIL, - "Case control dictionary '" + caseDictName_ + "' not found", - functionName, - __FILE__, __LINE__ - ); - } - - // Open the case configuration dictionary and get the - // application class name. - dictionary caseDict((IFstream(caseDictName_)())); - - if (caseDict.found("application")) - { - caseDict.lookup("application")>> appName_; - } - else if (caseDict.found("applicationClass")) - { - caseDict.lookup("applicationClass")>> appName_; - } - else - { - throw FoamXError - ( - E_FAIL, - "Application class entry not found in '" + caseDictName_ - + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - else if (mode == "import") - { - // Control dictionary must exist. - if (!exists(caseDictName_)) - { - throw FoamXError - ( - E_FAIL, - "Case control dictionary '" + caseDictName_ - + "' not found", - functionName, - __FILE__, __LINE__ - ); - } - - // Open the case configuration dictionary and get the - // application class name. - dictionary caseDict((IFstream(caseDictName_)())); - - // If not found, use the command line argument. - if (caseDict.found("application")) - { - caseDict.lookup("application") >> appName_; - } - } - else if (mode == "create") - { - // Control dictionary must not exist. - if (exists(caseDictName_)) - { - throw FoamXError - ( - E_FAIL, - "Case control dictionary '" + caseDictName_ - + "' exists. Cannot create new case", - functionName, - __FILE__, __LINE__ - ); - } - // Create the case directory if required. - fileName caseDir = rootDir_/caseName_; - if (!dir(caseDir) && !mkDir(caseDir)) - { - throw FoamXError - ( - E_FAIL, - "Case directory '" + caseDir + "' could not be created", - functionName, - __FILE__, __LINE__ - ); - } - - // Create the constant directory if required. - fileName constDir = caseDir/"constant"; - if (!dir(constDir ) && !mkDir(constDir ) ) - { - throw FoamXError - ( - E_FAIL, - "Case directory '" + constDir + "' could not be created", - functionName, - __FILE__, __LINE__ - ); - } - - // Create the polyMesh directory if required. - fileName meshDir = constDir/"polyMesh"; - if (!dir(meshDir) && !mkDir(meshDir)) - { - throw FoamXError - ( - E_FAIL, - "Case directory '" + meshDir + "' could not be created", - functionName, - __FILE__, __LINE__ - ); - } - } - else - { - throw FoamXError - ( - E_FAIL, - "Invalid argument '" + mode + "'", - functionName, - __FILE__, __LINE__ - ); - } - - //---------------------------------------------------------------------- - // Create the Application and FoamProperties objects. - if (appName_.size() == 0) - { - throw FoamXError - ( - E_FAIL, - "Invalid application class name '" + appName_ + "'", - functionName, - __FILE__, __LINE__ - ); - } - - foamProperties_->getApplication(appName_.c_str(), app_); - - //---------------------------------------------------------------------- - // Create the FieldValues objects. - StringList_var fieldNames = app_->fields(); - - for (unsigned int i = 0; i length(); i++) - { - word fieldName(fieldNames[i]); - - // Get reference to field descriptor. - IGeometricFieldDescriptor_var fieldDescriptorRef; // Auto-release. - app_->getField(fieldName.c_str(), fieldDescriptorRef.out()); - - // Create default FieldValues object for this field. - IGeometricFieldImpl* pFieldValues = new IGeometricFieldImpl - ( - fieldDescriptorRef, - foamProperties_ - ); - - if (pFieldValues == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create field value object", - functionName, - __FILE__, __LINE__ - ); - } - fieldValueMap_.insert(fieldName, pFieldValues); - } - - //---------------------------------------------------------------------- - // Register object with the naming service. Will throw an exception - // if any errors occurs. - - // Do not fail if context already exists. - fxNameServer.createContext(hostContext_, false); - - // Do not fail if context already exists. - fxNameServer.createContext(hostContext_/userContext_, false); - - // Do not fail if context already exists. - fxNameServer.createContext - ( - hostContext_/userContext_/string::validate(rootDir_), - false - ); - - // Bind object under key hostName/userName/caseroot/casename. - FoamXServer::CaseServer::ICaseServer_var caseRef = _this(); - - // Throw exception if already bound. - fxNameServer.bindObject(objectName_, caseRef, false); - - // Decrement the reference count of the object implementation, so - // that it will be properly cleaned up when the POA has determined - // that it is no longer needed. - _remove_ref(); - - if (mode == "import" || mode == "create") - { - // Make valid control dict so we can instantiate a database - saveControlDict(); - - dbPtr_ = new Time(Time::controlDictName, rootDir_, caseName_); - - // Make valid set of files - save(); - - caseBrowser_->addCase - ( - rootDir_.c_str(), - rootDir_.c_str(), - caseName_.c_str(), - appName_.c_str() - ); - } - else - { - dbPtr_ = new Time(Time::controlDictName, rootDir_, caseName_); - - caseBrowser_->caseOpen - ( - rootDir_.c_str(), - caseName_.c_str() - ); - } - } - CATCH_ALL(functionName); -} - - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -FoamX::ICaseServerImpl::~ICaseServerImpl() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::~ICaseServerImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Delete database - if (dbPtr_) - { - delete dbPtr_; - dbPtr_ = NULL; - } -} - - -// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ICaseServerImpl::managed() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::managed()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return managed_; -} - -void FoamX::ICaseServerImpl::managed(CORBA::Boolean managed) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::managed(CORBA::Boolean managed)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - managed_ = managed; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ICaseServerImpl::caseRoot() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::caseRoot()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(rootDir_.c_str()); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ICaseServerImpl::caseName() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::caseName()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(caseName_.c_str()); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IFoamProperties_ptr FoamX::ICaseServerImpl::foamProperties() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::foamProperties()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Return a reference to the TypeDescriptor object. - IFoamProperties_ptr pProperties = IFoamProperties::_nil(); - - if (!CORBA::is_nil(foamProperties_)) - { - pProperties = IFoamProperties::_duplicate(foamProperties_); - } - - return pProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IApplication_ptr FoamX::ICaseServerImpl::application() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::application()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Return a reference to the Application object. - IApplication_ptr pAppClass = IApplication::_nil(); - - if (static_cast(app_) != NULL) - { - pAppClass = IApplication::_duplicate(app_); - } - - return pAppClass; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::ICaseServerImpl::availableTimeSteps() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::availableTimeSteps()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - StringList* timeStepList = NULL; - - try - { - // Get list of time directories. - instantList times = time().times(); - - // Copy time steps into a new string list and return. - timeStepList = new StringList(); - timeStepList->length(times.size()); - forAll(times, i) - { - (*timeStepList)[i] = times[i].name().c_str(); - } - } - CATCH_ALL(functionName); - - return timeStepList; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ICaseServerImpl::getTime() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::getTime()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Duplicate and return. - return CORBA::string_dup(time().timeName().c_str()); - } - CATCH_ALL(functionName); - - return CORBA::string_dup(""); -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::setTime -( - const char* timeName, - const CORBA::Long timeIndex -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::setTime(const char*, const CORBA::Long)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - scalar timeValue(readScalar(IStringStream(timeName)())); - - time().setTime(timeValue, timeIndex); - } - CATCH_ALL(functionName); -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ICaseServerImpl::meshDefined() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::meshDefined()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Return true if a mesh description dictionary - fileName meshDict = - rootDir_/caseName_/fileName("constant/polyMesh/boundary"); - - return exists(meshDict); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::readMesh() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::readMesh()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // See if the mesh has been defined. - if (!meshDefined()) - { - throw FoamXError - ( - E_FAIL, - "Mesh description dictionary not found", - functionName, - __FILE__, __LINE__ - ); - } - - // Create a list of entries from the boundary file. - IOPtrList patchEntries - ( - IOobject - ( - "boundary", - time().constant(), - "polyMesh", - time(), - IOobject::MUST_READ, - IOobject::NO_WRITE, - false - ) - ); - - log << "Deleting all patches" << endl; - - // Delete all previous patch information. - deleteAllPatches(); - - log << "Adding new patches.." << endl; - - // Add patch objects for each patch defined in the mesh. - forAll(patchEntries, i) - { - // Read boundary type for this patch from the - // mesh description dictionary. - word patchName(patchEntries[i].keyword()); - log << "Adding patch " << patchName << ".." << endl; - - // Create a new patch descriptor object for this patch - // and load patch data from the dictionary. - PatchProperties* patchProps = new PatchProperties(patchName); - - if (patchProps == NULL) - { - throw FoamXError - ( - E_INVALID_ARG, - "Failed to create PatchProperties object", - functionName, - __FILE__, __LINE__ - ); - } - - patchProps->load(patchEntries[i].dict()); - - // Add new patch to list. - addPatch(patchProps); - } - - // Read the field values from the field dictionaries. - StringList_var fieldNames = app_->fields(); // Auto-release. - for (unsigned int i = 0; i < fieldNames->length(); i++) - { - word fieldName(fieldNames[i]); - - // See if the field dictionary exists. - fileName fieldDictName = time().timePath()/fieldName; - - if (exists(fieldDictName)) - { - // Get the field object. - IGeometricFieldImpl* pFieldValue = fieldValueMap_[fieldName]; - - // Read the values from the field dictionary. - dictionary fieldDict((IFstream(fieldDictName)())); - pFieldValue->load(fieldDict); - } - } - - - // Correct all the field boundary conditions for changes in mesh - for - ( - Dictionary::iterator iter = patchMap_.begin(); - iter != patchMap_.end(); - ++iter - ) - { - ///Info<< "Trying to match fields to " << iter().physicalType() - // << endl; - //bool matches = fieldsMatchPatchPhysicalType(iter().physicalType()); - //Info<< "Matches:" << matches << endl; - - setPatchPhysicalType - ( - iter().patchName().c_str(), - iter().physicalType().c_str() - ); - - // In sync with file - iter().modified(false); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::importMesh -( - const char* hostName, - const char* rootDir, - const char* caseName -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::importMesh(const char* hostName, " - "const char* rootDir, const char* caseName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName importMeshDir = fileName(rootDir)/caseName/"constant/polyMesh"; - fileName destConstDir = rootDir_/caseName_/"constant"; - - if (hostName == Foam::hostName()) - { - if (dir(importMeshDir)) - { - cp(importMeshDir, destConstDir); - } - else - { - throw FoamXError - ( - E_FAIL, - "Source directory " + importMeshDir - + " does not exist or is unreadable", - functionName, - __FILE__, __LINE__ - ); - } - } - else - { - stringList argsList = procControl_.remoteCpArgs - ( - userName(), - hostName, - importMeshDir, - destConstDir - ); - - if (procControl_.system(argsList) != 0) - { - throw FoamXError - ( - E_FAIL, - "Error while copying directory " + importMeshDir + " to " - + destConstDir + " using remote copy command " - + procControl_.commandString(argsList), - functionName, - __FILE__, __LINE__ - ); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::getFieldValues -( - const char* fieldName, - IGeometricField_out fieldValues -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::getFieldValues" - "(const char* fieldName, IGeometricField_out fieldValues)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check for a valid field name. - if (!fieldValueMap_.found(fieldName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid field name", - functionName, - __FILE__, __LINE__ - ); - } - - fieldValues = fieldValueMap_[fieldName]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::ICaseServerImpl::patchNames() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::patchNames()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return the patch name list. - return new StringList - ( - FoamXWordList(static_cast(patchMap_.toc())) - ); -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::addPatch(PatchProperties* patchProps) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::addPatch(PatchProperties* patchProps)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Get the patch name and the boundary type. - // patchPhysicalType is the name of the boundary type name, not the - // definition key. - const word& patchName = patchProps->patchName(); - const word& patchPhysicalType = patchProps->physicalType(); - - log << "Patch = " << patchName << endl; - - // Check patch name. - if (patchMap_.found(patchName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch name", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the specified boundary type descriptor object. - // If the boundary type name is not valid, an exception will be thrown. - IPatchPhysicalTypeDescriptor_var boundaryDescriptor; - app_->findPatchPhysicalType - ( - patchPhysicalType.c_str(), - boundaryDescriptor.out() - ); - - // Make sure that the boundary type name is valid. - if (CORBA::is_nil(boundaryDescriptor)) - { - throw FoamXError - ( - E_FAIL, - "Invalid boundary type name '" + patchPhysicalType + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Append patch descriptor to list. - patchMap_.append(patchName, patchProps); - - // Get patch field types from boundary descriptor. - StringPairList_var patchFieldTypes = - boundaryDescriptor->patchFieldTypes(); - - // Add this patch to all field value objects. - for (unsigned int i = 0; i length(); i++) - { - word fieldName(patchFieldTypes[i].name); - - if (fieldValueMap_.found(fieldName)) - { - IGeometricFieldImpl* pFieldValue = fieldValueMap_[fieldName]; - - // Convert between the patch field type key and the Foam name. - - // Get the PatchFieldDescriptor object. - ITypeDescriptor_var pfDescriptor; - foamProperties_->getPatchFieldType - ( - patchFieldTypes[i].value, - pfDescriptor.out() - ); - - // Make sure that the patch field type name is valid. - if (CORBA::is_nil(pfDescriptor)) - { - throw FoamXError - ( - E_FAIL, - "Invalid patch field type key '" - + word(patchFieldTypes[i].value) - + "' for boundary type '" + patchPhysicalType + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the Foam name and set the patch field type. - CORBA::String_var patchFieldType = pfDescriptor->name(); - pFieldValue->addPatch(patchName.c_str(), patchFieldType); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::deletePatch(const char* patchName) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::deletePatch(const char* patchName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check patch name. - if (!patchMap_.found(patchName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch name", - functionName, - __FILE__, __LINE__ - ); - } - patchMap_.remove(patchName); - - // Remove this patch from all field value objects. - StringList_var fieldNames = app_->fields(); // Auto-release. - for (unsigned int i=0; i length(); i++) - { - word fieldName(fieldNames[i]); - if (fieldValueMap_.found(fieldName)) - { - IGeometricFieldImpl* pFieldValue = fieldValueMap_[fieldName]; - pFieldValue->deletePatch(patchName); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::deleteAllPatches() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::deleteAllPatches()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Delete all currently defined patch information. - wordList patchNames(patchMap_.toc()); - forAll(patchNames, i) - { - deletePatch(patchNames[i].c_str()); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::setPatchPhysicalType -( - const char* patchName, - const char* patchPhysicalType -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::setPatchPhysicalType" - "(const char* patchName, const char* patchPhysicalType)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check patch name. - if (!patchMap_.found(patchName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch name", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the specified boundary type descriptor object. - // If the boundary type name is not valid, an exception will be thrown. - IPatchPhysicalTypeDescriptor_var boundaryDescriptor; - app_->getPatchPhysicalType(patchPhysicalType, boundaryDescriptor.out()); - - // Make sure that the boundary type name is valid. - if (CORBA::is_nil(boundaryDescriptor)) - { - throw FoamXError - ( - E_FAIL, - "Invalid boundary type name '" + word(patchPhysicalType) + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Update the patch properties object. - PatchProperties* patchProps = patchMap_.lookup(patchName); - - patchProps->patchType(boundaryDescriptor->patchType()); - patchProps->physicalType(patchPhysicalType); - - // Get patch field types from boundary descriptor. - StringPairList_var patchFieldTypes = - boundaryDescriptor->patchFieldTypes(); - - // Loop over all fields and update the field value objects. - for (unsigned int i = 0; i length(); i++) - { - word fieldName(patchFieldTypes[i].name); - - if (fieldValueMap_.found(fieldName)) - { - // Get the patch field type descriptor. - ITypeDescriptor_var pfDescriptor; - foamProperties_->getPatchFieldType - ( - patchFieldTypes[i].value, - pfDescriptor.out() - ); - - // Need to pass the foam name, not the key, - // for the patch field type. - CORBA::String_var pfName = pfDescriptor->name(); - - // Get the field object. - IGeometricFieldImpl* pFieldValue = fieldValueMap_[fieldName]; - - pFieldValue->setPatchFieldType(patchName, pfName); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::getPatchPhysicalType -( - const char* patchName, - CORBA::String_out patchPhysicalType -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::getPatchPhysicalType" - "(const char* patchName, CORBA::String_out patchPhysicalType)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Patch = " << patchName << endl; - - // Check for a valid patch name. - if (!patchMap_.found(patchName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch name", - functionName, - __FILE__, __LINE__ - ); - } - - // Return the boundary type for this patch. - PatchProperties* patchProps = patchMap_.lookup(patchName); - - patchPhysicalType = CORBA::string_dup(patchProps->physicalType().c_str()); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::getDictionary -( - const char* dictionaryName, - CORBA::Boolean forceRead, - IDictionaryEntry_out dictRoot -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::getDictionary" - "(const char*, CORBA::Boolean, IDictionaryEntry_out)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - RootDictionary* pDictRoot = NULL; - - // Force rereading just by clearing the cache. - if (forceRead) - { - ObjRefHashTable::iterator iter = - dictionaryMap_.find(dictionaryName); - - dictionaryMap_.erase(iter); - } - - // See if we have this dictionary entry object cached. - if (dictionaryMap_.found(dictionaryName)) - { - log << "Dictionary " << dictionaryName << " existing" << endl; - - pDictRoot = dictionaryMap_[dictionaryName]; - } - else - { - log << "Creating new dictionary " << dictionaryName << endl; - - // Create and initialise a new dictionary entry object. - ITypeDescriptor_var typeDescRef; // Auto release. - app_->getDictionary(dictionaryName, typeDescRef.out()); - - // Create a default RootDictionary object for this dictionary. - pDictRoot = new RootDictionary - ( - typeDescRef, - rootDir_, - caseName_ - ); - if (pDictRoot == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create dictionary entry object", - functionName, - __FILE__, __LINE__ - ); - } - - // Load the values from the file if it exists - pDictRoot->load(); - - // Add to dictionary map. - dictionaryMap_.insert(dictionaryName, pDictRoot); - } - - // Return a reference to the dictionary entry object. - dictRoot = pDictRoot->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Long FoamX::ICaseServerImpl::fileModificationDate -( - const char* dictionaryName -) -{ - fileName fName(rootDir_/caseName_/dictionaryName); - - if (exists(fName)) - { - return label(lastModified(fName)); - } - else - { - // Ugly. Let's hope not many dates with time_t==0 - return 0; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::readFile -( - const char* fName, - CORBA::String_out contents -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::readRawDictionary" - "(const char* fName, CORBA::String_out contents)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName dictName = rootDir_/caseName_/fName; - - log << "File = " << dictName << endl; - - // If file exists, return its contents. - if (exists(dictName)) - { - IFstream ifFile(dictName); - - if (ifFile) - { - OStringStream fileString; - - char ch; - while (ifFile.get(ch)) - { - fileString << ch; - } - - // Must duplicate string to return. - contents = CORBA::string_dup(fileString.str().c_str()); - } - else - { - throw FoamXError - ( - E_FAIL, - "Failed to read file '" + dictName + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - else - { - throw FoamXError - ( - E_FAIL, - "Failed to open file '" + dictName + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::writeFile -( - const char* fName, - const char* contents -) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::writeRawDictionary" - "(const char* fName, const char* contents)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName dictName = rootDir_/caseName_/fName; - - log << "File = " << dictName << endl; - - // Check if dictionary already exists, and if so move to .bak - if (file(dictName)) - { - mv(dictName, dictName + ".bak"); - } - - // Make sure path exists. - if (!dir(dictName.path()) && !mkDir(dictName.path())) - { - throw FoamXError - ( - E_FAIL, - "Failed to create directory '" + dictName.path() + "'", - functionName, - __FILE__, __LINE__ - ); - } - - // Write dictionary contents. - OFstream ofFile(dictName); - if (ofFile) - { - ofFile << contents; - } - else - { - throw FoamXError - ( - E_FAIL, - "Failed to write file '" + dictName + "'", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Long FoamX::ICaseServerImpl::runCase(const char* arguments) -{ - static const char* functionName = - "FoamX::ICaseServerImpl::runCase(const char* arguments)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Convert the arguments into a stringList and start - // the calculation process. - - string stringArgs(arguments); - - int nArgs = 1; - if (stringArgs.size() != 0) - { - nArgs += 1 + stringArgs.count(' '); - } - stringList args(nArgs + 1); - args[0] = word(app_->name()); - - int argi = 1; - args[argi++] = "-case " + rootDir_/caseName_; - - size_t startPos = 0; - int endPos; - while ((endPos = stringArgs.find(" ", startPos)) != -1) - { - string oneArg(stringArgs(startPos, (endPos - startPos))); - args[argi++] = oneArg; - startPos = endPos + 1; - } - - if ((stringArgs.size() != 0) && (startPos != (stringArgs.size() - 1))) - { - string oneArg - ( - stringArgs - ( - startPos, - stringArgs.size() - 1 - startPos - ) - ); - args[argi++] = oneArg; - } - - pid_ = procControl_.fork(args, ""); - - if (pid_ == -1) - { - throw FoamXError - ( - E_FAIL, - "Error executing foam calculation process", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); - - return pid_; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::killCase() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::killCase()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - if (pid_ > 0) - { - if (procControl_.kill(pid_) != 0) - { - throw FoamXError - ( - E_FAIL, - string("Error killing job with PID ") + name(pid_), - functionName, - __FILE__, __LINE__ - ); - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::validate() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::validate()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ICaseServerImpl::modified() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::modified()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - for - ( - ObjRefHashTable::iterator iter = - fieldValueMap_.begin(); - iter != fieldValueMap_.end(); - ++iter - ) - { - if (iter()->modified()) return true; - } - - for - ( - ObjRefHashTable::iterator iter = - dictionaryMap_.begin(); - iter != dictionaryMap_.end(); - ++iter - ) - { - if (iter()->modified()) return true; - } - - for - ( - Dictionary::iterator iter = patchMap_.begin(); - iter != patchMap_.end(); - ++iter - ) - { - if (iter().modified()) return true; - } - } - CATCH_ALL(functionName); - - return false; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::save() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::save()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Save (default) controlDict - saveControlDict(); - - // Delete time and reconstruct to force reading of startTime - // setting (Time::read does not reread startTime) - if (dbPtr_) - { - delete dbPtr_; - dbPtr_ = NULL; - } - dbPtr_ = new Time(Time::controlDictName, rootDir_, caseName_); - - - // Make sure that the time directory exists. - if (!dir(time().timePath())) - { - log << "Creating time directory " << time().timePath() << endl; - - if (!mkDir(time().timePath())) - { - // Throw a wobbler. - throw FoamXError - ( - E_FAIL, - "Failed to create time directory", - functionName, - __FILE__, __LINE__ - ); - } - } - - // For dictionaries that do not exist, make sure that a default - // dictionary is cached. - StringList_var dictNames = app_->dictionaries(); - for (unsigned int i = 0; i length(); i++) - { - word dictName(dictNames[i]); - - // Get dictionary type descriptor. - ITypeDescriptor_var typeDescRef; // Auto release. - app_->getDictionary(dictName.c_str(), typeDescRef.out()); - - // Get dictionary full file name - // (using the path information in the type descriptor). - CORBA::String_var name = typeDescRef->name(); - - fileName dictPathName = RootDictionary::path - ( - rootDir_, - caseName_, - typeDescRef->dictionaryPath() - )/fileName(name); - - if (!exists(dictPathName)) - { - IDictionaryEntry_var dict; // Auto Release. - getDictionary(name, false, dict.out()); - } - } - - // Now save the case's dictionaries. - // Only need to save the dictionaries in the cache. - for - ( - HashTable::iterator iter = - dictionaryMap_.begin(); - iter != dictionaryMap_.end(); - ++iter - ) - { - // Validate the dictionary before we save. - try - { - iter()->validate(); - iter()->save(); - } - catch (ValidationError vex) - { - log << "Dictionary validation failed : " - << vex.errorMessage << " at path '" << vex.itemPath - << "'" << endl; - } - } - - - // Save the patch and boundary condition information. - writePatchData(); - - // Get an ordered list of the patch names - // Used to ensure the patchFields are written in the same order - wordList patchNames(patchMap_.size()); - label i = 0; - for - ( - Dictionary::iterator iter = patchMap_.begin(); - iter != patchMap_.end(); - ++iter - ) - { - patchNames[i++] = iter().patchName(); - } - - // Save field dictionaries. - StringList_var fieldNames = app_->fields(); // Auto-release. - for (unsigned int i = 0; i length(); i++) - { - word fieldName(fieldNames[i]); - - // Get field value object. - IGeometricFieldImpl* pFieldValue = fieldValueMap_[fieldName]; - - // Create dictionary writer object. - DictionaryWriter dictWriter - ( - rootDir_, - caseName_, - time().timeName(), - fieldName - ); - - pFieldValue->save(dictWriter, patchNames); - } - - log << "Case " << time().path() << " saved successfully" << endl; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ICaseServerImpl::close() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::close()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - caseBrowser_->unlockCase(rootDir_.c_str(), caseName_.c_str()); - - // Unregister object from the naming service. - NameServer fxNameServer(orb_.orbPtr_); - fxNameServer.unbindObject(objectName_); - - // Remove case context - fxNameServer.removeContext - ( - hostContext_/userContext_/string::validate(rootDir_) - ); - - // Remove user context - fxNameServer.removeContext(hostContext_/userContext_); - - fxNameServer.disconnect(); - - // Delete database - if (dbPtr_) - { - delete dbPtr_; - dbPtr_ = NULL; - } - - // Shutdown th'Orb. - // Removed because it screws-up Java 1.4 CORBA connection - orb_.orbPtr_->shutdown(false); // Do not wait for completion. - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.H deleted file mode 100644 index 2bd887df18..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/ICaseServerImpl.H +++ /dev/null @@ -1,280 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ICaseServerImpl - -Description - -SourceFiles - ICaseServerImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef ICaseServerImpl_H -#define ICaseServerImpl_H - -// Foam header files. -#include "word.H" -#include "stringList.H" -#include "fileName.H" -#include "Dictionary.H" -#include "Time.H" - -// FoamX header files. -#include "FoamX.H" -#include "ProcessControl.H" -#include "ObjRefHashTable.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class IGeometricFieldImpl; -class RootDictionary; -class PatchProperties; -class Orb; - -/*---------------------------------------------------------------------------*\ - Class ICaseServerImpl Declaration -\*---------------------------------------------------------------------------*/ - -class ICaseServerImpl -: - public POA_FoamXServer::CaseServer::ICaseServer, - public PortableServer::RefCountServantBase -{ - // Private data - - //- Case root directory. - Foam::fileName rootDir_; - - //- Case name. - Foam::fileName caseName_; - - //- Context name for name server registration. - Foam::fileName hostContext_; - - //- Context name for name server registration. - Foam::fileName userContext_; - - //- Object name for name server registration. - Foam::fileName objectName_; - - //- Case dictionary filename. - Foam::fileName caseDictName_; - - //- Name of the application class for this case. - Foam::word appName_; - - //- Reference to the ORB - Orb& orb_; - - //- Current database (only in 'open' mode) - Foam::Time* dbPtr_; - - //- Reference to the case browser - FoamXServer::CaseBrowser::ICaseBrowser_var caseBrowser_; - - //- Reference to the FoamProperties object. - FoamXServer::CaseServer::IFoamProperties_var foamProperties_; - - //- Reference to the Application object for this case. - FoamXServer::CaseServer::IApplication_var app_; - - //- Managed flag. - bool managed_; - - //- Process controls - FoamX::ProcessControl procControl_; - - //- Pid of running case. - pid_t pid_; - - //- Managed Dictionary of patch name to PatchProperties objects. - Foam::Dictionary patchMap_; - - //- Map of field name to FieldValues objects. - ObjRefHashTable fieldValueMap_; - - //- Map of dictionary name to Dictionary objects. - ObjRefHashTable dictionaryMap_; - - - // Private member functions. - - //- Access database - Foam::Time& time(); - - //- Save (default) controlDict - void saveControlDict(); - - void writePatchData(); - void addPatch(PatchProperties* patchProps); - bool fieldsMatchPatchPhysicalType(const Foam::word& patchPhysicalType); - - -public: - - // Constructors - - ICaseServerImpl - ( - Orb& orb, - const Foam::fileName& rootDir, - const Foam::fileName& caseName, - const Foam::word& mode, - const Foam::word& app - ); - - - // Destructor - - virtual ~ICaseServerImpl(); - - - // Member Functions - - // Implemented ICaseServerImpl functions. - - virtual CORBA::Boolean managed(); - virtual void managed(CORBA::Boolean); - virtual char* caseRoot(); - virtual char* caseName(); - - - //- Application class for this case (read only). - virtual FoamXServer::CaseServer::IApplication_ptr application(); - - //- Foam system properties (read only). - virtual FoamXServer::CaseServer::IFoamProperties_ptr foamProperties(); - - //- Time-steps. - virtual FoamXServer::StringList* availableTimeSteps(); - virtual char* getTime(); - virtual void setTime(const char*, const CORBA::Long); - - // Mesh. - - virtual CORBA::Boolean meshDefined(); - virtual void readMesh(); - virtual void importMesh - ( - const char* hostname, - const char* rootDir, - const char* caseName - ); - - - //- Field values. - virtual void getFieldValues - ( - const char* fieldName, - FoamXServer::CaseServer::IGeometricField_out fieldValues - ); - - - // Patches. - - virtual FoamXServer::StringList* patchNames(); - - virtual void addPatch - ( - const char* patchName, - const char* patchPhysicalType - ); - - virtual void deletePatch(const char* patchName); - - virtual void deleteAllPatches(); - - - // Patch boundary conditions. - - virtual void setPatchPhysicalType - ( - const char* patchName, - const char* patchPhysicalType - ); - - virtual void getPatchPhysicalType - ( - const char* patchName, - CORBA::String_out patchPhysicalType - ); - - - // Dictionaries. - - virtual void getDictionary - ( - const char* dictionaryName, - CORBA::Boolean, - FoamXServer::IDictionaryEntry_out dictRoot - ); - - virtual CORBA::Long fileModificationDate(const char* dictName); - - virtual void readFile - ( - const char* name, - CORBA::String_out contents - ); - - virtual void writeFile - ( - const char* name, - const char* contents - ); - - //- Calculation control. - virtual CORBA::Long runCase(const char* arguments); - - virtual void killCase(); - - //- Validation. - virtual void validate(); - - //- Has it been modified? - virtual CORBA::Boolean modified(); - - //- Persistence. - virtual void save(); - - //- Lifetime management. - virtual void close(); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/files b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/files deleted file mode 100644 index a3731fd400..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/files +++ /dev/null @@ -1,4 +0,0 @@ -ICaseServerImpl.C -FoamXCaseServer.C - -EXE = $(FOAM_APPBIN)/FoamXCaseServer diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/options b/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/options deleted file mode 100644 index f62d011b85..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXCaseServer/Make/options +++ /dev/null @@ -1,12 +0,0 @@ -#include "../../FoamXLib/Make/orbOptions" - -EXE_INC = \ - $(ORB_INC) \ - -I../FoamXLib/lnInclude \ - -I../FoamXServer - - -EXE_LIBS = \ - -lFoamX \ - -lFoamXServer \ - $(ORB_LIBS) diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/FoamXHostBrowser.C b/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/FoamXHostBrowser.C deleted file mode 100644 index be0e3f6d7f..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/FoamXHostBrowser.C +++ /dev/null @@ -1,155 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "argList.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamXErrors.H" -#include "IHostBrowserImpl.H" -#include "LogManager.H" -#include "LogEntry.H" -#include "Paths.H" -#include "Orb.H" - -// Declare all the namespaces used by FoamX -#include "FoamXNameSpaces.H" - -using namespace FoamX; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -int main(int argc, char **argv) -{ - static const char* functionName = - "FoamXHostBrowser::main(int argc, char **argv)"; - - try - { - FatalError.throwExceptions(); - FatalIOError.throwExceptions(); - - // Make copy of raw args (since Orb modifies them) - stringList args(argc); - forAll(args, argI) - { - args[argI] = argv[argI]; - } - - fileName logFile(Paths::tmp/"HostBrowserLog.xml"); - - // Initialise the log manager object. - LogManager logManager(logFile); - - // Register the root function call. - LogEntry log(functionName, __FILE__, __LINE__); - - // Construct the ORB, remove ORB arguments - Orb orb(argc, argv); - - // Construct argList so job gets registered. - argList::validArgs.clear(); - argList dummyArgs(argc, argv); - - // Allocate the IHostBrowserImpl object on the heap. - // This is a reference counted object and will be deleted by - // the POA when it is no longer needed. - IHostBrowserImpl* hostBrowserPtr = - new IHostBrowserImpl(orb, args); - - if (hostBrowserPtr == NULL) - { - FatalErrorIn(functionName) - << "Failed to instantiate IHostBrowserImpl object." - << exit(FatalError); - } - - log << "Created IHostBrowserImpl object" << endl; - - // Emit the IOR. - log << "IOR : " << orb.ior(hostBrowserPtr->_this()) << endl; - - Info << "HostBrowser running....." << endl; - - // Make sure the log file exists even if debugging switched off. - // (Is used to signal to start the java part) - if (!exists(logFile)) - { - OFstream logStream(logFile); - } - - // Go! Go! Go! - orb.run(); - } - catch (Foam::IOerror& fIOErr) - { - Serr<< "Caught Foam IOerror in " << functionName << " : " - << nl << fIOErr << endl; - } - catch (Foam::error& fErr) - { - Serr<< "Caught Foam error in " << functionName << " : " - << nl << fErr << endl; - } - catch (FoamXServer::FoamXIOError& fIOErr) - { - Serr<< "Caught FoamXIOError exception in " << functionName << " : " - << nl << fIOErr << endl; - } - catch (FoamXServer::FoamXError& ex) - { - Serr<< "Caught FoamXError exception in " << functionName << " : " - << nl << ex << endl; - } - catch (CORBA::COMM_FAILURE& ex) - { - Serr<< "Caught CORBA::COMM_FAILURE exception in " - << functionName << endl; - } - catch (CORBA::SystemException& ex) - { - Serr<< "Caught CORBA::SystemException exception in " - << functionName << endl; - } - catch (CORBA::Exception& ex) - { - Serr<< "Caught CORBA::Exception exception in " - << functionName << endl; - } - catch (...) - { - Serr<< "Caught system exception in " - << functionName << endl; - } - - Info<< "Finishing " << functionName << endl; - - return 0; -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.C deleted file mode 100644 index c5e1602286..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.C +++ /dev/null @@ -1,442 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "dictionary.H" -#include "wordList.H" -#include "stringList.H" -#include "fileNameList.H" -#include "IFstream.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamXErrors.H" -#include "IHostBrowserImpl.H" -#include "LogEntry.H" -#include "NameServer.H" -#include "Orb.H" -#include "Paths.H" - -// Declare all the namespaces used by FoamX. -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IHostBrowserImpl::IHostBrowserImpl -( - Orb& orb, - const stringList& args -) -: - orb_(orb), - args_(args), - objectName_("FoamXHostBrowser"), - procControl_(dotFoam("apps/FoamX/FoamX.cfg")) -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::IHostBrowserImpl(Orb& orb)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - wordList hosts(1, hostName()); - - // Open the user's Foam control dictionary. - fileName controlDictFileName = dotFoam("controlDict"); - if (exists(controlDictFileName)) - { - dictionary controlDict((IFstream(controlDictFileName)())); - - // Read hosts list - if (controlDict.found("hosts")) - { - wordList controlDictHosts(controlDict.lookup("hosts")); - if (controlDictHosts.size()) - { - hosts = controlDictHosts; - } - } - } - - forAll(hosts, i) - { - FoamXServer::HostDescriptor* hostDescPtr = - new FoamXServer::HostDescriptor(); - - hostDescPtr->name = hosts[i].c_str(); - hostDescPtr->alive = true; - - hosts_.insert(hosts[i], hostDescPtr); - } - - // Register this object with the name server. - // Will throw an exception if any error occurs. - NameServer fxNameServer(orb_.orbPtr_); - FoamXServer::HostBrowser::IHostBrowser_var ref = _this(); - - // Rebind if necessary. - fxNameServer.bindObject(objectName_, ref, true); - - // Decrement the reference count of the object implementation, so - // that it will be properly cleaned up when the POA has determined - // that it is no longer needed. - _remove_ref(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IHostBrowserImpl::~IHostBrowserImpl() -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::~IHostBrowserImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::HostDescriptorList* FoamX::IHostBrowserImpl::hosts() -{ - static const char* functionName = - "FoamXServer::StringList* FoamX::IHostBrowserImpl::hosts()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - - HostDescriptorList* hostListPtr = new HostDescriptorList(); - hostListPtr->length(hosts_.size()); - - label i = 0; - for - ( - Foam::HashPtrTable::iterator - iter = hosts_.begin(); - iter != hosts_.end(); - ++iter - ) - { - (*hostListPtr)[i++] = *iter(); - } - - return hostListPtr; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IHostBrowserImpl::refreshHostList() -{ - static const char* functionName = - "void FoamX::IHostBrowserImpl::refreshHostList()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - for - ( - Foam::HashPtrTable:: - iterator iter = hosts_.begin(); - iter != hosts_.end(); - ++iter - ) - { - try - { - iter()->alive = - ping(word(iter()->name), procControl_.timeOut()); - } - catch (error& fErr) - { - /* even ping gives problems so rsh/ssh will certainly fail */ - iter()->alive = false; - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::IHostBrowserImpl::isHostAlive(const char* hostName) -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::isHostAlive(const char* hostName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - Foam::HashPtrTable::iterator - iter = hosts_.find(hostName); - - if (iter != hosts_.end()) - { - return iter()->alive; - } - else - { - // Note: don't throw FoamXSYSError since whole host is unknown. - throw FoamXError - ( - E_FAIL, - "Cannot find host '" + word(hostName) - + "' in list of licenced hosts", - functionName, - __FILE__, __LINE__ - ); - } - - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IHostBrowserImpl::hostIsAlive(const char* hostName) -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::hostIsAlive(const char* hostName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - Foam::HashPtrTable::iterator - iter = hosts_.find(hostName); - - if (iter != hosts_.end()) - { - iter()->alive = true; - } - else - { - throw FoamXError - ( - E_FAIL, - "Cannot find host '" + word(hostName) - + "' in list of licenced hosts", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IHostBrowserImpl::hostIsDead(const char* hostName) -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::hostIsDead(const char* hostName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - Foam::HashPtrTable::iterator - iter = hosts_.find(hostName); - - if (iter != hosts_.end()) - { - iter()->alive = false; - } - else - { - throw FoamXError - ( - E_FAIL, - "Cannot find host '" + word(hostName) - + "' in list of licenced hosts", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IHostBrowserImpl::openCaseBrowser -( - const char* hostName -) -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::openCaseBrowser" - "(const char* hostName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Case browser will register itself with the name server under - // a "hostName/"FoamXCaseBrowser"" key. - fileName caseBrowserObjectName = fileName(hostName)/"FoamXCaseBrowser"; - - - if (orb_.isObjectBound(caseBrowserObjectName)) - { - throw FoamXError - ( - E_FAIL, - string("CaseBrowser already running on ") + hostName - + " according to nameserver", - functionName, - __FILE__, __LINE__ - ); - } - - // Start a case browser process on the specified host. Pass through - // arguments with which HostBrowser was called. - stringList browserArgs(args_); - - browserArgs[0] = "FoamXCaseBrowser"; - - stringList argList - ( - procControl_.remoteShellArgs - ( - userName(), - hostName, - browserArgs, - "", // no log file - true // run in background - ) - ); - - if (procControl_.system(argList) != 0) - { - hostIsDead(hostName); - - throw FoamXSYSError - ( - E_FAIL, - "Server '" + caseBrowserObjectName + "' timed-out.", - hostName, - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::IHostBrowserImpl::getCaseBrowserReference -( - const char *hostName, - FoamXServer::CaseBrowser::ICaseBrowser_out browserObj -) -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::getCaseBrowserReference" - "(const char *hostName, " - "FoamXServer::CaseBrowser::ICaseBrowser_out browserObj)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fileName browserKey(fileName(hostName)/"FoamXCaseBrowser"); - - try - { - // Connect to name server. - NameServer fxNameServer(orb_.orbPtr_); - - if (fxNameServer.isObjectBound(browserKey)) - { - // Return server reference. - browserObj = - fxNameServer.resolve - (browserKey); - - return true; - } - return false; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IHostBrowserImpl::validate() -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::validate()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IHostBrowserImpl::save() -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::save()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IHostBrowserImpl::close() -{ - static const char* functionName = - "FoamX::IHostBrowserImpl::close()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Unregister object from the naming service. - NameServer fxNameServer(orb_.orbPtr_); - fxNameServer.unbindObject(objectName_); - fxNameServer.disconnect(); - - // Shutdown th'Orb. - // Remove for Java 1.4 since it messes up CORBA connectionx - orb_.orbPtr_->shutdown(false); - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.H deleted file mode 100644 index 8af175e790..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/IHostBrowserImpl.H +++ /dev/null @@ -1,138 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ICaseServerImpl - -Description - -SourceFiles - IHostBrowserImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IHostBrowserImpl_H -#define IHostBrowserImpl_H - -// Foam header files. -#include "HashPtrTable.H" -#include "stringList.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXWordList.H" -#include "ProcessControl.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class Orb; - -/*---------------------------------------------------------------------------*\ - Class IHostBrowserImpl Declaration -\*---------------------------------------------------------------------------*/ - -class IHostBrowserImpl -: - public POA_FoamXServer::HostBrowser::IHostBrowser, - public PortableServer::RefCountServantBase -{ - // Private data - - //- Reference to the ORB - Orb& orb_; - - //- Command line arguments - Foam::stringList args_; - - //- Object name for name server registration. - Foam::fileName objectName_; - - //- List of licenced host names. - Foam::HashPtrTable hosts_; - - //- Process controls - FoamX::ProcessControl procControl_; - - - // Protected member functions. - - void getServerReference - ( - const char *hostName, - const Foam::fileName& objectKey, - FoamXServer::CaseBrowser::ICaseBrowser_out caseBrowser - ); - - -public: - - // Constructors - - IHostBrowserImpl(Orb& orb, const Foam::stringList& args); - - - // Destructor - - virtual ~IHostBrowserImpl(); - - - // Member Functions - - // Implemented IHostBrowser methods. - - virtual FoamXServer::HostDescriptorList* hosts(); - virtual void refreshHostList(); - virtual CORBA::Boolean isHostAlive(const char* hostname); - virtual void hostIsAlive(const char* hostname); - virtual void hostIsDead(const char* hostname); - virtual void validate(); - virtual void save(); - virtual void close(); - - virtual void openCaseBrowser - ( - const char* hostname - ); - - virtual CORBA::Boolean getCaseBrowserReference - ( - const char* hostname, - FoamXServer::CaseBrowser::ICaseBrowser_out browserObj - ); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/files b/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/files deleted file mode 100644 index 5e54c2b4ec..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/files +++ /dev/null @@ -1,4 +0,0 @@ -FoamXHostBrowser.C -IHostBrowserImpl.C - -EXE = $(FOAM_APPBIN)/FoamXHostBrowser diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/options b/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/options deleted file mode 100644 index a40730165d..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXHostBrowser/Make/options +++ /dev/null @@ -1,12 +0,0 @@ -#include "../../FoamXLib/Make/orbOptions" - -EXE_INC = \ - $(ORB_INC) \ - -I../FoamXLib/lnInclude \ - -I../FoamXServer \ - - -EXE_LIBS = \ - -lFoamX \ - -lFoamXServer \ - $(ORB_LIBS) diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/DictionaryWriter.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/DictionaryWriter.C deleted file mode 100644 index c154962d8d..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/DictionaryWriter.C +++ /dev/null @@ -1,555 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "fileName.H" -#include "OFstream.H" -#include "IOobject.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "DictionaryWriter.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::DictionaryWriter::DictionaryWriter(const fileName& fileName) -: - pFileStream_(NULL), - fileName_(fileName), - caseRoot_(""), - caseName_(""), - instance_(fileName_.path()), - object_(fileName_.name()), - entryNameSize_(20) -{ - static const char* functionName = - "FoamX::DictionaryWriter::DictionaryWriter(const fileName& fileName)"; - - try - { - // Make directory if required. - if (!dir(fileName_.path()) && !mkDir(fileName_.path())) - { - throw FoamXError - ( - E_UNEXPECTED, - "Failed to create directory '" + fileName_.path() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Backup existing file. TODO : Make this behaviour configurable. - if (Foam::file(fileName_)) - { - mv(fileName_, fileName_ + ".bak"); - } - - // Open the file stream. - pFileStream_ = new OFstream(fileName_); - - if (!pFileStream_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Failed to open file '" + fileName_ + "'.", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::DictionaryWriter::DictionaryWriter -( - const fileName& caseRoot, - const fileName& caseName, - const fileName& instance, - const fileName& object -) -: - pFileStream_(NULL), - caseRoot_(caseRoot), - caseName_(caseName), - instance_(instance), - object_(object), - entryNameSize_(20) -{ - static const char* functionName = - "FoamX::DictionaryWriter::DictionaryWriter" - "(const fileName& caseRoot, const fileName& caseName, " - "const fileName& instance, const fileName& object)"; - - try - { - // Make directory if required. - fileName_ = caseRoot_ / caseName_ / instance_ / object_; - if (!dir(fileName_.path()) && !mkDir(fileName_.path())) - { - throw FoamXError - ( - E_UNEXPECTED, - "Failed to create directory '" + fileName_.path() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Backup existing file. TODO : Make this behaviour configurable. - if (Foam::file(fileName_)) - { - mv(fileName_, fileName_ + ".bak"); - } - - // Open the file stream. - pFileStream_ = new OFstream(fileName_); - - if (!pFileStream_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Failed to open file '" + fileName_ + "'.", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::DictionaryWriter::~DictionaryWriter() -{ - if (pFileStream_ != NULL) - { - delete pFileStream_; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeHeader -( - const string& title, - const word& className -) -{ - IOobject::writeBanner(file()); - file() << endl; - writeComment(title); - writeEndl(); - startSubDict("FoamFile"); - writeEntry("version", IOstream::currentVersion.str().c_str()); - writeEntry("format", word("ascii")); - writeEndl(); - writeEntry("root", caseRoot_); - writeEntry("case", caseName_); - writeEntry("instance", instance_); - writeEntry("local", string("")); - writeEndl(); - writeEntry("class", className); - writeEntry("object", fileName_.name()); - endSubDict(); - writeEndl(); - writeBar(); - writeEndl(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeSectionHeader(const string& name) -{ - file() << endl << "// " << name.c_str() << endl << "// "; - writeChars('~', name.size()); - writeEndl(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeKeyword(const word& name) -{ - file().writeKeyword(name); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeKeywordOnly(const word& name) -{ - file().indent(); - file() << name; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const char* value -) -{ - writeKeyword(name); - file() << value; - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const FoamXString& value -) -{ - writeKeyword(name); - value.write(file()); - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const string& value -) -{ - writeKeyword(name); - file() << value; - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry(const word& name, const word& value) -{ - writeKeyword(name); - file() << value; - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry(const word& name, const label& value) -{ - writeKeyword(name); - file() << value; - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const scalar& value -) -{ - writeKeyword(name); - file() << value; - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const bool& value -) -{ - writeKeyword(name); - file() << value; - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const FoamX::FoamXAny& value -) -{ - writeKeyword(name); - writeValue(value); - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const FoamXServer::DimensionSet& entry -) -{ - writeKeyword(name); - file() << token::BEGIN_SQR - << entry.mass - << " " << entry.length - << " " << entry.time - << " " << entry.temperature - << " " << entry.moles - << " " << entry.current - << " " << entry.luminousIntensity - << token::END_SQR; - endEntry(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::startFixedList() -{ - file() << token::BEGIN_LIST; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::endFixedList() -{ - file() << token::END_LIST; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::startList(const label& numElements) -{ - file() << nl; - - if (numElements > 100) - { - file() << Foam::indent << numElements << nl; - } - - file() << Foam::indent << token::BEGIN_LIST << incrIndent; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::endList() -{ - file() << nl << decrIndent << Foam::indent << token::END_LIST; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::DictionaryWriter::writeEntry -( - const word& name, - const FoamXServer::StringList& list -) -{ - writeKeyword(name); - - startList(list.length()); - - for (unsigned int i = 0; i tk_boolean any type. - value <<= CORBA::Any::from_boolean(bool(t.labelToken())); - } - break; - - case Type_Char: - case Type_Word: - { - token t(is); - // Char, Word -> tk_string any type. - value <<= t.wordToken().c_str(); - } - break; - - case Type_String: - case Type_RootDir: - case Type_RootAndCase: - case Type_CaseName: - case Type_HostName: - case Type_File: - case Type_Directory: - case Type_Time: - { - token t(is); - // String -> tk_string any type. - value <<= t.stringToken().c_str(); - } - break; - - case Type_Label: - { - token t(is); - // Label -> tk_long any type. - value <<= CORBA::Long(t.labelToken()); - } - break; - - case Type_Scalar: - { - token t(is); - // Scalar -> tk_double any type. - value <<= t.number(); - } - break; - - case Type_DimensionSet: - { - // Construct a dimensionSet object and copy into - // DimensionSet structure. - DimensionSet fdm; - fdm == dimensionSet(is); - value <<= fdm; - } - break; - - case Type_FixedList: - case Type_List: - case Type_Dictionary: - case Type_Compound: - case Type_Selection: - case Type_Undefined: - case Type_Field: - default: - throw FoamXError - ( - E_INVALID_ARG, - "Invalid type " + FoamXTypes::typeName(type), - functionName, - __FILE__, __LINE__ - ); - } - - // Check stream status. - is.check("FoamX::FoamXAny::read(Istream&)"); - } - CATCH_ALL(functionName); -} - - -void FoamX::FoamXAny::write(Foam::Ostream& os) const -{ - static const char* functionName = - "FoamX::FoamXAny::write(Foam::Ostream& os) const"; - - try - { - if (!IsSet()) - { - os << ""; - return; - } - - // Write current value. - switch(type) - { - case Type_Boolean: - { - // Extract into a boolean. - CORBA::Boolean b = 0; - CORBA::Any::to_boolean tb(b); - if (!(value >>= tb)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Boolean output.", - functionName, - __FILE__, __LINE__ - ); - } - os << Foam::label(b); - } - break; - - case Type_Char: - case Type_Word: - { - // Extract into a string. - const char* str = NULL; - if (!(value >>= str)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Char/Word output.", - functionName, - __FILE__, __LINE__ - ); - } - os << Foam::word(str); - } - break; - - case Type_String: - case Type_RootDir: - case Type_RootAndCase: - case Type_CaseName: - case Type_HostName: - case Type_File: - case Type_Time: - { - // Extract into a string. - const char* str = NULL; - if (!(value >>= str)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for String output.", - functionName, - __FILE__, __LINE__ - ); - } - os << Foam::string(str); - } - break; - - case Type_Label: - { - // Extract into a long int. - CORBA::Long lb = 0; - if (!(value >>= lb)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Label output.", - functionName, - __FILE__, __LINE__ - ); - } - os << Foam::label(lb); - } - break; - - case Type_Scalar: - { - // Extract into a scalar. - CORBA::Double sc = 0.0; - if (!(value >>= sc)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Scalar output.", - functionName, - __FILE__, __LINE__ - ); - } - os << Foam::scalar(sc); - } - break; - - case Type_DimensionSet: - { - // Extract into dimension set. - const DimensionSet* fdm = NULL; - if (!(value >>= fdm)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for DimensionSet output.", - functionName, - __FILE__, __LINE__ - ); - } - os << token::BEGIN_SQR - << fdm->mass - << " " << fdm->length - << " " << fdm->time - << " " << fdm->temperature - << " " << fdm->moles - << " " << fdm->current - << " " << fdm->luminousIntensity - << token::END_SQR; - } - break; - - case Type_FixedList: - case Type_List: - case Type_Dictionary: - case Type_Compound: - case Type_Selection: - case Type_Undefined: - default: - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type.", - functionName, - __FILE__, __LINE__ - ); - } - - // Check stream status. - os.check("FoamX::FoamXAny::write(Ostream&)"); - } - CATCH_ALL(functionName); -} - - -void FoamX::FoamXAny::setDefaultValue() -{ - static const char* functionName = - "FoamX::FoamXAny::setDefaultValue()"; - - try - { - switch(type) - { - case Type_Boolean: - { - value <<= CORBA::Any::from_boolean(false); - } - break; - - case Type_Char: - { - value <<= static_cast("?"); - } - break; - - case Type_Word: - { - value <<= static_cast("<>"); - } - break; - - case Type_String: - case Type_RootDir: - case Type_RootAndCase: - case Type_CaseName: - case Type_HostName: - case Type_File: - case Type_Time: - { - value <<= static_cast(""); - } - break; - - case Type_Label: - { - value <<= CORBA::Long(0); - } - break; - - case Type_Scalar: - { - value <<= CORBA::Double(0.0); - } - break; - - case Type_DimensionSet: - { - DimensionSet fdm; - fdm.mass = 0; - fdm.length = 0; - fdm.time = 0; - fdm.temperature = 0; - fdm.moles = 0; - fdm.current = 0; - fdm.luminousIntensity = 0; - - value <<= fdm; - } - break; - - default: - // No default value required for any other types. - break; - } - } - CATCH_ALL(functionName); -} - - -// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * // - -void FoamX::FoamXAny::operator=(const FoamXServer::FoamXAny& any) -{ - static const char* functionName = - "FoamX::FoamXAny::operator=(const FoamXServer::FoamXAny& any)"; - - try - { - if (type != any.type) - { - throw FoamXError - ( - E_INVALID_ARG, - "Type mismatch, expected " + FoamXTypes::typeName(type) - + ", got " + FoamXTypes::typeName(any.type), - functionName, - __FILE__, __LINE__ - ); - } - - FoamXServer::FoamXAny::operator=(any); - } - CATCH_ALL(functionName); -} - - -void FoamX::FoamXAny::operator=(const FoamXAny& any) -{ - // Check for assignment to self. - if (this != & any) - { - // Copy type. - type = any.type; - - // Copy value - value = any.value; - } -} - - -bool FoamX::FoamXAny::operator==(const FoamXServer::FoamXAny& any) const -{ - return (type == any.type && value == any.value); -} - - -bool FoamX::FoamXAny::operator!=(const FoamXServer::FoamXAny& any) const -{ - return !operator==(any); -} - - -void FoamX::operator> -( - const FoamXServer::FoamXAny& any1, - const FoamXServer::FoamXAny& any2 -) -{ - static const char* functionName = - "FoamX::operator>" - "(const FoamXServer::FoamXAny& any1 const FoamXServer::FoamXAny& any2)"; - - try - { - if (any1.type != any2.type) - { - throw FoamXError - ( - E_UNEXPECTED, - "Incompatible types for operation >. " - "Expected scalars or labels, found a " - + FoamXTypes::typeName(any1.type) + " and a " - + FoamXTypes::typeName(any2.type), - functionName, - __FILE__, __LINE__ - ); - } - - switch(any1.type) - { - case Type_Label: - { - // Extract this into a long int. - CORBA::Long lb1 = 0; - if (!(any1.value >>= lb1)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Label output.", - functionName, - __FILE__, __LINE__ - ); - } - - // Extract the any into a long int. - CORBA::Long lb2 = 0; - if (!(any2.value >>= lb2)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Label output.", - functionName, - __FILE__, __LINE__ - ); - } - - if (lb1 > lb2) - { - throw FoamXError - ( - E_UNEXPECTED, - "Label value " + name(label(lb1)) - + " is greater than the maximum " + name(label(lb2)), - functionName, - __FILE__, __LINE__ - ); - } - } - break; - - case Type_Scalar: - { - // Extract this into a scalar. - CORBA::Double sc1 = 0.0; - if (!(any1.value >>= sc1)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Scalar output.", - functionName, - __FILE__, __LINE__ - ); - } - - // Extract the any into a scalar. - CORBA::Double sc2 = 0.0; - if (!(any2.value >>= sc2)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Scalar output.", - functionName, - __FILE__, __LINE__ - ); - } - - if (sc1 > sc2) - { - throw FoamXError - ( - E_UNEXPECTED, - "Label value " + name(scalar(sc1)) - + " is greater than the maximum " + name(scalar(sc2)), - functionName, - __FILE__, __LINE__ - ); - } - } - break; - - default: - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for operation >. " - "Expected scalars or labels, found " - + FoamXTypes::typeName(any1.type), - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - - -void FoamX::operator< -( - const FoamXServer::FoamXAny& any1, - const FoamXServer::FoamXAny& any2 -) -{ - static const char* functionName = - "FoamX::operator<" - "(const FoamXServer::FoamXAny& any1 const FoamXServer::FoamXAny& any2)"; - - try - { - if (any1.type != any2.type) - { - throw FoamXError - ( - E_UNEXPECTED, - "Incompatible types for operation <. " - "Expected scalars or labels, found a " - + FoamXTypes::typeName(any1.type) + " and a " - + FoamXTypes::typeName(any2.type), - functionName, - __FILE__, __LINE__ - ); - } - - switch(any1.type) - { - case Type_Label: - { - // Extract this into a long int. - CORBA::Long lb1 = 0; - if (!(any1.value >>= lb1)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Label output.", - functionName, - __FILE__, __LINE__ - ); - } - - // Extract the any into a long int. - CORBA::Long lb2 = 0; - if (!(any2.value >>= lb2)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Label output.", - functionName, - __FILE__, __LINE__ - ); - } - - if (lb1 < lb2) - { - throw FoamXError - ( - E_UNEXPECTED, - "Label value " + name(label(lb1)) - + " is greater than the maximum " + name(label(lb2)), - functionName, - __FILE__, __LINE__ - ); - } - } - break; - - case Type_Scalar: - { - // Extract this into a scalar. - CORBA::Double sc1 = 0.0; - if (!(any1.value >>= sc1)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Scalar output.", - functionName, - __FILE__, __LINE__ - ); - } - - // Extract the any into a scalar. - CORBA::Double sc2 = 0.0; - if (!(any2.value >>= sc2)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for Scalar output.", - functionName, - __FILE__, __LINE__ - ); - } - - if (sc1 < sc2) - { - throw FoamXError - ( - E_UNEXPECTED, - "Label value " + name(scalar(sc1)) - + " is greater than the maximum " + name(scalar(sc2)), - functionName, - __FILE__, __LINE__ - ); - } - } - break; - - default: - throw FoamXError - ( - E_UNEXPECTED, - "Invalid type for operation <. " - "Expected scalars or labels, found " - + FoamXTypes::typeName(any1.type), - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAny.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAny.H deleted file mode 100644 index 8d0ac24ee1..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAny.H +++ /dev/null @@ -1,158 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamXAny - -Description - Class to manage the mapping between Foam types, FoamX types and the - CORBA Any type. - -SourceFiles - FoamXAny.C - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamX_H -#define FoamX_H - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of friend functions and operators - -class FoamXAny; - -void operator> -( - const FoamXServer::FoamXAny& any1, - const FoamXServer::FoamXAny& any2 -); - -void operator< -( - const FoamXServer::FoamXAny& any1, - const FoamXServer::FoamXAny& any2 -); - - -/*---------------------------------------------------------------------------*\ - Class Any Declaration -\*---------------------------------------------------------------------------*/ - -class FoamXAny -: - public FoamXServer::FoamXAny -{ - // Private member functions - - void setDefaultValue(); - - -public: - - // Constructors - - //- Default constructor - FoamXAny(FoamXServer::FoamXType type = FoamXServer::Type_Undefined); - - //- Read constructor given type - FoamXAny(FoamXServer::FoamXType type, Foam::Istream& is); - - //- Copy constructor - FoamXAny(const FoamXAny& any); - - - //- Destructor - - virtual ~FoamXAny(); - - - // Member Functions - - // Access - - void setType(FoamXServer::FoamXType type); - - //- Sets the value of this object. Throws an exception if the types - // are incompatible. - void setValue(const FoamXServer::FoamXAny& any); - - //- Returns true if the value of this object has been set. - bool IsSet() const - { - return (value.type()->kind() != CORBA::tk_null); - } - - void setMin(); - void setMax(); - - - // Read - - void read(Foam::Istream& is); - - - // Write - - void write(Foam::Ostream& os) const; - - - // Member Operators - - void operator=(const FoamXServer::FoamXAny& any); - void operator=(const FoamXAny& any); - - bool operator==(const FoamXServer::FoamXAny& any) const; - bool operator!=(const FoamXServer::FoamXAny& any) const; - - friend void operator> - ( - const FoamXServer::FoamXAny& any1, - const FoamXServer::FoamXAny& any2 - ); - - friend void operator< - ( - const FoamXServer::FoamXAny& any1, - const FoamXServer::FoamXAny& any2 - ); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAnyList.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAnyList.H deleted file mode 100644 index 7e8b6a1ee6..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXAnyList.H +++ /dev/null @@ -1,54 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Type - FoamXAnyList - -Description - List of FoamXAny. - -\*---------------------------------------------------------------------------*/ -// -------------------------------------------------------------------------- // - -#ifndef FoamXAnyList_H -#define FoamXAnyList_H - -// Foam header files. -#include "List.H" - -// FoamX header files. -#include "FoamXAny.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - typedef Foam::List FoamXAnyList; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.C deleted file mode 100644 index ac92a0f9e9..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.C +++ /dev/null @@ -1,380 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -#include "long.H" -#include "string.H" -#include "fileName.H" -#include "dictionary.H" -#include "LogEntry.H" - -// Project header files. -#include "FoamX.H" -#include "FoamXErrors.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -defineTypeNameAndDebug(FoamX::FoamXError, 0); - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXError::FoamXError -( - FoamXServer::ErrorCode errCode, - const string& message, - const char* function, - const char* fName, - label lineNo -) -: - FoamXServer::FoamXError - ( - errCode, - message.c_str(), - function, - fName, - lineNo - ) -{ - static const char* functionName = - "FoamX::FoamXError::FoamXError" - "(FoamXServer::ErrorCode errCode, const string& message," - "const char* functionName, const char* fName, label lineNo)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - -FoamX::FoamXError::FoamXError(const FoamXServer::FoamXError& fErr) -: - FoamXServer::FoamXError(fErr) -{ - static const char* functionName = - "FoamX::FoamXError::FoamXError(const FoamXServer::FoamXError& fErr)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - -FoamX::FoamXError::FoamXError(const error& fErr) -: - FoamXServer::FoamXError - ( - FoamXServer::E_FOAM, - fErr.message().c_str(), - fErr.functionName().c_str(), - fErr.sourceFileName().c_str(), - fErr.sourceFileLineNumber() - ) -{ - static const char* functionName = - "FoamX::FoamXError::FoamXError(const error& fErr)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - - -Foam::Ostream& FoamX::operator<< -( - Ostream& os, - const FoamXServer::FoamXError& fxErr -) -{ - os << "FoamXError " << string(fxErr.errorMessage) << nl - << "In function " << string(fxErr.methodName) << nl - << "in file " << fileName(fxErr.fileName) - << " at line " << fxErr.lineNo; - - return os; -} - - -FoamX::FoamXSYSError::FoamXSYSError -( - FoamXServer::ErrorCode errCode, - const string& message, - const string& hostName, - const char* function, - const char* fName, - label lineNo -) -: - FoamXServer::FoamXSYSError - ( - errCode, - message.c_str(), - hostName.c_str(), - function, - fName, - lineNo - ) -{ - static const char* functionName = - "FoamX::FoamXError::FoamXSYSError" - "(FoamXServer::ErrorCode errCode, const string& messsage, " - "const string& hostName, " - "const char* functionName, const char* fName, label lineNo)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - -FoamX::FoamXSYSError::FoamXSYSError(const FoamXServer::FoamXSYSError& sysErr) -: - FoamXServer::FoamXSYSError(sysErr) -{ - static const char* functionName = - "FoamX::FoamXError::FoamXError" - "(const FoamXServer::FoamXSYSError& sysErr)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - -Foam::Ostream& FoamX::operator<< -( - Ostream& os, - const FoamXServer::FoamXSYSError& sysErr -) -{ - os << "FoamXSYSError " << string(sysErr.errorMessage) << nl - << "Problem with machine " << string(sysErr.hostName) << nl - << "In function " << string(sysErr.methodName) << nl - << "in file " << fileName(sysErr.fileName) - << " at line " << sysErr.lineNo; - - return os; -} - - -FoamX::FoamXIOError::FoamXIOError -( - const string& message, - const string& ioFileName, - label ioStartLineNumber, - label ioEndLineNumber, - const char* function, - const char* fName, - label lineNo -) -: - FoamXServer::FoamXIOError - ( - message.c_str(), - ioFileName.c_str(), - ioStartLineNumber, - ioEndLineNumber, - function, - fName, - lineNo - ) -{ - static const char* functionName = - "FoamX::FoamXError::FoamXError" - "(const string& message, const string& ioFileName, " - "label ioStartLineNumber, label ioEndLineNumber, " - "const char* functionName, const char* fName, label lineNo)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - -FoamX::FoamXIOError::FoamXIOError(const FoamXServer::FoamXIOError& fErr) -: - FoamXServer::FoamXIOError(fErr) -{ - static const char* functionName = - "FoamX::FoamXIOError::FoamXIOError" - "(const FoamXServer::FoamXIOError& fErr)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - -FoamX::FoamXIOError::FoamXIOError(const IOerror& fIOErr) -: - FoamXServer::FoamXIOError - ( - fIOErr.message().c_str(), - fIOErr.ioFileName().c_str(), - fIOErr.ioStartLineNumber(), - fIOErr.ioEndLineNumber(), - fIOErr.functionName().c_str(), - fIOErr.sourceFileName().c_str(), - fIOErr.sourceFileLineNumber() - ) -{ - static const char* functionName = - "FoamX::foamXError(const IOerror& fIOErr)"; - - LogEntry log(functionName, __FILE__, __LINE__); - log << *this << endl; -} - - -Foam::Ostream& FoamX::operator<< -( - Ostream& os, - const FoamXServer::FoamXIOError& fIOErr -) -{ - os << "FoamXIOError " << string(fIOErr.errorMessage) << nl - << "File " << fileName(fIOErr.ioFileName) - << " starting at line " << fIOErr.ioStartLineNo - << " ending at line " << fIOErr.ioEndLineNo << nl - << "In function " << string(fIOErr.methodName) << nl - << "in file " << fileName(fIOErr.fileName) - << " at line " << fIOErr.lineNo; - - return os; -} - - - -Foam::dictionary FoamX::dict(const error& fErr) -{ - return fErr; -} - -Foam::dictionary FoamX::dict(const IOerror& fIOErr) -{ - return fIOErr; -} - -Foam::dictionary FoamX::dict(const FoamXServer::FoamXError& fxErr) -{ - dictionary fxErrDict; - fxErrDict.add("type", word("FoamXServer::FoamXError")); - fxErrDict.add("errorCode", label(fxErr.errorCode)); - fxErrDict.add("message", string(fxErr.errorMessage)); - fxErrDict.add("function", string(fxErr.methodName)); - fxErrDict.add("sourceFile", fileName(fxErr.fileName)); - fxErrDict.add("sourceFileLineNumber", fxErr.lineNo); - - return fxErrDict; -} - -Foam::dictionary FoamX::dict(const FoamXServer::FoamXIOError& fIOErr) -{ - dictionary fIOErrDict; - fIOErrDict.add("type", word("FoamXServer::FoamXIOError")); - fIOErrDict.add("message", string(fIOErr.errorMessage)); - fIOErrDict.add("ioFileName", fileName(fIOErr.ioFileName)); - fIOErrDict.add("ioStartLineNumber", fIOErr.ioStartLineNo); - fIOErrDict.add("ioEndLineNumber", fIOErr.ioEndLineNo); - fIOErrDict.add("function", string(fIOErr.methodName)); - fIOErrDict.add("sourceFile", fileName(fIOErr.fileName)); - fIOErrDict.add("sourceFileLineNumber", fIOErr.lineNo); - - return fIOErrDict; -} - -Foam::dictionary FoamX::dict(const CORBA::COMM_FAILURE& ex) -{ - dictionary exDict; - exDict.add("type", word("CORBA::COMM_FAILURE")); - return exDict; -} - -Foam::dictionary FoamX::dict(const CORBA::SystemException& ex) -{ - dictionary exDict; - exDict.add("type", word("CORBA::SystemException")); - return exDict; -} - -Foam::dictionary FoamX::dict(const CORBA::Exception& ex) -{ - dictionary exDict; - exDict.add("type", word("CORBA::Exception")); - return exDict; -} - -Foam::dictionary FoamX::dict(const FoamX::systemError& ex) -{ - dictionary exDict; - exDict.add("type", word("::systemError")); - return exDict; -} - - -void FoamX::reThrow(const dictionary& errorDict) -{ - word errorType(errorDict.lookup("type")); - - if (errorType == "error") - { - throw FoamXError(error(errorDict)); - } - else if (errorType == "IOerror") - { - throw FoamXIOError(IOerror(errorDict)); - } - else if (errorType == "FoamXServer::FoamXError") - { - throw FoamXError - ( - FoamXServer::ErrorCode - ( - readLabel(errorDict.lookup("errorCode")) - ), - string(errorDict.lookup("message")), - string(errorDict.lookup("function")).c_str(), - string(errorDict.lookup("sourceFile")).c_str(), - readLabel(errorDict.lookup("sourceFileLineNumber")) - ); - } - else if (errorType == "FoamXServer::FoamXIOError") - { - throw FoamXIOError - ( - string(errorDict.lookup("message")), - string(errorDict.lookup("ioFileName")), - readLabel(errorDict.lookup("ioStartLineNumber")), - readLabel(errorDict.lookup("ioEndLineNumber")), - string(errorDict.lookup("function")).c_str(), - string(errorDict.lookup("sourceFile")).c_str(), - readLabel(errorDict.lookup("sourceFileLineNumber")) - ); - } - else - { - throw FoamXError - ( - FoamXServer::E_UNEXPECTED, - "Unexpected error: " + errorType, - "FoamX::reThrow(const dictionary& errorDict)", - __FILE__, __LINE__ - ); - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.H deleted file mode 100644 index a68d4af578..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXErrors.H +++ /dev/null @@ -1,249 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamXError - -Description - -SourceFiles - FoamXErrors.C - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamXError_H -#define FoamXError_H - -// Foam header files. -#include "error.H" -#include "dictionaryEntry.H" -#include "OSstream.H" -#include "OFstream.H" -#include "className.H" - -// Project header files. -#include "FoamX.H" -#include "FoamXErrors.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -class systemError -{}; - - -class FoamXError -: - public FoamXServer::FoamXError -{ -public: - - // Declare name of the class and it's debug switch - ClassName("FoamXError"); - - FoamXError - ( - FoamXServer::ErrorCode, - const Foam::string& message, - const char* functionName, - const char* sourceName, - Foam::label sourceLineNo - ); - - FoamXError(const FoamXServer::FoamXError&); - - FoamXError(const Foam::error&); -}; - -Foam::Ostream& operator<< -( - Foam::Ostream& os, - const FoamXServer::FoamXError& fxErr -); - - -class FoamXSYSError -: - public FoamXServer::FoamXSYSError -{ -public: - - FoamXSYSError - ( - FoamXServer::ErrorCode, - const Foam::string& message, - const Foam::string& hostName, - const char* functionName, - const char* sourceName, - Foam::label sourceLineNo - ); - - FoamXSYSError(const FoamXServer::FoamXSYSError&); - - FoamXSYSError(const Foam::error&); -}; - -Foam::Ostream& operator<< -( - Foam::Ostream& os, - const FoamXServer::FoamXSYSError& fIOErr -); - - -class FoamXIOError -: - public FoamXServer::FoamXIOError -{ -public: - - FoamXIOError - ( - const Foam::string& message, - const Foam::string& ioFileName, - Foam::label ioStartLineNumber, - Foam::label ioEndLineNumber, - const char* functionName, - const char* sourceName, - Foam::label sourceLineNo - ); - - FoamXIOError(const FoamXServer::FoamXIOError&); - - FoamXIOError(const Foam::IOerror&); -}; - -Foam::Ostream& operator<< -( - Foam::Ostream& os, - const FoamXServer::FoamXIOError& fIOErr -); - - -Foam::dictionary dict(const Foam::error& fErr); -Foam::dictionary dict(const Foam::IOerror& fIOErr); -Foam::dictionary dict(const FoamXServer::FoamXError& fxErr); -Foam::dictionary dict(const FoamXServer::FoamXIOError& fxIOErr); -Foam::dictionary dict(const CORBA::COMM_FAILURE& ex); -Foam::dictionary dict(const CORBA::SystemException& ex); -Foam::dictionary dict(const CORBA::Exception& ex); -Foam::dictionary dict(const FoamX::systemError& ex); - - -void reThrow(const Foam::dictionary& errorDict); - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -template -inline void writeException(const Exception& ex, const Foam::fileName& fName) -{ - if (fName.size()) - { - Foam::OFstream ofStream(fName); - - if (ofStream.good()) - { - ofStream - << Foam::dictionaryEntry - ( - "FatalError", - Foam::dictionary::null, - dict(ex) - ) - << Foam::endl; - } - } -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End of namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#define CATCH_ALL(functionName) \ - \ - catch (Foam::IOerror& fIOErr) \ - { \ - /* Convert the Foam::IOerror into a FoamX::IOerror error \ - and re-throw */ \ - throw FoamX::FoamXIOError(fIOErr); \ - } \ - catch (Foam::error& fErr) \ - { \ - /* Convert the Foam error into a FoamX error and re-throw */ \ - throw FoamX::FoamXError(fErr); \ - } \ - catch (FoamX::FoamXError& fxErr) \ - { \ - /* Bounce exception up to client */ \ - throw fxErr; \ - } \ - catch (FoamXServer::FoamXError& fxErr) \ - { \ - /* Convert into FoamX error and bounce up to client */ \ - throw FoamX::FoamXError(fxErr); \ - } \ - catch (FoamX::FoamXSYSError& sysErr) \ - { \ - /* Bounce exception up to client */ \ - throw sysErr; \ - } \ - catch (FoamXServer::FoamXSYSError& sysErr) \ - { \ - /* Convert into FoamX error and bounce up to client */ \ - throw FoamX::FoamXSYSError(sysErr); \ - } \ - catch (FoamX::FoamXIOError& fIOErr) \ - { \ - /* Bounce exception up to client */ \ - throw fIOErr; \ - } \ - catch (FoamXServer::FoamXIOError& fIOErr) \ - { \ - /* Convert into FoamX error and bounce up to client */ \ - throw FoamX::FoamXIOError(fIOErr); \ - } \ - catch (...) \ - { \ - throw FoamX::FoamXError \ - ( \ - FoamXServer::E_UNEXPECTED, \ - "Unexpected error.", \ - functionName, \ - __FILE__, __LINE__ \ - ); \ - } - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.C deleted file mode 100644 index 6979581895..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.C +++ /dev/null @@ -1,82 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXFileNameList.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXFileNameList::FoamXFileNameList() -{} - -FoamX::FoamXFileNameList::FoamXFileNameList(const Foam::fileNameList& list) -{ - // Reset list length. - length(list.size()); - - // Copy list elements. - forAll(list, i) - { - (*this)[i] = (const char*)list[i].c_str(); - } -} - -FoamX::FoamXFileNameList::FoamXFileNameList(Foam::Istream& is) -: - FoamXStringList(is) -{} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXFileNameList& FoamX::FoamXFileNameList::operator= -( - const FoamXServer::StringList& list -) -{ - // Copy string values. Need to call base classes assignment operator. - FoamXServer::StringList::operator=(list); - - return *this; -} - -FoamX::FoamXFileNameList& FoamX::FoamXFileNameList::operator= -( - const Foam::fileNameList& list -) -{ - length(list.size()); - - forAll(list, i) - { - operator[](i) = list[i].c_str(); - } - - return *this; -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.H deleted file mode 100644 index 25f5bb204c..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXFileNameList.H +++ /dev/null @@ -1,84 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamXString - -Description - -SourceFiles - FoamXFileNameList.C - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamXFileNameList_H -#define FoamXFileNameList_H - -// Foam header files. -#include "fileNameList.H" - -// FoamX header files. -#include "FoamXStringList.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class FoamXFileNameList Declaration -\*---------------------------------------------------------------------------*/ - -class FoamXFileNameList -: - public FoamXStringList -{ - -public: - - // Constructors - - FoamXFileNameList(); - - FoamXFileNameList(const Foam::fileNameList&); - - FoamXFileNameList(Foam::Istream& is); - - - // Member Operators - - FoamXFileNameList& operator=(const FoamXServer::StringList&); - FoamXFileNameList& operator=(const Foam::fileNameList&); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXNameSpaces.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXNameSpaces.H deleted file mode 100644 index d4c15a48c2..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXNameSpaces.H +++ /dev/null @@ -1,59 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Namespace - FoamXNameSpaces - -Description - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamXNameSpaces_H -#define FoamXNameSpaces_H - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam {} - -namespace FoamXServer -{ - namespace CaseServer {} - namespace CasePostServer {} -} - -namespace FoamX -{ - using namespace Foam; - - using namespace FoamXServer; - using namespace FoamXServer::CaseServer; - using namespace FoamXServer::CasePostServer; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.C deleted file mode 100644 index f886a07022..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.C +++ /dev/null @@ -1,190 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "FoamXString.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString::FoamXString() -{ - tokenType_ = token::STRING; - foamXType_ = FoamXServer::Type_String; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString::FoamXString(const FoamX::FoamXString& str) -: - String_var(str) -{ - tokenType_ = str.tokenType_; - foamXType_ = str.foamXType_; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString::FoamXString(const Foam::word& str) -: - String_var(str.c_str()) -{ - tokenType_ = token::WORD; - foamXType_ = FoamXServer::Type_Word; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString::FoamXString(const Foam::string& str) -: - String_var(str.c_str()) -{ - tokenType_ = token::STRING; - foamXType_ = FoamXServer::Type_String; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString::FoamXString(const char* str) -: - String_var(str) -{ - tokenType_ = token::STRING; - foamXType_ = FoamXServer::Type_String; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString::FoamXString(Foam::Istream& is) -{ - read(is); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString::~FoamXString() -{} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString& FoamX::FoamXString::operator=(const FoamXString& str) -{ - tokenType_ = str.tokenType_; - foamXType_ = str.foamXType_; - - // Copy string value. Need to call base classes assignment operator. - CORBA::String_var::operator=(str); - return *this; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString& FoamX::FoamXString::operator=(const Foam::string& str) -{ - tokenType_ = token::STRING; - foamXType_ = FoamXServer::Type_String; - - // Copy string value. Need to call base classes assignment operator. - CORBA::String_var::operator=(str.c_str()); - return *this; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString& FoamX::FoamXString::operator=(const Foam::word& str) -{ - tokenType_ = token::WORD; - foamXType_ = FoamXServer::Type_Word; - - // Copy string value. Need to call base classes assignment operator. - CORBA::String_var::operator=(str.c_str()); - return *this; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXString& FoamX::FoamXString::operator=(const char* str) -{ - // Do not reset the type. - - // Copy string value. Need to call base classes assignment operator. - CORBA::String_var::operator=(str); - return *this; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::FoamXString::read(Foam::Istream& is) -{ - // Construct token from Istream. - token tok(is); - - // Store the token type. - tokenType_ = tok.type(); - - if (tokenType_ == token::WORD) - { - CORBA::String_var::operator=(tok.wordToken().c_str()); - foamXType_ = FoamXServer::Type_Word; - } - else if (tokenType_ == token::STRING) - { - CORBA::String_var::operator=(tok.stringToken().c_str()); - foamXType_ = FoamXServer::Type_String; - } - else - { - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::FoamXString::write(Foam::Ostream& os) const -{ - // Convert this string to the appropriate token type and output. - - if (tokenType_ == token::WORD) - { - os << Foam::word(this->in()); // In method returns const char*. - } - else if (tokenType_ == token::STRING) - { - os << Foam::string(this->in()); // In method returns const char*. - } - else - { - WarningIn("FoamX::FoamXString::write(Foam::Ostream& os) const") - << "Expected word or string token." - << Foam::endl; - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.H deleted file mode 100644 index 28e98e1c00..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXString.H +++ /dev/null @@ -1,124 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamXString - -Description - -SourceFiles - FoamXString.C - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamXString_H -#define FoamXString_H - -// Foam header files. -#include "Istream.H" -#include "Ostream.H" -#include "token.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class FoamXString Declaration -\*---------------------------------------------------------------------------*/ - -class FoamXString -: - public CORBA::String_var -{ - // Private data - - // Additional information to allow mapping between CORBA and Foam types. - - //- Foam type - WORD or STRING. - Foam::token::tokenType tokenType_; - - //- FoamX type - Type_Char, Type_Word or Type_String. - FoamXServer::FoamXType foamXType_; - - -public: - - // Constructors - - FoamXString(); - - FoamXString(const FoamXString&); - - FoamXString(const Foam::string&); - - FoamXString(const Foam::word&); - - FoamXString(const char* str); - - FoamXString(Foam::Istream& is); - - - // Destructor - - ~FoamXString(); - - - // Member Functions - - // I/O methods. - - void write(Foam::Ostream& os) const; - - void read(Foam::Istream& is); - - - // Member Operators - - // Assignment operators. - - FoamXString& operator=(const FoamXString&); - - FoamXString& operator=(const Foam::string&); - - FoamXString& operator=(const Foam::word&); - - FoamXString& operator=(const char*); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.C deleted file mode 100644 index 0b49869c55..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.C +++ /dev/null @@ -1,169 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXStringList.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXStringList::FoamXStringList() -{} - -FoamX::FoamXStringList::FoamXStringList(const FoamX::FoamXStringList& list) -: - StringSequenceTmpl() -{ - // Copy string values. Need to call base classes assignment operator. - FoamXServer::StringList::operator=(list); -} - -FoamX::FoamXStringList::FoamXStringList(const Foam::stringList& list) -{ - // Reset list length. - length(list.size()); - - // Copy list elements. - forAll(list, i) - { - (*this)[i] = list[i].c_str(); - } -} - -FoamX::FoamXStringList::FoamXStringList(Foam::Istream& is) -{ - read(is); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXStringList& FoamX::FoamXStringList::operator= -( - const FoamXServer::StringList& list -) -{ - // Copy string values. Need to call base classes assignment operator. - FoamXServer::StringList::operator=(list); - - return *this; -} - -FoamX::FoamXStringList& FoamX::FoamXStringList::operator= -( - const Foam::stringList& list -) -{ - length(list.size()); - - forAll(list, i) - { - operator[](i) = list[i].c_str(); - } - - return *this; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::FoamXStringList::append(const char* str) -{ - // Append string to list. - length(length() + 1); - (*this)[length() - 1] = str; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -int FoamX::FoamXStringList::find(const char* str) -{ - int ret = -1; - - for (unsigned int i = 0; i length(length() - 1); - for (unsigned int i = 0, j = 0; i (Foam::stringList(is))); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::FoamXStringList::write(Foam::Ostream& os) const -{ - //os << Foam::label(length()); - - os << Foam::token::BEGIN_LIST; - - for (unsigned int i = 0; i < length(); i++) - { - os << Foam::string(operator[](i)); - } - - os << Foam::token::END_LIST; -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.H deleted file mode 100644 index 4a925daae4..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXStringList.H +++ /dev/null @@ -1,115 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamXString - -Description - -SourceFiles - FoamXStringList.C - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamXStringList_H -#define FoamXStringList_H - -// Foam header files. -#include "stringList.H" - -// FoamX header files. -#include "FoamX.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class FoamXStringList Declaration -\*---------------------------------------------------------------------------*/ - -class FoamXStringList -: - public FoamXServer::StringList -{ - -public: - - // Constructors - - FoamXStringList(); - - FoamXStringList(const FoamXStringList&); - - FoamXStringList(const Foam::stringList&); - - FoamXStringList(Foam::Istream& is); - - - // Member Functions - - // Utility functions. - - Foam::label size() const - { - return length(); - } - - void append(const char*); - - //- Returns -1 if string not found on list, or the index otherwise. - int find(const char*); - - bool found(const char* name) - { - return (find(name) != -1); - } - - bool remove(const char*); - - - // Input/Output. - - void write(Foam::Ostream& os) const; - - void read(Foam::Istream& is); - - - // Member Operators - - FoamXStringList& operator=(const FoamXServer::StringList&); - FoamXStringList& operator=(const Foam::stringList&); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.C deleted file mode 100644 index ba554de0e3..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.C +++ /dev/null @@ -1,149 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -#include "FoamXTypes.H" - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -Foam::wordList FoamX::FoamXTypes::typeNames_; -Foam::HashTable FoamX::FoamXTypes::types_; -Foam::word FoamX::FoamXTypes::invalidTypeName_("invalidType"); - -//- Construct dummy FoamXTypes to initialise static data -FoamX::FoamXTypes FoamXTypes_; - - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -//- Construct null -FoamX::FoamXTypes::FoamXTypes() -{ - typeNames_.setSize(FoamXServer::Type_Field + 1); - - typeNames_[FoamXServer::Type_Boolean] = "boolean"; - typeNames_[FoamXServer::Type_Label] = "label"; - typeNames_[FoamXServer::Type_Scalar] = "scalar"; - typeNames_[FoamXServer::Type_Char] = "char"; - typeNames_[FoamXServer::Type_Word] = "word"; - typeNames_[FoamXServer::Type_String] = "string"; - typeNames_[FoamXServer::Type_RootDir] = "rootDir"; - typeNames_[FoamXServer::Type_RootAndCase] = "rootAndCase"; - typeNames_[FoamXServer::Type_CaseName] = "caseName"; - typeNames_[FoamXServer::Type_HostName] = "hostName"; - typeNames_[FoamXServer::Type_File] = "file"; - typeNames_[FoamXServer::Type_Directory] = "directory"; - typeNames_[FoamXServer::Type_Time] = "time"; - typeNames_[FoamXServer::Type_DimensionSet] = "dimensionSet"; - typeNames_[FoamXServer::Type_FixedList] = "fixedList"; - typeNames_[FoamXServer::Type_List] = "list"; - typeNames_[FoamXServer::Type_Dictionary] = "dictionary"; - typeNames_[FoamXServer::Type_Selection] = "selection"; - typeNames_[FoamXServer::Type_Compound] = "compound"; - typeNames_[FoamXServer::Type_Field] = "field"; - - forAll(typeNames_, i) - { - types_.insert(typeNames_[i], FoamXServer::FoamXType(i)); - } -} - - -// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // - -bool FoamX::FoamXTypes::found(const Foam::word& typeName) -{ - return types_.found(typeName); -} - -const Foam::word& FoamX::FoamXTypes::typeName(FoamXServer::FoamXType fxType) -{ - if - ( - fxType >= FoamXServer::Type_Boolean - && fxType <= FoamXServer::Type_Field - ) - { - return typeNames_[fxType]; - } - else - { - return invalidTypeName_; - } -} - -FoamXServer::FoamXType FoamX::FoamXTypes::lookupType(const Foam::word& typeName) -{ - return types_[typeName]; -} - -bool FoamX::FoamXTypes::isNumber(FoamXServer::FoamXType type) -{ - return - ( - type == FoamXServer::Type_Label || type == FoamXServer::Type_Scalar - ); -} - -bool FoamX::FoamXTypes::isPrimitive(FoamXServer::FoamXType type) -{ - return (type <= FoamXServer::Type_DimensionSet); -} - -bool FoamX::FoamXTypes::isPrimitive(const Foam::word& typeName) -{ - if (types_.found(typeName)) - { - return isPrimitive(*(types_.find(typeName))); - } - else - { - return false; - } -} - -bool FoamX::FoamXTypes::isCompound(FoamXServer::FoamXType type) -{ - return - ( - type >= FoamXServer::Type_FixedList - && type <= FoamXServer::Type_Compound - ); -} - -bool FoamX::FoamXTypes::isCompound(const Foam::word& typeName) -{ - if (types_.found(typeName)) - { - return isCompound(*(types_.find(typeName))); - } - else - { - return false; - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.H deleted file mode 100644 index f798f822e0..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXTypes.H +++ /dev/null @@ -1,94 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamXTypes - -Description - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamXTypes_H -#define FoamXTypes_H - -// Foam header files -#include "HashTable.H" -#include "wordList.H" - -// FoamX header files -#include "FoamX.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class FoamXTypes Declaration -\*---------------------------------------------------------------------------*/ - -class FoamXTypes -{ - // Private data - - //- The names of the types - static Foam::wordList typeNames_; - - //- Lookup table of types - static Foam::HashTable types_; - - //- Return this name when the type is invalid - static Foam::word invalidTypeName_; - - -public: - - // Constructors - - //- Construct null - FoamXTypes(); - - - // Member Functions - - static bool found(const Foam::word& typeName); - static const Foam::word& typeName(FoamXServer::FoamXType fxType); - static FoamXServer::FoamXType lookupType(const Foam::word& typeName); - static bool isNumber(FoamXServer::FoamXType type); - static bool isPrimitive(FoamXServer::FoamXType type); - static bool isPrimitive(const Foam::word& typeName); - static bool isCompound(FoamXServer::FoamXType type); - static bool isCompound(const Foam::word& typeName); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.C deleted file mode 100644 index ec4ea2b803..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.C +++ /dev/null @@ -1,105 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXWordList.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXWordList::FoamXWordList() -{} - -FoamX::FoamXWordList::FoamXWordList(const Foam::wordList& list) -{ - // Reset list length. - length(list.size()); - - // Copy list elements. - forAll(list, i) - { - (*this)[i] = list[i].c_str(); - } -} - -FoamX::FoamXWordList::FoamXWordList(Foam::Istream& is) -{ - read(is); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXWordList& FoamX::FoamXWordList::operator= -( - const FoamXServer::StringList& list -) -{ - // Copy string values. Need to call base classes assignment operator. - FoamXServer::StringList::operator=(list); - - return *this; -} - -FoamX::FoamXWordList& FoamX::FoamXWordList::operator= -( - const Foam::wordList& list -) -{ - length(list.size()); - - forAll(list, i) - { - operator[](i) = list[i].c_str(); - } - - return *this; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::FoamXWordList::read(Foam::Istream& is) -{ - operator=(static_cast(Foam::wordList(is))); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::FoamXWordList::write(Foam::Ostream& os) const -{ - //os << (int)length(); - - os << Foam::token::BEGIN_LIST; - - for (unsigned int i = 0; i < length(); i++) - { - os << Foam::word(operator[](i)); - } - - os << Foam::token::END_LIST; -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.H deleted file mode 100644 index 6b95fb60f5..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/FoamXWordList.H +++ /dev/null @@ -1,93 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamXString - -Description - -SourceFiles - FoamXWordList.C - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamXWordList_H -#define FoamXWordList_H - -// Foam header files. -#include "wordList.H" - -// FoamX header files. -#include "FoamXStringList.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class FoamXWordList Declaration -\*---------------------------------------------------------------------------*/ - -class FoamXWordList -: - public FoamXStringList -{ - -public: - - // Constructors - - FoamXWordList(); - - FoamXWordList(const Foam::wordList&); - - FoamXWordList(Foam::Istream& is); - - - // Member Functions - - // Input/Output. - - void write(Foam::Ostream& os) const; - - void read(Foam::Istream& is); - - - // Member Operators - - FoamXWordList& operator=(const FoamXServer::StringList&); - FoamXWordList& operator=(const Foam::wordList&); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.C deleted file mode 100644 index c68cb98364..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.C +++ /dev/null @@ -1,1160 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files -#include "IFstream.H" -#include "polyPatch.H" -#include "OSspecific.H" - -// FoamX header files -#include "FoamX.H" -#include "FoamXErrors.H" -#include "ITypeDescriptorImpl.H" -#include "IApplicationImpl.H" -#include "IPropertiesImpl.H" -#include "IGeometricFieldDescriptorImpl.H" -#include "IPatchPhysicalTypeDescriptorImpl.H" -#include "DictionaryWriter.H" -#include "LogEntry.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IApplicationImpl::IApplicationImpl -( - const FoamXServer::ApplicationDescriptor& appDesc, - const IPropertiesImpl& foamSystemProperties -) -: - name_(appDesc.name), - description_(appDesc.name), - category_(appDesc.category), - appCfgPath_(fileName(appDesc.path)/"FoamX"), - systemClass_(appDesc.systemClass), - foamSystemProperties_(foamSystemProperties) -{ - static const char* functionName = - "FoamX::IApplicationImpl::IApplicationImpl" - "(const char* className, bool systemClass)"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IApplicationImpl::~IApplicationImpl() -{ - static const char* functionName = - "FoamX::IApplicationImpl::~IApplicationImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::validate() -{ - static const char* functionName = - "FoamX::IApplicationImpl::validate()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::load() -{ - static const char* functionName = - "FoamX::IApplicationImpl::load()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Make sure that the definition dictionary exists - if (!exists(appCfgPathName())) - { - throw FoamXError - ( - E_FAIL, - "Application Class definition file '" - + appCfgPathName() + "' could not be found.", - functionName, - __FILE__, __LINE__ - ); - } - - // Set the FOAMX_APP_CFG_PATH environment variable - // to the application configuration path - Foam::setEnv("FOAMX_APP_CFG_PATH", appCfgPath_, true); - - // Open the application class definition dictionary - dictionary classDict((IFstream(appCfgPathName())())); - - // Make sure we have all of the required entries - if - ( - !classDict.found("description") - || !classDict.found("dictionaries") - || !classDict.found("fields") - || !classDict.found("patchPhysicalTypes") - || !classDict.found("patchFieldsPhysicalTypes") - ) - { - throw FoamXError - ( - E_FAIL, - "Invalid application class configuration dictionary '" - + appCfgPathName() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Get application class info - classDict.lookup("description") >> description_; - - if (classDict.found("modules")) - { - moduleList_.read(classDict.lookup("modules")); - } - else - { - moduleList_.append("FoamX.Modules.CaseEditor.CaseEditorModule"); - } - - const dictionary& dictionariesDict = classDict.subDict("dictionaries"); - - // Initialise the dictionary objects - for - ( - dictionary::const_iterator iter = dictionariesDict.begin(); - iter != dictionariesDict.end(); - ++iter - ) - { - const word& dictionaryName = iter().keyword(); - - // Set/correct the application name - if - ( - dictionaryName == "controlDict" - && iter().isDict() - && iter().dict().found("entries") - && iter().dict().subDict("entries").found("application") - ) - { - dictionary& applicationNameDict = const_cast - ( - iter().dict().subDict("entries").subDict("application") - ); - - applicationNameDict.remove("default"); - applicationNameDict.add("default", name_); - } - - // See if we already have a dictionary with this name - if (dictTypeDescriptorMap_.found(dictionaryName)) - { - throw FoamXError - ( - E_FAIL, - "Duplicate dictionary name '" + dictionaryName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new TypeDescriptor object for this - // dictionary - ITypeDescriptorImpl* pTypeDescriptor = new ITypeDescriptorImpl - ( - dictionaryName, - appCfgPath_, - iter(), - foamSystemProperties_.foamTypesDict() - ); - - if (pTypeDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create Dictionary TypeDescriptor object for " - "dictionary '" + dictionaryName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - dictTypeDescriptorMap_.append(dictionaryName, pTypeDescriptor); - } - - /* This does work but should only be used if it is considered useful - if (classDict.found("types")) - { - (dictionary&)foamSystemProperties_.foamTypesDict() - += classDict.subDict("types"); - } - */ - - const dictionary& fieldsDict = classDict.subDict("fields"); - - // Initialise the field objects - for - ( - dictionary::const_iterator iter = fieldsDict.begin(); - iter != fieldsDict.end(); - ++iter - ) - { - const word& fieldName = iter().keyword(); - - // See if we already have a field with this name - if (fieldDescriptorMap_.found(fieldName)) - { - throw FoamXError - ( - E_FAIL, - "Duplicate field name '" + fieldName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new FieldDescriptor object for field - IGeometricFieldDescriptorImpl* pFieldDescriptor = new - IGeometricFieldDescriptorImpl - ( - fieldName, - fieldsDict.subDict(fieldName), - foamSystemProperties_.foamTypes(), - foamSystemProperties_.geometryDescriptors() - ); - - if (pFieldDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create FieldDescriptor object for field '" - + fieldName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - fieldDescriptorMap_.append(fieldName, pFieldDescriptor); - } - - wordList fieldList = fieldDescriptorMap_.toc(); - - - wordList constranedPatchTypes = polyPatch::constraintTypes(); - - forAll(constranedPatchTypes, i) - { - // See if we already have a boundary type with this name - if (patchPhysicalTypeDescriptorMap_.found(constranedPatchTypes[i])) - { - throw FoamXError - ( - E_FAIL, - "Duplicate boundary type name '" - + constranedPatchTypes[i] + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new PatchPhysicalTypeDescriptor object - // for this field - IPatchPhysicalTypeDescriptorImpl* pBoundaryDescriptor = new - IPatchPhysicalTypeDescriptorImpl - ( - constranedPatchTypes[i], - fieldList - ); - - if (pBoundaryDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create PatchPhysicalTypeDescriptor object for " - "boundary type '" + constranedPatchTypes[i] + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - patchPhysicalTypeDescriptorMap_.append - ( - constranedPatchTypes[i], - pBoundaryDescriptor - ); - } - - if (classDict.found("patchFieldTypes")) - { - const_cast(foamSystemProperties_).addPatchFields - ( - classDict.subDict("patchFieldTypes") - ); - } - - const dictionary& patchPhysicalTypesDict - ( - classDict.subDict("patchPhysicalTypes") - ); - - const dictionary& patchFieldsPhysicalTypesDict - ( - classDict.subDict("patchFieldsPhysicalTypes") - ); - - // Initialise the boundary type information - for - ( - dictionary::const_iterator iter = patchPhysicalTypesDict.begin(); - iter != patchPhysicalTypesDict.end(); - ++iter - ) - { - const word& patchPhysicalTypeName = iter().keyword(); - - // See if we already have a boundary type with this name - if (patchPhysicalTypeDescriptorMap_.found(patchPhysicalTypeName)) - { - throw FoamXError - ( - E_FAIL, - "Duplicate boundary type name '" - + patchPhysicalTypeName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new PatchPhysicalTypeDescriptor object - // for this field - IPatchPhysicalTypeDescriptorImpl* pBoundaryDescriptor = new - IPatchPhysicalTypeDescriptorImpl - ( - patchPhysicalTypeName, - iter().dict(), - patchPhysicalTypesDict, - patchFieldsPhysicalTypesDict, - fieldList - ); - - if (pBoundaryDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create PatchPhysicalTypeDescriptor object for " - "boundary type '" + patchPhysicalTypeName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - patchPhysicalTypeDescriptorMap_.append - ( - patchPhysicalTypeName, - pBoundaryDescriptor - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::save() -{ - static const char* functionName = - "FoamX::IApplicationImpl::save()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Cannot save system application classes - if (systemClass_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Cannot save system application class definition file '" - + appCfgPathName() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Write the application class data - DictionaryWriter dict(appCfgPathName()); - - dict.writeHeader - ( - "FoamX Application Class Configuration File for " + name_, - "dictionary" - ); - - // Write execution info - dict.writeSectionHeader("Execution"); - dict.writeEntry("description", description_); - dict.writeEndl(); - dict.writeEntry("arguments", arguments_); - - // Write module names - dict.writeSectionHeader("FoamX Modules"); - dict.writeEntry("modules", moduleList_); - - // Write dictionary names - dict.writeSectionHeader("Dictionaries"); - wordList dictNames; - dictNames.setSize(dictTypeDescriptorMap_.size()); - label i = 0; - for - ( - Dictionary::iterator iter = - dictTypeDescriptorMap_.begin(); - iter != dictTypeDescriptorMap_.end(); - ++iter - ) - { - CORBA::String_var name = iter().name(); - dictNames[i++] = word(name); - } - - // Use the top-level dictionary names instead of the keys - dict.writeEntry("dictionaries", dictNames); - - // Write field definitions - dict.writeSectionHeader("Fields"); - dict.startSubDict("fields"); - i = 0; - - for - ( - Dictionary::iterator iter - = fieldDescriptorMap_.begin(); - iter != fieldDescriptorMap_.end(); - ++iter - ) - { - iter().save(dict); - - if (i++ < fieldDescriptorMap_.size()-1) - { - dict.writeEndl(); - } - } - dict.endSubDict(); - - // Write boundary types - dict.writeSectionHeader("Boundary Types"); - dict.startSubDict("patchPhysicalTypes"); - i = 0; - - for - ( - Dictionary::iterator iter - = patchPhysicalTypeDescriptorMap_.begin(); - iter != patchPhysicalTypeDescriptorMap_.end(); - ++iter - ) - { - iter().save(dict); - - if (i++ < patchPhysicalTypeDescriptorMap_.size()-1) - { - dict.writeEndl(); - } - } - dict.endSubDict(); - - dict.writeEndl(); - dict.writeEndBar(); - - - // Save the dictionary type definitions - for - ( - Dictionary::iterator iter = - dictTypeDescriptorMap_.begin() ; - iter != dictTypeDescriptorMap_.end() ; - ++iter - ) - { - const word& dictKey = iter().name(); - - ITypeDescriptorImpl* pDictType = dictTypeDescriptorMap_[dictKey]; - - // Create a dictionary writer object for this dictionary - - // Use the dictionary name, not the key - CORBA::String_var dictName = pDictType->name(); - - fileName dictFilePath = appCfgPath_/word(dictName) + ".cfg"; - - // Save dictionary type description - DictionaryWriter dictWriter(dictFilePath); - - dictWriter.writeHeader - ( - "FoamX Application Class Configuration File.", - "dictionary" - ); - - // Top-level type descriptor - pDictType->save(dictWriter, true); - - dictWriter.writeEndl(); - dictWriter.writeEndBar(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IApplicationImpl::name() -{ - static const char* functionName = - "FoamX::IApplicationImpl::name()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return - return CORBA::string_dup(name_.c_str()); -} - -void FoamX::IApplicationImpl::name(const char* newName) -{ - static const char* functionName = - "FoamX::IApplicationImpl::name(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - name_ = newName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IApplicationImpl::description() -{ - static const char* functionName = - "FoamX::IApplicationImpl::description()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return - return CORBA::string_dup(description_.c_str()); -} - -void FoamX::IApplicationImpl::description(const char* newDescription) -{ - static const char* functionName = - "FoamX::IApplicationImpl::description(const char* newDescription)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - description_ = newDescription; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IApplicationImpl::category() -{ - static const char* functionName = - "FoamX::IApplicationImpl::category()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return - return CORBA::string_dup(category_.c_str()); -} - -void FoamX::IApplicationImpl::category(const char* newCategory) -{ - static const char* functionName = - "FoamX::IApplicationImpl::category(const char* newCategory)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - category_ = newCategory; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IApplicationImpl::modules() -{ - static const char* functionName = - "FoamX::IApplicationImpl::modules()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList(moduleList_); -} - -void FoamX::IApplicationImpl::modules -( - const FoamXServer::StringList& newList -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::modules" - "(const FoamXServer::StringList& newList)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - moduleList_ = newList; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::IApplicationImpl::systemClass() -{ - static const char* functionName = - "FoamX::IApplicationImpl::systemClass()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return systemClass_; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IApplicationImpl::fields() -{ - static const char* functionName = - "FoamX::IApplicationImpl::fields()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList - ( - FoamXWordList(static_cast(fieldDescriptorMap_.toc())) - ); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::getField -( - const char* fieldName, - IGeometricFieldDescriptor_out fieldDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::getField" - "(const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // See if we have this field's type descriptor cached - if (!fieldDescriptorMap_.found(fieldName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid field name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Return a reference to the FieldDescriptor object - fieldDescriptor = fieldDescriptorMap_[fieldName]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::findField -( - const char* fieldName, - IGeometricFieldDescriptor_out fieldDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::findField" - "(const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // Loop over all known field descriptors and find the one with the - // specified name - for - ( - ObjRefDictionary::iterator iter = - fieldDescriptorMap_.begin() ; - iter != fieldDescriptorMap_.end() ; - ++iter - ) - { - // Check for matching name - CORBA::String_var fieldDescName = iter().name(); - if (strcmp(fieldDescName, fieldName) == 0) - { - fieldDescriptor = iter()._this(); - break; - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::addField -( - const char* fieldName, - IGeometricFieldDescriptor_out fieldDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::addField(const char* fieldName, " - "IGeometricFieldDescriptor_out fieldDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // See if we already have a field with this name - if (fieldDescriptorMap_.found(fieldName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid field name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new FieldDescriptor - IGeometricFieldDescriptorImpl* pFieldDescriptor = - new IGeometricFieldDescriptorImpl(fieldName); - - if (pFieldDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create FieldDescriptor object.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add to field map - fieldDescriptorMap_.append(fieldName, pFieldDescriptor); - - // Return a reference to the FieldDescriptor object - fieldDescriptor = pFieldDescriptor->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::deleteField(const char* fieldName) -{ - static const char* functionName = - "FoamX::IApplicationImpl::deleteField(const char* fieldName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // See if we have a field with this name - if (!fieldDescriptorMap_.found(fieldName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid field name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Remove from field map - // Releases object reference - fieldDescriptorMap_.erase(fieldName); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IApplicationImpl::patchPhysicalTypes() -{ - static const char* functionName = - "FoamX::IApplicationImpl::patchPhysicalTypes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList - ( - FoamXWordList - ( - static_cast(patchPhysicalTypeDescriptorMap_.toc()) - ) - ); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::getPatchPhysicalType -( - const char* patchPhysicalTypeName, - IPatchPhysicalTypeDescriptor_out boundaryDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::getPatchPhysicalType" - "(const char* patchPhysicalTypeName, " - "IPatchPhysicalTypeDescriptor_out boundaryDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // See if we have this object cached - if (!patchPhysicalTypeDescriptorMap_.found(patchPhysicalTypeName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid boundary type name " - + word(patchPhysicalTypeName) + ".", - functionName, - __FILE__, __LINE__ - ); - } - - // Return a reference to object - boundaryDescriptor = - patchPhysicalTypeDescriptorMap_[patchPhysicalTypeName]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::findPatchPhysicalType -( - const char* patchPhysicalTypeName, - IPatchPhysicalTypeDescriptor_out boundaryDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::findPatchPhysicalType" - "(const char* patchPhysicalTypeName, " - "IPatchPhysicalTypeDescriptor_out boundaryDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Find the boundary type descriptors with the specified name - if (patchPhysicalTypeDescriptorMap_.found(patchPhysicalTypeName)) - { - boundaryDescriptor = - patchPhysicalTypeDescriptorMap_.lookup(patchPhysicalTypeName) - ->_this(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::addPatchPhysicalType -( - const char* patchPhysicalTypeName, - IPatchPhysicalTypeDescriptor_out boundaryDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::addPatchPhysicalType" - "(const char* patchPhysicalTypeName, " - "IPatchPhysicalTypeDescriptor_out boundaryDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // See if we already have a boundary type with this name - if (patchPhysicalTypeDescriptorMap_.found(patchPhysicalTypeName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid boundary type name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new PatchPhysicalTypeDescriptor object - IPatchPhysicalTypeDescriptorImpl* pBoundaryDescriptor = - new IPatchPhysicalTypeDescriptorImpl(patchPhysicalTypeName); - - if (pBoundaryDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create PatchPhysicalTypeDescriptor object.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add to map - patchPhysicalTypeDescriptorMap_.append - ( - patchPhysicalTypeName, - pBoundaryDescriptor - ); - - // Return a reference to the PatchPhysicalTypeDescriptor object - boundaryDescriptor = pBoundaryDescriptor->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::deletePatchPhysicalType -( - const char* patchPhysicalTypeName -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::deletePatchPhysicalType" - "(const char* patchPhysicalTypeName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "delete " << patchPhysicalTypeName << endl; - - // See if we have a boundary type with this name - if (!patchPhysicalTypeDescriptorMap_.found(patchPhysicalTypeName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid boundary type name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Remove from map - // Releases object reference - patchPhysicalTypeDescriptorMap_.erase(patchPhysicalTypeName); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IApplicationImpl::dictionaries() -{ - static const char* functionName = - "FoamX::IApplicationImpl::dictionaries()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList - ( - FoamXWordList - ( - static_cast(dictTypeDescriptorMap_.toc()) - ) - ); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::getDictionary -( - const char* dictName, - ITypeDescriptor_out dictTypeDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::getDictionary" - "(const char* dictName, ITypeDescriptor_out dictTypeDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // See if we have this dictionary's type descriptor cached - if (!dictTypeDescriptorMap_.found(dictName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid dictionary name '" + word(dictName) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Return a reference to the TypeDescriptor object - dictTypeDescriptor = dictTypeDescriptorMap_[dictName]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::addDictionary -( - const char* dictName, - ITypeDescriptor_out dictTypeDescriptor -) -{ - static const char* functionName = - "FoamX::IApplicationImpl::addDictionary" - "(const char* dictName, ITypeDescriptor_out dictTypeDescriptor)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // See if we already have a dictionary with this name - if (dictTypeDescriptorMap_.found(dictName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid dictionary name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new TypeDescriptor object for a new - // dictionary - ITypeDescriptorImpl* pTypeDescriptor = new ITypeDescriptorImpl - ( - dictName, - Type_Dictionary, - dictName - ); - - if (pTypeDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create Dictionary TypeDescriptor object.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add to dictionary map - dictTypeDescriptorMap_.append(dictName, pTypeDescriptor); - - // Return a reference to the TypeDescriptor object - dictTypeDescriptor = pTypeDescriptor->_this(); - } - CATCH_ALL(functionName); - - return; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IApplicationImpl::deleteDictionary(const char* dictName) -{ - static const char* functionName = - "FoamX::IApplicationImpl::deleteDictionary(const char* dictName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // See if we have a dictionary with this name - if (!dictTypeDescriptorMap_.found(dictName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid dictionary name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Remove from dictionary map - // Releases object reference - dictTypeDescriptorMap_.erase(dictName); - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.H deleted file mode 100644 index 99474ef564..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IApplicationImpl.H +++ /dev/null @@ -1,224 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IApplicationImpl - -Description - -SourceFiles - IApplicationImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IApplicationImpl_H -#define IApplicationImpl_H - -// Foam header files. -#include "fileName.H" -#include "dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "FoamXString.H" -#include "FoamXStringList.H" -#include "FoamXWordList.H" -#include "ObjRefDictionary.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class IGeometricFieldDescriptorImpl; -class IPatchPhysicalTypeDescriptorImpl; -class ITypeDescriptorImpl; -class IPropertiesImpl; - -/*---------------------------------------------------------------------------*\ - Class IApplicationImpl Declaration -\*---------------------------------------------------------------------------*/ - -class IApplicationImpl -: - public POA_FoamXServer::CaseServer::IApplication, - public PortableServer::RefCountServantBase -{ - // Private data - - Foam::word name_; - Foam::string description_; - Foam::fileName category_; - - //- Path of the application class description - Foam::fileName appCfgPath_; - - //- System or user class flag. - bool systemClass_; - - //- Reference to the Foam properties class - const IPropertiesImpl& foamSystemProperties_; - - ITypeDescriptorImpl* arguments_; - FoamXWordList moduleList_; - - ObjRefDictionary fieldDescriptorMap_; - - ObjRefDictionary - patchPhysicalTypeDescriptorMap_; - - ObjRefDictionary dictTypeDescriptorMap_; - - -public: - - // Constructors - - IApplicationImpl - ( - const ApplicationDescriptor& appDesc, - const IPropertiesImpl& foamSystemProperties - ); - - - // Destructor - - virtual ~IApplicationImpl(); - - - // Member Functions - - virtual char* name(); - virtual void name(const char*); - - fileName appCfgPathName() const - { - return appCfgPath_/name_ + ".cfg"; - } - - virtual char* description(); - virtual void description(const char*); - - virtual char* category(); - virtual void category(const char*); - - virtual FoamXServer::StringList* modules(); - virtual void modules(const FoamXServer::StringList&); - - virtual CORBA::Boolean systemClass(); - - virtual FoamXServer::StringList* fields(); - - virtual void getField - ( - const char* fieldKey, - FoamXServer::CaseServer::IGeometricFieldDescriptor_out - fieldDescriptor - ); - - virtual void findField - ( - const char* fieldName, - FoamXServer::CaseServer::IGeometricFieldDescriptor_out - fieldDescriptor - ); - - virtual void addField - ( - const char* fieldKey, - FoamXServer::CaseServer::IGeometricFieldDescriptor_out - fieldDescriptor - ); - - virtual void deleteField(const char* fieldKey); - - virtual FoamXServer::StringList* patchPhysicalTypes(); - - virtual void getPatchPhysicalType - ( - const char* patchPhysicalTypeKey, - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out - boundaryDescriptor - ); - - virtual void findPatchPhysicalType - ( - const char* patchPhysicalTypeName, - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out - boundaryDescriptor - ); - - virtual void addPatchPhysicalType - ( - const char* patchPhysicalTypeKey, - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out - boundaryDescriptor - ); - - virtual void deletePatchPhysicalType - ( - const char* patchPhysicalTypeKey - ); - - virtual FoamXServer::StringList* dictionaries(); - - virtual void getDictionary - ( - const char* dictName, - FoamXServer::ITypeDescriptor_out - dictTypeDescriptor - ); - - virtual void addDictionary - ( - const char* dictName, - FoamXServer::ITypeDescriptor_out - dictTypeDescriptor - ); - - virtual void deleteDictionary(const char* dictName); - - - //- Validation. - virtual void validate(); - - //- Persistence. - virtual void save(); - - //- Load from application class definition dictionary. - void load(); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.C deleted file mode 100644 index 3b78acd859..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.C +++ /dev/null @@ -1,2099 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files -#include "vector.H" -#include "tensor.H" -#include "typeInfo.H" - -// Project header files. -#include "IDictionaryEntryImpl.H" -#include "FoamX.H" -#include "FoamXErrors.H" -#include "LogEntry.H" -#include "ITypeDescriptorImpl.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IDictionaryEntryImpl::IDictionaryEntryImpl -( - ITypeDescriptor_ptr typeDesc -) -: - modified_(false), - listTokenPtr_(NULL), - selection_(0) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::IDictionaryEntryImpl" - "(ITypeDescriptor_ptr typeDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check parameters. - if (CORBA::is_nil(typeDesc)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid TypeDescriptor reference", - functionName, - __FILE__, __LINE__ - ); - } - - // Bind the given field type descriptor. - bindType(typeDesc); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IDictionaryEntryImpl::IDictionaryEntryImpl -( - IDictionaryEntryImpl& dictEntry -) -: - PortableServer::ServantBase(), - PortableServer::StaticImplementation(), - POA_FoamXServer::IDictionaryEntry(), - PortableServer::RefCountServantBase(), - modified_(false), - listTokenPtr_(NULL), - selection_(0) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::IDictionaryEntryImpl" - "(ITypeDescriptor_ptr typeDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Bind the given field type descriptor. - bindType(dictEntry.typeDescriptor()); - - operator=(dictEntry); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IDictionaryEntryImpl::~IDictionaryEntryImpl() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::~IDictionaryEntryImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Release all sub-element objects. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - iter()->_remove_ref(); - } - subElements_.clear(); - - if (listTokenPtr_) - { - delete listTokenPtr_; - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptor_ptr FoamX::IDictionaryEntryImpl::typeDescriptor() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::typeDescriptor()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Return a reference to the TypeDescriptor object. - ITypeDescriptor_ptr pTypeDesc = ITypeDescriptor::_nil(); - - if (!CORBA::is_nil(typeDescriptor_)) - { - pTypeDesc = ITypeDescriptor::_duplicate(typeDescriptor_); - } - - return pTypeDesc; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::FoamXAny* FoamX::IDictionaryEntryImpl::value() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::value()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return new FoamXServer::FoamXAny(value_); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::value(const FoamXServer::FoamXAny& newValue) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::value(const CORBA::Any& newValue)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->editable() && value_ != newValue) - { - // Set the value of the any object. - // Will throw an exception if the incoming any is not compatible. - value_.setValue(newValue); - - // Set modified flag. - modified_ = true; - } - } - catch (...) - {} -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::setValue -( - const FoamXServer::FoamXAny& newValue -) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::setValue(const CORBA::Any& newValue)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->editable() && value_ != newValue) - { - if (FoamXTypes::isNumber(typeDescriptor_->type())) - { - //***HGWnewValue > *typeDescriptor_->maxValue(); - //***HGWnewValue < *typeDescriptor_->minValue(); - } - - // Set the value of the any object. - // Will throw an exception if the incoming any is not compatible. - value_.setValue(newValue); - - // Set modified flag. - modified_ = true; - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -template -void FoamX::IDictionaryEntryImpl::expandPrimitiveList() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::expandPrimitiveList()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!isA >(listTokenPtr_->compoundToken())) - { - throw FoamXError - ( - E_UNEXPECTED, - "List is not of the expected type", - functionName, - __FILE__, __LINE__ - ); - } - - const List& sl = dynamicCast > - ( - listTokenPtr_->compoundToken() - ); - - forAll (sl, i) - { - IDictionaryEntryImpl* pSubEntry = new IDictionaryEntryImpl - ( - typeDescriptor_->elementType() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create " - "IDictionaryEntryImpl object", - functionName, - __FILE__, __LINE__ - ); - } - - pSubEntry->value_.value <<= CorbaType(sl[i]); - - subElements_.append(pSubEntry); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -template -void FoamX::IDictionaryEntryImpl::expandFixedListList() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::" - "expandFixedListList()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!isA >(listTokenPtr_->compoundToken())) - { - throw FoamXError - ( - E_UNEXPECTED, - "List is not of the expected type", - functionName, - __FILE__, __LINE__ - ); - } - - const List
& vl = dynamicCast > - ( - listTokenPtr_->compoundToken() - ); - - forAll (vl, i) - { - IDictionaryEntryImpl* pSubEntry = new IDictionaryEntryImpl - ( - typeDescriptor_->elementType() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create " - "IDictionaryEntryImpl object", - functionName, - __FILE__, __LINE__ - ); - } - - if (pSubEntry->subElements_.size() != Form::nComponents) - { - throw FoamXError - ( - E_UNEXPECTED, - "Number of sub-elements in Type_FixedList = " - + name(pSubEntry->subElements_.size()) + " is not equal to " - + "the number of elements in the given Form = " - + name(Form::nComponents), - functionName, - __FILE__, __LINE__ - ); - } - - // Loop over all vector-space elements. - direction j=0; - for - ( - DLList::iterator - iter = pSubEntry->subElements_.begin(); - iter != pSubEntry->subElements_.end(); - ++iter - ) - { - iter()->value_.value <<= vl[i][j++]; - } - - subElements_.append(pSubEntry); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::expandList() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::expandList()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->type() != Type_List) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to expandList for non-list type " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - - if (!listTokenPtr_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to expandList for expanded list", - functionName, - __FILE__, __LINE__ - ); - } - - if (listTokenPtr_->compoundToken().size() > 1000) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to expandList for list " - "larger than 1000 elements", - functionName, - __FILE__, __LINE__ - ); - } - - if - ( - isA >(listTokenPtr_->compoundToken()) - ) - { - expandPrimitiveList(); - } - else if - ( - isA >(listTokenPtr_->compoundToken()) - ) - { - expandPrimitiveList(); - } - else if - ( - isA >(listTokenPtr_->compoundToken()) - ) - { - expandFixedListList(); - } - else if - ( - isA >(listTokenPtr_->compoundToken()) - ) - { - expandFixedListList(); - } - - delete listTokenPtr_; - listTokenPtr_ = NULL; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::DictionaryEntryList* FoamX::IDictionaryEntryImpl::subElements() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::subElements()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (listTokenPtr_) - { - expandList(); - } - - // Scan for all the visible entries - int nVisibleElements = 0; - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - if (iter()->typeDescriptor_->visible()) - { - nVisibleElements++; - } - } - - // Construct a new DictionaryEntryList. - DictionaryEntryList* entryList = new DictionaryEntryList(); - entryList->length(nVisibleElements); - - int i = 0; - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - if (iter()->typeDescriptor_->visible()) - { - // Add a reference to the sub element. - (*entryList)[i++] = iter()->_this(); - } - } - - // Return the entry list. - return entryList; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Long FoamX::IDictionaryEntryImpl::nSubElements() -{ - if (listTokenPtr_) - { - return listTokenPtr_->compoundToken().size(); - } - else - { - return subElements_.size(); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::IDictionaryEntryImpl::packedList() -{ - if (listTokenPtr_) - { - return true; - } - else - { - return false; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -//FoamX::DictionaryEntry* FoamX::IDictionaryEntryImpl::lookup -//( -// const char* entryName -//) const -//{ -// static const char* functionName = -// "FoamX::IDictionaryEntryImpl::lookup(const char*)"; -// -// LogEntry log(functionName, __FILE__, __LINE__); -// -// try -// { -// -// // Construct a new DictionaryEntryList. -// DictionaryEntry* entry = new DictionaryEntry(); -// -// int i = 0; -// for -// ( -// DLList::iterator iter = -// subElements_.begin(); -// iter != subElements_.end(); -// ++iter -// ) -// { -// if (iter()->typeDescriptor_->name() == entryName) -// { -// return new DictionaryEntry(iter()->_this()); -// } -// } -// -// throw FoamXError -// ( -// E_FAIL, -// "Did not find " + entryName, -// functionName, -// __FILE__, __LINE__ -// ); -// } -// CATCH_ALL(functionName); -//} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Long FoamX::IDictionaryEntryImpl::selection() -{ - return selection_; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::selection(CORBA::Long newSelection) -{ - if (selection_ != newSelection) - { - selection_ = newSelection; - - // Set modified flag. - modified_ = true; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::addElement(IDictionaryEntry_out subEntry) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::addElement" - "(IDictionaryEntry_out subEntry)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->editable()) - { - // Make sure this is a list. - if (typeDescriptor_->type() != Type_List) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to addElement for non-list type " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - - // Create an appropriate sub entry object and store its reference. - IDictionaryEntryImpl* pSubEntry = new IDictionaryEntryImpl - ( - typeDescriptor_->elementType() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create IDictionaryEntryImpl object for " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - subElements_.append(pSubEntry); - - // Return a reference to the new element. - subEntry = pSubEntry->_this(); - - // Set modified flag. - modified_ = true; - } - else - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to addElement for non-editable type " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::removeElement -( - IDictionaryEntry_ptr subEntry -) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::removeElement" - "(IDictionaryEntry_ptr subEntry)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->editable()) - { - // Make sure this is a list. - if (typeDescriptor_->type() != Type_List) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to removeElement for non-list type " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - - // Remove from List. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - IDictionaryEntry_var pElement = iter()->_this(); - - // Check for equivalence. - if (pElement->_is_equivalent(subEntry)) - { - // Release and remove from linked list. - iter()->_remove_ref(); - subElements_.remove(iter); - break; - } - } - - // Set modified flag. - modified_ = true; - } - else - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to removeElement for non-editable type " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::clearSubElements() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::clearSubElements()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if - ( - static_cast(typeDescriptor_) - == ITypeDescriptor::_nil() - || typeDescriptor_->editable() - ) - { - // Release all sub-element objects. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - iter()->_remove_ref(); - } - subElements_.clear(); - } - else - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected call to clearSubElement for non-editable type " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::validate() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::validate()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // If primitive entry, make sure that we have a valid value - if (!typeDescriptor_->isPrimitiveType()) - { - // If this entry is not optional, - // make sure that a value has been set. - if (!value_.IsSet() && !typeDescriptor_->optional()) - { - // Return the path of this entry. - throw ValidationError - ( - E_INVALID_ARG, - "Non-optional entry does not have a value", - typeDescriptor_->path() - ); - } - - // Check that the value is in range. - if (FoamXTypes::isNumber(typeDescriptor_->type())) - { - value_ > *typeDescriptor_->maxValue(); - value_ < *typeDescriptor_->minValue(); - } - } - else - { - // Check all sub-entries. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - iter()->validate(); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::IDictionaryEntryImpl::modified() -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::modified()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - if (modified_) return true; - - try - { - // Check all sub-entries. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - if (iter()->modified()) return true; - } - } - CATCH_ALL(functionName); - - return false; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::save() -{ - // Can't save individual entries. - // Overridden for root dictionary entries. -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::load -( - const entry& ent -) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::load" - "(const entry&, bool allowNonOptional)"; - - if (ent.isStream()) - { - load(ent.stream()); - } - else if (ent.isDict()) - { - load(ent.dict()); - } - else - { - throw FoamXError - ( - E_UNEXPECTED, - "Entry is neither a stream nor a dictionary", - functionName, - __FILE__, __LINE__ - ); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::load -( - const dictionary& dict, - bool allowNonOptional -) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::load" - "(const dictionary&, bool allowNonOptional)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->type() != Type_Dictionary) - { - throw FoamXIOError - ( - "IDictionaryEntryImpl " + word(typeDescriptor_->name()) - + " is not a dictionary\n", - dict.name(), dict.startLineNumber(), dict.endLineNumber(), - functionName, - __FILE__, __LINE__ - ); - } - - log << "Reading Dictionary" << endl; - - // Loop over all elements. - for - ( - DLList::iterator iter - = subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - // Get the sub-entry object. - IDictionaryEntryImpl* pSubElement = iter(); - - // Get the TypeDescriptor for this entry. - ITypeDescriptor_var pSubTypeDesc = pSubElement->typeDescriptor_; - - // Get the entry name. - word paramName(pSubTypeDesc->name()); - - // Make sure this entry exists in the dictionary. - if (dict.found(paramName)) - { - pSubElement->load(dict.lookupEntry(paramName)); - } - else if (!allowNonOptional && !pSubTypeDesc->optional()) - { - throw FoamXIOError - ( - "Non-optional dictionary entry '" + paramName - + "' not found in dictionary\n" + dict.name(), - dict.name(), dict.startLineNumber(), dict.endLineNumber(), - functionName, - __FILE__, __LINE__ - ); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::load(Istream& is) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::load(Istream&)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Loading DictionaryEntry for " - << CORBA::String_var(typeDescriptor_->path()) << endl; - - log << "Reading " << is.name() << " line " << is.lineNumber() << endl; - - // See if this is a primitive type. - if (typeDescriptor_->isPrimitiveType()) - { - log << "Reading non-compound value" << endl; - - // This entry is not compound so read the single value. - // Will throw an exception if a value of the required type - // cannot be extracted from the Istream. - value_.read(is); - } - else - { - switch(typeDescriptor_->type()) - { - case Type_FixedList: - { - log << "Reading FixedList" << endl; - - // Read beginning of list contents. - is.readBeginList("List"); - - // Loop over all vector elements. - for - ( - DLList::iterator - iter = subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - // Get the sub-entry object. - IDictionaryEntryImpl* pSubElement = iter(); - - // Load the element values from the Istream. - pSubElement->load(is); - } - - // Read end of contents. - is.readEndList("List"); - } - break; - - case Type_List: - { - log << "Reading List" << endl; - - // Clear old list elements since size of - // list may have changed. - clearSubElements(); - - token firstToken(is); - - is.fatalCheck - ( - "IDictionaryEntryImpl::load(Istream&, bool)" - " : reading first token" - ); - - if (firstToken.isCompound()) - { - if (listTokenPtr_) - { - delete listTokenPtr_; - } - listTokenPtr_ = new token(firstToken); - } - else if (firstToken.isLabel()) - { - label s = firstToken.labelToken(); - - // Read beginning of contents - char listDelimiter = is.readBeginList("Type_List"); - - if (s) - { - if (listDelimiter == token::BEGIN_LIST) - { - for (register label i=0; ielementType() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create " - "IDictionaryEntryImpl object", - functionName, - __FILE__, __LINE__ - ); - } - - // Load the values from the Istream. - pSubEntry->load(is); - - // Add to list. - subElements_.append(pSubEntry); - } - } - else - { - // Create an appropriate sub entry object - // and store its reference. - IDictionaryEntryImpl* pSubEntry = - new IDictionaryEntryImpl - ( - typeDescriptor_->elementType() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create IDictionaryEntryImpl " - "object", - functionName, - __FILE__, __LINE__ - ); - } - - // Load the values from the Istream. - pSubEntry->load(is); - - // Add to list. - subElements_.append(pSubEntry); - - for (register label i=1; ielementType() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create " - "IDictionaryEntryImpl object", - functionName, - __FILE__, __LINE__ - ); - } - - // Load the values from the Istream. - pSubEntry->load(is); - - // Add to list. - subElements_.append(pSubEntry); - - is >> lastToken; - } - } - else - { - FatalIOErrorIn - ( - "IDictionaryEntryImpl::load(Istream&, bool)", - is - ) << "incorrect first token, " - "expected or '(', found " - << firstToken.info() - << exit(FatalIOError); - } - } - break; - - case Type_Dictionary: - { - load(dictionary(is)); - } - break; - - case Type_Selection: - { - log << "Reading Selection" << endl; - - // Read selection keyword - word keyword(is); - - log << "Keyword = " << keyword << endl; - - label i = 0; - - // Loop over all types to find selection. - for - ( - DLList::iterator iter - = subElements_.begin(); - iter != subElements_.end(); - ++iter, ++i - ) - { - // Get the sub-entry object. - IDictionaryEntryImpl* pSubElement = iter(); - - if (keyword == pSubElement->typeDescriptor_->name()) - { - selection_ = i; - - // Load the element values from the Istream. - pSubElement->load(is); - } - } - } - break; - - case Type_Compound: - { - log << "Reading Compound" << endl; - - // Loop over all vector elements. - for - ( - DLList::iterator iter - = subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - // Get the sub-entry object. - IDictionaryEntryImpl* pSubElement = iter(); - - // Load the element values from the Istream. - pSubElement->load(is); - } - } - break; - - default: - throw FoamXError - ( - E_INVALID_ARG, - "Invalid Type", - functionName, - __FILE__, __LINE__ - ); - } - } - - // Check state of Istream. - is.check(functionName); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::save -( - FoamX::DictionaryWriter& dictWriter, - bool dictEntry -) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::save" - "(FoamX::DictionaryWriter& dictWriter, bool dictEntry)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - word entryName = typeDescriptor_->name(); - string comment = typeDescriptor_->comment(); - string description = typeDescriptor_->description(); - - if (dictEntry && debug::infoSwitch("FoamXwriteComments")) - { - if (comment.size() > 0) - { - dictWriter.writeComment(comment); - } - else - { - if (description.size() > 0) - { - dictWriter.writeComment(description); - } - } - } - - switch(typeDescriptor_->type()) - { - case Type_FixedList: - { - log << "Saving FixedList" << endl; - - // Write entry name if required. - if (dictEntry) dictWriter.writeKeyword(entryName); - - // Start list. Do not write the count. - dictWriter.startFixedList(); - - // Write values. - label i = 0; - for - ( - DLList::iterator iter - = subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - if (i++ > 0) - { - dictWriter.writeString(" "); - } - - iter()->save(dictWriter, false); - } - - dictWriter.endFixedList(); - - if (dictEntry) - { - dictWriter.endEntry(); - } - } - break; - - case Type_List: - { - log << "Saving List" << endl; - - // Write entry name if required. - if (dictEntry) dictWriter.writeKeyword(entryName); - - if (listTokenPtr_) - { - dictWriter.writeValue(*listTokenPtr_); - } - else - { - // Start list. - dictWriter.startList(subElements_.size()); - - // Write values. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - if (iter()->typeDescriptor()->type() != Type_List) - { - dictWriter.writeString("\n"); - dictWriter.indent(); - } - - iter()->save(dictWriter, false); - } - - dictWriter.endList(); - } - - if (dictEntry) dictWriter.endEntry(); - } - break; - - case Type_Dictionary: - { - log << "Saving Dictionary" << endl; - - // Start a sub-dictionary. - if (dictEntry) - { - dictWriter.startSubDict(entryName); - } - else - { - dictWriter.startSubDict(); - } - - // Write sub-entries. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - iter()->save(dictWriter, true); - } - - if (dictEntry) - { - dictWriter.endSubDict(); - } - else - { - dictWriter.endDict(); - } - } - break; - - case Type_Selection: - { - log << "Saving Selection" << endl; - - if (!subElements_.size()) - { - throw FoamXError - ( - E_FAIL, - string("No types given for selection '") - + typeDescriptor_->path() + "' for dictionary\n" - + dictWriter.pathName(), - functionName, - __FILE__, __LINE__ - ); - } - - // Write entry name if required. - if (dictEntry) dictWriter.writeKeyword(entryName); - - label i = 0; - - // Write current selection. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter, ++i - ) - { - if (i == selection_) - { - dictWriter.writeString - ( - word(iter()->typeDescriptor_->name()) - ); - - if - ( - iter()->typeDescriptor_->isPrimitiveType() - || iter()->subElements_.size() - || iter()->listTokenPtr_ - ) - { - dictWriter.writeString(" "); - iter()->save(dictWriter, false); - } - } - } - - if (dictEntry) dictWriter.endEntry(); - } - break; - - case Type_Compound: - { - log << "Saving Compound" << endl; - - // Write entry name if required. - if (dictEntry) - { - if (subElements_.size()) - { - dictWriter.writeKeyword(entryName); - } - else - { - dictWriter.writeKeywordOnly(entryName); - } - } - - label i = 0; - - // Write values. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - if (i++ > 0) - { - dictWriter.writeString(" "); - } - - iter()->save(dictWriter, false); - } - - if (dictEntry) dictWriter.endEntry(); - } - break; - - case Type_Boolean: - case Type_Label: - case Type_Scalar: - case Type_Char: - case Type_Word: - case Type_String: - case Type_RootDir: - case Type_RootAndCase: - case Type_CaseName: - case Type_HostName: - case Type_File: - case Type_Directory: - case Type_Time: - case Type_DimensionSet: - { - // If this entry is non-optional and a value hasn't been set, - // throw our teddy right out of the pram. - if (!typeDescriptor_->optional() && !value_.IsSet()) - { - throw FoamXError - ( - E_FAIL, - string("Non-optional dictionary entry '") - + typeDescriptor_->path() - + "' : Value not specified for dictionary\n" - + dictWriter.pathName(), - functionName, - __FILE__, __LINE__ - ); - } - - // If this entry is non-optional, or is optional and an entry - // has been set, write it to the dictionary. - if - ( - !typeDescriptor_->optional() - || (typeDescriptor_->optional() && value_.IsSet()) - ) - { - // Write entry name if required. - if (dictEntry) dictWriter.writeKeyword(entryName); - - dictWriter.writeValue(value_); - if (dictEntry) dictWriter.endEntry(); - } - } - break; - - default: - throw FoamXError - ( - E_INVALID_ARG, - "Invalid Type", - functionName, - __FILE__, __LINE__ - ); - } - - modified_ = false; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// The DictionaryEntry object tree may have built with TypeDescriptor objects of -// type "field". These need to be replaced when we know the actual field type. -// The original type descriptor holds some type information regarding the -// original parameter (of type "field") such as the name, displayName and -// Description. Thus, we need to clone the field type descriptor and replace -// its name and description parameters with those originally specified. - -void FoamX::IDictionaryEntryImpl::bindFieldType(ITypeDescriptor_ptr typeDesc) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::bindFieldType" - "(ITypeDescriptor_ptr typeDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check the type of the current type descriptor. - if (typeDescriptor_->type() == Type_Field) - { - // Store original name, displayName and description parameters. - CORBA::String_var name = typeDescriptor_->name(); - CORBA::String_var displayName = typeDescriptor_->displayName(); - CORBA::String_var description = typeDescriptor_->description(); - - // Clone the field type descriptor. - ITypeDescriptorImpl* fieldTypeDescriptor = new ITypeDescriptorImpl - ( - typeDesc - ); - - if (fieldTypeDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create field TypeDescriptor object", - functionName, - __FILE__, __LINE__ - ); - } - - // Copy over the name, displayName and description information. - fieldTypeDescriptor->name(name); - fieldTypeDescriptor->displayName(displayName); - fieldTypeDescriptor->description(description); - - // Bind the given field type descriptor. - bindType(fieldTypeDescriptor->_this()); - - fieldTypeDescriptor->_remove_ref(); - } - else if (typeDescriptor_->isCompoundType()) - { - // Recurse over all sub-entries. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - iter()->bindFieldType(typeDesc); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::bindType -( - FoamXServer::ITypeDescriptor_ptr typeDesc -) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::bindType" - "(FoamXServer::ITypeDescriptor_ptr typeDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Reset type info. - typeDescriptor_ = ITypeDescriptor::_nil(); - clearSubElements(); - - // Duplicate and store the TypeDescriptor reference. - typeDescriptor_ = ITypeDescriptor::_duplicate(typeDesc); - - log << "Constructing DictionaryEntry for " - << CORBA::String_var(typeDescriptor_->path()) << endl; - - // See if this is a primitive type. - if (typeDescriptor_->isPrimitiveType()) - { - value_.setType(typeDescriptor_->type()); - } - else - { - // Get list of the sub types from the type descriptor. - // Auto release. - TypeDescriptorList_var pSubTypes = typeDescriptor_->subTypes(); - - switch(typeDescriptor_->type()) - { - case Type_FixedList: - { - log << "Default constructing FixedList" - << endl; - - // Get size of vector. - label count = typeDescriptor_->numElements(); - - // A list type descriptor should only have one sub - // type - the type of the vector elements. - if (pSubTypes->length() != 1) - { - throw FoamXError - ( - E_FAIL, - "Invalid number of SubTypes for vector, " - " expected 1, found " - + word - ( - name(label(pSubTypes->length())) - ), - functionName, - __FILE__, __LINE__ - ); - } - - // Add specified number of default elements. - for (int i = 0; i elementType()); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create IDictionaryEntryImpl" - " object", - functionName, - __FILE__, __LINE__ - ); - } - subElements_.append(pSubEntry); - } - } - break; - - case Type_List: - { - log << "Default constructing - List (with no elements)" - << endl; - - // A list type descriptor should only have one sub - // type - the type of the list elements. - if (pSubTypes->length() != 1) - { - throw FoamXError - ( - E_FAIL, - "Invalid number of SubTypes for list", - functionName, - __FILE__, __LINE__ - ); - } - } - break; - - case Type_Dictionary: - { - log << "Default constructing Dictionary" - << endl; - - // Loop over all sub types and create a default - // sub entry for each. - for (unsigned int i = 0; i length(); i++) - { - // Create default entry. - IDictionaryEntryImpl* pSubEntry = - new IDictionaryEntryImpl(pSubTypes[i]); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create IDictionaryEntryImpl" - " object", - functionName, - __FILE__, __LINE__ - ); - } - subElements_.append(pSubEntry); - } - } - break; - - case Type_Selection: - { - log << "Default constructing Selection" - << endl; - - // Loop over all sub types and create a default - // sub entry for each. - for (unsigned int i=0; i length(); i++) - { - // Create a default sub entry object and store its - // reference. - IDictionaryEntryImpl* pSubEntry = new - IDictionaryEntryImpl(pSubTypes[i]); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create IDictionaryEntryImpl" - " object", - functionName, - __FILE__, __LINE__ - ); - } - subElements_.append(pSubEntry); - } - } - break; - - case Type_Compound: - { - log << "Default constructing Compound" - << endl; - - // Loop over all sub types and create a default - // sub entry for each. - for (unsigned int i=0; i length(); i++) - { - // Create a default sub entry object and store its - // reference. - IDictionaryEntryImpl* pSubEntry = new - IDictionaryEntryImpl(pSubTypes[i]); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create IDictionaryEntryImpl" - " object", - functionName, - __FILE__, __LINE__ - ); - } - subElements_.append(pSubEntry); - } - } - break; - - case Type_Field: - log << "Default constructing Field" << endl; - break; - - default: - throw FoamXError - ( - E_INVALID_ARG, - "Invalid Type", - functionName, - __FILE__, __LINE__ - ); - } - } - - // Set this to defaultValue for any type - if (typeDesc->hasDefaultValue()) - { - IDictionaryEntry_var dval; - typeDesc->getDefaultValue(dval.out()); - operator=(dval); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::operator= -( - const IDictionaryEntryImpl& dictEntry -) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::operator=(const IDictionaryEntryImpl&)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->type() != dictEntry.typeDescriptor_->type()) - { - throw FoamXError - ( - E_INVALID_ARG, - "Type of argument " - + FoamXTypes::typeName(dictEntry.typeDescriptor_->type()) - + " does not match this type " - + FoamXTypes::typeName(typeDescriptor_->type()), - functionName, - __FILE__, __LINE__ - ); - } - - value_ = dictEntry.value_; - - if (typeDescriptor_->type() == Type_List) - { - clearSubElements(); - - for - ( - DLList::const_iterator - dictEntryIter = dictEntry.subElements_.begin(); - dictEntryIter != dictEntry.subElements_.end(); - ++dictEntryIter - ) - { - IDictionaryEntryImpl* pSubEntry = new IDictionaryEntryImpl - ( - *dictEntryIter() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create IDictionaryEntryImpl object for " - + word(typeDescriptor_->name()), - functionName, - __FILE__, __LINE__ - ); - } - - subElements_.append(pSubEntry); - } - - if (listTokenPtr_) - { - delete listTokenPtr_; - listTokenPtr_ = NULL; - } - - if (dictEntry.listTokenPtr_) - { - listTokenPtr_ = new token(*dictEntry.listTokenPtr_); - } - } - else - { - if (subElements_.size() != dictEntry.subElements_.size()) - { - throw FoamXError - ( - E_INVALID_ARG, - "Number of sub-elements in argument " - + word(name(dictEntry.subElements_.size())) - + " does not match the number in this of " - + word(name(subElements_.size())), - functionName, - __FILE__, __LINE__ - ); - } - - DLList::iterator iter = - subElements_.begin(); - - DLList::const_iterator dictEntryIter = - dictEntry.subElements_.begin(); - - for - ( - ; - iter != subElements_.end() - && dictEntryIter != dictEntry.subElements_.end(); - ++iter, ++dictEntryIter - ) - { - *iter() = *dictEntryIter(); - } - - if (typeDescriptor_->type() == Type_Selection) - { - selection_ = dictEntry.selection_; - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IDictionaryEntryImpl::operator=(IDictionaryEntry_ptr dictEntryPtr) -{ - static const char* functionName = - "FoamX::IDictionaryEntryImpl::operator=(IDictionaryEntry_ptr)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (typeDescriptor_->type() != dictEntryPtr->typeDescriptor()->type()) - { - throw FoamXError - ( - E_INVALID_ARG, - "Type of argument " - + FoamXTypes::typeName(dictEntryPtr->typeDescriptor()->type()) - + " does not match this type " - + FoamXTypes::typeName(typeDescriptor_->type()), - functionName, - __FILE__, __LINE__ - ); - } - - value_ = *dictEntryPtr->value(); - - if (typeDescriptor_->type() == Type_List) - { - clearSubElements(); - - FoamXServer::DictionaryEntryList* subElmtsPtr = - dictEntryPtr->subElements(); - - for (unsigned int i = 0; i < subElmtsPtr->length(); i++) - { - IDictionaryEntryImpl* pSubEntry = new IDictionaryEntryImpl - ( - (*subElmtsPtr)[i]->typeDescriptor() - ); - - if (pSubEntry == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create IDictionaryEntryImpl object for " - + word((*subElmtsPtr)[i]->typeDescriptor()->name()), - functionName, - __FILE__, __LINE__ - ); - } - - *pSubEntry = (*subElmtsPtr)[i]; - - subElements_.append(pSubEntry); - } - } - else - { - FoamXServer::DictionaryEntryList* subElmtsPtr = - dictEntryPtr->subElements(); - - if (subElements_.size() != label(subElmtsPtr->length())) - { - throw FoamXError - ( - E_INVALID_ARG, - "Number of sub-elements in argument " - + word(name(label(subElmtsPtr->length()))) - + " does not match the number in this of " - + word(name(subElements_.size())), - functionName, - __FILE__, __LINE__ - ); - } - - label i = 0; - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - *iter() = (*subElmtsPtr)[i++]; - } - - if (typeDescriptor_->type() == Type_Selection) - { - selection_ = dictEntryPtr->selection(); - } - } - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.H deleted file mode 100644 index fc5b6779f4..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IDictionaryEntryImpl.H +++ /dev/null @@ -1,224 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IDictionaryEntryImpl - -Description - -SourceFiles - IDictionaryEntryImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IDictionaryEntryImpl_H -#define IDictionaryEntryImpl_H - -// Foam header files. -#include "List.H" -#include "DLList.H" -#include "Istream.H" -#include "entry.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "FoamXAny.H" -#include "DictionaryWriter.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class ITypeDescriptorImpl; - -/*---------------------------------------------------------------------------*\ - Class IDictionaryEntryImpl Declaration -\*---------------------------------------------------------------------------*/ - -class IDictionaryEntryImpl -: - public POA_FoamXServer::IDictionaryEntry, - public PortableServer::RefCountServantBase -{ - -protected: - - // Private data - - //- Type descriptor of this entry. - FoamXServer::ITypeDescriptor_var typeDescriptor_; - - //- Modified flag. - CORBA::Boolean modified_; - - //- Value of this entry for non-compound types. - FoamXAny value_; - - //- Doubly linked list of sub-elements. - Foam::DLList subElements_; - - //- Pointer to hold the list token for large lists - Foam::token* listTokenPtr_; - - //- Current selection - label selection_; - - - // Private member functions. - - void clearSubElements(); - - template - void expandPrimitiveList(); - - template - void expandFixedListList(); - - void expandList(); - - void bindType - ( - FoamXServer::ITypeDescriptor_ptr typeDesc - ); - - -public: - - // Constructors - - //- Construct default for given type descriptor - IDictionaryEntryImpl(FoamXServer::ITypeDescriptor_ptr typeDesc); - - //- Construct as copy - IDictionaryEntryImpl(IDictionaryEntryImpl&); - - - // Destructor - - virtual ~IDictionaryEntryImpl(); - - - // Member Functions - - virtual FoamXServer::ITypeDescriptor_ptr typeDescriptor(); - - - // Non-compound type functions. - - virtual FoamXServer::FoamXAny* value(); - virtual void value(const FoamXServer::FoamXAny& newValue); - virtual void setValue(const FoamXServer::FoamXAny& newValue); - - - // Compound type functions. - - const Foam::DLList& subElementPtrs() const - { - return subElements_; - } - - virtual FoamXServer::DictionaryEntryList* subElements(); - virtual CORBA::Long nSubElements(); - virtual CORBA::Boolean packedList(); - - // Dictionary type functions. - -// virtual CORBA::Boolean found(const char* entryName) const; -// virtual FoamXServer::DictionaryEntry* lookup -// ( -// const char* entryName -// ) const; -// virtual FoamXServer::DictionaryEntry* subDict -// ( -// const char* entryName -// ) const; - - - // Selection type functions. - - virtual CORBA::Long selection(); - virtual void selection(CORBA::Long); - - - // List type functions. - - virtual void addElement - ( - FoamXServer::IDictionaryEntry_out subEntry - ); - - virtual void removeElement - ( - FoamXServer::IDictionaryEntry_ptr subEntry - ); - - - // Recursive state functions. - - virtual void validate(); - virtual CORBA::Boolean modified(); - - - // Persistence. - - void load(const Foam::entry&); - void load(const Foam::dictionary&, bool allowNonOptional = false); - virtual void load(Foam::Istream&); - - //- Save top-level dictionary. - virtual void save(); - - void save - ( - DictionaryWriter& dictWriter, - bool dictEntry = false - ); - - - //- Method to allow field type descriptors to be late-bound. - void bindFieldType - ( - FoamXServer::ITypeDescriptor_ptr typeDesc - ); - - - // Member operators - - void operator=(const IDictionaryEntryImpl&); - void operator=(IDictionaryEntry_ptr); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.C deleted file mode 100644 index e5cda769c8..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.C +++ /dev/null @@ -1,360 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "IGeometricFieldDescriptorImpl.H" -#include "ITypeDescriptorImpl.H" -#include "IGeometryDescriptorImpl.H" -#include "DimensionSet.H" -#include "LogEntry.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometricFieldDescriptorImpl::IGeometricFieldDescriptorImpl -( - const char* fieldName -) -: - fieldName_(fieldName), - fieldDescription_(fieldName), - typeDescriptor_(NULL), - geometryDescriptor_(NULL) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::IGeometricFieldDescriptorImpl" - "(const char* fieldName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Initialise dimension set. - dimensionSet_ == dimless; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometricFieldDescriptorImpl::IGeometricFieldDescriptorImpl -( - const word& fieldName, - const dictionary& fieldDict, - const ObjRefHashTable& foamTypes, - const ObjRefHashTable& geometryTypes -) -: - fieldName_(fieldName), - typeDescriptor_(NULL), - geometryDescriptor_(NULL) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::IGeometricFieldDescriptorImpl" - "(const word& fieldName, const dictionary& fieldDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Extract the field type name and description. - fieldDict.lookup("description") >> fieldDescription_; - fieldDict.lookup("fieldType") >> fieldTypeName_; - fieldDict.lookup("geometryType") >> geometryTypeName_; - - // Extract the dimension set. - dimensionSet_ == dimensionSet(fieldDict.lookup("dimensions")); - - // Get the field descriptor for the specified field type. - if (!foamTypes.found(fieldTypeName_)) - { - throw FoamXError - ( - E_FAIL, - "Type descriptor not found for " - + fieldTypeName_, - functionName, - __FILE__, __LINE__ - ); - } - typeDescriptor_ = foamTypes.find(fieldTypeName_)(); - - - // Get the field descriptor for the specified field type. - word fieldName = fieldTypeName_ + "Field"; - if (!foamTypes.found(fieldName)) - { - throw FoamXError - ( - E_FAIL, - "Type descriptor not found for field type " - + fieldName, - functionName, - __FILE__, __LINE__ - ); - } - fieldTypeDescriptor_ = foamTypes.find(fieldName)(); - - - // Get the geometry descriptor for the specified geometry type. - if (!geometryTypes.found(geometryTypeName_)) - { - throw FoamXError - ( - E_FAIL, - "Geometry descriptor not found for specified geometry type " - + geometryTypeName_, - functionName, - __FILE__, __LINE__ - ); - } - geometryDescriptor_ = geometryTypes.find(geometryTypeName_)(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometricFieldDescriptorImpl::~IGeometricFieldDescriptorImpl() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::" - "~IGeometricFieldDescriptorImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptor_ptr -FoamX::IGeometricFieldDescriptorImpl::typeDescriptor() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::typeDescriptor()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - ITypeDescriptor_ptr pTypeDesc = ITypeDescriptor::_nil(); - - if (typeDescriptor_ != NULL) - { - // Return a duplictate reference to the TypeDescriptor object. - pTypeDesc = typeDescriptor_->_this(); - } - - return pTypeDesc; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptor_ptr -FoamX::IGeometricFieldDescriptorImpl::fieldTypeDescriptor() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::fieldTypeDescriptor()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - ITypeDescriptor_ptr pTypeDesc = ITypeDescriptor::_nil(); - - if (typeDescriptor_ != NULL) - { - // Return a duplictate reference to the TypeDescriptor object. - pTypeDesc = fieldTypeDescriptor_->_this(); - } - - return pTypeDesc; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometryDescriptor_ptr -FoamX::IGeometricFieldDescriptorImpl::geometryDescriptor() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::geometryDescriptor()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - IGeometryDescriptor_ptr pGeomDesc = IGeometryDescriptor::_nil(); - - if (geometryDescriptor_ != NULL) - { - // Return a duplictate reference to the GeometryDescriptor object. - pGeomDesc = geometryDescriptor_->_this(); - } - - return pGeomDesc; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometricFieldDescriptorImpl::name() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::name()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(fieldName_.c_str()); -} - -void FoamX::IGeometricFieldDescriptorImpl::name(const char* newName) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::name(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fieldName_ = newName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometricFieldDescriptorImpl::description() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::description()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(fieldDescription_.c_str()); -} - -void FoamX::IGeometricFieldDescriptorImpl::description -( - const char* newDescription -) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::" - "description(const char* newDescription)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fieldDescription_ = newDescription; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometricFieldDescriptorImpl::fieldTypeName() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::fieldTypeName()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(fieldTypeName_.c_str()); -} - -void FoamX::IGeometricFieldDescriptorImpl::fieldTypeName(const char* newName) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::" - "fieldTypeName(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fieldTypeName_ = newName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometricFieldDescriptorImpl::geometryTypeName() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::geometryTypeName()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(geometryTypeName_.c_str()); -} - -void FoamX::IGeometricFieldDescriptorImpl::geometryTypeName(const char* newName) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::" - "geometryTypeName(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - geometryTypeName_ = newName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::DimensionSet FoamX::IGeometricFieldDescriptorImpl::dimensions() -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::dimensions()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return dimensionSet_; -} - -void FoamX::IGeometricFieldDescriptorImpl::dimensions -( - const DimensionSet& newDimSet -) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::dimensions" - "(const DimensionSet& newDimSet)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - dimensionSet_ = newDimSet; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometricFieldDescriptorImpl::save(DictionaryWriter& dict) -{ - static const char* functionName = - "FoamX::IGeometricFieldDescriptorImpl::save(DictionaryWriter& dict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - - // Save this field information to the dictionary. - dict.startSubDict(fieldName_); - - dict.writeEntry("description", fieldDescription_); - dict.writeEntry("fieldType", fieldTypeName_); - dict.writeEntry("geometryType", geometryTypeName_); - dict.writeEntry("dimensions", dimensionSet_); - - dict.endSubDict(); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.H deleted file mode 100644 index 4b57909188..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldDescriptorImpl.H +++ /dev/null @@ -1,165 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IGeometricFieldDescriptorImpl - -Description - -SourceFiles - IGeometricFieldDescriptorImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IGeometricFieldDescriptorImpl_H -#define IGeometricFieldDescriptorImpl_H - -// Foam header files. -#include "IDLList.H" -#include "dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "DictionaryWriter.H" -#include "ObjRefHashTable.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class ITypeDescriptorImpl; -class IGeometryDescriptorImpl; - -/*---------------------------------------------------------------------------*\ - Class IGeometricFieldDescriptorImpl Declaration -\*---------------------------------------------------------------------------*/ - -class IGeometricFieldDescriptorImpl -: - public POA_FoamXServer::CaseServer::IGeometricFieldDescriptor, - public PortableServer::RefCountServantBase, - public IDLList::link -{ - // Private data - - //- Field name (eg, "p"). - Foam::word fieldName_; - - //- Field description (eg, "Pressure"). - Foam::string fieldDescription_; - - //- Field dimensions. - FoamXServer::DimensionSet dimensionSet_; - - //- Field type name (eg, "scalar"). - Foam::word fieldTypeName_; - - //- Reference to type descriptor. - ITypeDescriptorImpl* typeDescriptor_; - - //- Reference to type descriptor for the field. - ITypeDescriptorImpl* fieldTypeDescriptor_; - - //- Geometry type name (eg, "vol"). - Foam::word geometryTypeName_; - - //- Reference tp geometry descriptor for this field. - IGeometryDescriptorImpl* geometryDescriptor_; - - -public: - - // Constructors - - IGeometricFieldDescriptorImpl(const char* fieldName); - - IGeometricFieldDescriptorImpl - ( - const Foam::word& fieldName, - const Foam::dictionary& fieldDict, - const ObjRefHashTable& foamTypes, - const ObjRefHashTable& geometryTypes - ); - - - // Destructor - - virtual ~IGeometricFieldDescriptorImpl(); - - - // Member Functions - - // Foam access functions - - //- Keyword used by Dictionary - const word& keyword() const - { - return fieldName_; - } - - - // FoamServer access functions - - virtual FoamXServer::ITypeDescriptor_ptr typeDescriptor(); - virtual FoamXServer::ITypeDescriptor_ptr fieldTypeDescriptor(); - - virtual FoamXServer::CaseServer::IGeometryDescriptor_ptr - geometryDescriptor(); - - virtual char* name(); - virtual void name(const char*); - - virtual char* description(); - virtual void description(const char*); - - virtual char* fieldTypeName(); - virtual void fieldTypeName(const char*); - - virtual char* geometryTypeName(); - virtual void geometryTypeName(const char*); - - virtual FoamXServer::DimensionSet dimensions(); - virtual void dimensions - ( - const FoamXServer::DimensionSet& - ); - - - //- Persist to file. - void save(DictionaryWriter& dict); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.C deleted file mode 100644 index 511ab1e5d7..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.C +++ /dev/null @@ -1,675 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files -#include "OSspecific.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "IGeometricFieldImpl.H" -#include "IDictionaryEntryImpl.H" -#include "LogEntry.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometricFieldImpl::IGeometricFieldImpl -( - IGeometricFieldDescriptor_ptr fieldDescriptor, - IFoamProperties_ptr foamProperties -) -: - internalFieldValue_(NULL) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::IGeometricFieldImpl" - "(IGeometricFieldDescriptor_ptr fieldDescriptor, " - "IFoamProperties_ptr foamProperties)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Take references to the FieldDescriptor and FoamProperties objects. - if (CORBA::is_nil(foamProperties)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid FoamProperties reference.", - functionName, - __FILE__, __LINE__ - ); - } - if (CORBA::is_nil(fieldDescriptor)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid FieldDescriptor reference.", - functionName, - __FILE__, __LINE__ - ); - } - foamProperties_ = IFoamProperties::_duplicate(foamProperties); - fieldDescriptor_ = IGeometricFieldDescriptor::_duplicate - ( - fieldDescriptor - ); - - // Get the field name. - fieldName_ = fieldDescriptor_->name(); - - // Create the internal field value. - ITypeDescriptor_var fieldType = fieldDescriptor_->fieldTypeDescriptor(); - internalFieldValue_ = new IDictionaryEntryImpl(fieldType); - if (internalFieldValue_ == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create internal field value " - "dictionary entry object.", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometricFieldImpl::~IGeometricFieldImpl() -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::~IGeometricFieldImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Release internal value and reference level value dictionary entry objects - if (internalFieldValue_ != NULL) - { - internalFieldValue_->_remove_ref(); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometricFieldImpl::name() -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::name()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Get name from fieldDescriptor object. - if (!CORBA::is_nil(fieldDescriptor_)) - { - return fieldDescriptor_->name(); - } - else - { - return CORBA::string_dup(""); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometricFieldImpl::getInternalFieldValue -( - IDictionaryEntry_out internalFieldValue -) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::getInternalFieldValue" - "(IDictionaryEntry_out internalFieldValue)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (internalFieldValue_ == NULL) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid internal field value object.", - functionName, - __FILE__, __LINE__ - ); - } - - internalFieldValue = internalFieldValue_->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometricFieldImpl::getPatchFieldParameters -( - const char* patchName, - IDictionaryEntry_out patchFields -) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::getPatchFieldParameters" - "(const char* patchName, IDictionaryEntry_out patchFields)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // See if this patch requires extra parameters. - if - ( - patchFields_.found(patchName) - && patchFields_[patchName]->subElementPtrs().size() > 1 - ) - { - patchFields = patchFields_[patchName]->_this(); - } - else - { - patchFields = IDictionaryEntry::_nil(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Set the patch field type for the specified patch. Note that the patch -// field type parameter is the true Foam name and not the patch -// field descriptor key. - -void FoamX::IGeometricFieldImpl::addPatch -( - const char* patchName, - const char* patchFieldType -) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::addPatch" - "(const char* patchName, const char* patchFieldType)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Adding patch " << patchName - << " to field " << fieldName_ << endl; - - // Check patch name. - if (patchFieldNames_.found(patchName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Lookup this type and see if additional parameters are required. - ITypeDescriptor_var pfDesc; - foamProperties_->findPatchFieldType(patchFieldType, pfDesc.out()); - - // Make sure that the patch field type name is valid. - if (CORBA::is_nil(pfDesc)) - { - throw FoamXError - ( - E_FAIL, - "Invalid patch field type name '" + word(patchFieldType) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Set patch field type. - patchFieldNames_.insert(patchName, patchFieldType); - - // Get the type descriptor for the extra parameters. May be nil. - if (!CORBA::is_nil(pfDesc)) - { - // Create a default DictionaryEntry object. - IDictionaryEntryImpl* patchDictEntryPtr = new IDictionaryEntryImpl - ( - pfDesc - ); - - if (patchDictEntryPtr == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create IDictionaryEntryImpl object.", - functionName, - __FILE__, __LINE__ - ); - } - - // Bind the field type descriptor to the parameter - // dictionary entry object. - patchDictEntryPtr->bindFieldType - ( - fieldDescriptor_->fieldTypeDescriptor() - ); - - // Add to map. - patchFields_.insert(patchName, patchDictEntryPtr); - } - - log << "Added patch " << patchName - << " to field " << fieldName_ << endl; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometricFieldImpl::deletePatch(const char* patchName) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::deletePatch(const char* patchName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check patch name. - if (!patchFieldNames_.found(patchName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch name.", - functionName, - __FILE__, __LINE__ - ); - } - - // Remove from patch field type map. - patchFieldNames_.erase(patchFieldNames_.find(patchName)); - - // Remove from patch field parameter map if necessary. - if (patchFields_.found(patchName)) - { - HashTable::iterator iter = - patchFields_.find(patchName); - patchFields_.erase(iter); // Releases reference. - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometricFieldImpl::setPatchFieldType -( - const char* patchName, - const char* patchFieldType -) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::setPatchFieldType" - "(const char* patchName, const char* patchFieldType)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Set patch field type if it has changed. - if - ( - !patchFieldNames_.found(patchName) - || patchFieldType != patchFieldNames_.find(patchName)() - ) - { - deletePatch(patchName); - addPatch(patchName, patchFieldType); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::IGeometricFieldImpl::modified() -{ - static const char* functionName = - "FoamX::ICaseServerImpl::modified()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (internalFieldValue_->modified()) return true; - - for - ( - ObjRefHashTable::iterator iter = - patchFields_.begin(); - iter != patchFields_.end(); - ++iter - ) - { - if (iter()->modified()) return true; - } - } - CATCH_ALL(functionName); - - return false; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometricFieldImpl::load(const dictionary& fieldDict) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::load(const dictionary& fieldDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "loading field " << fieldName_ << endl; - - log << "Reading " << fieldDict.name() - << " start line " << fieldDict.startLineNumber() - << " end line " << fieldDict.endLineNumber() << endl; - - // Make sure the field dictionary contains the required entries. - if - ( - !fieldDict.found("internalField") - || !fieldDict.found("boundaryField") - ) - { - throw FoamXError - ( - E_FAIL, - "Malformed field dictionary.", - functionName, - __FILE__, __LINE__ - ); - } - - // Read the internal field value. - internalFieldValue_->load(fieldDict.lookup("internalField")); - - // Open boundary field dictionary. - const dictionary& boundaryFieldDict(fieldDict.subDict("boundaryField")); - - // Loop over all defined patch names and read the patch field values. - wordList patchNames = patchFieldNames_.toc(); - forAll(patchNames, i) - { - word patchName(patchNames[i]); - - if (!boundaryFieldDict.found(patchName)) - { - // Patch dictionary not found. Bugger. - log << "Warning : Patch dictionary '" << patchName - << "' not found in field dictionary '" << fieldName_ - << "'." << endl; - - WarningIn(functionName) - << "Patch dictionary '" << patchName - << "' not found in field dictionary '" << fieldName_ - << "'." << endl; - continue; - } - - // Open patch dictionary. - const dictionary& patchDict(boundaryFieldDict.subDict(patchName)); - - // Make sure the patch dictionary contains the required entries. - if (!patchDict.found("type")) - { - throw FoamXError - ( - E_FAIL, - "Patch field type not specified for patch '" + patchName - + "' in field dictionary '" + fieldName_ + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Read the patch field type. This is the actual type not the key. - word patchFieldType(patchDict.lookup("type")); - - // Get the PatchFieldDescriptor object. Search by type. - ITypeDescriptor_var pfDesc; - foamProperties_->findPatchFieldType - ( - patchFieldType.c_str(), - pfDesc.out() - ); - - // Make sure that the patch field type name is valid. - if (CORBA::is_nil(pfDesc)) - { - log << "Warning : Invalid patch field type '" << patchFieldType - << "' for patch '" << patchName - << "' in field dictionary '" << fieldName_ << "'." - << endl; - - WarningIn(functionName) - << "Invalid patch field type '" << patchFieldType - << "' for patch '" << patchName - << "' in field dictionary '" << fieldName_ << "'." - << endl; - - continue; - } - - // Check that the patch field type is valid for the boundary type - // specified for this patch. - word boundaryPatchFieldType = patchFieldNames_[patchName]; - if (patchFieldType != boundaryPatchFieldType) - { - log << "Warning : Incorrect patch field type '" - << patchFieldType << "' for patch '" << patchName << "'." - << endl << " Boundary condition specifies '" - << boundaryPatchFieldType - << "' for field '" << fieldName_ << "'." - << endl; - - WarningIn(functionName) - << "Incorrect patch field type '" - << patchFieldType << "' for patch '" << patchName << "'." - << endl << " Boundary condition specifies '" - << boundaryPatchFieldType - << "' for field '" << fieldName_ << "'." - << endl; - } - - // Set the patch field type. Poss over-ride default? - patchFieldNames_[patchName] = patchFieldType; - - // Release any previous patch field parameter object. - if (patchFields_.found(patchName)) - { - HashTable::iterator iter = - patchFields_.find(patchName); - patchFields_.erase(iter); - } - - // Get the type descriptor for the extra parameters. May be nil. - if (!CORBA::is_nil(pfDesc)) - { - // Create and initialise a new IDictionaryEntryImpl - // object for the parameters. - IDictionaryEntryImpl* patchDictEntryPtr = - new IDictionaryEntryImpl - ( - pfDesc - ); - if (patchDictEntryPtr == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create patch field parameter " - "DictionaryEntry Object.", - functionName, - __FILE__, __LINE__ - ); - } - - // Bind the field type descriptor to the parameter - // dictionary entry object. - patchDictEntryPtr->bindFieldType - ( - fieldDescriptor_->fieldTypeDescriptor() - ); - - // Load values from dictionary. - // The extra parameters are defined as dictionary - // entries. Pass the entire patch dictionary through. - // Tolerate non-existent dictionary entries. - // Any missing parameters will get a default value. - - patchDictEntryPtr->load - ( - boundaryFieldDict.subDict(patchName), - true - ); - - // Add to map. - patchFields_.insert(patchName, patchDictEntryPtr); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometricFieldImpl::save -( - DictionaryWriter& dictWriter, - const wordList& patchNames -) -{ - static const char* functionName = - "FoamX::IGeometricFieldImpl::save" - "(DictionaryWriter& dictWriter, const wordList& patchNames)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Validate the dictionary entry items. - internalFieldValue_->validate(); - - // Construct class name (eg, "volScalarField"). - word className - ( - word(fieldDescriptor_->geometryDescriptor()->name()) - & word(fieldDescriptor_->fieldTypeDescriptor()->name()) - ); - - dictWriter.writeHeader - ( - "Field Dictionary", - className - ); - - dictWriter.writeEndl(); - - // Get field dimensions from field descriptor. - DimensionSet fieldDimension = fieldDescriptor_->dimensions(); - dictWriter.writeEntry("dimensions", fieldDimension); - dictWriter.writeEndl(); - - // Write internal field and reference values. - dictWriter.writeKeyword("internalField"); - internalFieldValue_->save(dictWriter, false); - dictWriter.endEntry(); - dictWriter.writeEndl(); - - // Open boundary field sub-dictionary. - dictWriter.startSubDict("boundaryField"); - - // Loop over all patchs. - forAll(patchNames, i) - { - dictWriter.writeKeyword(patchNames[i]); - - // Write value only. - patchFields_[patchNames[i]]->save(dictWriter, false); - dictWriter.writeEndl(); - - if (i < patchNames.size()-1) - { - dictWriter.writeEndl(); - } - } - - dictWriter.endSubDict(); - dictWriter.writeEndl(); - dictWriter.writeEndBar(); - } - catch (FoamXError& ex) - { - // Save failed. Remove the duff file. - if (exists(dictWriter.pathName())) - { - rm(dictWriter.pathName()); - } - - // Bounce exception up to client. - throw ex; - } - catch (...) - { - // Save failed. Remove the duff file. - if (exists(dictWriter.pathName())) - { - rm(dictWriter.pathName()); - } - - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.H deleted file mode 100644 index 81b40c52ab..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometricFieldImpl.H +++ /dev/null @@ -1,161 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IGeometricFieldDescriptorImpl - -Description - -SourceFiles - IGeometricFieldImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IGeometricFieldImpl_H -#define IGeometricFieldImpl_H - -// Foam header files. -#include "fileName.H" -#include "dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "ObjRefHashTable.H" -#include "DictionaryWriter.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class IDictionaryEntryImpl; - -/*---------------------------------------------------------------------------*\ - Class IGeometricFieldImpl Declaration -\*---------------------------------------------------------------------------*/ - -class IGeometricFieldImpl -: - public POA_FoamXServer::CaseServer::IGeometricField, - public PortableServer::RefCountServantBase -{ - // Private data - - //- Field name. No, really. - Foam::word fieldName_; - - //- Reference to FoamProperties object. Used for patchField information. - FoamXServer::CaseServer::IFoamProperties_var foamProperties_; - - //- Reference to FieldDescriptor object. - FoamXServer::CaseServer::IGeometricFieldDescriptor_var fieldDescriptor_; - - //- Reference to internal field value object. - IDictionaryEntryImpl* internalFieldValue_; - - //- Map of patch name to patch field types. - Foam::HashTable patchFieldNames_; - - //- Map of patch name to patch field parameter values. - ObjRefHashTable patchFields_; - - -public: - - // Constructors - - IGeometricFieldImpl - ( - FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr - fieldDescriptor, - FoamXServer::CaseServer::IFoamProperties_ptr foamProperties - ); - - - // Destructor - - virtual ~IGeometricFieldImpl(); - - - // Member Functions - - virtual char* name(); - - virtual void getInternalFieldValue - ( - FoamXServer::IDictionaryEntry_out internalFieldValue - ); - - virtual void getPatchFieldParameters - ( - const char* patchName, - FoamXServer::IDictionaryEntry_out patchFieldParams - ); - - - // Set patch field type for a particular patch. - - virtual void addPatch - ( - const char* patchName, - const char* patchFieldType - ); - - virtual void deletePatch(const char* patchName); - - virtual void setPatchFieldType - ( - const char* patchName, - const char* patchFieldType - ); - - - // Recursive state functions. - - virtual CORBA::Boolean modified(); - - - // Persistence. - - void load(const Foam::dictionary& fieldDict); - - void save - ( - DictionaryWriter& dictWriter, - const Foam::wordList& patchNames - ); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.C deleted file mode 100644 index 13d013889b..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.C +++ /dev/null @@ -1,210 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "IGeometryDescriptorImpl.H" -#include "LogEntry.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometryDescriptorImpl::IGeometryDescriptorImpl -( - const word& geometryName -) -: - name_(geometryName), - displayName_(geometryName), - description_(geometryName) -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::IGeometryDescriptorImpl" - "(const char* geometryName)"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometryDescriptorImpl::IGeometryDescriptorImpl -( - const word& geometryName, - const dictionary& outerDict -) -: - name_(geometryName) -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::IGeometryDescriptorImpl" - "(const char* geometryName, dictionary& outerDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Make sure the dictionary contains the geometry definition. - if (!outerDict.found(geometryName)) - { - throw FoamXError - ( - E_FAIL, - "Geometry definition dictionary '" + name_ + "' not found.", - functionName, - __FILE__, __LINE__ - ); - } - - const dictionary& geomDict(outerDict.subDict(geometryName)); - - // Check that the dictionary has the minimum required information. - if - ( - !geomDict.found("displayName") - || !geomDict.found("description")) - { - throw FoamXError - ( - E_FAIL, - "Malformed geometry definition dictionary for geometry type '" - + name_ + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the patch field properties. - geomDict.lookup("displayName")>> displayName_; - geomDict.lookup("description")>> description_; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IGeometryDescriptorImpl::~IGeometryDescriptorImpl() -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::~IGeometryDescriptorImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometryDescriptorImpl::name() -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::name()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(name_.c_str()); -} - -void FoamX::IGeometryDescriptorImpl::name(const char* newName) -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::name(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - name_ = newName; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometryDescriptorImpl::displayName() -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::displayName()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(displayName_.c_str()); -} - -void FoamX::IGeometryDescriptorImpl::displayName(const char* newName) -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::displayName(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - displayName_ = newName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IGeometryDescriptorImpl::description() -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::description()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(description_.c_str()); -} - -void FoamX::IGeometryDescriptorImpl::description(const char* newDescription) -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::description" - "(const char* newDescription)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - description_ = newDescription; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IGeometryDescriptorImpl::save(DictionaryWriter& dict) -{ - static const char* functionName = - "FoamX::IGeometryDescriptorImpl::save(DictionaryWriter& dict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Save this patch information to the dictionary. - dict.startSubDict(name_); - - dict.writeEntry("displayName", displayName_); - dict.writeEntry("description", description_); - - dict.endSubDict(); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.H deleted file mode 100644 index 6034d24668..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IGeometryDescriptorImpl.H +++ /dev/null @@ -1,112 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IPatchDescriptorImpl - -Description - -SourceFiles - IGeometryDescriptorImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IGeometryDescriptorImpl_H -#define IGeometryDescriptorImpl_H - -// Foam header files. -#include "word.H" -#include "string.H" -#include "dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "DictionaryWriter.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class IGeometryDescriptorImpl Declaration -\*---------------------------------------------------------------------------*/ - -class IGeometryDescriptorImpl -: - public POA_FoamXServer::CaseServer::IGeometryDescriptor, - public PortableServer::RefCountServantBase -{ - // Private data - - Foam::word name_; - Foam::string displayName_; - Foam::string description_; - - -public: - - // Constructors - - IGeometryDescriptorImpl(const word& geometryName); - - IGeometryDescriptorImpl - ( - const word& geometryName, - const dictionary& outerDict - ); - - - // Destructor - - virtual ~IGeometryDescriptorImpl(); - - - // Member Functions - - // Properties common to all types. - - virtual char* name(); - virtual void name(const char*); - virtual char* displayName(); - virtual void displayName(const char*); - virtual char* description(); - virtual void description(const char*); - - - //- Persist to file. - void save(DictionaryWriter& dict); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.C deleted file mode 100644 index e3dfecb8c6..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.C +++ /dev/null @@ -1,208 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "IPatchDescriptorImpl.H" -#include "ITypeDescriptorImpl.H" -#include "LogEntry.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IPatchDescriptorImpl::IPatchDescriptorImpl(const word& patchName) -: - name_(patchName), - displayName_(patchName), - description_(patchName) -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::IPatchDescriptorImpl" - "(const char* patchName)"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IPatchDescriptorImpl::IPatchDescriptorImpl -( - const word& patchName, - const dictionary& outerDict -) -: - name_(patchName) -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::IPatchDescriptorImpl" - "(const char* patchName, dictionary& outerDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Make sure the dictionary contains the patch field definition. - if (!outerDict.found(patchName)) - { - throw FoamXError - ( - E_FAIL, - "Patch definition dictionary '" + name_ + "' not found.", - functionName, - __FILE__, __LINE__ - ); - } - - const dictionary& patchDict(outerDict.subDict(patchName)); - - // Check that the dictionary has the minimum required information. - if - ( - !patchDict.found("displayName") - || !patchDict.found("description") - ) - { - throw FoamXError - ( - E_FAIL, - "Malformed patch definition dictionary for patch type '" - + name_ + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the patch field properties. - patchDict.lookup("displayName")>> displayName_; - patchDict.lookup("description")>> description_; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IPatchDescriptorImpl::~IPatchDescriptorImpl() -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::~IPatchDescriptorImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IPatchDescriptorImpl::name() -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::name()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(name_.c_str()); -} - -void FoamX::IPatchDescriptorImpl::name(const char* newName) -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::name(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - name_ = newName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IPatchDescriptorImpl::displayName() -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::displayName()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(displayName_.c_str()); -} - -void FoamX::IPatchDescriptorImpl::displayName(const char* newName) -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::displayName(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - displayName_ = newName; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::IPatchDescriptorImpl::description() -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::description()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate string and return. - return CORBA::string_dup(description_.c_str()); -} - -void FoamX::IPatchDescriptorImpl::description(const char* newDescription) -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::description(const char* newDescription)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - description_ = newDescription; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPatchDescriptorImpl::save(DictionaryWriter& dict) -{ - static const char* functionName = - "FoamX::IPatchDescriptorImpl::save(DictionaryWriter& dict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - - // Save this patch information to the dictionary. - dict.startSubDict(name_); - - dict.writeEntry("displayName", displayName_); - dict.writeEntry("description", description_); - - dict.endSubDict(); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.H deleted file mode 100644 index c25f1e938d..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchDescriptorImpl.H +++ /dev/null @@ -1,110 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IPatchDescriptorImpl - -Description - -SourceFiles - IPatchDescriptorImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IPatchDescriptorImpl_H -#define IPatchDescriptorImpl_H - -// Foam header files. - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "FoamXWordList.H" -#include "DictionaryWriter.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class IPatchDescriptorImpl Declaration -\*---------------------------------------------------------------------------*/ - -class IPatchDescriptorImpl -: - public POA_FoamXServer::CaseServer::IPatchDescriptor, - public PortableServer::RefCountServantBase -{ - // Private data - - Foam::word name_; - Foam::string displayName_; - Foam::string description_; - - -public: - - // Constructors - - IPatchDescriptorImpl(const word& patchName); - - IPatchDescriptorImpl - ( - const word& patchName, - const Foam::dictionary& outerDict - ); - - - // Destructor - - virtual ~IPatchDescriptorImpl(); - - - // Member Functions - - // Properties common to all types. - - virtual char* name(); - virtual void name(const char*); - virtual char* displayName(); - virtual void displayName(const char*); - virtual char* description(); - virtual void description(const char*); - - - //- Persist to file. - void save(DictionaryWriter& dict); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchPhysicalTypeDescriptorImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchPhysicalTypeDescriptorImpl.C deleted file mode 100644 index ef3b752684..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPatchPhysicalTypeDescriptorImpl.C +++ /dev/null @@ -1,487 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files -#include "FoamX.H" -#include "FoamXErrors.H" -#include "IPatchPhysicalTypeDescriptorImpl.H" -#include "LogEntry.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IPatchPhysicalTypeDescriptorImpl::IPatchPhysicalTypeDescriptorImpl -( - const word& patchPhysicalTypeName -) -: - name_(patchPhysicalTypeName), - displayName_(patchPhysicalTypeName), - description_(patchPhysicalTypeName + " boundary condition"), - patchType_("patch"), - parentType_("") -{ - static const char* functionName = - "FoamX::IPatchPhysicalTypeDescriptorImpl::" - "IPatchPhysicalTypeDescriptorImpl" - "(const char* patchPhysicalTypeName)"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IPatchPhysicalTypeDescriptorImpl::IPatchPhysicalTypeDescriptorImpl -( - const word& patchPhysicalTypeName, - const wordList& fieldList -) -: - name_(patchPhysicalTypeName), - displayName_(patchPhysicalTypeName), - description_(patchPhysicalTypeName + " boundary condition"), - patchType_(patchPhysicalTypeName), - parentType_("") -{ - static const char* functionName = - "FoamX::IPatchPhysicalTypeDescriptorImpl::" - "IPatchPhysicalTypeDescriptorImpl" - "(const char* patchPhysicalTypeName, const wordList& fieldList)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Get list of fields - patchFieldTypes_.length(fieldList.size()); - - // Loop over all defined fields and determine the patch field types - for (int nField = 0; nField < fieldList.size(); nField++) - { - patchFieldTypes_[nField].name = fieldList[nField].c_str(); - patchFieldTypes_[nField].value = patchPhysicalTypeName.c_str(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -bool FoamX::IPatchPhysicalTypeDescriptorImpl::findParentPatchType -( - word& patchType, - const word& parentType, - const dictionary& patchPhysicalTypesDict -) const -{ - if (patchPhysicalTypesDict.found(parentType)) - { - const dictionary& parentPatchPhysicalTypeDict = - patchPhysicalTypesDict.subDict(parentType); - - if (parentPatchPhysicalTypeDict.found("patchType")) - { - parentPatchPhysicalTypeDict.lookup("patchType") >> patchType; - return true; - } - else if (parentPatchPhysicalTypeDict.found("parentType")) - { - return findParentPatchType - ( - patchType, - parentPatchPhysicalTypeDict.lookup("parentType"), - patchPhysicalTypesDict - ); - } - else - { - return false; - } - } - else - { - return false; - } -} - - -bool FoamX::IPatchPhysicalTypeDescriptorImpl::findPatchFieldType -( - word& patchFieldType, - const word& parentType, - const dictionary& patchPhysicalTypesDict, - const dictionary& patchFieldPhysicalTypes -) const -{ - if (patchFieldPhysicalTypes.found(parentType)) - { - patchFieldPhysicalTypes.lookup(parentType) >> patchFieldType; - return true; - } - else if - ( - patchPhysicalTypesDict.found(parentType) - && patchPhysicalTypesDict.subDict(parentType).found("parentType") - ) - { - return findPatchFieldType - ( - patchFieldType, - patchPhysicalTypesDict.subDict(parentType).lookup("parentType"), - patchPhysicalTypesDict, - patchFieldPhysicalTypes - ); - } - else - { - return false; - } -} - - -FoamX::IPatchPhysicalTypeDescriptorImpl::IPatchPhysicalTypeDescriptorImpl -( - const word& patchPhysicalTypeName, - const dictionary& patchPhysicalTypeDict, - const dictionary& patchPhysicalTypesDict, - const dictionary& patchFieldsPhysicalTypesDict, - const wordList& fieldList -) -: - name_(patchPhysicalTypeName), - displayName_(patchPhysicalTypeName), - description_(patchPhysicalTypeName + " boundary condition"), - patchType_("patch"), - parentType_("") -{ - static const char* functionName = - "FoamX::IPatchPhysicalTypeDescriptorImpl::" - "IPatchPhysicalTypeDescriptorImpl" - "(const char* patchPhysicalTypeName, " - "dictionary& patchPhysicalTypeDict, " - "dictionary& patchFieldsPhysicalTypesDict, " - "const wordList& fieldList)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Get the boundary type properties - if (patchPhysicalTypeDict.found("displayName")) - { - patchPhysicalTypeDict.lookup("displayName") >> displayName_; - } - - if (patchPhysicalTypeDict.found("description")) - { - patchPhysicalTypeDict.lookup("description") >> description_; - } - - if (patchPhysicalTypeDict.found("patchType")) - { - patchPhysicalTypeDict.lookup("patchType") >> patchType_; - } - - // Get (optional) parent type - if (patchPhysicalTypeDict.found("parentType")) - { - patchPhysicalTypeDict.lookup("parentType") >> parentType_; - - findParentPatchType - ( - patchType_, - parentType_, - patchPhysicalTypesDict - ); - } - - // Get list of fields - patchFieldTypes_.length(fieldList.size()); - - // Loop over all defined fields and determine the patch field types - for (int nField=0; nField 0) - { - dictWriter.writeEntry("parentType", parentType_); - } - - // Write the patch field types - for (unsigned int i=0; i::link -{ - // Private data - - Foam::word name_; - Foam::string displayName_; - Foam::string description_; - Foam::word patchType_; - Foam::word parentType_; - FoamXServer::StringPairList patchFieldTypes_; - - - // Private member functions - - //- Search back through the parentTypes to find the patchPhysicalType - // for which the patchType is defined - bool findParentPatchType - ( - word& patchType, - const word& parentType, - const dictionary& patchPhysicalTypesDict - ) const; - - //- Search back through the parentTypes to find the patchPhysicalType - // for which this boundary condition for this field is defined - bool findPatchFieldType - ( - word& patchFieldType, - const word& parentType, - const dictionary& patchPhysicalTypesDict, - const dictionary& patchFieldPhysicalTypes - ) const; - - -public: - - // Constructors - - IPatchPhysicalTypeDescriptorImpl - ( - const word& patchPhysicalTypeName - ); - - IPatchPhysicalTypeDescriptorImpl - ( - const word& patchPhysicalTypeName, - const Foam::wordList& fieldList - ); - - IPatchPhysicalTypeDescriptorImpl - ( - const word& patchPhysicalTypeName, - const Foam::dictionary& patchPhysicalTypes, - const dictionary& patchPhysicalTypesDict, - const Foam::dictionary& patchFieldsPhysicalTypesDict, - const Foam::wordList& fieldList - ); - - - // Destructor - - virtual ~IPatchPhysicalTypeDescriptorImpl(); - - - // Member Functions - - // Foam access functions - - //- Keyword used by Dictionary - const word& keyword() const - { - return name_; - } - - - // FoamServer access functions - - virtual char* name(); - virtual void name(const char*); - virtual char* displayName(); - virtual void displayName(const char*); - virtual char* description(); - virtual void description(const char*); - virtual char* patchType(); - virtual void patchType(const char*); - virtual char* parentType(); - virtual void parentType(const char*); - virtual FoamXServer::StringPairList* patchFieldTypes(); - virtual void patchFieldTypes(const FoamXServer::StringPairList&); - - //- Persist to file. - void save(DictionaryWriter& dict); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.C deleted file mode 100644 index 3a81bab6de..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.C +++ /dev/null @@ -1,1534 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "IFstream.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "IPropertiesImpl.H" -#include "ITypeDescriptorImpl.H" -#include "IApplicationImpl.H" -#include "IDictionaryEntryImpl.H" -#include "RootDictionary.H" -#include "IGeometryDescriptorImpl.H" -#include "IPatchDescriptorImpl.H" -#include "ITypeDescriptorImpl.H" -#include "LogEntry.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::ApplicationDescriptor* -FoamX::IPropertiesImpl::readApplicationDescriptor -( - const word& name, - const fileName& category, - const fileName& path, - const bool systemClass -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::readApplicationDescriptor" - "(const word& name, const fileName& category, " - "const bool systemClass)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Create and initialise a new ApplicationDescriptor object. - ApplicationDescriptor* pDesc = new ApplicationDescriptor(); - - pDesc->name = name.c_str(); - pDesc->category = category.c_str(); - pDesc->path = path.c_str(); - pDesc->systemClass = systemClass; - - return pDesc; - } - CATCH_ALL(functionName); -} - - -void FoamX::IPropertiesImpl::readApplicationDescriptors -( - Foam::HashPtrTable& - appDescriptorsMap, - const fileName& dir, - const fileName& category, - const bool systemClass -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::readApplicationDescriptor" - "(const fileName& dir, " - "const fileName& category, " - "const bool systemClass)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileNameList appDirs = readDir(dir, fileName::DIRECTORY); - - forAll (appDirs, i) - { - fileName path = dir/appDirs[i]; - fileName appDictPathName = - path/"FoamX"/(appDirs[i] + ".cfg"); - - if - ( - file(appDictPathName) - && !appDescriptorsMap.found(appDirs[i]) - ) - { - appDescriptorsMap.insert - ( - appDirs[i], - readApplicationDescriptor - ( - appDirs[i], - category, - path, - systemClass - ) - ); - } - - readApplicationDescriptors - ( - appDescriptorsMap, - path, - category/appDirs[i], - systemClass - ); - } - } - CATCH_ALL(functionName); -} - - -void FoamX::IPropertiesImpl::addPatchFields -( - const dictionary& patchFieldDict -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::addPatchFields" - "(const dictionary& patchFieldDict)"; - - // Initialise the patch field descriptor objects. - forAllConstIter(dictionary, patchFieldDict, iter) - { - const word& patchFieldTypeName = iter().keyword(); - - // Create and initialise a new PatchFieldDescriptor object. - ITypeDescriptorImpl* pPatchFieldDescriptor = new ITypeDescriptorImpl - ( - patchFieldTypeName, - patchFieldDict.name(), - iter(), - foamTypesDict_ - ); - - if (pPatchFieldDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create PatchFieldDescriptor object for " - "patch field type '" + patchFieldTypeName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add to map. - patchFieldMap_.insert(patchFieldTypeName, pPatchFieldDescriptor); - } -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IPropertiesImpl::IPropertiesImpl(bool readOnly) -: - readOnly_(readOnly) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::IPropertiesImpl(bool readOnly)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Open the FoamX system config dictionary. - fileName fxConfigFileName = dotFoam("apps/FoamX/FoamX.cfg"); - if (!exists(fxConfigFileName)) - { - throw FoamXError - ( - E_FAIL, - "Cannot find FoamX root configuration dictionary '" - + fxConfigFileName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - dictionary configDict((IFstream(fxConfigFileName)())); - - // Read list data from config dictionary. - availableModules_.read(configDict.lookup("availableModules")); - - - // Open the Foam types dictionary. - fileName foamTypesDictFileName = Paths::config/"types/types.cfg"; - - if (!exists(foamTypesDictFileName)) - { - throw FoamXError - ( - E_FAIL, - "Cannot find Foam types dictionary '" - + foamTypesDictFileName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - (IFstream(foamTypesDictFileName)()) >> foamTypesDict_; - - // Initialise the foam type descriptor objects. - forAllConstIter(dictionary, foamTypesDict_, iter) - { - const word& foamTypeName = iter().keyword(); - - // Create and initialise a new TypeDescriptor object. - ITypeDescriptorImpl* pFieldTypeDescriptor = new ITypeDescriptorImpl - ( - foamTypeName, - "FoamX:foamTypes", - iter(), - foamTypesDict_ - ); - - if (pFieldTypeDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create Foam TypeDescriptor object for " - "field type '" + foamTypeName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add to map. - foamTypeMap_.insert(foamTypeName, pFieldTypeDescriptor); - } - - - dictionary geometryDict - ( - IFstream(Paths::config/"types/geometries.cfg")() - ); - - // Initialise the geometry descriptor objects. - forAllConstIter(dictionary, geometryDict, iter) - { - const word& geometricTypeName = iter().keyword(); - - // Create and initialise a new GeometryDescriptor object. - IGeometryDescriptorImpl* pGeometryTypeDescriptor = new - IGeometryDescriptorImpl - ( - geometricTypeName, - geometryDict - ); - - if (pGeometryTypeDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create field GeometryDescriptor object for " - "geometry type '" + geometricTypeName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add to map. - geometryTypeMap_.insert(geometricTypeName, pGeometryTypeDescriptor); - } - - dictionary patchDict(IFstream(Paths::config/"types/patches.cfg")()); - - // Initialise the patch descriptor objects. - forAllConstIter(dictionary, patchDict, iter) - { - const word& patchTypeName = iter().keyword(); - - // Create and initialise a new PatchDescriptor object. - IPatchDescriptorImpl* pPatchDescriptor = - new IPatchDescriptorImpl(patchTypeName, patchDict); - - if (pPatchDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create PatchDescriptor object for patch type '" - + patchTypeName + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add to map. - patchMap_.insert(patchTypeName, pPatchDescriptor); - } - - - dictionary patchFieldDict - ( - IFstream(Paths::config/"types/patchFields.cfg")() - ); - - addPatchFields(patchFieldDict); - - - // --------------------------------------------------------------------- - // Open the user's Foam control dictionary. - fileName controlDictFileName = dotFoam("controlDict"); - if (exists(controlDictFileName)) - { - dictionary controlDict((IFstream(controlDictFileName)())); - - stringList rawRootDirs(1, "."); - - if (controlDict.found("caseRoots")) - { - // Read root directory list. - // Filter out directories which do not exist. - stringList controlDictRootDirs(controlDict.lookup("caseRoots")); - - if (controlDictRootDirs.size()) - { - rawRootDirs = controlDictRootDirs; - } - } - - // Check that each root directory actually exists. - forAll (rawRootDirs, i) - { - fileName rootDir = rawRootDirs[i]; - rootDir.expand(); - - if (exists(rootDir)) - { - rootDirectories_.length(rootDirectories_.length() + 1); - rootDirectories_[rootDirectories_.length() - 1] - = rootDir.c_str(); - - rawRootDirectories_.length - ( - rawRootDirectories_.length() + 1 - ); - - rawRootDirectories_[rawRootDirectories_.length() - 1] - = rawRootDirs[i].c_str(); - } - else - { - WarningIn(functionName) - << "User specified root directory " << rawRootDirs[i]; - - if (rootDir.size() != rawRootDirs[i].size()) - { - Info<< " (" << rootDir << ")"; - } - - Info<< " not found. Removing from root directories list." - << endl; - } - } - } - - - // --------------------------------------------------------------------- - // Initialise the application class descriptor map. - - // Scan the user's utilities directory for valid solvers - readApplicationDescriptors - ( - appDescriptorMap_, - Paths::userSolvers, - "", - false - ); - - // Scan the system utilities directory for valid solvers - readApplicationDescriptors - ( - appDescriptorMap_, - Paths::solvers, - "", - true - ); - - - // --------------------------------------------------------------------- - // Initialise the utility descriptor map. - - // Scan the user's utilities directory for valid utilities - readApplicationDescriptors - ( - utilityDescriptorMap_, - Paths::userUtilities, - "", - false - ); - - // Scan the system utilities directory for valid utilities - readApplicationDescriptors - ( - utilityDescriptorMap_, - Paths::utilities, - "", - true - ); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::IPropertiesImpl::~IPropertiesImpl() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::~IPropertiesImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); - -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IPropertiesImpl::availableModules() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::availableModules()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return. - return new FoamXServer::StringList(availableModules_); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IPropertiesImpl::rootDirectories() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::rootDirectories()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return. - return new FoamXServer::StringList(rootDirectories_); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IPropertiesImpl::rawRootDirectories() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::rawRootDirectories()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return. - return new FoamXServer::StringList(rawRootDirectories_); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::addRootDirectory(const char* rawRootDir) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::addRootDirectory(const char* rawRootDir)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fileName rootDir = rawRootDir; - rootDir.expand(); - - if (!rootDirectories_.found(rootDir.c_str())) - { - rootDirectories_.append(rootDir.c_str()); - rawRootDirectories_.append(rawRootDir); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::deleteRootDirectory(const char* rawRootDir) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::deleteRootDirectory(const char* rawRootDir)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fileName rootDir = rawRootDir; - rootDir.expand(); - - if (rootDirectories_.found(rootDir.c_str())) - { - rootDirectories_.remove(rootDir.c_str()); - rawRootDirectories_.remove(rawRootDir); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IPropertiesImpl::foamTypes() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::foamTypes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList - ( - FoamXWordList(static_cast(foamTypeMap_.toc())) - ); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::getFoamType -( - const char* foamTypeKey, - ITypeDescriptor_out typeDesc -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::getFoamType" - "(const char* foamTypeKey, ITypeDescriptor_out typeDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // Check for valid foam type name. - if (!foamTypeMap_.found(foamTypeKey)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid foam type name '" + word(foamTypeKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Return a reference to the TypeDescriptor object. - typeDesc = foamTypeMap_[foamTypeKey]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IPropertiesImpl::geometryTypes() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::geometryTypes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList - ( - FoamXWordList(static_cast(geometryTypeMap_.toc())) - ); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::getGeometryType -( - const char* geometryTypeKey, - IGeometryDescriptor_out geometryDesc -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::getGeometryType" - "(const char* geometryTypeKey, IGeometryDescriptor_out geometryDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // Check for valid geometry type name. - if (!geometryTypeMap_.found(geometryTypeKey)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid geometry type name '" + word(geometryTypeKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Return a reference to the GeometryDescriptor object. - geometryDesc = geometryTypeMap_[geometryTypeKey]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IPropertiesImpl::patchTypes() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::patchTypes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList - ( - FoamXWordList(static_cast(patchMap_.toc())) - ); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::getPatchType -( - const char* patchTypeKey, - IPatchDescriptor_out patchDesc -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::getPatchType" - "(const char* patchTypeKey, IPatchDescriptor_out patchDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - // Check for valid patch name. - if (!patchMap_.found(patchTypeKey)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch type name '" + word(patchTypeKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Return a reference to the PatchDescriptor object. - patchDesc = patchMap_[patchTypeKey]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::findPatchType -( - const char* patchTypeName, - IPatchDescriptor_out patchDesc -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::findPatchType" - "(const char* patchTypeName, IPatchDescriptor_out patchDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - IPatchDescriptorImpl* pPatchDescriptor = NULL; - - if (patchMap_.found(patchTypeName)); - { - pPatchDescriptor = patchMap_.find(patchTypeName)(); - } - - // Return a reference to the PatchFieldDescriptor object. - if (pPatchDescriptor != NULL) - { - patchDesc = pPatchDescriptor->_this(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::IPropertiesImpl::patchFieldTypes() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::patchFieldTypes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return - return new FoamXServer::StringList - ( - FoamXWordList(static_cast(patchFieldMap_.toc())) - ); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::getPatchFieldType -( - const char* patchFieldTypeKey, - ITypeDescriptor_out patchFieldDesc -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::getPatchFieldType" - "(const char* patchFieldTypeKey," - "ITypeDescriptor_out patchFieldDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check for valid patch field name. - if (!patchFieldMap_.found(patchFieldTypeKey)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid patch field type name '" - + word(patchFieldTypeKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Return a reference to the PatchFieldDescriptor object. - patchFieldDesc = patchFieldMap_[patchFieldTypeKey]->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::findPatchFieldType -( - const char* patchFieldTypeName, - ITypeDescriptor_out patchFieldDesc -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::findPatchFieldType" - "(const char* patchFieldTypeName, " - "ITypeDescriptor_out patchFieldDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - - ITypeDescriptorImpl* pPatchFieldDescriptor = NULL; - - if (patchFieldMap_.found(patchFieldTypeName)) - { - pPatchFieldDescriptor = patchFieldMap_.find(patchFieldTypeName)(); - } - - // Return a reference to the PatchFieldDescriptor object. - if (pPatchFieldDescriptor != NULL) - { - patchFieldDesc = pPatchFieldDescriptor->_this(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::getFoamControlDict -( - FoamXServer::IDictionaryEntry_out controlDict -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::getFoamControlDict" - "(FoamXServer::ApplicationDescriptor_out utilityDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - fileName controlDictCfgPath = - Paths::config/"dictionaries/OpenFOAMControlDict/controlDict.cfg"; - - dictionary controlDictConfigDict((IFstream(controlDictCfgPath)())); - - ITypeDescriptorImpl* controlDictDesc = new ITypeDescriptorImpl - ( - "controlDict", - controlDictCfgPath, - controlDictConfigDict, - foamTypesDict_ - ); - - fileName controlDictPath = Foam::dotFoam(""); - - // Create an appropriate sub entry object and store its reference. - RootDictionary* controlDictPtr = new RootDictionary - ( - controlDictDesc->_this(), - controlDictPath, - "" - ); - - if (controlDictPtr == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create IDictionaryEntryImpl object for OpenFOAM " - "controlDict " + controlDictPath, - functionName, - __FILE__, __LINE__ - ); - } - - controlDict = controlDictPtr->_this(); - - // Load the values from the file. - controlDictPtr->load(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::ApplicationDescriptorList* FoamX::IPropertiesImpl::applicationes() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::applicationes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Construct an application class list and return. - ApplicationDescriptorList* pAppClassList = - new ApplicationDescriptorList(); - pAppClassList->length(appDescriptorMap_.size()); - - label i = 0; - - for - ( - Foam::HashPtrTable::iterator iter = - appDescriptorMap_.begin(); - iter != appDescriptorMap_.end(); - ++iter - ) - { - (*pAppClassList)[i++] = *iter(); - } - - return pAppClassList; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::getApplication -( - const char* appKey, - IApplication_out app -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::getApplication" - "(const char* appKey, IApplication_out app)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - IApplicationImpl* pAppClass = NULL; - - // See if the specified application class name is valid. - if (!appDescriptorMap_.found(appKey)) - { - throw FoamXError - ( - E_INVALID_ARG, - "getApplication::Invalid application class name '" - + word(appKey) + "'.", - "IPropertiesImpl", - __FILE__, __LINE__ - ); - } - - // See if we have this application class object cached. - if (appMap_.found(appKey)) - { - log << "Existing." << endl; - pAppClass = appMap_[appKey]; - } - else - { - log << "New application class " << app << endl; - - // Create and initialise a new Application object. - pAppClass = new IApplicationImpl - ( - *appDescriptorMap_[appKey], - *this - ); - - if (pAppClass == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create Application object for '" - + word(appKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Load the application class from the definition dictionary. - // Allow user defined application classes to override the system - // classes. - pAppClass->load(); - - // Add application class object to map. - appMap_.insert(appKey, pAppClass); - } - - // Return a reference to the Application object. - app = pAppClass->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::addApplication -( - const char* appKey, - IApplication_out app -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::addApplication" - "(const char* appKey, IApplication_out app)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // If this object is read-only, throw a dicky fit. - if (readOnly_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid call to addApplication for '" + word(appKey) - + "'. Object is read only.", - functionName, - __FILE__, __LINE__ - ); - } - - // See if the specified application class name is valid. - if (appDescriptorMap_.found(appKey)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid application class name '" + word(appKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new ApplicationDescriptor object. - ApplicationDescriptor* pDesc = new ApplicationDescriptor(); - pDesc->name = appKey; - pDesc->category = ""; - pDesc->systemClass = false; - - // Create and initialise a new Application object. - // User defined application class. - IApplicationImpl* pAppClass = new IApplicationImpl - ( - *pDesc, - *this - ); - - if (pAppClass == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create Application object for '" - + word(appKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Add application class object to map. - appMap_.insert(appKey, pAppClass); - - // Add application class descriptor to map. - appDescriptorMap_.insert(appKey, pDesc); - - // Return a reference to the application class object. - app = pAppClass->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::deleteApplication(const char* appKey) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::deleteApplication" - "(const char* appKey)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // If this object is read-only, throw a wobbler. - if (readOnly_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid call to deleteApplication for " - + word(appKey) + "'. Object is read only.", - functionName, - __FILE__, __LINE__ - ); - } - - // See if the specified application class name is valid. - if (!appDescriptorMap_.found(appKey)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid application class name '" + word(appKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // See if the specified application class name is user defined. - if (appDescriptorMap_[appKey]->systemClass) - { - throw FoamXError - ( - E_INVALID_ARG, - "Unable to delete system application class '" - + word(appKey) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Remove the complete application directory structure - if (!rmDir(fileName(appDescriptorMap_[appKey]->path))) - { - throw FoamXError - ( - E_INVALID_ARG, - "Unable to delete application class " - + fileName(appDescriptorMap_[appKey]->path), - functionName, - __FILE__, __LINE__ - ); - } - - // See if we have this application class object cached. - if (appMap_.found(appKey)) - { - ObjRefHashTable::iterator iter - ( - appMap_.find(appKey) - ); - - appMap_.erase(iter); // Releases implementation reference. - } - - // Remove application class descriptor. - Foam::HashPtrTable::iterator iter - ( - appDescriptorMap_.find(appKey) - ); - appDescriptorMap_.erase(iter); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::cloneApplication -( - const char* appKeySrc, - const char* appKeyDest, - const char* appDestPath, - IApplication_out app -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::cloneApplication" - "(const char* appKeySrc, const char* appKeyDest, " - "IApplication_out app)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // If this object is read-only, throw a dicky fit. - if (readOnly_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid call to cloneApplication for '" - + word(appKeySrc) + "'. Object is read only.", - functionName, - __FILE__, __LINE__ - ); - } - - // See if the specified source application class name is valid. - if (!appDescriptorMap_.found(appKeySrc)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid source application class name '" - + word(appKeySrc) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // See if the specified destination application class name is valid. - if (appDescriptorMap_.found(appKeyDest)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid destination application class name '" - + word(appKeyDest) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Copy application class definition files. - ApplicationDescriptor* pDescriptor = - appDescriptorMap_[appKeySrc]; - - // Make application class directory. - if (!cp(fileName(pDescriptor->path), appDestPath)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Failed to copy directory " + fileName(pDescriptor->path) - + " to " + appDestPath, - functionName, - __FILE__, __LINE__ - ); - } - - // Create and initialise a new ApplicationDescriptor object. - // User defined application class. - ApplicationDescriptor* pDesc = new ApplicationDescriptor(); - pDesc->name = appKeyDest; - pDesc->category = pDescriptor->category; - pDesc->path = appDestPath; - pDesc->systemClass = false; - - // Create and initialise a new Application object. - IApplicationImpl* pAppClass = new IApplicationImpl - ( - *pDesc, - *this - ); - - if (pAppClass == NULL) - { - throw FoamXError - ( - E_FAIL, - "Failed to create Application object '" - + word(appKeyDest) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Load the application class details from the definition dictionary. - // Allow user defined application classes to override the system - // classes. - pAppClass->load(); - - // Add to application class map. - appMap_.insert(appKeyDest, pAppClass); - - // Add application class descriptor to map. - appDescriptorMap_.insert(appKeyDest, pDesc); - - // Return a reference to the application class object. - app = pAppClass->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::ApplicationDescriptorList* FoamX::IPropertiesImpl::utilities() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::utilities()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Construct an application class list and return. - ApplicationDescriptorList* pUtilityList = - new ApplicationDescriptorList(); - pUtilityList->length(utilityDescriptorMap_.size()); - - label i = 0; - - for - ( - Foam::HashPtrTable::iterator iter = - utilityDescriptorMap_.begin(); - iter != utilityDescriptorMap_.end(); - ++iter - ) - { - (*pUtilityList)[i++] = *iter(); - } - - return pUtilityList; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::getUtilityControlDict -( - const char* utilityName, - const char* rootDir, - const char* caseName, - FoamXServer::IDictionaryEntry_out controlDict -) -{ - static const char* functionName = - "FoamX::IPropertiesImpl::getUtilityControlDict" - "(const char* utilityName, const char* rootDir, const char* caseName," - "FoamXServer::ApplicationDescriptor_out utilityDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Check for valid utility name. - if (!utilityDescriptorMap_.found(utilityName)) - { - throw FoamXError - ( - E_INVALID_ARG, - "Invalid foam utility name '" + word(utilityName) + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - ApplicationDescriptor* utilityDescriptor = - utilityDescriptorMap_[utilityName]; - - word name(utilityDescriptor->name); - fileName path(utilityDescriptor->path); - - fileName utilityCfgPath = path/"FoamX"/(name + ".cfg"); - dictionary utilityConfigDict((IFstream(utilityCfgPath)())); - word controlDictName = name + "Dict"; - - if (utilityConfigDict.found(controlDictName)) - { - ITypeDescriptorImpl* controlDictDesc = new ITypeDescriptorImpl - ( - controlDictName, - utilityCfgPath, - utilityConfigDict.subDict(controlDictName), - foamTypesDict_ - ); - - // Create an appropriate sub entry object and store its reference. - RootDictionary* controlDictPtr = new RootDictionary - ( - controlDictDesc->_this(), - rootDir, - caseName - ); - - if (controlDictPtr == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create IDictionaryEntryImpl object for utility " - + word(utilityName), - functionName, - __FILE__, __LINE__ - ); - } - - controlDict = controlDictPtr->_this(); - - // Load the values from the file. - controlDictPtr->load(); - } - else - { - controlDict = FoamXServer::IDictionaryEntry::_nil(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::validate() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::validate()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - } - CATCH_ALL(functionName); -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::saveSystemProperties() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::saveSystemProperties()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // If this object is read-only, throw a dicky fit. - if (readOnly_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid call to save. IPropertiesImpl object is read only", - functionName, - __FILE__, __LINE__ - ); - } - - { - fileName configDictFileName = dotFoam("apps/FoamX/FoamX.cfg"); - DictionaryWriter dict(configDictFileName); - - dict.writeHeader - ( - "FoamX System Properties.", - "dictionary" - ); - - dict.writeEntry("availableModules", availableModules_); - - dict.startSubDict("processControl"); - dict.writeEntry("remoteShell", string("rsh")); - dict.endSubDict(); - dict.writeBar(); - - // Geometry type definitions. - dict.writeSectionHeader("Geometry type definitions."); - dict.startSubDict("geometryTypes"); - for - ( - ObjRefHashTable::iterator iter = - geometryTypeMap_.begin(); - iter != geometryTypeMap_.end(); - ++iter - ) - { - iter()->save(dict); - dict.writeEndl(); - } - dict.endSubDict(); - dict.writeBar(); - - // Patch type definitions. - dict.writeSectionHeader("Patch type definitions."); - dict.startSubDict("patchTypes"); - for - ( - ObjRefHashTable::iterator iter = - patchMap_.begin(); - iter != patchMap_.end(); - ++iter - ) - { - iter()->save(dict); - dict.writeEndl(); - } - dict.endSubDict(); - dict.writeBar(); - - // Patch field type definitions. - dict.writeSectionHeader("Patch field type definitions."); - dict.startSubDict("patchFieldTypes"); - for - ( - ObjRefHashTable::iterator iter = - patchFieldMap_.begin(); - iter != patchFieldMap_.end(); - ++iter - ) - { - iter()->save(dict, true); - dict.writeEndl(); - } - dict.endSubDict(); - dict.writeEndl(); - dict.writeEndBar(); - } - - - - { - DictionaryWriter dict(Paths::config/"types/types.cfg"); - - dict.writeHeader - ( - "Primitive types.", - "dictionary" - ); - - for - ( - ObjRefHashTable::iterator iter = - foamTypeMap_.begin(); - iter != foamTypeMap_.end(); - ++iter - ) - { - iter()->save(dict, false); - dict.writeEndl(); - } - - dict.writeEndl(); - dict.writeEndBar(); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::IPropertiesImpl::saveUserProperties() -{ - static const char* functionName = - "FoamX::IPropertiesImpl::saveUserProperties()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // If this object is read-only, throw a dicky fit. - if (readOnly_) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid call to save. IPropertiesImpl object is read only", - functionName, - __FILE__, __LINE__ - ); - } - - fileName controlDictFileName = dotFoam("controlDict"); - DictionaryWriter dict(controlDictFileName); - - dict.writeHeader - ( - "FoamX User Properties.", - "dictionary" - ); - - dict.writeEndl(); - dict.writeEntry("caseRoots", rootDirectories_); - dict.writeEndl(); - dict.writeEndBar(); - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.H deleted file mode 100644 index b803497939..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/IPropertiesImpl.H +++ /dev/null @@ -1,310 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IPropertiesImpl - -Description - -SourceFiles - IPropertiesImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef IPropertiesImpl_H -#define IPropertiesImpl_H - -// Foam header files. -#include "HashPtrTable.H" -#include "dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "ObjRefHashTable.H" -#include "FoamXWordList.H" -#include "FoamXFileNameList.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -// Forward declaration of classes. -class IApplicationImpl; -class ITypeDescriptorImpl; -class IGeometryDescriptorImpl; -class IPatchDescriptorImpl; -class ITypeDescriptorImpl; - -/*---------------------------------------------------------------------------*\ - Class className Declaration -\*---------------------------------------------------------------------------*/ - -class IPropertiesImpl -: - public POA_FoamXServer::CaseServer::IFoamProperties, - public PortableServer::RefCountServantBase -{ - // Private data - - //- Allow or disallow editing. - bool readOnly_; - - //- Available FoamX modules. - FoamXWordList availableModules_; - - //- Root directories for cases (as read in) - FoamXFileNameList rawRootDirectories_; - - //- Root directories for cases (after expansion) - FoamXFileNameList rootDirectories_; - - //- Available foam types dictionary. - Foam::dictionary foamTypesDict_; - - //- Defined application class descriptors. - Foam::HashPtrTable - appDescriptorMap_; - - //- Foam utility descriptor map. - Foam::HashPtrTable - utilityDescriptorMap_; - - //- Map of (created on demand) Application Class objects. - ObjRefHashTable appMap_; - - //- Map of Foam Type Descriptor objects. - ObjRefHashTable foamTypeMap_; - - //- Map of Geometry Type Descriptor objects. - ObjRefHashTable geometryTypeMap_; - - //- Map of Patch Descriptor objects. - ObjRefHashTable patchMap_; - - //- Map of Patch Field Descriptor objects. - ObjRefHashTable patchFieldMap_; - - - // Private member functions - - FoamXServer::ApplicationDescriptor* readApplicationDescriptor - ( - const Foam::word& name, - const Foam::fileName& category, - const Foam::fileName& path, - const bool systemClass - ); - - void readApplicationDescriptors - ( - Foam::HashPtrTable& - appDescriptorsMap, - const Foam::fileName& dir, - const Foam::fileName& category, - const bool systemClass - ); - - void addPatchFields(const Foam::dictionary& patchFieldDict); - - IPropertiesImpl(const IPropertiesImpl&); - - -public: - - friend class IApplicationImpl; - - - // Constructors - - IPropertiesImpl(bool readOnly = true); - - - // Destructor - - virtual ~IPropertiesImpl(); - - - // Member Functions - - const Foam::dictionary& foamTypesDict() const - { - return foamTypesDict_; - } - - const ObjRefHashTable& foamTypes() const - { - return foamTypeMap_; - } - - const ObjRefHashTable& - geometryDescriptors() const - { - return geometryTypeMap_; - } - - - //- Installed FoamX modules. - virtual FoamXServer::StringList* availableModules(); - - - // Case root directories. - - virtual FoamXServer::StringList* rootDirectories(); - virtual FoamXServer::StringList* rawRootDirectories(); - - virtual void addRootDirectory(const char* rootDir); - - virtual void deleteRootDirectory(const char* rootDir); - - - // Foam types. - - virtual FoamXServer::StringList* foamTypes(); - - virtual void getFoamType - ( - const char* foamTypeKey, - FoamXServer::ITypeDescriptor_out typeDesc - ); - - - // Geometry types. - - virtual FoamXServer::StringList* geometryTypes(); - - virtual void getGeometryType - ( - const char* geometryTypeKey, - FoamXServer::CaseServer::IGeometryDescriptor_out - geometryDesc - ); - - - // Patch types. - - virtual FoamXServer::StringList* patchTypes(); - - virtual void getPatchType - ( - const char* patchTypeKey, - FoamXServer::CaseServer::IPatchDescriptor_out - patchDesc - ); - - virtual void findPatchType - ( - const char* patchTypeName, - FoamXServer::CaseServer::IPatchDescriptor_out - patchDesc - ); - - - // Patch field types. - - virtual FoamXServer::StringList* patchFieldTypes(); - - virtual void getPatchFieldType - ( - const char* patchFieldTypeKey, - FoamXServer::ITypeDescriptor_out patchFieldDesc - ); - - virtual void findPatchFieldType - ( - const char* patchFieldTypeName, - FoamXServer::ITypeDescriptor_out patchFieldDesc - ); - - - // Foam controlDict - - virtual void getFoamControlDict - ( - FoamXServer::IDictionaryEntry_out controlDict - ); - - // Application classes. - - virtual FoamXServer::ApplicationDescriptorList* - applicationes(); - - virtual void getApplication - ( - const char* appKey, - FoamXServer::CaseServer::IApplication_out app - ); - - virtual void addApplication - ( - const char* appKey, - FoamXServer::CaseServer::IApplication_out app - ); - - virtual void deleteApplication(const char* appKey); - - virtual void cloneApplication - ( - const char* appKeySrc, - const char* appKeyDest, - const char* appDestPath, - FoamXServer::CaseServer::IApplication_out app - ); - - - // Foam utilities. - - virtual FoamXServer::ApplicationDescriptorList* utilities(); - - virtual void getUtilityControlDict - ( - const char* utilityName, - const char* rootDir, - const char* caseName, - FoamXServer::IDictionaryEntry_out controlDict - ); - - - //- Validation. - virtual void validate(); - - - // Persistence. - - virtual void saveSystemProperties(); - - virtual void saveUserProperties(); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.C deleted file mode 100644 index a404c9202b..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.C +++ /dev/null @@ -1,2052 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "SLList.H" -#include "OSspecific.H" -#include "IFstream.H" - -// Project header files. -#include "ITypeDescriptorImpl.H" -#include "FoamX.H" -#include "FoamXErrors.H" -#include "FoamXAnyList.H" -#include "LogEntry.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl -( - const word& name, - const FoamXType& type, - const string& parentPath -) -: - type_(type), - name_(name), - path_(parentPath + ':' + name), - optional_(false), - visible_(true), - editable_(true), - numElements_(0), - default_(NULL) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl" - "(const word& name, const FoamXType& type, " - "const string& parentPath)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Constructing TypeDescriptor for " << path_ << "." << endl; - - if (FoamXTypes::isNumber(type_)) - { - minValue_.setType(type_); - minValue_.setMin(); - - maxValue_.setType(type_); - maxValue_.setMax(); - } - } - CATCH_ALL(functionName); -}; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl -( - const word& name, - const string& parentPath, - const dictionary& typeDict, - const dictionary& foamTypesDict -) -: - type_(Type_Undefined), - name_(name), - path_(parentPath + ':' + name), - optional_(false), - visible_(true), - editable_(true), - numElements_(0), - default_(NULL) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl" - "(const word& name, const string& parentPath, " - "const dictionary& typeDict, " - "const dictionary& foamTypesDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Constructing TypeDescriptor for " << path_ << "." << endl; - - log << "Reading " << typeDict.name() - << " start line " << typeDict.startLineNumber() - << " end line " << typeDict.endLineNumber() << endl; - - // Load the type descriptor information from the dictionary. - load(typeDict, foamTypesDict); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl -( - const word& name, - const string& parentPath, - const entry& typeEntry, - const dictionary& foamTypesDict -) -: - type_(Type_Undefined), - name_(name), - path_(parentPath + ':' + name), - optional_(false), - visible_(true), - editable_(true), - numElements_(0), - default_(NULL) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl" - "(const word& name, const string& parentPath, const entry& typeEntry, " - "const dictionary& foamTypesDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Constructing TypeDescriptor for " << path_ << "." << endl; - - if (typeEntry.isDict()) - { - // Load the type descriptor information from the dictionary. - load(typeEntry.dict(), foamTypesDict); - } - else if (exists(parentPath/name_ + ".cfg")) - { - fileName dictPathName = parentPath/name_ + ".cfg"; - - dictionary typeDict((IFstream(dictPathName)())); - - log << "Reading dictionary " << typeDict.name() - << " start line " << typeDict.startLineNumber() - << " end line " << typeDict.endLineNumber() << endl; - - // Load the type descriptor information from the dictionary. - load(typeDict, foamTypesDict); - } - else if (foamTypesDict.found(name_)) - { - // Load the type descriptor information from the dictionary. - load(foamTypesDict.subDict(name_), foamTypesDict); - } - else - { - throw FoamXError - ( - E_FAIL, - "Definition for type '" + name_ + "', " + path_ + " could not be found in " - + typeEntry.name() + " or in foamTypesDict", - functionName, - __FILE__, __LINE__ - ); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl -( - ITypeDescriptor_ptr typeDesc -) -: - type_(Type_Undefined), - optional_(false), - visible_(true), - editable_(true), - numElements_(0), - default_(NULL) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::ITypeDescriptorImpl" - "(ITypeDescriptor_ptr typeDesc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Constructing TypeDescriptor." << endl; - - // Set basic type. - type_ = typeDesc->type(); - - // Copy common data - name_ = typeDesc->name(); - path_ = typeDesc->path(); - displayName_ = typeDesc->displayName(); - description_ = typeDesc->description(); - comment_ = typeDesc->comment(); - category_ = typeDesc->category(); - helpURL_ = typeDesc->helpURL(); - iconURL_ = typeDesc->iconURL(); - optional_ = typeDesc->optional(); - visible_ = typeDesc->visible(); - editable_ = typeDesc->editable(); - - if (!isCompoundType()) - { - if (FoamXTypes::isNumber(type_)) - { - // Copy non-compound specific information. - FoamXServer::FoamXAny_var min = typeDesc->minValue(); - minValue_.setType(type_); - minValue_.setValue(min); - - FoamXServer::FoamXAny_var max = typeDesc->maxValue(); - maxValue_.setType(type_); - maxValue_.setValue(max); - } - - lookupDict_ = typeDesc->lookupDict(); - - FoamXServer::FoamXAnyList_var anyList = typeDesc->valueList(); - - valueList_.setSize(anyList->length()); - - for (label i=0; idictionaryPath(); - - numElements_ = typeDesc->numElements(); - elementLabels_ = StringList_var(typeDesc->elementLabels()); - - // Get list of the sub types from the type descriptor. - // Auto release. - TypeDescriptorList_var pSubTypes = typeDesc->subTypes(); - - // Loop over all sub types. - for (unsigned int i = 0; i length(); i++) - { - // Get the TypeDescriptor for this entry. - ITypeDescriptor_var pSubTypeDesc = - FoamXServer::ITypeDescriptor::_duplicate(pSubTypes[i]); - - // Construct the type descriptor. - ITypeDescriptorImpl* pTypeDescriptor = - new ITypeDescriptorImpl(pSubTypeDesc); - - if (pTypeDescriptor == NULL) - { - throw FoamXError - ( - E_FAIL, - "Couldn't create duplicate type descriptor for " - + word(pSubTypeDesc->name()), - functionName, - __FILE__, __LINE__ - ); - } - - // Add to map and list. - word name(pSubTypeDesc->name()); - subTypes_.append(pTypeDescriptor); - } - } - - if (typeDesc->hasDefaultValue()) - { - // Construct default_ from the given type descriptor - // which automatically sets the values to those contained in the - // default_ entry of the type descriptor - default_ = new IDictionaryEntryImpl(typeDesc); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptorImpl::~ITypeDescriptorImpl() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::~ITypeDescriptorImpl()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Release default dictionary entry object - if (default_ != NULL) - { - default_->_remove_ref(); - } - - // Note : Sub-type objects are released in ObjRefHashTable destructor. -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ITypeDescriptorImpl::isPrimitiveType() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::isPrimitiveType()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return FoamXTypes::isPrimitive(type_); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ITypeDescriptorImpl::isCompoundType() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::isCompoundType()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return FoamXTypes::isCompound(type_); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::FoamXType FoamX::ITypeDescriptorImpl::type() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::type()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return type_; -} - -void FoamX::ITypeDescriptorImpl::type(FoamXType type) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::type(FoamXType type)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - type_ = type; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::path() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::path()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(path_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::path(const char* path) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::path(const char* path)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - path_ = path; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::name() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::name()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(name_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::name(const char* name) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::name(const char* name)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - name_ = name; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::displayName() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::displayName()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(displayName_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::displayName(const char* name) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::displayName(const char* name)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - displayName_ = name; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::description() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::description()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(description_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::description(const char* desc) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::description(const char* desc)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - description_ = desc; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::category() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::category()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(category_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::category(const char* cat) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::category(const char* cat)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - category_ = cat; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::comment() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::comment()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(comment_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::comment(const char* com) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::comment(const char* com)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - comment_ = com; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::helpURL() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::helpURL()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(helpURL_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::helpURL(const char* url) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::helpURL(const char* url)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - helpURL_ = url; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::iconURL() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::iconURL()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(iconURL_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::iconURL(const char* url) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::iconURL(const char* url)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - iconURL_ = url; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ITypeDescriptorImpl::optional() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::optional()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return optional_; -} - -void FoamX::ITypeDescriptorImpl::optional(CORBA::Boolean opt) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::optional(CORBA::Boolean opt)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - optional_ = opt; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ITypeDescriptorImpl::visible() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::visible()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return visible_; -} - -void FoamX::ITypeDescriptorImpl::visible(CORBA::Boolean vis) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::visible(CORBA::Boolean vis)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - visible_ = vis; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ITypeDescriptorImpl::editable() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::editable()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return editable_; -} - -void FoamX::ITypeDescriptorImpl::editable(CORBA::Boolean edit) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::editable(CORBA::Boolean edit)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - editable_ = edit; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::FoamXAny* FoamX::ITypeDescriptorImpl::minValue() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::minValue()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return new FoamXServer::FoamXAny(minValue_); -} - -void FoamX::ITypeDescriptorImpl::minValue(const FoamXServer::FoamXAny& newValue) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::minValue(const FoamXServer::Any& newValue)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Set the value of the any object. - // Will throw an exception if the incoming any is not compatible. - minValue_.setValue(newValue); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::FoamXAny* FoamX::ITypeDescriptorImpl::maxValue() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::maxValue()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return new FoamXServer::FoamXAny(maxValue_); -} - -void FoamX::ITypeDescriptorImpl::maxValue(const FoamXServer::FoamXAny& newValue) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::maxValue(const FoamXServer::Any& newValue)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Set the value of the any object. - // Will throw an exception if the incoming any is not compatible. - maxValue_.setValue(newValue); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::FoamXAnyList* FoamX::ITypeDescriptorImpl::valueList() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::valueList()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Allocate an AnyList and return. - FoamXServer::FoamXAnyList* pList = new FoamXServer::FoamXAnyList(); - - // Set list length. - pList->length(valueList_.size()); - - forAll(valueList_, i) - { - (*pList)[i] = valueList_[i]; - } - - return pList; -} - -void FoamX::ITypeDescriptorImpl::valueList -( - const FoamXServer::FoamXAnyList& anyList -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::valueList" - "(const FoamXServer::FoamXAnyList& anyList)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Set the value of the any objects. - // Will throw an exception if the incoming any is not compatible. - valueList_.setSize(anyList.length()); - forAll(valueList_, i) - { - valueList_[i].setType(type_); - valueList_[i].setValue(anyList[i]); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::lookupDict() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::lookupDict()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(lookupDict_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::lookupDict(const char* lookup) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::lookupDict(const char* lookup)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - lookupDict_ = lookup; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -char* FoamX::ITypeDescriptorImpl::dictionaryPath() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::dictionaryPath()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate and return. - return CORBA::string_dup(dictionaryPath_.c_str()); -} - -void FoamX::ITypeDescriptorImpl::dictionaryPath(const char* path) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::dictionaryPath(const char* path)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - dictionaryPath_ = path; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Long FoamX::ITypeDescriptorImpl::numElements() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::numElements()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return numElements_; -} - -void FoamX::ITypeDescriptorImpl::numElements(CORBA::Long numElements) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::numElements(CORBA::Long numElements)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - numElements_ = numElements; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamXServer::StringList* FoamX::ITypeDescriptorImpl::elementLabels() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::elementLabels()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Duplicate list and return. - return new FoamXServer::StringList(elementLabels_); -} - -void FoamX::ITypeDescriptorImpl::elementLabels -( - const FoamXServer::StringList& newList -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::elementLabels" - "(const FoamXServer::StringList& newList)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - elementLabels_ = newList; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::TypeDescriptorList* FoamX::ITypeDescriptorImpl::subTypes() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::subTypes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Construct a duplicate TypeDescriptorList. - TypeDescriptorList* typeList = new TypeDescriptorList(); - typeList->length(subTypes_.size()); - int i = 0; - for - ( - DLList::iterator iter = - subTypes_.begin(); - iter != subTypes_.end(); - ++iter - ) - { - // Add reference to the sub type. - (*typeList)[i++] = iter()->_this(); - } - - // Return the new sub-type list. - return typeList; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::ITypeDescriptor_ptr FoamX::ITypeDescriptorImpl::elementType() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::subTypes()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Return a reference to the TypeDescriptor object. - ITypeDescriptor_ptr pTypeDesc = FoamXServer::ITypeDescriptor::_nil(); - - try - { - if - ( - type_ != FoamXServer::Type_List - && type_ != FoamXServer::Type_FixedList - ) - { - throw FoamXError - ( - E_FAIL, - "Attempt to call elementType() for non-List type " - + FoamXTypes::typeName(type_) + " " + name_, - functionName, - __FILE__, __LINE__ - ); - } - - if (subTypes_.size() != 1) - { - throw FoamXError - ( - E_FAIL, - "Number of subTypes != 1 for List type descriptor " + name_, - functionName, - __FILE__, __LINE__ - ); - } - - pTypeDesc = FoamXServer::ITypeDescriptor::_duplicate - ( - subTypes_.first()->_this() - ); - } - CATCH_ALL(functionName); - - return pTypeDesc; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::addSubType -( - FoamXType type, - ITypeDescriptor_out subEntry -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::addSubType" - "(FoamXType type, ITypeDescriptor_out subEntry)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Make sure this is a compound type. - if (!FoamXTypes::isCompound(type_)) - { - throw FoamXError - ( - E_FAIL, - "Can't add a sub type to a non-compound type " - + FoamXTypes::typeName(type_) + " " + name_, - functionName, - __FILE__, __LINE__ - ); - } - - // Check whether we can add a sub type - - // Only dictionaries and compound types can have more than one sub-type. - if - ( - (type_ == Type_List || type_ == Type_FixedList) - && subTypes_.size() >= 1 - ) - { - throw FoamXError - ( - E_FAIL, - "One sub-type only for " - + FoamXTypes::typeName(type_) + " " + name_, - functionName, - __FILE__, __LINE__ - ); - } - - // Temporary name for this sub-type. - word name = "newSubType"; - name += name(subTypes_.size()); - - // Create type descriptor object. - ITypeDescriptorImpl* pTypeDescriptor = new ITypeDescriptorImpl - ( - name, - type, - path_ - ); - - // Add to map and the end of the sub type list. - subTypes_.append(pTypeDescriptor); - - log << "Added sub-type " << name << "." << endl; - - // Return a reference to the new TypeDescriptor object. - subEntry = pTypeDescriptor->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::removeSubType(ITypeDescriptor_ptr subEntry) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::removeSubType" - "(ITypeDescriptor_ptr subEntry)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Make sure this is a compound type. - if (!FoamXTypes::isCompound(type_)) - { - throw FoamXError - ( - E_UNEXPECTED, - "Can't remove a sub type from a non-compound type " - + FoamXTypes::typeName(type_) + " " + name_, - functionName, - __FILE__, __LINE__ - ); - } - - // Remove from List. - for - ( - DLList::iterator iter = - subTypes_.begin(); - iter != subTypes_.end(); - ++iter - ) - { - ITypeDescriptor_var pTypeDesc = iter()->_this(); - - // Check for equivalence. - if (pTypeDesc->_is_equivalent(subEntry)) - { - // Release and remove from linked list. - subTypes_.remove(iter); - break; - } - } - - log << "Removed sub-type." << endl; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Boolean FoamX::ITypeDescriptorImpl::hasDefaultValue() -{ - return default_ != NULL; -} - - -void FoamX::ITypeDescriptorImpl::getDefaultValue -( - IDictionaryEntry_out defaultValue -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::getDefaultValue" - "(IDictionaryEntry_out default)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (default_ == NULL) - { - /* - // Don't throw error until the Java side checks hasDefaultValue() - // and requests the creation of the default value only if required - throw FoamXError - ( - E_UNEXPECTED, - "Invalid default object for " - + FoamXTypes::typeName(type_) + " " + name_, - functionName, - __FILE__, __LINE__ - ); - */ - - default_ = new IDictionaryEntryImpl(_this()); - } - - defaultValue = default_->_this(); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::validate() -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::validate()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -bool FoamX::ITypeDescriptorImpl::setType(const word& type) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::setType(const word& type)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - // Reset all types. - type_ = Type_Undefined; - minValue_.setType(Type_Undefined); - maxValue_.setType(Type_Undefined); - - if (FoamXTypes::found(type)) - { - type_ = FoamXTypes::lookupType(type); - - // Set the type of the Any parameters. - if (!isCompoundType()) - { - if (FoamXTypes::isNumber(type_)) - { - minValue_.setType(type_); - maxValue_.setType(type_); - } - - // Set the type of the values on the value list. - forAll(valueList_, i) - { - valueList_[i].setType(type_); - } - } - - return true; - } - else - { - return false; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::load -( - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::load" - "(const dictionary& typeDict, " - "const dictionary& foamTypesDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Reading " << typeDict.name() - << " start line " << typeDict.startLineNumber() - << " end line " << typeDict.endLineNumber() << endl; - - // Check that the dictionary has the minimum required information. - if (!typeDict.found("type")) - { - throw FoamXError - ( - E_FAIL, - "Mandatory entry 'type' not found in dictionary '" - + typeDict.name() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the type - - // If it is a dictionary get the type from the dictionary - if (typeDict.isDict("type")) - { - // Get the type dictionary ... - const dictionary& typeTypeDict(typeDict.subDict("type")); - - // ... and check it only has one entry - if (typeTypeDict.size() != 1) - { - throw FoamXError - ( - E_FAIL, - "Dictionary for 'type' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + " in dictionary '" + typeDict.name() - + "' does contain a single entry", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the type entry ... - const entry& typeEntry = *typeTypeDict.first(); - - // ... and it's dictionary ... - const dictionary& typeEntryTypeDict = typeEntry.dict(); - - // ... and get the actual type from it ... - word type(typeEntryTypeDict.lookup("type")); - - // ... then resolve this type as normal ... - resolveType(type, typeEntryTypeDict, foamTypesDict); - - // ... but also add the optional additiona entries and data - addEntries(typeDict, foamTypesDict); - readOptionalData(typeDict); - } - else // it's a system type or defined in foamTypesDict - { - // Get the type - word type(typeDict.lookup("type")); - - // Resolve any Foam types and get sub types for compound types. - resolveType(type, typeDict, foamTypesDict); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::resolveType -( - word& type, - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - if (typeDict.found("types")) - { - resolveTypeDict - ( - type, - typeDict, - foamTypesDict + typeDict.subDict("types") - ); - } - else - { - resolveTypeDict(type, typeDict, foamTypesDict); - } -} - - -void FoamX::ITypeDescriptorImpl::resolveTypeDict -( - word& type, - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::resolveTypeDict(word& type, " - "const dictionary& typeDict, " - "const dictionary& foamTypesDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Reading " << typeDict.name() - << " start line " << typeDict.startLineNumber() - << " end line " << typeDict.endLineNumber() << endl; - - // See if the specified type is a FoamX type. - if (FoamXTypes::found(type)) - { - readType(type, typeDict, foamTypesDict); - } - else - { - // Specified type may be in the Foam types dictionary. - if (foamTypesDict.found(type)) - { - const dictionary& typeAliasDict(foamTypesDict.subDict(type)); - typeAliasDict.lookup("type") >> type; - - resolveType(type, typeAliasDict, foamTypesDict); - addEntries(typeDict, foamTypesDict); - readOptionalData(typeDict); - } - else - { - throw FoamXError - ( - E_FAIL, - "Type '" + type + "' not defined for " - + FoamXTypes::typeName(type_) + " " + name_, - functionName, - __FILE__, __LINE__ - ); - } - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::readType -( - word& type, - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::readType(word& type, " - "const dictionary& typeDict, " - "const dictionary& foamTypesDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Reading " << typeDict.name() - << " start line " << typeDict.startLineNumber() - << " end line " << typeDict.endLineNumber() << endl; - - // Set the type. Should have been resolved to a primitive type by now. - if (!setType(type)) - { - throw FoamXError - ( - E_FAIL, - "Illegal type token '" + type + "' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + "' in dictionary '" + typeDict.name() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // If this type is a compound type, we need the sub type list. - if (FoamXTypes::isCompound(type_)) - { - if (type_ == Type_FixedList) - { - addElementType(typeDict, foamTypesDict); - - if (!typeDict.found("numElements")) - { - throw FoamXError - ( - E_FAIL, - "Mandatory entry 'numElements' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + "' not found in dictionary '" + typeDict.name() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - typeDict.lookup("numElements") >> numElements_; - - if (!typeDict.found("elementLabels")) - { - throw FoamXError - ( - E_FAIL, - "Mandatory entry 'elementLabels' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + "' not found in dictionary '" + typeDict.name() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - elementLabels_.read(typeDict.lookup("elementLabels")); - } - else if (type_ == Type_List) - { - addElementType(typeDict, foamTypesDict); - } - else - { - addEntries(typeDict, foamTypesDict); - } - } - - readOptionalData(typeDict); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::addEntries -( - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - if - ( - ( - type_ == Type_Dictionary - || type_ == Type_Selection - || type_ == Type_Compound - ) - && typeDict.found("entries") - ) - { - if (type_ == Type_Dictionary) - { - addDictionaryEntries(typeDict, foamTypesDict); - } - else - { - addCompoundEntries(typeDict, foamTypesDict); - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::addDictionaryEntries -( - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::addDictionaryEntries" - "(const dictionary& typeDict, const dictionary& foamTypesDict)"; - - const dictionary& entries(typeDict.subDict("entries")); - - for - ( - dictionary::const_iterator iter = entries.begin(); - iter != entries.end(); - ++iter - ) - { - const word& keyword = iter().keyword(); - - if (iter().isDict()) - { - subTypes_.append - ( - new ITypeDescriptorImpl - ( - keyword, - path_, - iter().dict(), - foamTypesDict - ) - ); - } - else - { - if (!iter().stream().size()) - { - throw FoamXError - ( - E_FAIL, - "Entry '" + keyword - + "' for 'entries' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + "' in dictionary '" + typeDict.name() - + "' does not have a type.", - functionName, - __FILE__, __LINE__ - ); - } - - word subType(iter().stream()); - - if (foamTypesDict.found(subType)) - { - subTypes_.append - ( - new ITypeDescriptorImpl - ( - keyword, - path_, - foamTypesDict.subDict(subType), - foamTypesDict - ) - ); - } - else if (FoamXTypes::found(subType)) - { - subTypes_.append - ( - new ITypeDescriptorImpl - ( - keyword, - FoamXTypes::lookupType(subType), - path_ - ) - ); - } - else - { - throw FoamXError - ( - E_FAIL, - "Type '" + subType - + "' for 'entries' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + "' in dictionary '" + typeDict.name() + "' not defined.", - functionName, - __FILE__, __LINE__ - ); - } - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::addCompoundEntries -( - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::addCompoundEntries" - "(const dictionary& typeDict, const dictionary& foamTypesDict)"; - - const dictionary& entries(typeDict.subDict("entries")); - - for - ( - dictionary::const_iterator iter = entries.begin(); - iter != entries.end(); - ++iter - ) - { - const word& subType = iter().keyword(); - - if (iter().isDict()) - { - subTypes_.append - ( - new ITypeDescriptorImpl - ( - subType, - path_, - iter().dict(), - foamTypesDict - ) - ); - } - else if (foamTypesDict.found(subType)) - { - subTypes_.append - ( - new ITypeDescriptorImpl - ( - subType, - path_, - foamTypesDict.subDict(subType), - foamTypesDict - ) - ); - } - else if (FoamXTypes::found(subType)) - { - subTypes_.append - ( - new ITypeDescriptorImpl - ( - subType, - FoamXTypes::lookupType(subType), - path_ - ) - ); - } - else - { - throw FoamXError - ( - E_FAIL, - "Type '" + subType - + "' for 'entries' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + "' in dictionary '" + typeDict.name() + "' not defined.", - functionName, - __FILE__, __LINE__ - ); - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::addElementType -( - const dictionary& typeDict, - const dictionary& foamTypesDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::addSubType(const dictionary& typeDict, " - "const dictionary& foamTypesDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - if (!typeDict.found("elementType")) - { - throw FoamXError - ( - E_FAIL, - "Mandatory entry 'elementType' of type '" - + FoamXTypes::typeName(type_) + "' '" + name_ - + "' not found in dictionary '" + typeDict.name() + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - if (typeDict.isDict("elementType")) - { - const dictionary& elementTypeDict = typeDict.subDict("elementType"); - - if (elementTypeDict.size() != 1) - { - throw FoamXError - ( - E_FAIL, - "Dictionary for 'elementType' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + " in dictionary '" + typeDict.name() - + "' does contain a single entry", - functionName, - __FILE__, __LINE__ - ); - } - - const entry& elementTypeEntry = *elementTypeDict.first(); - - subTypes_.append - ( - new ITypeDescriptorImpl - ( - elementTypeEntry.keyword(), - path_, - elementTypeEntry.dict(), - foamTypesDict - ) - ); - } - else - { - word subType = typeDict.lookup("elementType"); - - if (FoamXTypes::found(subType)) - { - // Add to map and list. - subTypes_.append - ( - new ITypeDescriptorImpl - ( - subType, - FoamXTypes::lookupType(subType), - path_ - ) - ); - } - else if (foamTypesDict.found(subType)) - { - subTypes_.append - ( - new ITypeDescriptorImpl - ( - subType, - path_, - foamTypesDict.subDict(subType), - foamTypesDict - ) - ); - } - else - { - throw FoamXError - ( - E_FAIL, - "Type '" + subType - + "' for 'elementType' of type '" - + FoamXTypes::typeName(type_) + " " + name_ - + " in dictionary '" + typeDict.name() + "' not defined.", - functionName, - __FILE__, __LINE__ - ); - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::readOptionalData -( - const dictionary& typeDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::readOptionalData" - "(const dictionary& typeDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - log << "Reading " << typeDict.name() - << " start line " << typeDict.startLineNumber() - << " end line " << typeDict.endLineNumber() << endl; - - // Read the rest of the common type information. - if (typeDict.found("displayName")) - { - typeDict.lookup("displayName") >> displayName_; - } - - if (typeDict.found("description")) - { - typeDict.lookup("description") >> description_; - } - - if (typeDict.found("dictionaryPath")) - { - typeDict.lookup("dictionaryPath") >> dictionaryPath_; - dictionaryPath_.expand(); - } - - if (typeDict.found("category")) - { - typeDict.lookup("category") >> category_; - } - - if (typeDict.found("comment")) - { - typeDict.lookup("comment") >> comment_; - } - - if (typeDict.found("helpURL")) - { - typeDict.lookup("helpURL") >> helpURL_; - } - - if (typeDict.found("iconURL")) - { - typeDict.lookup("iconURL") >> iconURL_; - } - - if (typeDict.found("optional")) - { - optional_ = readBool(typeDict.lookup("optional")); - } - - if (typeDict.found("visible")) - { - visible_ = readBool(typeDict.lookup("visible")); - } - - if (typeDict.found("editable")) - { - editable_ = readBool(typeDict.lookup("editable")); - } - - - // Read non-compound specific information. - if (FoamXTypes::isPrimitive(type_)) - { - if (FoamXTypes::isNumber(type_)) - { - if (typeDict.found("minValue")) - { - minValue_.read(typeDict.lookup("minValue")); - } - else - { - minValue_.setType(type_); - minValue_.setMin(); - } - - if (typeDict.found("maxValue")) - { - maxValue_.read(typeDict.lookup("maxValue")); - } - else - { - maxValue_.setType(type_); - maxValue_.setMax(); - } - } - - if (typeDict.found("lookupDict")) - { - typeDict.lookup("lookupDict") >> lookupDict_; - } - - // Read value list. - if (typeDict.found("valueList")) - { - Istream& is = typeDict.lookup("valueList"); - - is.readBeginList("List"); - - SLList sllist; - - // Loop over list elements until ')' - token lastToken(is); - while - ( - !( - lastToken.isPunctuation() - && lastToken.pToken() == token::END_LIST - ) - ) - { - is.putBack(lastToken); - sllist.append(FoamXAny(type_, is)); - is >> lastToken; - } - - valueList_ = sllist; - } - } - - - if (typeDict.found("options")) - { - const dictionary& subTypeDefaults(typeDict.subDict("options")); - - for - ( - DLList::iterator iter = - subTypes_.begin(); - iter != subTypes_.end(); - ++iter - ) - { - if (subTypeDefaults.found(iter()->name())) - { - iter()->readOptionalData - ( - subTypeDefaults.subDict(iter()->name()) - ); - } - } - } - - if (typeDict.found("default")) - { - if (!default_) - { - default_ = new IDictionaryEntryImpl(_this()); - } - - default_->load(typeDict.lookupEntry("default")); - - DLList::iterator iter1 = - subTypes_.begin(); - - DLList::const_iterator iter2 = - default_->subElementPtrs().begin(); - - for - ( - ; - iter1 != subTypes_.end() - && iter2 != default_->subElementPtrs().end(); - ++iter1, ++iter2 - ) - { - if (!iter1()->default_) - { - iter1()->default_ = new IDictionaryEntryImpl(iter1()->_this()); - } - - *iter1()->default_ = *iter2(); - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::ITypeDescriptorImpl::save -( - FoamX::DictionaryWriter& dictWriter, - bool topLevelDict -) -{ - static const char* functionName = - "FoamX::ITypeDescriptorImpl::save" - "(FoamX::DictionaryWriter& dictWriter, bool topLevelDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!topLevelDict) - { - // Start a sub-dictionary for this type. - dictWriter.startSubDict(name_); - } - else - { - dictWriter.writeEndl(); - } - - // Write type. - dictWriter.writeEntry("type", FoamXTypes::typeName(type_)); - - // Write optional common data. - if (displayName_.length() > 0) - { - dictWriter.writeEntry("displayName", displayName_); - } - - if (description_.length() > 0) - { - dictWriter.writeEntry("description", description_); - } - - if (category_.length() > 0) - { - dictWriter.writeEntry("category", category_); - } - - if (comment_.length() > 0) - { - dictWriter.writeEntry("comment", comment_); - } - - if (helpURL_.length() > 0) - { - dictWriter.writeEntry("helpURL", helpURL_); - } - - if (iconURL_.length() > 0) - { - dictWriter.writeEntry("iconURL", iconURL_); - } - - // Only write optional flag if true. - if (optional_) - { - dictWriter.writeEntry("optional", optional_); - } - - if (visible_) - { - dictWriter.writeEntry("visible", visible_); - } - - if (editable_) - { - dictWriter.writeEntry("editable", editable_); - } - - // Write non-compound data. - if (FoamXTypes::isPrimitive(type_)) - { - if (FoamXTypes::isNumber(type_)) - { - if (minValue_ != FoamXAny(type_)) - { - dictWriter.writeEntry("minValue", minValue_); - } - - if (maxValue_ != FoamXAny(type_)) - { - dictWriter.writeEntry("maxValue", maxValue_); - } - } - - if (lookupDict_.length() > 0) - { - dictWriter.writeEntry("lookupDict", lookupDict_); - } - - if (valueList_.size() > 0) - { - dictWriter.writeEntry("valueList", valueList_); - } - } - else if(FoamXTypes::isCompound(type_)) - { - if (type_ == Type_FixedList) - { - dictWriter.writeEntry("numElements", numElements_); - - dictWriter.writeEntry - ( - "elementType", - word(subTypes_.first()->name()) - ); - - dictWriter.writeEntry("elementLabels", elementLabels_); - } - else if (type_ == Type_List) - { - dictWriter.writeEntry - ( - "elementType", - word(subTypes_.first()->name()) - ); - } - else - { - // Write compound data. - if (type_ == Type_Dictionary) - { - if (dictionaryPath_.length() > 0) - { - dictWriter.writeEntry - ( - "dictionaryPath", - dictionaryPath_ - ); - } - } - - dictWriter.writeKeyword("entries"); - dictWriter.startList(subTypes_.size()); - - label i = 0; - // Write sub-type data into their sub-dictionaries. - for - ( - DLList::iterator iter = - subTypes_.begin(); - iter != subTypes_.end(); - ++iter - ) - { - iter()->save(dictWriter, false); - - if (++i < subTypes_.size()) - { - dictWriter.writeEndl(); - } - } - - dictWriter.endList(); - dictWriter.endEntry(); - } - } - - // Validate the default_ dictionary entry items. - if (default_) - { - default_->validate(); - - dictWriter.writeKeyword("default"); - default_->save(dictWriter, false); - dictWriter.endEntry(); - } - - // Close this sub-dictionary if required. - if (!topLevelDict) - { - dictWriter.endSubDict(); - } - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.H deleted file mode 100644 index 99424b578e..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ITypeDescriptorImpl.H +++ /dev/null @@ -1,347 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ITypeDescriptorImpl - -Description - -SourceFiles - ITypeDescriptorImpl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef ITypeDescriptorImpl_H -#define ITypeDescriptorImpl_H - -// Foam header files. -#include "IDLList.H" -#include "DLList.H" -#include "dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "FoamXAny.H" -#include "IDictionaryEntryImpl.H" -#include "FoamXWordList.H" -#include "FoamXTypes.H" -#include "DictionaryWriter.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class ITypeDescriptorImpl Declaration -\*---------------------------------------------------------------------------*/ - -class ITypeDescriptorImpl -: - public POA_FoamXServer::ITypeDescriptor, - public PortableServer::RefCountServantBase, - public IDLList::link -{ - // Private data - - //- The type of this parameter. - FoamXServer::FoamXType type_; - - //- Foam parameter name. - Foam::word name_; - - //- Path of this parameter relative to root dictionary. - Foam::string path_; - - //- Short display name. - Foam::string displayName_; - - //- Long descriptive name. - Foam::string description_; - - //- Dictionary comment. - Foam::string comment_; - - //- GUI category for this parameter. - Foam::string category_; - - //- URL to relevant help file. - Foam::string helpURL_; - - //- URL to a nice icon for this parameter. - Foam::string iconURL_; - - //- Flag indicating whether this parameter is optional. - // Defaults to false. - bool optional_; - - //- Flag indicating whether this parameter is visible within FoamX. - // Defaults to true. - bool visible_; - - //- Flag indicating whether this parameter is editable within FoamX. - // Defaults to true. - bool editable_; - - //- Minimum value for this parameter. - FoamXAny minValue_; - - //- Maximum value for this parameter. - FoamXAny maxValue_; - - //- Name of dictionary to use as a lookup table. - FoamXAnyList valueList_; - - //- List of permissible values for this parameter. - Foam::string lookupDict_; - - //- Top-level dictionary location relative to case root. - Foam::string dictionaryPath_; - - //- Number of vector space elements. - Foam::label numElements_; - - //- Labels of vector space elements (eg, x, y, z). - FoamXWordList elementLabels_; - - //- Doubly linked list of sub-type objects. Used to maintain the order - // of sub-types. - Foam::DLList subTypes_; - - //- Default value for this parameter. - IDictionaryEntryImpl* default_; - - - // Private member functions. - - bool setType(const Foam::word& type); - - void resolveType - ( - Foam::word& type, - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void resolveTypeDict - ( - Foam::word& type, - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void readType - ( - Foam::word& type, - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void addEntries - ( - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void addDictionaryEntries - ( - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void addCompoundEntries - ( - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void addElementType - ( - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void readOptionalData - ( - const Foam::dictionary& typeDict - ); - - -public: - - // Constructors - - ITypeDescriptorImpl - ( - const Foam::word& name, - const FoamXServer::FoamXType& type, - const Foam::string& parentPath - ); - - ITypeDescriptorImpl - ( - const Foam::word& name, - const Foam::string& parentPath, - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - ITypeDescriptorImpl - ( - const Foam::word& name, - const Foam::string& parentPath, - const Foam::entry& typeEntry, - const Foam::dictionary& foamTypesDict - ); - - ITypeDescriptorImpl - ( - FoamXServer::ITypeDescriptor_ptr typeDesc - ); - - - // Destructor - - virtual ~ITypeDescriptorImpl(); - - - // Member Functions - - // Foam access functions - - //- Keyword used by Dictionary - const word& keyword() const - { - return name_; - } - - - // FoamServer access functions - - virtual FoamXServer::FoamXType type(); - virtual void type(FoamXServer::FoamXType); - virtual char* path(); - virtual void path(const char*); - virtual char* name(); - virtual void name(const char*); - virtual char* displayName(); - virtual void displayName(const char*); - virtual char* description(); - virtual void description(const char*); - virtual char* comment(); - virtual void comment(const char*); - virtual char* category(); - virtual void category(const char*); - virtual char* helpURL(); - virtual void helpURL(const char*); - virtual char* iconURL(); - virtual void iconURL(const char*); - virtual CORBA::Boolean isPrimitiveType(); - virtual CORBA::Boolean isCompoundType(); - virtual CORBA::Boolean optional(); - virtual void optional(CORBA::Boolean); - virtual CORBA::Boolean visible(); - virtual void visible(CORBA::Boolean); - virtual CORBA::Boolean editable(); - virtual void editable(CORBA::Boolean); - - - // Properties for non-compound types. - - virtual FoamXServer::FoamXAny* minValue(); - virtual void minValue(const FoamXServer::FoamXAny&); - virtual FoamXServer::FoamXAny* maxValue(); - virtual void maxValue(const FoamXServer::FoamXAny&); - virtual FoamXServer::FoamXAnyList* valueList(); - virtual void valueList(const FoamXServer::FoamXAnyList&); - virtual char* lookupDict(); - virtual void lookupDict(const char*); - - - // Properties for compound types. - - virtual char* dictionaryPath(); - virtual void dictionaryPath(const char*); - virtual CORBA::Long numElements(); - virtual void numElements(CORBA::Long); - virtual FoamXServer::StringList* elementLabels(); - virtual void elementLabels(const FoamXServer::StringList&); - virtual FoamXServer::TypeDescriptorList* subTypes(); - virtual FoamXServer::ITypeDescriptor_ptr elementType(); - - - // Default handling - - virtual CORBA::Boolean hasDefaultValue(); - - virtual void getDefaultValue - ( - FoamXServer::IDictionaryEntry_out defaultValue - ); - - - // Compound sub-type methods. - - virtual void addSubType - ( - FoamXServer::FoamXType type, - FoamXServer::ITypeDescriptor_out subEntry - ); - - virtual void removeSubType - ( - FoamXServer::ITypeDescriptor_ptr subEntry - ); - - - //- Validation. - virtual void validate(); - - - // Persistence. - - void load - ( - const Foam::dictionary& typeDict, - const Foam::dictionary& foamTypesDict - ); - - void save - ( - DictionaryWriter& dictWriter, - bool topLevelDict - ); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.C deleted file mode 100644 index fb7d09b02b..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.C +++ /dev/null @@ -1,130 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Project header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "LogManager.H" -#include "LogEntry.H" -#include "Pstream.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogEntry::LogEntry -( - const char* methodName, - const char* fileName, - const int lineNo -) -: - logManagerPtr_(NULL), - lineNo_(-1) -{ - if (!Pstream::parRun() || Pstream::master()) - { - // Get global log manager, if available. - logManagerPtr_ = LogManager::GlobalLogManager(); - - if (logManagerPtr_) - { - methodName_ = methodName; - //methodName_.replaceAll("&", "&"); - methodName_.replaceAll("&", ""); - - fileName_ = fileName; - lineNo_ = lineNo; - logManagerPtr_->startLogEntry(this); - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogEntry::~LogEntry() -{ - if (logManagerPtr_) - { - logManagerPtr_->endLogEntry(); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void Foam::LogEntry::writeStart(Ostream& os) const -{ - static const char* functionName = - "LogEntry::writeStart(Ostream&) const"; - - try - { - // Write opening tag. - os << "" << endl; - os << " " << methodName_ << "" << endl; - - if (fileName_.size() > 0) - { - os << " " << fileName_ << "" << endl; - } - - if (lineNo_ > -1) - { - os << " " << lineNo_ << "" << endl; - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void Foam::LogEntry::writeEnd(Ostream& os) const -{ - static const char* functionName = - "LogEntry::writeEnd(Ostream&) const"; - - try - { - // Write closing tag. - os << "" << endl; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogEntry::operator Foam::OSstream&() -{ - if (logManagerPtr_) - { - return *logManagerPtr_; - } - else - { - return Snull; - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.H deleted file mode 100644 index 9d34072abe..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogEntry.H +++ /dev/null @@ -1,102 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::LogManager - -Description - -SourceFiles - LogEntry.C - -\*---------------------------------------------------------------------------*/ - -#ifndef LogEntry_H -#define LogEntry_H - -// Foam header files. -#include "label.H" -#include "word.H" -#include "fileName.H" -#include "OSstream.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - -// Forward declaration of classes -class LogManager; - -/*---------------------------------------------------------------------------*\ - Class LogEntry Declaration -\*---------------------------------------------------------------------------*/ - -class LogEntry -{ - // Private data - - LogManager* logManagerPtr_; - string methodName_; - fileName fileName_; - label lineNo_; - -public: - - // Constructors - - LogEntry - ( - const char* methodName, - const char* fileName, - const int lineNo - ); - - - // Destructor - - ~LogEntry(); - - - // Member Functions - - void writeStart(Ostream&) const; - - void writeEnd(Ostream&) const; - - //- Convert to Ostream - // Prints basic message and then returns Ostream for further info. - operator OSstream&(); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.C deleted file mode 100644 index e0133d3328..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.C +++ /dev/null @@ -1,199 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "OSspecific.H" - -// Project header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "LogManager.H" -#include "LogEntry.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogManager* Foam::LogManager::pLogManager_ = NULL; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogManager::LogManager(const Foam::fileName& logFile) -: - infoOpen_(false) -{ - static const char* functionName = - "LogManager::LogManager(const Foam::fileName&)"; - - try - { - // Check that there isn't already a global log manager object. - if - ( - FoamX::FoamXError::debug && Foam::LogManager::pLogManager_ == NULL - ) - { - Foam::LogManager::pLogManager_ = this; - - // Make sure the path exists. - if (!dir(logFile.path()) && !mkDir(logFile.path())) - { - throw FoamX::FoamXError - ( - FoamXServer::E_FAIL, - "Log file directory '" + logFile.path() - + "' could not be created.", - functionName, - __FILE__, __LINE__ - ); - } - - // Open the file stream. - pFileStream_ = new Foam::OFstream(logFile); - - // Write XML header. - (*pFileStream_) << "\n" << endl; - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogManager::~LogManager() -{ - if (Foam::LogManager::pLogManager_ == this) - { - Foam::LogManager::pLogManager_ = NULL; - - if (pFileStream_ != NULL) - { - delete pFileStream_; - } - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogManager* Foam::LogManager::GlobalLogManager() -{ - return pLogManager_; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void Foam::LogManager::startLogEntry(const LogEntry* pLogEntry) -{ - static const char* functionName = - "LogManager::startLogEntry(const LogEntry*)"; - - try - { - if (infoOpen_) - { - endInfoEntry(); - } - - // Push new entry onto stack. - entryStack_.push(pLogEntry); - - pLogEntry->writeStart((*pFileStream_)); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void Foam::LogManager::endLogEntry() -{ - static const char* functionName = "LogManager::endLogEntry()"; - - try - { - if (infoOpen_) - { - endInfoEntry(); - } - - // Pop the current entry off the stack. - const LogEntry* pLogEntry = entryStack_.top(); - entryStack_.pop(); - - pLogEntry->writeEnd((*pFileStream_)); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void Foam::LogManager::startInfoEntry() -{ - static const char* functionName = - "LogManager::startInfoEntry()"; - - try - { - if (infoOpen_) - { - endInfoEntry(); - } - - *pFileStream_ << " " << endl; - infoOpen_ = true; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void Foam::LogManager::endInfoEntry() -{ - static const char* functionName = - "LogManager::endInfoEntry()"; - - try - { - *pFileStream_ << " " << endl; - infoOpen_ = false; - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::LogManager::operator Foam::OSstream&() -{ - static const char* functionName = - "LogManager::operator Foam::OSstream&()"; - - try - { - startInfoEntry(); - return *pFileStream_; - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.H deleted file mode 100644 index 698e4b6719..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/LogManager.H +++ /dev/null @@ -1,121 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::LogManager - -Description - -SourceFiles - LogManager.C - -\*---------------------------------------------------------------------------*/ - -#ifndef LogManager_H -#define LogManager_H - -// Foam header files. -#include "LIFOStack.H" -#include "fileName.H" -#include "OFstream.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - -// Forward declaration of classes. -class LogEntry; - -/*---------------------------------------------------------------------------*\ - Class LogManager Declaration -\*---------------------------------------------------------------------------*/ - -class LogManager -{ - -public: - - enum LogFilter - { - LOG_DEBUG, - LOG_DIAGNOSTIC, - LOG_WARNINGS, - LOG_ERRORS - }; - - -private: - - // Private data - - static LogManager* pLogManager_; - LogFilter filter_; - OFstream* pFileStream_; - LIFOStack entryStack_; - bool infoOpen_; - - -public: - - // Constructors - - LogManager(const fileName& logFile); - - - // Destructor - - ~LogManager(); - - - // Member Functions - - //- Access to the global log manager. - static LogManager* GlobalLogManager(); - - - // Log entry methods. - - void startLogEntry(const LogEntry* pLogEntry); - void endLogEntry(); - - void startInfoEntry(); - void endInfoEntry(); - - - //- Convert to Ostream - // Prints basic message and then returns Ostream for further info. - operator OSstream&(); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/files b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/files deleted file mode 100644 index c57320e597..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/files +++ /dev/null @@ -1,31 +0,0 @@ -FoamXErrors.C -FoamXString.C -FoamXStringList.C -FoamXWordList.C -FoamXFileNameList.C - -LogManager.C -LogEntry.C - -Paths.C -Orb.C -FoamXTypes.C -FoamXAny.C -DimensionSet.C -DictionaryWriter.C -ProcessControl.C -NameServer.C -PatchProperties.C -RootDictionary.C - -IPropertiesImpl.C -IApplicationImpl.C -ITypeDescriptorImpl.C -IDictionaryEntryImpl.C -IGeometryDescriptorImpl.C -IPatchDescriptorImpl.C -IPatchPhysicalTypeDescriptorImpl.C -IGeometricFieldDescriptorImpl.C -IGeometricFieldImpl.C - -LIB = $(FOAM_LIBBIN)/libFoamX diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/omniOptions b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/omniOptions deleted file mode 100644 index 917fbb1f41..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/omniOptions +++ /dev/null @@ -1,43 +0,0 @@ -OMNI_LIB_EXT = - -#if defined(linux) - - OMNI_SYS_INC = -D__x86__ -D__linux__ -D__OSVERSION__=2 - -#elif defined(solaris) - - OMNI_SYS_INC = -D__sparc__ -D__sunos__ -D__OSVERSION__=5 - -#elif defined(sgiN32) || defined(sgi64) - - OMNI_SYS_INC = -D__mips__ -D__irix__ -D__OSVERSION__=6 - -#elif defined(decAlpha) - -# error DEC not supported for compiling FoamX - -#elif defined(ibm) - - OMNI_SYS_INC = -D__aix__ -D__powerpc__ -D__OSVERSION__=4 - OMNI_LIB_EXT = -ar - -#else - -# error architecture not supported for compiling FoamX - -#endif - - -OMNI_INC = \ - -D__OMNIORB3__ -D_REENTRANT \ - -I$(OMNI_PATH)/include \ - $(OMNI_SYS_INC) - -OMNI_LIBS = \ - -L$(OMNI_PATH)/lib/$(OMNI_ARCH) \ - -lomniORB3$(OMNI_LIB_EXT) \ - -lomniDynamic3$(OMNI_LIB_EXT) \ - -ltcpwrapGK$(OMNI_LIB_EXT) \ - -lomnithread$(OMNI_LIB_EXT) \ - -lpthread - diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/options b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/options deleted file mode 100644 index 2445ae7ea1..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/options +++ /dev/null @@ -1,7 +0,0 @@ -#include "orbOptions" - -EXE_INC = \ - $(ORB_INC) \ - -I../FoamXServer - -LIB_LIBS = $(ORB_LIBS) diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/orbOptions b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/orbOptions deleted file mode 100644 index 61249ddaa6..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/orbOptions +++ /dev/null @@ -1,31 +0,0 @@ -#if defined(linux) || defined(linux64) - - ORB_SYS_INC = -Wno-old-style-cast - ORB_SYS_LIB = -lssl -lcrypto -ldl -lpthread - -#elif defined(solaris) - - ORB_SYS_INC = - ORB_SYS_LIB = -ldl - -#elif defined(sgiN32) || defined(sgi64) - - ORB_SYS_INC = - ORB_SYS_LIB = - -#else - -# error architecture not supported for compiling FoamX - -#endif - - -ORB_INC = \ - -I$(MICO_ARCH_PATH)/include \ - $(ORB_SYS_INC) - -ORB_LIBS = \ - -L$(MICO_ARCH_PATH)/lib \ - -lmicocoss$(MICO_VERSION) \ - -lmico$(MICO_VERSION) \ - $(ORB_SYS_LIB) diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.C deleted file mode 100644 index e530761aab..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.C +++ /dev/null @@ -1,1227 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files -#include "IFstream.H" -#include "OSspecific.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "NameServer.H" -#include "LogManager.H" -#include "LogEntry.H" -#include "Paths.H" -#include "Pstream.H" - -// Declare all the namespaces used by FoamX -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::NameServer::NameServer() -: - connected_(false) -{} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::NameServer::NameServer(CORBA::ORB_ptr pOrb) -: - connected_(false) -{ - connect(pOrb); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::NameServer::~NameServer() -{ - disconnect(); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::connect(CORBA::ORB_ptr pOrb) -{ - static const char* functionName = - "FoamX::NameServer::connect(CORBA::ORB_ptr pOrb)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (connected_ || !CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Name server already connected.", - functionName, - __FILE__, __LINE__ - ); - } - - // Try to connect to the name server using the - // resolve_initial_references call provided by the ORB. - // Different ORB vendors implement the way in which their ORB obtains - // initial references in different ways (way to go OMG boys, an - // inspired design decision!). - // Therefore, we cannot rely on this call working and may have to fall - // back on the tried and trusted method of retrieving the name service - // IOR from a file written to a common location. Since the MICO name - // server reference cannot be obtained from JAVA in any other way, - // we have to write this file anyway. MICO C++ servers can specify the - // location of the name server by using the - // "-ORBNamingAddr inet:hostname:portno" command line argument - // in which case the resolve_initial_references will work. - CORBA::Object_var initServ; - try - { - // Obtain a reference to the root context of the Name service - // through the given Orb. - // Attach to reference. - initServ = pOrb->resolve_initial_references("NameService"); - - log << "Obtained NameService reference from Orb command line" - << " arguments" << endl; - } - catch (...) - { - // If the resolve_initial_references call failed, try and open - // the name service reference written to the FoamX system directory. - if (CORBA::is_nil(initServ)) - { - // See if the name service reference file exists. - fileName nsRefFile = Paths::tmp/"ns.ref"; - if (!exists(nsRefFile)) - { - throw FoamXError - ( - E_FAIL, - "Failed to resolve NameService root context reference.", - functionName, - __FILE__, __LINE__ - ); - } - - // Extract IOR from the file. - log << "Reading name service reference file '" - << nsRefFile << "'." << endl; - - word ior((IFstream(nsRefFile)())); - initServ = pOrb->string_to_object(ior.c_str()); - } - } - - // If we still haven't got a name server reference, throw an exception. - if (CORBA::is_nil(initServ)) - { - throw FoamXError - ( - E_FAIL, - "Failed to resolve NameService root context reference.", - functionName, - __FILE__, __LINE__ - ); - } - - // call to a CosNaming::NamingContext object. - // Attach to reference. - rootContext_ = CosNaming::NamingContext::_narrow(initServ); - if (CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Failed to narrow NameService root context reference.", - functionName, - __FILE__, __LINE__ - ); - } - - // Set connected flag. - connected_ = true; - } - catch (CORBA::ORB::InvalidName& ex) - { - throw FoamXError - ( - E_FAIL, - "Caught CORBA::ORB::InvalidName exception in connect : " - "Service required is invalid [does not exist].", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::COMM_FAILURE& ex) - { - throw FoamXError - ( - E_FAIL, - "Caught CORBA::COMM_FAILURE exception in connect : " - "Unable to contact name server.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::NO_RESOURCES& ex) - { - throw FoamXError - ( - E_FAIL, - "Caught CORBA::NO_RESOURCES exception in connect : " - "Unable to contact name server.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::SystemException& ex) - { - throw FoamXError - ( - E_FAIL, - "Caught CORBA::SystemException exception in connect : " - "Unable to contact name server.", - functionName, - __FILE__, __LINE__ - ); - } - catch (...) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected error", - functionName, - __FILE__, __LINE__ - ); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::disconnect() -{ - static const char* functionName = - "FoamX::NameServer::disconnect()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - if (connected_) - { - // Dicsonnect from the root context and reset the connected flag. - rootContext_ = CosNaming::NamingContext::_nil(); - connected_ = false; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::createContext -( - const fileName& path, - bool failAlreadyBound -) -{ - static const char* functionName = - "FoamX::NameServer::createContext" - "(const fileName& path, bool failAlreadyBound)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!connected_ || CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Name server not connected.", - functionName, - __FILE__, __LINE__ - ); - } - - // Construct a CosNaming::Name from the given path string. - CosNaming::Name cosName; - createNameFromString(path, cosName); - - // Call bind_new_context on the root context. - // Attach to reference. - CosNaming::NamingContext_var context = - rootContext_->bind_new_context(cosName); - } - catch (CosNaming::NamingContext::AlreadyBound) - { - // Raise an exception only if required. - if (failAlreadyBound) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::AlreadyBound exception.", - functionName, - __FILE__, __LINE__ - ); - } - } - catch (CosNaming::NamingContext::NotFound& ex) - { - string msg = "CosNaming::NamingContext::NotFound Exception : "; - - if (ex.why == CosNaming::NamingContext::missing_node) - { - msg += "Missing Node."; - } - else if (ex.why == CosNaming::NamingContext::not_context) - { - msg += "Not Context."; - } - else if (ex.why == CosNaming::NamingContext::not_object) - { - msg += "Not Object."; - } - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::InvalidName) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::InvalidName exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::NotEmpty) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::NotEmpty exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::CannotProceed) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::CannotProceed exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::COMM_FAILURE) - { - throw FoamXError - ( - E_FAIL, - "Caught a CORBA::COMM_FAILURE exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (...) - { - throw FoamXError - ( - E_FAIL, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::createContexts -( - const fileName& path, - bool failAlreadyBound -) -{ - static const char* functionName = - "FoamX::NameServer::createContext" - "(const fileName& path, bool failAlreadyBound)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - - // Pass errors through - - wordList components = path.components(); - - fileName dir = ""; - - forAll(components, compI) - { - if (compI == 0) - { - dir = components[compI]; - } - else - { - dir = dir/components[compI]; - } - createContext(dir, failAlreadyBound); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::removeContext(const fileName& path) -{ - static const char* functionName = - "FoamX::NameServer::removeContext(const fileName& path)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!connected_ || CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Name server not connected.", - functionName, - __FILE__, __LINE__ - ); - } - - // Construct a CosNaming::Name from the given path string. - CosNaming::Name cosName; - createNameFromString(path, cosName); - - // Get the specified naming context object. - CORBA::Object_var obj = rootContext_->resolve(cosName); - CosNaming::NamingContext_var context = - CosNaming::NamingContext::_narrow(obj); - - if (CORBA::is_nil(context)) - { - throw FoamXError - ( - E_FAIL, - "Not a naming context.", - functionName, - __FILE__, __LINE__ - ); - } - - // Destroy and unbind the specified naming context. - context->destroy(); - rootContext_->unbind(cosName); - } - catch (CosNaming::NamingContext::NotFound& ex) - { - string msg = "CosNaming::NamingContext::NotFound Exception : "; - - if (ex.why == CosNaming::NamingContext::missing_node) - { - msg += "Missing node."; - } - else if (ex.why == CosNaming::NamingContext::not_context) - { - msg += "Not Context."; - } - else if (ex.why == CosNaming::NamingContext::not_object) - { - msg += "Not Object."; - } - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::InvalidName) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::InvalidName exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::AlreadyBound) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::AlreadyBound exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::NotEmpty) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::NotEmpty exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::CannotProceed) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::CannotProceed exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::COMM_FAILURE) - { - throw FoamXError - ( - E_FAIL, - "Caught a CORBA::COMM_FAILURE exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (...) - { - throw FoamXError - ( - E_FAIL, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::removeContexts -( - const fileName& root, - const fileName& path -) -{ - static const char* functionName = - "FoamX::NameServer::removeContexts" - "(const fileName& root, const fileName& path)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - fileName dir(path); - - while((dir != "/") && (dir != "") && (dir != root)) - { - removeContext(dir); - dir = dir.path(); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::bindObject -( - const fileName& name, - CORBA::Object_ptr pObject, - bool rebind -) -{ - static const char* functionName = - "FoamX::NameServer::bindObject" - "(const fileName& name, CORBA::Object_ptr pObject, bool rebind)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!connected_ || CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Name server not connected.", - functionName, - __FILE__, __LINE__ - ); - } - - // Construct a CosNaming::Name from the given path string. - CosNaming::Name cosName; - createNameFromString(name, cosName); - - // Bind this object to the specified name. - try - { - rootContext_->bind(cosName, pObject); - } - catch (CosNaming::NamingContext::AlreadyBound& ex) - { - if (!rebind) throw ex; - // Note: Using rebind() will overwrite any Object previously bound - // to the host context with obj. - // Alternatively, bind() can be used, which will raise a - // CosNaming::NamingContext::AlreadyBound exception if the - // name supplied is already bound to an object. - // Amendment: When using OrbixNames, it is necessary to first try - // bind and then rebind, as rebind on it's own will throw a - // NotFoundexception if the Name has not already been bound. - //[This is incorrect behaviour - it should just bind]. - rootContext_->rebind(cosName, pObject); - } - } - catch (CosNaming::NamingContext::NotFound& ex) - { - string msg = "CosNaming::NamingContext::NotFound Exception : "; - - if (ex.why == CosNaming::NamingContext::missing_node) - { - msg += "Missing node."; - } - else if (ex.why == CosNaming::NamingContext::not_context) - { - msg += "Not Context."; - } - else if (ex.why == CosNaming::NamingContext::not_object) - { - msg += "Not Object."; - } - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::InvalidName) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::InvalidName exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::AlreadyBound) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::AlreadyBound exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::NotEmpty) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::NotEmpty exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::CannotProceed) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::CannotProceed exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::COMM_FAILURE) - { - throw FoamXError - ( - E_FAIL, - "Caught a CORBA::COMM_FAILURE exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (...) - { - throw FoamXError - ( - E_FAIL, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::NameServer::unbindObject(const fileName& name) -{ - static const char* functionName = - "FoamX::NameServer::unbindObject(const fileName& name)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - if (!connected_ || CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Name server not connected.", - functionName, - __FILE__, __LINE__ - ); - } - - // Construct a CosNaming::Name from the given path string. - CosNaming::Name cosName; - createNameFromString(name, cosName); - - // List parent context and check that binding type is "nobject" - // before allowing unbind. - CosNaming::NamingContext_var context; - int len = cosName.length(); - CORBA::String_var id = cosName[len-1].id; - CORBA::String_var kind = cosName[len-1].kind; - - // Check that the parent is a naming context. - if (len> 1) - { - cosName.length(len - 1); - CORBA::Object_var obj = rootContext_->resolve(cosName); - context = CosNaming::NamingContext::_narrow(obj); - if (CORBA::is_nil(context)) - { - throw FoamXError - ( - E_FAIL, - "Parent is not a naming context.", - functionName, - __FILE__, __LINE__ - ); - } - } - else - { - context = rootContext_; - } - - // Loop over all bindings in the parent context. - CosNaming::BindingIterator_var bi; - CosNaming::BindingList_var bl; - CosNaming::Binding_var b; - - bool bFound = false; - context->list(0, bl, bi); - while (bi->next_one(b)) - { - if - ( - strcmp(b->binding_name[0].id, id ) == 0 - && strcmp(b->binding_name[0].kind, kind) == 0 - ) - { - if (b->binding_type == CosNaming::ncontext) - { - throw FoamXError - ( - E_FAIL, - "Can't unbind a naming context.", - functionName, - __FILE__, __LINE__ - ); - } - - // Unbind the object. - context->unbind(b->binding_name); - bFound = true; - break; - } - } - bi->destroy(); //? - - if (!bFound) - { - throw FoamXError - ( - E_FAIL, - "Object name could not be found.", - functionName, - __FILE__, __LINE__ - ); - } - } - catch (CosNaming::NamingContext::NotFound& ex) - { - string msg = "CosNaming::NamingContext::NotFound Exception : "; - - if (ex.why == CosNaming::NamingContext::missing_node) - { - msg += "Missing node."; - } - else if (ex.why == CosNaming::NamingContext::not_context) - { - msg += "Not Context."; - } - else if (ex.why == CosNaming::NamingContext::not_object) - { - msg += "Not Object."; - } - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::InvalidName) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::InvalidName exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::AlreadyBound) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::AlreadyBound exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::NotEmpty) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::NotEmpty exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::CannotProceed) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::CannotProceed exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::COMM_FAILURE) - { - throw FoamXError - ( - E_FAIL, - "Caught a CORBA::COMM_FAILURE exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (...) - { - throw FoamXError - ( - E_FAIL, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -bool FoamX::NameServer::isObjectBound(const fileName& name) -{ - static const char* functionName = - "FoamX::NameServer::isObjectBound(const fileName& name)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - bool objectBound = false; - - try - { - if (!connected_ || CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Name server not connected.", - functionName, - __FILE__, __LINE__ - ); - } - - // Construct a CosNaming::Name from the given path string. - CosNaming::Name cosName; - createNameFromString(name, cosName); - - // List parent context and check that binding type is "nobject". - CosNaming::NamingContext_var context; - int len = cosName.length(); - CORBA::String_var id = cosName[len-1].id; - CORBA::String_var kind = cosName[len-1].kind; - - // Check that the parent is a naming context. - if (len> 1) - { - cosName.length(len - 1); - - // Attach to reference. - CORBA::Object_var obj = rootContext_->resolve(cosName); - - // Attach to reference. - context = CosNaming::NamingContext::_narrow(obj); - if (CORBA::is_nil(context)) - { - throw FoamXError - ( - E_FAIL, - "Parent is not a naming context.", - functionName, - __FILE__, __LINE__ - ); - } - } - else - { - context = rootContext_; - } - - // Loop over all bindings in the parent context. - CosNaming::BindingIterator_var bi; - CosNaming::BindingList_var bl; - CosNaming::Binding_var b; - - context->list(0, bl, bi); - - if (bi) - { - while (bi->next_one(b)) - { - if - ( - strcmp(b->binding_name[0].id, id ) == 0 - && strcmp(b->binding_name[0].kind, kind) == 0 - ) - { - objectBound = b->binding_type == CosNaming::nobject; - break; - } - } - bi->destroy(); - } - } - catch (CosNaming::NamingContext::NotFound& ex) - { - string msg = "CosNaming::NamingContext::NotFound Exception : "; - - if (ex.why == CosNaming::NamingContext::missing_node) - { - // msg += "Missing node."; - // Missing node is no longer treated as an exception, - // it simply implies the object is not bound - return false; - } - else if (ex.why == CosNaming::NamingContext::not_context) - { - msg += "Not Context."; - } - else if (ex.why == CosNaming::NamingContext::not_object) - { - msg += "Not Object."; - } - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::InvalidName) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::InvalidName exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::AlreadyBound) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::AlreadyBound exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::NotEmpty) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::NotEmpty exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::CannotProceed) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::CannotProceed exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::COMM_FAILURE) - { - throw FoamXError - ( - E_FAIL, - "Caught a CORBA::COMM_FAILURE exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (...) - { - /* This is commented out because if you open a FoamXCaseBrowser - close it and then reopen it this error is thrown. Really we need - to find out what exception is actually being thrown and catch it - throw FoamXError - ( - E_FAIL, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - */ - - return false; - } - - return objectBound; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -CORBA::Object_ptr FoamX::NameServer::resolve(const fileName& name) -{ - static const char* functionName = - "FoamX::NameServer::resolve(const fileName& name)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - CORBA::Object_ptr pObject = CORBA::Object::_nil(); - - try - { - if (!connected_ || CORBA::is_nil(rootContext_)) - { - throw FoamXError - ( - E_FAIL, - "Name server not connected.", - functionName, - __FILE__, __LINE__ - ); - } - - // Construct a CosNaming::Name from the given path string. - CosNaming::Name cosName; - createNameFromString(name, cosName); - - // Resolve the name and get the object reference. - // Attach to reference. - CORBA::Object_var obj = rootContext_->resolve(cosName); - - // Duplicate the reference and return. - pObject = CORBA::Object::_duplicate(obj); - } - catch (CosNaming::NamingContext::NotFound& ex) - { - string msg = "CosNaming::NamingContext::NotFound Exception : "; - - if (ex.why == CosNaming::NamingContext::missing_node) - { - msg += "Missing node."; - } - else if (ex.why == CosNaming::NamingContext::not_context) - { - msg += "Not Context."; - } - else if (ex.why == CosNaming::NamingContext::not_object) - { - msg += "Not Object."; - } - throw FoamXError - ( - E_FAIL, - msg, - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::InvalidName) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::InvalidName exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::AlreadyBound) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::AlreadyBound exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::NotEmpty) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::NotEmpty exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CosNaming::NamingContext::CannotProceed) - { - throw FoamXError - ( - E_FAIL, - "Caught a CosNaming::NamingContext::CannotProceed exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (CORBA::COMM_FAILURE) - { - throw FoamXError - ( - E_FAIL, - "Caught a CORBA::COMM_FAILURE exception.", - functionName, - __FILE__, __LINE__ - ); - } - catch (...) - { - throw FoamXError - ( - E_FAIL, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } - - return pObject; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// "Borrowed" from the MICO NameServerClient class. - -void FoamX::NameServer::createNameFromString -( - const std::string& str, - CosNaming::Name& name -) -{ - size_t pos = 0, p = 0; - CORBA::ULong num = 0; - if (str[0] == '/') - { - pos = 1; - } - - do - { - p = str.find('/', pos); - num++; - - std::string sub; - - if (CORBA::Long(p) <0) - { - sub = str.substr(pos); - } - else - { - sub = str.substr(pos, p - pos); - } - - pos = p + 1; - name.length(num); - name[num - 1].id = CORBA::string_dup(sub.c_str()); - name[num - 1].kind = CORBA::string_dup(""); - - } while (CORBA::Long(p) >= 0); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.H deleted file mode 100644 index af5a99a3a6..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/NameServer.H +++ /dev/null @@ -1,186 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ICaseServerImpl - -Description - -SourceFiles - NameServer.C - -\*---------------------------------------------------------------------------*/ - -#ifndef NameServer_H -#define NameServer_H - -// System header files. -#include - -// Foam header files. -#include "dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class NameServer Declaration -\*---------------------------------------------------------------------------*/ - -class NameServer -{ - // Private data - - bool connected_; - CosNaming::NamingContext_var rootContext_; - - - // Private Member Functions - - void createNameFromString(const std::string&, CosNaming::Name& name); - - -public: - - // Constructors - - //- Construct null - NameServer(); - - //- Construct connecting to given ORB - NameServer(CORBA::ORB_ptr pOrb); - - - // Destructor - - virtual ~NameServer(); - - - // Member Functions - - // Connection methods. - - void connect(CORBA::ORB_ptr pOrb); - - void disconnect(); - - bool isConnected() const - { - return connected_; - } - - - // Context methods. - - // Create single context - void createContext - ( - const Foam::fileName& path, - bool failAlreadyBound = false - ); - - // Create all contexts (a la 'mkdir -p') - void createContexts - ( - const Foam::fileName& path, - bool failAlreadyBound = false - ); - - void removeContext(const Foam::fileName& path); - - // Remove all contexts up to (but not including) root - void removeContexts - ( - const Foam::fileName& root, - const Foam::fileName& path - ); - - - bool isContextBound(const Foam::fileName& path); - - - // Object binding methods. - - void bindObject - ( - const Foam::fileName& name, - CORBA::Object_ptr pObject, - bool rebind = false - ); - - void unbindObject(const Foam::fileName& name); - - bool isObjectBound(const Foam::fileName& name); - - - // Object reference resolution methods. - - CORBA::Object_ptr resolve(const Foam::fileName& name); - - - //- Template function to return object reference of the template type - // from the given context name. - // For Example :- - // FoamXServer::HostBrowser::IHostBrowser_var ref = - // fxNameServer.resolve - // - // ("HostBrowser.FoamX"); - template - typename T::_ptr_type resolve(const Foam::fileName& name) - { - CORBA::Object_var objRef = resolve(name); - - // Narrow to the specified type. - typename T::_ptr_type objTypeRef = T::_narrow(objRef); - if (CORBA::is_nil(objTypeRef)) - { - throw FoamXError - ( - FoamXServer::E_FAIL, - "Invalid object type.", - "NameServer::resolve(const Foam::fileName& name)", - __FILE__, __LINE__ - ); - } - - return T::_duplicate(objTypeRef); - } -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefDictionary.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefDictionary.H deleted file mode 100644 index 4224a38a7b..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefDictionary.H +++ /dev/null @@ -1,107 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ObjRefDictionary - -Description - Dictionary to hold CORBA implementation (ie, RefCountServantBase derived) - object references. Overrides the clear and erase method to properly release - the object references. All references are released in Hashtable destructor - via call to clear method. - -\*---------------------------------------------------------------------------*/ - -#ifndef ObjRefDictionary_H -#define ObjRefDictionary_H - -// Foam header files. -#include "Dictionary.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class ObjRefDictionary Declaration -\*---------------------------------------------------------------------------*/ - -template -class ObjRefDictionary -: - public Foam::Dictionary -{ - -public: - - // Member Functions - - //- Erase an entry specified by given iterator. - bool erase(const word& keyword) - { - if (this->found(keyword)) - { - // Release Corba implementation object. - this->lookup(keyword)->_remove_ref(); - - // Invoke base class erase method. - return Foam::Dictionary::erase(keyword); - } - else - { - return false; - } - } - - //- Clear all entries from table. - void clear() - { - // Release all Corba implementation objects. - for - ( - typename Foam::Dictionary::iterator iter = - this->begin(); - iter != this->end(); - ++iter - ) - { - iter()->_remove_ref(); - } - - // Invoke base class clear method. - Foam::Dictionary::clear(); - } -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefHashTable.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefHashTable.H deleted file mode 100644 index dcd79a9540..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ObjRefHashTable.H +++ /dev/null @@ -1,111 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ObjRefHashTable - -Description - Hashtable to hold CORBA implementation (ie, RefCountServantBase derived) - object references. Overrides the clear and erase method to properly release - the object references. All references are released in Hashtable destructor - via call to clear method. - -\*---------------------------------------------------------------------------*/ - -#ifndef ObjRefHashTable_H -#define ObjRefHashTable_H - -// Foam header files. -#include "HashTable.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class ObjRefHashTable Declaration -\*---------------------------------------------------------------------------*/ - -template -class ObjRefHashTable -: - public Foam::HashTable -{ - -public: - - // Destructor - - ~ObjRefHashTable() - { - clear(); - } - - - // Member Functions - - //- Erase an entry specified by given iterator. - bool erase(typename Foam::HashTable::iterator& iter) - { - // Release Corba implementation object. - if (iter != this->end()) - { - iter()->_remove_ref(); - } - - // Invoke base class erase method. - return Foam::HashTable::erase(iter); - } - - //- Clear all entries from table. - void clear() - { - // Release all Corba implementation objects. - for - ( - typename Foam::HashTable::iterator iter = - this->begin(); - iter != this->end(); - ++iter - ) - { - iter()->_remove_ref(); - } - - // Invoke base class clear method. - Foam::HashTable::clear(); - } -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.C deleted file mode 100644 index 1f9e732830..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.C +++ /dev/null @@ -1,88 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "Orb.H" -#include "NameServer.H" -#include "LogEntry.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::Orb::Orb(int& argc, char** argv) -: - // Initialise the ORB, passing in the command line arguments. - orbPtr_(CORBA::ORB_init(argc, argv)) -{ - // Obtain a reference to the root POA. - CORBA::Object_var obj = orbPtr_->resolve_initial_references("RootPOA"); - PortableServer::POA_var poaPtr_ = PortableServer::POA::_narrow(obj); - - // Obtain POAManager reference and tell the POA to start accepting - // requests on its objects. - PortableServer::POAManager_var pman = poaPtr_->the_POAManager(); - pman->activate(); -} - - -FoamX::Orb::~Orb() -{ - //poaPtr_->destroy(true, false); - orbPtr_->destroy(); -} - - -void FoamX::Orb::run() -{ - orbPtr_->run(); -} - - -Foam::string FoamX::Orb::ior(CORBA::Object_ptr oPtr) -{ - return orbPtr_->object_to_string(oPtr); -} - - -bool FoamX::Orb::isObjectBound(const Foam::fileName& objectName) -{ - static const char* functionName = - "FoamX::Orb::isObjectBound(const Foam::fileName& objectName)"; - - Foam::LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Connect to name server. - NameServer fxNameServer(orbPtr_); - return fxNameServer.isObjectBound(objectName); - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.H deleted file mode 100644 index 9a48a21b85..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Orb.H +++ /dev/null @@ -1,89 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::className - -Description - -SourceFiles - Orb.C - -\*---------------------------------------------------------------------------*/ - -#ifndef Orb_H -#define Orb_H - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class Orb Declaration -\*---------------------------------------------------------------------------*/ - -class Orb -{ - -public: - - // Public data - - //- Pointer to ORB. - CORBA::ORB_var orbPtr_; - - //- Pointer to POA. - PortableServer::POA_var poaPtr_; - - - // Constructors - - Orb(int& argc, char** argv); - - - // Destructor - - ~Orb(); - - - // Member functions - - void run(); - - Foam::string ior(CORBA::Object_ptr); - - bool isObjectBound(const Foam::fileName& objectName); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.C deleted file mode 100644 index b5a89e478c..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.C +++ /dev/null @@ -1,321 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "emptyPolyPatch.H" -#include "polyPatch.H" - -// FoamX header files. -#include "FoamX.H" -#include "LogEntry.H" -#include "PatchProperties.H" -#include "Paths.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::PatchProperties::PatchProperties(const word& patchName) -: - patchName_(patchName), - patchType_(emptyPolyPatch::typeName), - physicalType_(emptyPolyPatch::typeName), - modified_(false) -{ - static const char* functionName = - "FoamX::PatchProperties::PatchProperties(const char* patchName)"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::PatchProperties::~PatchProperties() -{ - static const char* functionName = - "FoamX::PatchProperties::~PatchProperties()"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -const Foam::word& FoamX::PatchProperties::patchName() const -{ - static const char* functionName = - "FoamX::PatchProperties::patchName()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return patchName_; -} - -void FoamX::PatchProperties::patchName(const word& newName) -{ - static const char* functionName = - "FoamX::PatchProperties::patchName(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - patchName_ = newName; - - modified_ = true; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -const Foam::word& FoamX::PatchProperties::patchType() const -{ - static const char* functionName = - "FoamX::PatchProperties::patchType()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return patchType_; -} - -void FoamX::PatchProperties::patchType(const word& newPatchType) -{ - static const char* functionName = - "FoamX::PatchProperties::type(const char* newPatchType)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - patchType_ = newPatchType; - - modified_ = true; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -const Foam::word& FoamX::PatchProperties::physicalType() const -{ - static const char* functionName = - "FoamX::PatchProperties::physicalType()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return physicalType_; -} - -void FoamX::PatchProperties::physicalType(const word& newName) -{ - static const char* functionName = - "FoamX::PatchProperties::physicalType(const char* newName)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - physicalType_ = newName; - - modified_ = true; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::label FoamX::PatchProperties::startFace() const -{ - static const char* functionName = - "FoamX::PatchProperties::startFace()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return startFace_; -} - -void FoamX::PatchProperties::startFace(label n) -{ - static const char* functionName = - "FoamX::PatchProperties::startFace(label n)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - startFace_ = n; - - modified_ = true; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::label FoamX::PatchProperties::nFaces() const -{ - static const char* functionName = - "FoamX::PatchProperties::nFaces()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return nFaces_; -} - -void FoamX::PatchProperties::nFaces(label n) -{ - static const char* functionName = - "FoamX::PatchProperties::nFaces(label n)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - nFaces_ = n; - - modified_ = true; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -bool FoamX::PatchProperties::modified() const -{ - static const char* functionName = - "FoamX::PatchProperties::modified()"; - - LogEntry log(functionName, __FILE__, __LINE__); - - return modified_; -} - -void FoamX::PatchProperties::modified(bool mod) -{ - static const char* functionName = - "FoamX::PatchProperties::modified(bool)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - modified_ = mod; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::PatchProperties::load(const dictionary& patchDict) -{ - static const char* functionName = - "FoamX::PatchProperties::load(const dictionary& patchDict)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Reading " << patchDict.name() - << " start line " << patchDict.startLineNumber() - << " end line " << patchDict.endLineNumber() << endl; - - // Check that the dictionary has the minimum required information. - if - ( - !patchDict.found("type") - || !patchDict.found("startFace") - || !patchDict.found("nFaces") - ) - { - throw FoamXError - ( - E_FAIL, - "Malformed patch dictionary '" + patchName_ + "'.", - functionName, - __FILE__, __LINE__ - ); - } - - // Get patch data. - patchDict.lookup("type") >> patchType_; - - if (patchDict.found("geometricType")) - { - patchDict.lookup("geometricType") >> patchType_; - } - - patchDict.lookup("startFace") >> startFace_; - patchDict.lookup("nFaces") >> nFaces_; - - // If the type is a constraint type set the physicalType - // to be the same else lookup the physical type if it is there. - if (polyPatch::constraintType(patchType_)) - { - physicalType_ = patchType_; - } - else if (patchDict.found("physicalType")) - { - patchDict.lookup("physicalType") >> physicalType_; - } - - modified_ = false; - } - catch (FoamXError& ex) - { - // Bounce exception up to client. - throw ex; - } - catch (...) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::PatchProperties::save(FoamX::DictionaryWriter& dictWriter) -{ - static const char* functionName = - "FoamX::PatchProperties::save(FoamX::DictionaryWriter& dictWriter)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Save the patch information to a sub-dictionary. - dictWriter.startSubDict(patchName_); - - dictWriter.writeEntry("type", patchType_); - dictWriter.writeEntry("physicalType", physicalType_); - dictWriter.writeEntry("startFace", startFace_ ); - dictWriter.writeEntry("nFaces", nFaces_); - - dictWriter.endSubDict(); - - modified_ = false; - } - catch (FoamXError& ex) - { - // Bounce exception up to client. - throw ex; - } - catch (...) - { - throw FoamXError - ( - E_UNEXPECTED, - "Unexpected error.", - functionName, - __FILE__, __LINE__ - ); - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.H deleted file mode 100644 index 811f7eed6c..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/PatchProperties.H +++ /dev/null @@ -1,123 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::PatchProperties - -Description - -SourceFiles - PatchProperties.C - -\*---------------------------------------------------------------------------*/ - -#ifndef PatchProperties_H -#define PatchProperties_H - -// Foam header files. -#include "dictionary.H" -#include "Dictionary.H" - -// FoamX header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "DictionaryWriter.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class PatchProperties Declaration -\*---------------------------------------------------------------------------*/ - -class PatchProperties -: - public Foam::Dictionary::link -{ - // Private data - - Foam::word patchName_; - Foam::word patchType_; - Foam::word physicalType_; - Foam::label startFace_; - Foam::label nFaces_; - - bool modified_; - -public: - - // Constructors - - PatchProperties(const Foam::word& patchName); - - - // Destructor - - ~PatchProperties(); - - - // Member Functions - - const Foam::word& patchName() const; - void patchName(const Foam::word&); - - //- Keyword used by Dictionary - const word& keyword() const - { - return patchName_; - } - - const Foam::word& patchType() const; - void patchType(const word&); - - const Foam::word& physicalType() const; - void physicalType(const Foam::word&); - - Foam::label startFace() const; - void startFace(Foam::label); - - Foam::label nFaces() const; - void nFaces(Foam::label); - - bool modified() const; - void modified(bool); - - // Persistence - - void load(const Foam::dictionary& patchDict); - void save(DictionaryWriter& dictWriter); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.C deleted file mode 100644 index 1b295112bc..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.C +++ /dev/null @@ -1,67 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files. -#include "OSspecific.H" - -// FoamX header files. -#include "Paths.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Paths -{ - Foam::fileName config(Foam::getEnv("FOAMX_CONFIG")); - //Foam::fileName tmp(Foam::dotFoam("tmp")); - Foam::fileName tmp(config); - - Foam::fileName solversPath() - { - return Foam::getEnv("WM_PROJECT_DIR")/"applications/solvers"; - } - Foam::fileName solvers(solversPath()); - - Foam::fileName userSolversPath() - { - return Foam::getEnv("WM_PROJECT_USER_DIR")/"applications/solvers"; - } - Foam::fileName userSolvers(userSolversPath()); - - Foam::fileName utilitiesPath() - { - return Foam::getEnv("WM_PROJECT_DIR")/"applications/utilities"; - } - Foam::fileName utilities(utilitiesPath()); - - Foam::fileName userUtilitiesPath() - { - return Foam::getEnv("WM_PROJECT_USER_DIR")/"applications/utilities"; - } - Foam::fileName userUtilities(userUtilitiesPath()); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.H deleted file mode 100644 index 68e34b127c..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/Paths.H +++ /dev/null @@ -1,65 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::className - -Description - -SourceFiles - Paths.C - -\*---------------------------------------------------------------------------*/ - -#ifndef Paths_H -#define Paths_H - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Paths -{ - //- FoamX configuration files path. - extern Foam::fileName config; - - //- FoamX tmp directory path. - extern Foam::fileName tmp; - - //- FoamX release solvers path. - extern Foam::fileName solvers; - - //- FoamX users solvers path. - extern Foam::fileName userSolvers; - - //- FoamX release utilities path. - extern Foam::fileName utilities; - - //- FoamX users utilities path. - extern Foam::fileName userUtilities; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.C deleted file mode 100644 index 1b0eb4cac5..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.C +++ /dev/null @@ -1,464 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Standard header files. -#include -#include -#include -#include -#include - -// Foam header files. -#include "ProcessControl.H" -#include "dictionary.H" -#include "IFstream.H" -#include "OSspecific.H" -#include "timer.H" - -// Project header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "FoamXNameSpaces.H" - - -// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * // - -void FoamX::ProcessControl::readEntries(const dictionary& procDict) -{ - if (procDict.found("remoteShell")) - { - remoteShell_ = string(procDict.lookup("remoteShell")); - } - - if (procDict.found("remoteCp")) - { - remoteShell_ = string(procDict.lookup("remoteCp")); - } - - if (procDict.found("timeOut")) - { - timeOut_ = readLabel(procDict.lookup("timeOut")); - } -} - - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -// Construct from components -FoamX::ProcessControl::ProcessControl -( - const fileName& fxSystemConfigFileName -) -: - remoteShell_("rsh"), - remoteCp_("rcp"), - timeOut_(60) -{ - static const char* functionName = - "FoamX::ProcessControl::ProcessControl" - "(const fileName& fxSystemConfigFileName)"; - - if (!exists(fxSystemConfigFileName)) - { - throw FoamXError - ( - E_FAIL, - "Configuration dictionary '" + fxSystemConfigFileName - + "' not found", - functionName, - __FILE__, __LINE__ - ); - } - - dictionary configDict((IFstream(fxSystemConfigFileName)())); - readEntries(configDict.subDict("processControl")); -} - - -// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // - -Foam::stringList FoamX::ProcessControl::remoteShellArgs -( - const string& userName, - const string& hostName, - const stringList& arguments, - const string& logName, - const bool backGround -) const -{ - // Get length of resulting argument string - - unsigned int argsLen = arguments.size(); - if (backGround) - { - argsLen++; - } - - bool remote = (hostName != Foam::hostName()); - if (remote) - { - argsLen += 4; - } - - bool haveLogName = false; - if (logName.length() != 0) - { - haveLogName = true; - - argsLen+= 2; - } - - // Now we have collected - // - argsLen - // - remote (true if on remote machine) - // - haveLogName (true if output needs to go into log) - - - stringList args(argsLen); - - // Remote invocation - unsigned int argi = 0; - if (remote) - { - args[argi++] = remoteShell_; - args[argi++] = hostName; - args[argi++] = "-l"; - args[argi++] = userName; - } - - // Arguments - for (int i = 0; i " so redirection is done remotely - args[argi++] = "\">\""; - args[argi++] = logName; - } - else - { - args[argi++] = ">"; - args[argi++] = logName; - } - } - - if (backGround) - { - args[argi++] = "&"; - } - return args; -} - - -Foam::stringList FoamX::ProcessControl::remoteCpArgs -( - const string& userName, - const string& hostName, - const fileName& src, - const fileName& dest -) const -{ - if (hostName == Foam::hostName()) - { - stringList args(4); - args[0] = "cp"; - args[1] = "-r"; - args[2] = src; - args[3] = dest; - - return args; - } - else - { - stringList args(4); - args[0] = remoteCp_; - args[1] = "-r"; - args[2] = userName + '@' + hostName + ':' + src; - args[3] = dest; - - return args; - } -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -// Return the command line as a string -Foam::string FoamX::ProcessControl::commandString -( - const stringList& argList -) -{ - string cms = argList[0]; - - for (label i=1; i argv(argList.size() + 1); - - forAll(argList, i) - { - argv[i] = const_cast(argList[i].c_str()); - } - argv[argList.size()] = NULL; - - // Fork this process. - if ((pid = ::fork()) < 0) - { - return -1; - } - - // Check that the fork worked. - if (pid == 0) - { - if (FoamXError::debug) - { - if (logFile.size() != 0) - { - Info<< "Running Process [" << getpid() << "] " - << commandString(argList) << " > " << logFile << endl; - } - else - { - Info<< "Running Process [" << getpid() << "] " - << commandString(argList) << endl; - } - } - - if (logFile.size() != 0) - { - int outFd = - open - ( - logFile.c_str(), - O_WRONLY | O_CREAT | O_TRUNC, - S_IRWXU | S_IRWXG | S_IRWXO - ); - - if (dup2(outFd, STDOUT_FILENO) != STDOUT_FILENO) - { - perror("ProcessControl::fork : dup2 error to stdout"); - } - close (outFd); - } - - // Replace this process with the required command. - execvp(argv[0], argv.begin()); - - // execvp failed so exit this process and return a -1 error code. - ::_exit(-1); - } - - return pid; -} - - -int FoamX::ProcessControl::system -( - const stringList& argList, - const int timeOut -) -{ - static const char* functionName = - "FoamX::ProcessControl::system" - "(const stringList&, const int)"; - - string cmd(commandString(argList)); - - Info<< "Doing (with timeout " << timeOut << ") : " << cmd << endl; - - if (timeOut <= 0) - { - return ::system(cmd.c_str()); - } - else - { - char* const argp[] = - { - "/bin/sh", - "-c", - const_cast(cmd.c_str()), - NULL - }; - - pid_t pid = -1; - - if ((pid = ::fork()) < 0) - { - if (FoamXError::debug) - { - Info<< functionName - << " fork failed." << endl; - } - return -1; - } - - if (pid == 0) - { - execv("/bin/sh", argp); - - // Should never come here. - _exit(127); - return -1; - } - else - { - if (FoamXError::debug) - { - Info<< functionName - << " forked pid:" << pid << "." << endl; - } - - timer myTimer(timeOut); - - if (timedOut(myTimer)) - { - // Timed out - FoamX::ProcessControl::kill(pid, SIGTERM); - return TIMEDOUT; - } - - int pStat; - while (::waitpid(pid, &pStat, 0) == -1) - { - if (errno != EINTR) - { - pStat = -1; - break; - } - } - - //if (FoamXError::debug) - //{ - Info<< "Finished doing (with timeout " << timeOut << ") : " - << cmd << endl; - //} - - return pStat; - } - } -} - - - -int FoamX::ProcessControl::kill(pid_t pid, int sig) -{ - int pStat = ::kill(pid, sig); - - timer myTimer(60); - - if (timedOut(myTimer)) - { - return -1; - } - - if (::waitpid(pid, &pStat, 0) == -1) - { - return pStat; - } - else - { - return 0; - } -} - - -int FoamX::ProcessControl::kill(const word& host, pid_t pid, int sig) const -{ - if (host == hostName()) - { - return FoamX::ProcessControl::kill(pid, sig); - } - else - { - stringList args(3); - args[0] = "kill"; - args[1] = "-" + name(sig); - args[2] = name(pid); - - stringList remoteArgs - ( - remoteShellArgs - ( - userName(), - host, - args, - "", - false - ) - ); - - return system - ( - remoteArgs, - timeOut() - ); - } -} - - -int FoamX::ProcessControl::suspend(const word& host, pid_t pid) const -{ - return kill(host, pid, SIGSTOP); -} - - -int FoamX::ProcessControl::cont(const word& host, pid_t pid) const -{ - return kill(host, pid, SIGCONT); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.H deleted file mode 100644 index 674c903f8c..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.H +++ /dev/null @@ -1,177 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::ProcessControl - -Description - -SourceFiles - ProcessControl.C - -\*---------------------------------------------------------------------------*/ - -#ifndef ProcessControl_H -#define ProcessControl_H - -#include "label.H" -#include "stringList.H" -#include "word.H" -#include "fileName.H" - -#include -#include - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class ProcessControl Declaration -\*---------------------------------------------------------------------------*/ - -class ProcessControl -{ - // Private data - - Foam::fileName remoteShell_; - Foam::fileName remoteCp_; - Foam::label timeOut_; - - - // Private Member Functions - - //- Disallow default bitwise copy construct - ProcessControl(const ProcessControl&); - - //- Disallow default bitwise assignment - void operator=(const ProcessControl&); - - //- Read the entries from the given dictionary if they are present - void readEntries(const Foam::dictionary& procDict); - - static void sigAlarm(const int); - - -public: - - // Public data types - - //- error value for time outs - static const int TIMEDOUT = -2; - - class sigAlarmException - {}; - - - // Constructors - - //- Construct from configuration file - ProcessControl - ( - const Foam::fileName& fxSystemConfigFileName - ); - - - // Member Functions - - // Access - - const Foam::fileName& remoteShell() const - { - return remoteShell_; - } - - const Foam::fileName& remoteCp() const - { - return remoteCp_; - } - - Foam::label timeOut() const - { - return timeOut_; - } - - Foam::stringList remoteShellArgs - ( - const Foam::string& userName, - const Foam::string& hostName, - const Foam::stringList& arguments, - const Foam::string& logName, - const bool backGround - ) const; - - Foam::stringList remoteCpArgs - ( - const Foam::string& userName, - const Foam::string& hostName, - const Foam::fileName& src, - const Foam::fileName& dest - ) const; - - - //- Concaternate arList into a single string - static Foam::string commandString(const Foam::stringList& argList); - - //- Fork command - static pid_t fork - ( - const Foam::stringList& argList, - const Foam::fileName& logFile - ); - - //- Waitpid command - static pid_t waitpid(pid_t pid); - - //- Run command using system - static int system - ( - const Foam::stringList& argList, - const int timeOut=0 - ); - - //- Kill job with given pid - static int kill(pid_t pid, int sig=SIGINT); - - //- Kill job on given machine with given pid - int kill(const Foam::word& host, pid_t pid, int sig=SIGINT) const; - - //- Suspend job on given machine with given pid - int suspend(const Foam::word& host, pid_t pid) const; - - //- Continue job on given machine with given pid - int cont(const Foam::word& host, pid_t pid) const; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.C b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.C deleted file mode 100644 index d4f961379b..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.C +++ /dev/null @@ -1,255 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -// Foam header files -#include "IFstream.H" -#include "OSspecific.H" - -// Project header files. -#include "FoamX.H" -#include "FoamXErrors.H" -#include "LogEntry.H" -#include "RootDictionary.H" - -// Namespaces -#include "FoamXNameSpaces.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::RootDictionary::RootDictionary -( - ITypeDescriptor_ptr typeDesc, - const fileName& caseRoot, - const fileName& caseName -) -: - IDictionaryEntryImpl(typeDesc), - caseRoot_(caseRoot), - caseName_(caseName) -{ - static const char* functionName = - "FoamX::RootDictionary::RootDictionary" - "(ITypeDescriptor_ptr, const fileName&, const fileName&)"; - - LogEntry log(functionName, __FILE__, __LINE__); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -FoamX::RootDictionary::~RootDictionary() -{} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::fileName FoamX::RootDictionary::path -( - const fileName& rootDir, - const fileName& caseName, - const fileName& dictPath -) -{ - // If path is relative prepend root and case - if (dictPath[0] != '/') - { - return rootDir/caseName/dictPath; - } - else - { - return dictPath; - } -} - -Foam::fileName FoamX::RootDictionary::pathName() -{ - return - path(caseRoot_, caseName_, typeDescriptor_->dictionaryPath()) - /word(typeDescriptor_->name()); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::RootDictionary::load() -{ - fileName dictPathName = pathName(); - - // See if the dictionary file exists. - if (exists(dictPathName)) - { - // Load the values from the file. - load((IFstream(dictPathName)())); - } -} - -void FoamX::RootDictionary::load(Istream& is) -{ - static const char* functionName = - "FoamX::RootDictionary::load(Istream&)"; - - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - log << "Loading file for " - << CORBA::String_var(typeDescriptor_->path()) << endl; - - token firstToken(is); - - if - ( - is.good() - && firstToken.isWord() - && firstToken.wordToken() == "FoamFile" - ) - { - // Read the FoamFile header - dictionary headerDict(is); - } - else - { - is.putBack(firstToken); - } - - IDictionaryEntryImpl::load(is); - - // Check state of Istream. - is.check(functionName); - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::RootDictionary::save() -{ - static const char* functionName = "FoamX::RootDictionary::save()"; - - // Overridden for root dictionary entries. - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Make sure that this entry is a top-level compound type. - fileName dictName(typeDescriptor_->name()); - - if (!typeDescriptor_->isCompoundType() || !dictName.size()) - { - throw FoamXError - ( - E_UNEXPECTED, - "Invalid root dictionary object.", - functionName, - __FILE__, __LINE__ - ); - } - - // Get the dictionaries path and file name. - fileName dictPath(typeDescriptor_->dictionaryPath()); - fileName dictPathName = dictPath/dictName; - - log << "Saving root dictionary " << dictName << "." << endl; - - if (dictPath[0] != '/') - { - DictionaryWriter dictWriter - ( - caseRoot_, - caseName_, - dictPath, - dictName - ); - - dictWriter.writeHeader - ( - "FoamX Case Dictionary.", - "dictionary" - ); - - writeEntries(dictWriter); - } - else - { - DictionaryWriter dictWriter(pathName()); - - dictWriter.writeHeader - ( - "Foam Dictionary.", - "dictionary" - ); - - writeEntries(dictWriter); - } - } - CATCH_ALL(functionName); -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -void FoamX::RootDictionary::writeEntries(DictionaryWriter& dictWriter) -{ - static const char* functionName = - "FoamX::RootDictionary::writeEntries(DictionaryWriter& dictWriter)"; - - // Overridden for root dictionary entries. - LogEntry log(functionName, __FILE__, __LINE__); - - try - { - // Write the comment if required. - const char* comment = typeDescriptor_->comment(); - if (strlen(comment) > 0) - { - dictWriter.writeComment(comment); - dictWriter.writeEndl(); - } - - bool isDict = true; - - if (typeDescriptor_->type() != Type_Dictionary) - { - isDict = false; - } - - // Save all sub-elements. - for - ( - DLList::iterator iter = - subElements_.begin(); - iter != subElements_.end(); - ++iter - ) - { - // Write each sub-element as a dictionary entry. - iter()->save(dictWriter, isDict); - dictWriter.writeEndl(); - } - - dictWriter.writeEndBar(); - } - CATCH_ALL(functionName); -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.H b/applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.H deleted file mode 100644 index 64bc5abb0a..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXLib/RootDictionary.H +++ /dev/null @@ -1,111 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - Foam::IDictionaryEntryImpl - -Description - -SourceFiles - RootDictionary.C - -\*---------------------------------------------------------------------------*/ - -#ifndef RootDictionary_H -#define RootDictionary_H - -// FoamX header files. -#include "IDictionaryEntryImpl.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace FoamX -{ - -/*---------------------------------------------------------------------------*\ - Class RootDictionary Declaration -\*---------------------------------------------------------------------------*/ - -class RootDictionary -: - public IDictionaryEntryImpl -{ - // Private data - - Foam::fileName caseRoot_; - Foam::fileName caseName_; - -public: - - // Constructors - - RootDictionary - ( - FoamXServer::ITypeDescriptor_ptr typeDesc, - const Foam::fileName& caseRoot, - const Foam::fileName& caseName - ); - - - // Destructor - - virtual ~RootDictionary(); - - - // Member Functions - - //- Return the dictPath with root and case if it isn't absolute - static Foam::fileName path - ( - const Foam::fileName& rootDir, - const Foam::fileName& caseName, - const Foam::fileName& dictPath - ); - - //- Return the full path of the dictionary - Foam::fileName pathName(); - - // Overridden IDictionaryEntry load - virtual void load(Foam::Istream&); - - //- Load the dictionary if the it's file exists - void load(); - - // Overridden IDictionaryEntry save - virtual void save(); - - //- Write the dictionary entries using the dictWriter - void writeEntries(DictionaryWriter& dictWriter); -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace FoamX - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.C b/applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.C deleted file mode 100644 index 62080e3526..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.C +++ /dev/null @@ -1,25565 +0,0 @@ -/* - * MICO --- an Open Source CORBA implementation - * Copyright (c) 1997-2006 by The Mico Team - * - * This file was automatically generated. DO NOT EDIT! - */ - -#include - - -using namespace std; - -//-------------------------------------------------------- -// Implementation of stubs -//-------------------------------------------------------- -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_FoamXType; -} - -void operator<<=( CORBA::Any &_a, const FoamXServer::FoamXType &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXType, &_e); - _a.from_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::FoamXType &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXType, &_e); - return _a.to_static_any (_sa); -} - -class _Marshaller_FoamXServer_FoamXType : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::FoamXType _MICO_T; - public: - ~_Marshaller_FoamXServer_FoamXType(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_FoamXType::~_Marshaller_FoamXServer_FoamXType() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_FoamXType::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_FoamXType::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_FoamXType::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_FoamXType::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong ul; - if( !dc.enumeration( ul ) ) - return FALSE; - *(_MICO_T*) v = (_MICO_T) ul; - return TRUE; -} - -void _Marshaller_FoamXServer_FoamXType::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.enumeration( (::CORBA::ULong) *(_MICO_T *) v ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_FoamXType::typecode() -{ - return FoamXServer::_tc_FoamXType; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXType; - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_FoamXAny; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::FoamXAny::FoamXAny() -{ -} - -FoamXServer::FoamXAny::FoamXAny( const FoamXAny& _s ) -{ - type = ((FoamXAny&)_s).type; - value = ((FoamXAny&)_s).value; -} - -FoamXServer::FoamXAny::~FoamXAny() -{ -} - -FoamXServer::FoamXAny& -FoamXServer::FoamXAny::operator=( const FoamXAny& _s ) -{ - type = ((FoamXAny&)_s).type; - value = ((FoamXAny&)_s).value; - return *this; -} -#endif - -class _Marshaller_FoamXServer_FoamXAny : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::FoamXAny _MICO_T; - public: - ~_Marshaller_FoamXServer_FoamXAny(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_FoamXAny::~_Marshaller_FoamXServer_FoamXAny() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_FoamXAny::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_FoamXAny::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_FoamXAny::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_FoamXAny::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - _marshaller_FoamXServer_FoamXType->demarshal( dc, &((_MICO_T*)v)->type ) && - CORBA::_stc_any->demarshal( dc, &((_MICO_T*)v)->value ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_FoamXAny::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - _marshaller_FoamXServer_FoamXType->marshal( ec, &((_MICO_T*)v)->type ); - CORBA::_stc_any->marshal( ec, &((_MICO_T*)v)->value ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_FoamXAny::typecode() -{ - return FoamXServer::_tc_FoamXAny; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXAny; - -void operator<<=( CORBA::Any &_a, const FoamXServer::FoamXAny &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXAny, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::FoamXAny *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::FoamXAny &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXAny, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::FoamXAny *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_FoamXAny, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_FoamXAnyList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_StringList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_TypeDescriptorList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_ErrorCode; -} - -void operator<<=( CORBA::Any &_a, const FoamXServer::ErrorCode &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ErrorCode, &_e); - _a.from_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::ErrorCode &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ErrorCode, &_e); - return _a.to_static_any (_sa); -} - -class _Marshaller_FoamXServer_ErrorCode : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::ErrorCode _MICO_T; - public: - ~_Marshaller_FoamXServer_ErrorCode(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_ErrorCode::~_Marshaller_FoamXServer_ErrorCode() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_ErrorCode::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_ErrorCode::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_ErrorCode::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_ErrorCode::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong ul; - if( !dc.enumeration( ul ) ) - return FALSE; - *(_MICO_T*) v = (_MICO_T) ul; - return TRUE; -} - -void _Marshaller_FoamXServer_ErrorCode::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.enumeration( (::CORBA::ULong) *(_MICO_T *) v ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_ErrorCode::typecode() -{ - return FoamXServer::_tc_ErrorCode; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_ErrorCode; - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_FoamXError; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::FoamXError::FoamXError() -{ -} - -FoamXServer::FoamXError::FoamXError( const FoamXError& _s ) -{ - errorCode = ((FoamXError&)_s).errorCode; - errorMessage = ((FoamXError&)_s).errorMessage; - methodName = ((FoamXError&)_s).methodName; - fileName = ((FoamXError&)_s).fileName; - lineNo = ((FoamXError&)_s).lineNo; -} - -FoamXServer::FoamXError::~FoamXError() -{ -} - -FoamXServer::FoamXError& -FoamXServer::FoamXError::operator=( const FoamXError& _s ) -{ - errorCode = ((FoamXError&)_s).errorCode; - errorMessage = ((FoamXError&)_s).errorMessage; - methodName = ((FoamXError&)_s).methodName; - fileName = ((FoamXError&)_s).fileName; - lineNo = ((FoamXError&)_s).lineNo; - return *this; -} -#endif - -#ifndef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::FoamXError::FoamXError() -{ -} - -#endif - -FoamXServer::FoamXError::FoamXError( FoamXServer::ErrorCode _m0, const char* _m1, const char* _m2, const char* _m3, CORBA::Long _m4 ) -{ - errorCode = _m0; - errorMessage = _m1; - methodName = _m2; - fileName = _m3; - lineNo = _m4; -} - -class _Marshaller_FoamXServer_FoamXError : public ::CORBA::StaticTypeInfo { - typedef ::FoamXServer::FoamXError _MICO_T; - public: - ~_Marshaller_FoamXServer_FoamXError(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_FoamXError::~_Marshaller_FoamXServer_FoamXError() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_FoamXError::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_FoamXError::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_FoamXError::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_FoamXError::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - string repoid; - return - dc.except_begin( repoid ) && - _marshaller_FoamXServer_ErrorCode->demarshal( dc, &((_MICO_T*)v)->errorCode ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->errorMessage._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->methodName._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->fileName._for_demarshal() ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->lineNo ) && - dc.except_end(); -} - -void _Marshaller_FoamXServer_FoamXError::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.except_begin( "IDL:FoamXServer/FoamXError:1.0" ); - _marshaller_FoamXServer_ErrorCode->marshal( ec, &((_MICO_T*)v)->errorCode ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->errorMessage.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->methodName.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->fileName.inout() ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->lineNo ); - ec.except_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_FoamXError::typecode() -{ - return FoamXServer::_tc_FoamXError; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXError; - -void operator<<=( CORBA::Any &_a, const FoamXServer::FoamXError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXError, &_e); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::FoamXError *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::FoamXError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXError, &_e); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::FoamXError *&_e ) -{ - return _a.to_static_any (_marshaller_FoamXServer_FoamXError, (void *&)_e); -} - -void FoamXServer::FoamXError::_throwit() const -{ - #ifdef HAVE_EXCEPTIONS - #ifdef HAVE_STD_EH - throw *this; - #else - throw FoamXError_var( (FoamXServer::FoamXError*)_clone() ); - #endif - #else - CORBA::Exception::_throw_failed( _clone() ); - #endif -} - -const char *FoamXServer::FoamXError::_repoid() const -{ - return "IDL:FoamXServer/FoamXError:1.0"; -} - -void FoamXServer::FoamXError::_encode( CORBA::DataEncoder &_en ) const -{ - _marshaller_FoamXServer_FoamXError->marshal( _en, (void*) this ); -} - -void FoamXServer::FoamXError::_encode_any( CORBA::Any &_a ) const -{ - _a <<= *this; -} - -CORBA::Exception *FoamXServer::FoamXError::_clone() const -{ - return new FoamXError( *this ); -} - -FoamXServer::FoamXError *FoamXServer::FoamXError::_downcast( CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/FoamXError:1.0" ) ) - return (FoamXError *) _ex; - return NULL; -} - -const FoamXServer::FoamXError *FoamXServer::FoamXError::_downcast( const CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/FoamXError:1.0" ) ) - return (FoamXError *) _ex; - return NULL; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_FoamXIOError; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::FoamXIOError::FoamXIOError() -{ -} - -FoamXServer::FoamXIOError::FoamXIOError( const FoamXIOError& _s ) -{ - errorMessage = ((FoamXIOError&)_s).errorMessage; - ioFileName = ((FoamXIOError&)_s).ioFileName; - ioStartLineNo = ((FoamXIOError&)_s).ioStartLineNo; - ioEndLineNo = ((FoamXIOError&)_s).ioEndLineNo; - methodName = ((FoamXIOError&)_s).methodName; - fileName = ((FoamXIOError&)_s).fileName; - lineNo = ((FoamXIOError&)_s).lineNo; -} - -FoamXServer::FoamXIOError::~FoamXIOError() -{ -} - -FoamXServer::FoamXIOError& -FoamXServer::FoamXIOError::operator=( const FoamXIOError& _s ) -{ - errorMessage = ((FoamXIOError&)_s).errorMessage; - ioFileName = ((FoamXIOError&)_s).ioFileName; - ioStartLineNo = ((FoamXIOError&)_s).ioStartLineNo; - ioEndLineNo = ((FoamXIOError&)_s).ioEndLineNo; - methodName = ((FoamXIOError&)_s).methodName; - fileName = ((FoamXIOError&)_s).fileName; - lineNo = ((FoamXIOError&)_s).lineNo; - return *this; -} -#endif - -#ifndef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::FoamXIOError::FoamXIOError() -{ -} - -#endif - -FoamXServer::FoamXIOError::FoamXIOError( const char* _m0, const char* _m1, CORBA::Long _m2, CORBA::Long _m3, const char* _m4, const char* _m5, CORBA::Long _m6 ) -{ - errorMessage = _m0; - ioFileName = _m1; - ioStartLineNo = _m2; - ioEndLineNo = _m3; - methodName = _m4; - fileName = _m5; - lineNo = _m6; -} - -class _Marshaller_FoamXServer_FoamXIOError : public ::CORBA::StaticTypeInfo { - typedef ::FoamXServer::FoamXIOError _MICO_T; - public: - ~_Marshaller_FoamXServer_FoamXIOError(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_FoamXIOError::~_Marshaller_FoamXServer_FoamXIOError() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_FoamXIOError::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_FoamXIOError::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_FoamXIOError::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_FoamXIOError::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - string repoid; - return - dc.except_begin( repoid ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->errorMessage._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->ioFileName._for_demarshal() ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->ioStartLineNo ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->ioEndLineNo ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->methodName._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->fileName._for_demarshal() ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->lineNo ) && - dc.except_end(); -} - -void _Marshaller_FoamXServer_FoamXIOError::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.except_begin( "IDL:FoamXServer/FoamXIOError:1.0" ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->errorMessage.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->ioFileName.inout() ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->ioStartLineNo ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->ioEndLineNo ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->methodName.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->fileName.inout() ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->lineNo ); - ec.except_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_FoamXIOError::typecode() -{ - return FoamXServer::_tc_FoamXIOError; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXIOError; - -void operator<<=( CORBA::Any &_a, const FoamXServer::FoamXIOError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXIOError, &_e); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::FoamXIOError *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::FoamXIOError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXIOError, &_e); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::FoamXIOError *&_e ) -{ - return _a.to_static_any (_marshaller_FoamXServer_FoamXIOError, (void *&)_e); -} - -void FoamXServer::FoamXIOError::_throwit() const -{ - #ifdef HAVE_EXCEPTIONS - #ifdef HAVE_STD_EH - throw *this; - #else - throw FoamXIOError_var( (FoamXServer::FoamXIOError*)_clone() ); - #endif - #else - CORBA::Exception::_throw_failed( _clone() ); - #endif -} - -const char *FoamXServer::FoamXIOError::_repoid() const -{ - return "IDL:FoamXServer/FoamXIOError:1.0"; -} - -void FoamXServer::FoamXIOError::_encode( CORBA::DataEncoder &_en ) const -{ - _marshaller_FoamXServer_FoamXIOError->marshal( _en, (void*) this ); -} - -void FoamXServer::FoamXIOError::_encode_any( CORBA::Any &_a ) const -{ - _a <<= *this; -} - -CORBA::Exception *FoamXServer::FoamXIOError::_clone() const -{ - return new FoamXIOError( *this ); -} - -FoamXServer::FoamXIOError *FoamXServer::FoamXIOError::_downcast( CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/FoamXIOError:1.0" ) ) - return (FoamXIOError *) _ex; - return NULL; -} - -const FoamXServer::FoamXIOError *FoamXServer::FoamXIOError::_downcast( const CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/FoamXIOError:1.0" ) ) - return (FoamXIOError *) _ex; - return NULL; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_ValidationError; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::ValidationError::ValidationError() -{ -} - -FoamXServer::ValidationError::ValidationError( const ValidationError& _s ) -{ - errorCode = ((ValidationError&)_s).errorCode; - errorMessage = ((ValidationError&)_s).errorMessage; - itemPath = ((ValidationError&)_s).itemPath; -} - -FoamXServer::ValidationError::~ValidationError() -{ -} - -FoamXServer::ValidationError& -FoamXServer::ValidationError::operator=( const ValidationError& _s ) -{ - errorCode = ((ValidationError&)_s).errorCode; - errorMessage = ((ValidationError&)_s).errorMessage; - itemPath = ((ValidationError&)_s).itemPath; - return *this; -} -#endif - -#ifndef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::ValidationError::ValidationError() -{ -} - -#endif - -FoamXServer::ValidationError::ValidationError( FoamXServer::ErrorCode _m0, const char* _m1, const char* _m2 ) -{ - errorCode = _m0; - errorMessage = _m1; - itemPath = _m2; -} - -class _Marshaller_FoamXServer_ValidationError : public ::CORBA::StaticTypeInfo { - typedef ::FoamXServer::ValidationError _MICO_T; - public: - ~_Marshaller_FoamXServer_ValidationError(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_ValidationError::~_Marshaller_FoamXServer_ValidationError() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_ValidationError::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_ValidationError::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_ValidationError::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_ValidationError::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - string repoid; - return - dc.except_begin( repoid ) && - _marshaller_FoamXServer_ErrorCode->demarshal( dc, &((_MICO_T*)v)->errorCode ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->errorMessage._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->itemPath._for_demarshal() ) && - dc.except_end(); -} - -void _Marshaller_FoamXServer_ValidationError::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.except_begin( "IDL:FoamXServer/ValidationError:1.0" ); - _marshaller_FoamXServer_ErrorCode->marshal( ec, &((_MICO_T*)v)->errorCode ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->errorMessage.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->itemPath.inout() ); - ec.except_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_ValidationError::typecode() -{ - return FoamXServer::_tc_ValidationError; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_ValidationError; - -void operator<<=( CORBA::Any &_a, const FoamXServer::ValidationError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ValidationError, &_e); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::ValidationError *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::ValidationError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ValidationError, &_e); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::ValidationError *&_e ) -{ - return _a.to_static_any (_marshaller_FoamXServer_ValidationError, (void *&)_e); -} - -void FoamXServer::ValidationError::_throwit() const -{ - #ifdef HAVE_EXCEPTIONS - #ifdef HAVE_STD_EH - throw *this; - #else - throw ValidationError_var( (FoamXServer::ValidationError*)_clone() ); - #endif - #else - CORBA::Exception::_throw_failed( _clone() ); - #endif -} - -const char *FoamXServer::ValidationError::_repoid() const -{ - return "IDL:FoamXServer/ValidationError:1.0"; -} - -void FoamXServer::ValidationError::_encode( CORBA::DataEncoder &_en ) const -{ - _marshaller_FoamXServer_ValidationError->marshal( _en, (void*) this ); -} - -void FoamXServer::ValidationError::_encode_any( CORBA::Any &_a ) const -{ - _a <<= *this; -} - -CORBA::Exception *FoamXServer::ValidationError::_clone() const -{ - return new ValidationError( *this ); -} - -FoamXServer::ValidationError *FoamXServer::ValidationError::_downcast( CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/ValidationError:1.0" ) ) - return (ValidationError *) _ex; - return NULL; -} - -const FoamXServer::ValidationError *FoamXServer::ValidationError::_downcast( const CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/ValidationError:1.0" ) ) - return (ValidationError *) _ex; - return NULL; -} - - -/* - * Base interface for class ITypeDescriptor - */ - -FoamXServer::ITypeDescriptor::~ITypeDescriptor() -{ -} - -void * -FoamXServer::ITypeDescriptor::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/ITypeDescriptor:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::ITypeDescriptor_ptr -FoamXServer::ITypeDescriptor::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::ITypeDescriptor_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/ITypeDescriptor:1.0" ))) - return _duplicate( (FoamXServer::ITypeDescriptor_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/ITypeDescriptor:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/ITypeDescriptor:1.0")) { - _o = new FoamXServer::ITypeDescriptor_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::ITypeDescriptor_ptr -FoamXServer::ITypeDescriptor::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_ITypeDescriptor; -} -class _Marshaller_FoamXServer_ITypeDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::ITypeDescriptor_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_ITypeDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_ITypeDescriptor::~_Marshaller_FoamXServer_ITypeDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_ITypeDescriptor::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_ITypeDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::ITypeDescriptor::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_ITypeDescriptor::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_ITypeDescriptor::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_ITypeDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::ITypeDescriptor::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_ITypeDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_ITypeDescriptor::typecode() -{ - return FoamXServer::_tc_ITypeDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_ITypeDescriptor; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::ITypeDescriptor_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ITypeDescriptor, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::ITypeDescriptor_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ITypeDescriptor, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::ITypeDescriptor_ptr &_obj ) -{ - FoamXServer::ITypeDescriptor_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_ITypeDescriptor, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class ITypeDescriptor - */ - -FoamXServer::ITypeDescriptor_stub::~ITypeDescriptor_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::ITypeDescriptor::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/ITypeDescriptor:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::ITypeDescriptor * -POA_FoamXServer::ITypeDescriptor::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/ITypeDescriptor:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::ITypeDescriptor *) p; - } - return NULL; -} - -FoamXServer::ITypeDescriptor_stub_clp::ITypeDescriptor_stub_clp () -{ -} - -FoamXServer::ITypeDescriptor_stub_clp::ITypeDescriptor_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::ITypeDescriptor_stub_clp::~ITypeDescriptor_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::FoamXType FoamXServer::ITypeDescriptor_stub::type() -{ - FoamXServer::FoamXType _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXType, &_res ); - - CORBA::StaticRequest __req( this, "_get_type" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::FoamXType -FoamXServer::ITypeDescriptor_stub_clp::type() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::FoamXType __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->type(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::type(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::type( FoamXServer::FoamXType _par__value ) -{ - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXType, &_par__value ); - CORBA::StaticRequest __req( this, "_set_type" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::type( FoamXServer::FoamXType _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->type(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::type(_par__value); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::ITypeDescriptor_stub::isPrimitiveType() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_isPrimitiveType" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::ITypeDescriptor_stub_clp::isPrimitiveType() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->isPrimitiveType(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::isPrimitiveType(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::ITypeDescriptor_stub::isCompoundType() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_isCompoundType" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::ITypeDescriptor_stub_clp::isCompoundType() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->isCompoundType(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::isCompoundType(); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::path() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_path" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::path() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->path(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::path(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::path( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_path" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::path( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->path(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::path(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::name() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_name" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::name() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->name(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::name(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::name( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_name" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::name( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->name(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::name(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::displayName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_displayName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::displayName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->displayName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::displayName(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::displayName( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_displayName" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::displayName( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->displayName(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::displayName(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::description() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_description" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::description() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->description(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::description(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::description( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_description" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::description( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->description(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::description(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::comment() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_comment" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::comment() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->comment(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::comment(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::comment( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_comment" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::comment( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->comment(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::comment(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::category() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_category" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::category() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->category(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::category(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::category( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_category" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::category( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->category(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::category(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::helpURL() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_helpURL" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::helpURL() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->helpURL(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::helpURL(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::helpURL( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_helpURL" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::helpURL( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->helpURL(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::helpURL(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::iconURL() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_iconURL" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::iconURL() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->iconURL(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::iconURL(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::iconURL( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_iconURL" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::iconURL( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->iconURL(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::iconURL(_par__value); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::ITypeDescriptor_stub::optional() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_optional" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::ITypeDescriptor_stub_clp::optional() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->optional(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::optional(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::optional( CORBA::Boolean _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - CORBA::StaticRequest __req( this, "_set_optional" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::optional( CORBA::Boolean _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->optional(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::optional(_par__value); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::ITypeDescriptor_stub::visible() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_visible" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::ITypeDescriptor_stub_clp::visible() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->visible(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::visible(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::visible( CORBA::Boolean _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - CORBA::StaticRequest __req( this, "_set_visible" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::visible( CORBA::Boolean _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->visible(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::visible(_par__value); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::ITypeDescriptor_stub::editable() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_editable" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::ITypeDescriptor_stub_clp::editable() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->editable(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::editable(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::editable( CORBA::Boolean _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - CORBA::StaticRequest __req( this, "_set_editable" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::editable( CORBA::Boolean _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->editable(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::editable(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::FoamXAny* FoamXServer::ITypeDescriptor_stub::minValue() -{ - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXAny ); - - CORBA::StaticRequest __req( this, "_get_minValue" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::FoamXAny*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::FoamXAny* -FoamXServer::ITypeDescriptor_stub_clp::minValue() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::FoamXAny* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->minValue(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::minValue(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::minValue( const FoamXServer::FoamXAny& _par__value ) -{ - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXAny, &_par__value ); - CORBA::StaticRequest __req( this, "_set_minValue" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::minValue( const FoamXServer::FoamXAny& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->minValue(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::minValue(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::FoamXAny* FoamXServer::ITypeDescriptor_stub::maxValue() -{ - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXAny ); - - CORBA::StaticRequest __req( this, "_get_maxValue" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::FoamXAny*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::FoamXAny* -FoamXServer::ITypeDescriptor_stub_clp::maxValue() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::FoamXAny* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->maxValue(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::maxValue(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::maxValue( const FoamXServer::FoamXAny& _par__value ) -{ - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXAny, &_par__value ); - CORBA::StaticRequest __req( this, "_set_maxValue" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::maxValue( const FoamXServer::FoamXAny& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->maxValue(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::maxValue(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::lookupDict() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_lookupDict" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::lookupDict() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->lookupDict(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::lookupDict(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::lookupDict( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_lookupDict" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::lookupDict( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->lookupDict(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::lookupDict(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::FoamXAnyList* FoamXServer::ITypeDescriptor_stub::valueList() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_FoamXAny ); - - CORBA::StaticRequest __req( this, "_get_valueList" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::FoamXAnyList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::FoamXAnyList* -FoamXServer::ITypeDescriptor_stub_clp::valueList() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::FoamXAnyList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->valueList(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::valueList(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::valueList( const FoamXServer::FoamXAnyList& _par__value ) -{ - CORBA::StaticAny _sa__value( _marshaller__seq_FoamXServer_FoamXAny, &_par__value ); - CORBA::StaticRequest __req( this, "_set_valueList" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::valueList( const FoamXServer::FoamXAnyList& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->valueList(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::valueList(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::ITypeDescriptor_stub::dictionaryPath() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_dictionaryPath" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::ITypeDescriptor_stub_clp::dictionaryPath() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->dictionaryPath(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::dictionaryPath(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::dictionaryPath( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_dictionaryPath" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::dictionaryPath( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->dictionaryPath(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::dictionaryPath(_par__value); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::ITypeDescriptor_stub::numElements() -{ - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "_get_numElements" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::ITypeDescriptor_stub_clp::numElements() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->numElements(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::numElements(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::numElements( CORBA::Long _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_long, &_par__value ); - CORBA::StaticRequest __req( this, "_set_numElements" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::numElements( CORBA::Long _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->numElements(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::numElements(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::ITypeDescriptor_stub::elementLabels() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_elementLabels" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::ITypeDescriptor_stub_clp::elementLabels() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->elementLabels(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::elementLabels(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::elementLabels( const FoamXServer::StringList& _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stcseq_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_elementLabels" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::elementLabels( const FoamXServer::StringList& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->elementLabels(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::elementLabels(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::TypeDescriptorList* FoamXServer::ITypeDescriptor_stub::subTypes() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_ITypeDescriptor ); - - CORBA::StaticRequest __req( this, "_get_subTypes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::TypeDescriptorList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::TypeDescriptorList* -FoamXServer::ITypeDescriptor_stub_clp::subTypes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::TypeDescriptorList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->subTypes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::subTypes(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr FoamXServer::ITypeDescriptor_stub::elementType() -{ - FoamXServer::ITypeDescriptor_ptr _res = FoamXServer::ITypeDescriptor::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - - CORBA::StaticRequest __req( this, "_get_elementType" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr -FoamXServer::ITypeDescriptor_stub_clp::elementType() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::ITypeDescriptor_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->elementType(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::elementType(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::ITypeDescriptor_stub::hasDefaultValue() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "hasDefaultValue" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::ITypeDescriptor_stub_clp::hasDefaultValue() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->hasDefaultValue(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::ITypeDescriptor_stub::hasDefaultValue(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::getDefaultValue( FoamXServer::IDictionaryEntry_out _par_defaultValue ) -{ - CORBA::StaticAny _sa_defaultValue( _marshaller_FoamXServer_IDictionaryEntry, &_par_defaultValue.ptr() ); - CORBA::StaticRequest __req( this, "getDefaultValue" ); - __req.add_out_arg( &_sa_defaultValue ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::getDefaultValue( FoamXServer::IDictionaryEntry_out _par_defaultValue ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getDefaultValue(_par_defaultValue); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::getDefaultValue(_par_defaultValue); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::addSubType( FoamXServer::FoamXType _par_type, FoamXServer::ITypeDescriptor_out _par_subEntry ) -{ - CORBA::StaticAny _sa_type( _marshaller_FoamXServer_FoamXType, &_par_type ); - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_ITypeDescriptor, &_par_subEntry.ptr() ); - CORBA::StaticRequest __req( this, "addSubType" ); - __req.add_in_arg( &_sa_type ); - __req.add_out_arg( &_sa_subEntry ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::addSubType( FoamXServer::FoamXType _par_type, FoamXServer::ITypeDescriptor_out _par_subEntry ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addSubType(_par_type, _par_subEntry); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::addSubType(_par_type, _par_subEntry); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::removeSubType( FoamXServer::ITypeDescriptor_ptr _par_subEntry ) -{ - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_ITypeDescriptor, &_par_subEntry ); - CORBA::StaticRequest __req( this, "removeSubType" ); - __req.add_in_arg( &_sa_subEntry ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::removeSubType( FoamXServer::ITypeDescriptor_ptr _par_subEntry ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->removeSubType(_par_subEntry); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::removeSubType(_par_subEntry); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::ITypeDescriptor_stub::validate() -{ - CORBA::StaticRequest __req( this, "validate" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::ITypeDescriptor_stub_clp::validate() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::ITypeDescriptor * _myserv = POA_FoamXServer::ITypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->validate(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::ITypeDescriptor_stub::validate(); -} - -#endif // MICO_CONF_NO_POA - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_DictionaryEntryList; -} - - -/* - * Base interface for class IDictionaryEntry - */ - -FoamXServer::IDictionaryEntry::~IDictionaryEntry() -{ -} - -void * -FoamXServer::IDictionaryEntry::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/IDictionaryEntry:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::IDictionaryEntry_ptr -FoamXServer::IDictionaryEntry::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::IDictionaryEntry_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/IDictionaryEntry:1.0" ))) - return _duplicate( (FoamXServer::IDictionaryEntry_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/IDictionaryEntry:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/IDictionaryEntry:1.0")) { - _o = new FoamXServer::IDictionaryEntry_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::IDictionaryEntry_ptr -FoamXServer::IDictionaryEntry::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_IDictionaryEntry; -} -class _Marshaller_FoamXServer_IDictionaryEntry : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::IDictionaryEntry_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_IDictionaryEntry(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_IDictionaryEntry::~_Marshaller_FoamXServer_IDictionaryEntry() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_IDictionaryEntry::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_IDictionaryEntry::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::IDictionaryEntry::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_IDictionaryEntry::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_IDictionaryEntry::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_IDictionaryEntry::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::IDictionaryEntry::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_IDictionaryEntry::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_IDictionaryEntry::typecode() -{ - return FoamXServer::_tc_IDictionaryEntry; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_IDictionaryEntry; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::IDictionaryEntry_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_IDictionaryEntry, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::IDictionaryEntry_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_IDictionaryEntry, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::IDictionaryEntry_ptr &_obj ) -{ - FoamXServer::IDictionaryEntry_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_IDictionaryEntry, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IDictionaryEntry - */ - -FoamXServer::IDictionaryEntry_stub::~IDictionaryEntry_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::IDictionaryEntry::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/IDictionaryEntry:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::IDictionaryEntry * -POA_FoamXServer::IDictionaryEntry::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/IDictionaryEntry:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::IDictionaryEntry *) p; - } - return NULL; -} - -FoamXServer::IDictionaryEntry_stub_clp::IDictionaryEntry_stub_clp () -{ -} - -FoamXServer::IDictionaryEntry_stub_clp::IDictionaryEntry_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::IDictionaryEntry_stub_clp::~IDictionaryEntry_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr FoamXServer::IDictionaryEntry_stub::typeDescriptor() -{ - FoamXServer::ITypeDescriptor_ptr _res = FoamXServer::ITypeDescriptor::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - - CORBA::StaticRequest __req( this, "_get_typeDescriptor" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr -FoamXServer::IDictionaryEntry_stub_clp::typeDescriptor() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - FoamXServer::ITypeDescriptor_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->typeDescriptor(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::IDictionaryEntry_stub::typeDescriptor(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::FoamXAny* FoamXServer::IDictionaryEntry_stub::value() -{ - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXAny ); - - CORBA::StaticRequest __req( this, "_get_value" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::FoamXAny*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::FoamXAny* -FoamXServer::IDictionaryEntry_stub_clp::value() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - FoamXServer::FoamXAny* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->value(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::IDictionaryEntry_stub::value(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::IDictionaryEntry_stub::value( const FoamXServer::FoamXAny& _par__value ) -{ - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXAny, &_par__value ); - CORBA::StaticRequest __req( this, "_set_value" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::IDictionaryEntry_stub_clp::value( const FoamXServer::FoamXAny& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->value(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::IDictionaryEntry_stub::value(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::DictionaryEntryList* FoamXServer::IDictionaryEntry_stub::subElements() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_IDictionaryEntry ); - - CORBA::StaticRequest __req( this, "_get_subElements" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::DictionaryEntryList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::DictionaryEntryList* -FoamXServer::IDictionaryEntry_stub_clp::subElements() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - FoamXServer::DictionaryEntryList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->subElements(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::IDictionaryEntry_stub::subElements(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::IDictionaryEntry_stub::selection() -{ - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "_get_selection" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::IDictionaryEntry_stub_clp::selection() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->selection(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::IDictionaryEntry_stub::selection(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::IDictionaryEntry_stub::selection( CORBA::Long _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_long, &_par__value ); - CORBA::StaticRequest __req( this, "_set_selection" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::IDictionaryEntry_stub_clp::selection( CORBA::Long _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->selection(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::IDictionaryEntry_stub::selection(_par__value); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::IDictionaryEntry_stub::setValue( const FoamXServer::FoamXAny& _par_value ) -{ - CORBA::StaticAny _sa_value( _marshaller_FoamXServer_FoamXAny, &_par_value ); - CORBA::StaticRequest __req( this, "setValue" ); - __req.add_in_arg( &_sa_value ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::IDictionaryEntry_stub_clp::setValue( const FoamXServer::FoamXAny& _par_value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->setValue(_par_value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::IDictionaryEntry_stub::setValue(_par_value); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::IDictionaryEntry_stub::nSubElements() -{ - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "nSubElements" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::IDictionaryEntry_stub_clp::nSubElements() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->nSubElements(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::IDictionaryEntry_stub::nSubElements(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::IDictionaryEntry_stub::packedList() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "packedList" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::IDictionaryEntry_stub_clp::packedList() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->packedList(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::IDictionaryEntry_stub::packedList(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::IDictionaryEntry_stub::addElement( FoamXServer::IDictionaryEntry_out _par_subEntry ) -{ - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_IDictionaryEntry, &_par_subEntry.ptr() ); - CORBA::StaticRequest __req( this, "addElement" ); - __req.add_out_arg( &_sa_subEntry ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::IDictionaryEntry_stub_clp::addElement( FoamXServer::IDictionaryEntry_out _par_subEntry ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addElement(_par_subEntry); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::IDictionaryEntry_stub::addElement(_par_subEntry); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::IDictionaryEntry_stub::removeElement( FoamXServer::IDictionaryEntry_ptr _par_subEntry ) -{ - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_IDictionaryEntry, &_par_subEntry ); - CORBA::StaticRequest __req( this, "removeElement" ); - __req.add_in_arg( &_sa_subEntry ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::IDictionaryEntry_stub_clp::removeElement( FoamXServer::IDictionaryEntry_ptr _par_subEntry ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->removeElement(_par_subEntry); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::IDictionaryEntry_stub::removeElement(_par_subEntry); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::IDictionaryEntry_stub::validate() -{ - CORBA::StaticRequest __req( this, "validate" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::IDictionaryEntry_stub_clp::validate() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->validate(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::IDictionaryEntry_stub::validate(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::IDictionaryEntry_stub::modified() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "modified" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::IDictionaryEntry_stub_clp::modified() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->modified(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::IDictionaryEntry_stub::modified(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::IDictionaryEntry_stub::save() -{ - CORBA::StaticRequest __req( this, "save" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::IDictionaryEntry_stub_clp::save() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::IDictionaryEntry * _myserv = POA_FoamXServer::IDictionaryEntry::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->save(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::IDictionaryEntry_stub::save(); -} - -#endif // MICO_CONF_NO_POA - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_JobStatus; -} - -void operator<<=( CORBA::Any &_a, const FoamXServer::JobStatus &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_JobStatus, &_e); - _a.from_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::JobStatus &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_JobStatus, &_e); - return _a.to_static_any (_sa); -} - -class _Marshaller_FoamXServer_JobStatus : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::JobStatus _MICO_T; - public: - ~_Marshaller_FoamXServer_JobStatus(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_JobStatus::~_Marshaller_FoamXServer_JobStatus() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_JobStatus::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_JobStatus::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_JobStatus::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_JobStatus::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong ul; - if( !dc.enumeration( ul ) ) - return FALSE; - *(_MICO_T*) v = (_MICO_T) ul; - return TRUE; -} - -void _Marshaller_FoamXServer_JobStatus::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.enumeration( (::CORBA::ULong) *(_MICO_T *) v ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_JobStatus::typecode() -{ - return FoamXServer::_tc_JobStatus; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_JobStatus; - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_MessageType; -} - -void operator<<=( CORBA::Any &_a, const FoamXServer::MessageType &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_MessageType, &_e); - _a.from_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::MessageType &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_MessageType, &_e); - return _a.to_static_any (_sa); -} - -class _Marshaller_FoamXServer_MessageType : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::MessageType _MICO_T; - public: - ~_Marshaller_FoamXServer_MessageType(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_MessageType::~_Marshaller_FoamXServer_MessageType() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_MessageType::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_MessageType::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_MessageType::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_MessageType::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong ul; - if( !dc.enumeration( ul ) ) - return FALSE; - *(_MICO_T*) v = (_MICO_T) ul; - return TRUE; -} - -void _Marshaller_FoamXServer_MessageType::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.enumeration( (::CORBA::ULong) *(_MICO_T *) v ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_MessageType::typecode() -{ - return FoamXServer::_tc_MessageType; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_MessageType; - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_DoubleList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_FloatList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_LongList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_Point3; -} - -void operator<<=( CORBA::Any &_a, const FoamXServer::Point3_forany &_const_s ) -{ - _const_s.alloc(); - CORBA::StaticAny _sa (_marshaller__a3_float, _const_s.in()); - _a.from_static_any (_sa); - _const_s.clear(); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::Point3_forany &_s ) -{ - FoamXServer::Point3_slice *p; - if (_a.to_static_any (_marshaller__a3_float, (void *&)p)) { - _s = p; - return TRUE; - } - return FALSE; -} - - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_StringPair; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::StringPair::StringPair() -{ -} - -FoamXServer::StringPair::StringPair( const StringPair& _s ) -{ - name = ((StringPair&)_s).name; - value = ((StringPair&)_s).value; -} - -FoamXServer::StringPair::~StringPair() -{ -} - -FoamXServer::StringPair& -FoamXServer::StringPair::operator=( const StringPair& _s ) -{ - name = ((StringPair&)_s).name; - value = ((StringPair&)_s).value; - return *this; -} -#endif - -class _Marshaller_FoamXServer_StringPair : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::StringPair _MICO_T; - public: - ~_Marshaller_FoamXServer_StringPair(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_StringPair::~_Marshaller_FoamXServer_StringPair() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_StringPair::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_StringPair::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_StringPair::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_StringPair::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->name._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->value._for_demarshal() ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_StringPair::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->name.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->value.inout() ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_StringPair::typecode() -{ - return FoamXServer::_tc_StringPair; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_StringPair; - -void operator<<=( CORBA::Any &_a, const FoamXServer::StringPair &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_StringPair, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::StringPair *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::StringPair &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_StringPair, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::StringPair *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_StringPair, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_StringPairList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_HostDescriptor; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::HostDescriptor::HostDescriptor() -{ -} - -FoamXServer::HostDescriptor::HostDescriptor( const HostDescriptor& _s ) -{ - name = ((HostDescriptor&)_s).name; - alive = ((HostDescriptor&)_s).alive; -} - -FoamXServer::HostDescriptor::~HostDescriptor() -{ -} - -FoamXServer::HostDescriptor& -FoamXServer::HostDescriptor::operator=( const HostDescriptor& _s ) -{ - name = ((HostDescriptor&)_s).name; - alive = ((HostDescriptor&)_s).alive; - return *this; -} -#endif - -class _Marshaller_FoamXServer_HostDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::HostDescriptor _MICO_T; - public: - ~_Marshaller_FoamXServer_HostDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_HostDescriptor::~_Marshaller_FoamXServer_HostDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_HostDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_HostDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_HostDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_HostDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->name._for_demarshal() ) && - CORBA::_stc_boolean->demarshal( dc, &((_MICO_T*)v)->alive ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_HostDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->name.inout() ); - CORBA::_stc_boolean->marshal( ec, &((_MICO_T*)v)->alive ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_HostDescriptor::typecode() -{ - return FoamXServer::_tc_HostDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_HostDescriptor; - -void operator<<=( CORBA::Any &_a, const FoamXServer::HostDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_HostDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::HostDescriptor *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::HostDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_HostDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::HostDescriptor *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_HostDescriptor, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_HostDescriptorList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_ApplicationDescriptor; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::ApplicationDescriptor::ApplicationDescriptor() -{ -} - -FoamXServer::ApplicationDescriptor::ApplicationDescriptor( const ApplicationDescriptor& _s ) -{ - name = ((ApplicationDescriptor&)_s).name; - category = ((ApplicationDescriptor&)_s).category; - path = ((ApplicationDescriptor&)_s).path; - systemClass = ((ApplicationDescriptor&)_s).systemClass; -} - -FoamXServer::ApplicationDescriptor::~ApplicationDescriptor() -{ -} - -FoamXServer::ApplicationDescriptor& -FoamXServer::ApplicationDescriptor::operator=( const ApplicationDescriptor& _s ) -{ - name = ((ApplicationDescriptor&)_s).name; - category = ((ApplicationDescriptor&)_s).category; - path = ((ApplicationDescriptor&)_s).path; - systemClass = ((ApplicationDescriptor&)_s).systemClass; - return *this; -} -#endif - -class _Marshaller_FoamXServer_ApplicationDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::ApplicationDescriptor _MICO_T; - public: - ~_Marshaller_FoamXServer_ApplicationDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_ApplicationDescriptor::~_Marshaller_FoamXServer_ApplicationDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_ApplicationDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_ApplicationDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_ApplicationDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_ApplicationDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->name._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->category._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->path._for_demarshal() ) && - CORBA::_stc_boolean->demarshal( dc, &((_MICO_T*)v)->systemClass ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_ApplicationDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->name.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->category.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->path.inout() ); - CORBA::_stc_boolean->marshal( ec, &((_MICO_T*)v)->systemClass ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_ApplicationDescriptor::typecode() -{ - return FoamXServer::_tc_ApplicationDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_ApplicationDescriptor; - -void operator<<=( CORBA::Any &_a, const FoamXServer::ApplicationDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ApplicationDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::ApplicationDescriptor *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::ApplicationDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_ApplicationDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::ApplicationDescriptor *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_ApplicationDescriptor, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_ApplicationDescriptorList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_CaseDescriptor; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::CaseDescriptor::CaseDescriptor() -{ -} - -FoamXServer::CaseDescriptor::CaseDescriptor( const CaseDescriptor& _s ) -{ - rootDir = ((CaseDescriptor&)_s).rootDir; - rawRootDir = ((CaseDescriptor&)_s).rawRootDir; - caseName = ((CaseDescriptor&)_s).caseName; - app = ((CaseDescriptor&)_s).app; - nProcs = ((CaseDescriptor&)_s).nProcs; - managed = ((CaseDescriptor&)_s).managed; - locked = ((CaseDescriptor&)_s).locked; - error = ((CaseDescriptor&)_s).error; -} - -FoamXServer::CaseDescriptor::~CaseDescriptor() -{ -} - -FoamXServer::CaseDescriptor& -FoamXServer::CaseDescriptor::operator=( const CaseDescriptor& _s ) -{ - rootDir = ((CaseDescriptor&)_s).rootDir; - rawRootDir = ((CaseDescriptor&)_s).rawRootDir; - caseName = ((CaseDescriptor&)_s).caseName; - app = ((CaseDescriptor&)_s).app; - nProcs = ((CaseDescriptor&)_s).nProcs; - managed = ((CaseDescriptor&)_s).managed; - locked = ((CaseDescriptor&)_s).locked; - error = ((CaseDescriptor&)_s).error; - return *this; -} -#endif - -class _Marshaller_FoamXServer_CaseDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseDescriptor _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseDescriptor::~_Marshaller_FoamXServer_CaseDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_CaseDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_CaseDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->rootDir._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->rawRootDir._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->caseName._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->app._for_demarshal() ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->nProcs ) && - CORBA::_stc_boolean->demarshal( dc, &((_MICO_T*)v)->managed ) && - CORBA::_stc_boolean->demarshal( dc, &((_MICO_T*)v)->locked ) && - CORBA::_stc_boolean->demarshal( dc, &((_MICO_T*)v)->error ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_CaseDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->rootDir.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->rawRootDir.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->caseName.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->app.inout() ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->nProcs ); - CORBA::_stc_boolean->marshal( ec, &((_MICO_T*)v)->managed ); - CORBA::_stc_boolean->marshal( ec, &((_MICO_T*)v)->locked ); - CORBA::_stc_boolean->marshal( ec, &((_MICO_T*)v)->error ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseDescriptor::typecode() -{ - return FoamXServer::_tc_CaseDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseDescriptor; - -void operator<<=( CORBA::Any &_a, const FoamXServer::CaseDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::CaseDescriptor *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::CaseDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::CaseDescriptor *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_CaseDescriptor, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_CaseDescriptorList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_JobID; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::JobID::JobID() -{ -} - -FoamXServer::JobID::JobID( const JobID& _s ) -{ - hostName = ((JobID&)_s).hostName; - processID = ((JobID&)_s).processID; -} - -FoamXServer::JobID::~JobID() -{ -} - -FoamXServer::JobID& -FoamXServer::JobID::operator=( const JobID& _s ) -{ - hostName = ((JobID&)_s).hostName; - processID = ((JobID&)_s).processID; - return *this; -} -#endif - -class _Marshaller_FoamXServer_JobID : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::JobID _MICO_T; - public: - ~_Marshaller_FoamXServer_JobID(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_JobID::~_Marshaller_FoamXServer_JobID() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_JobID::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_JobID::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_JobID::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_JobID::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->hostName._for_demarshal() ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->processID ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_JobID::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->hostName.inout() ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->processID ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_JobID::typecode() -{ - return FoamXServer::_tc_JobID; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_JobID; - -void operator<<=( CORBA::Any &_a, const FoamXServer::JobID &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_JobID, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::JobID *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::JobID &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_JobID, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::JobID *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_JobID, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_JobIDList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_JobDescriptor; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::JobDescriptor::JobDescriptor() -{ -} - -FoamXServer::JobDescriptor::JobDescriptor( const JobDescriptor& _s ) -{ - jobID = ((JobDescriptor&)_s).jobID; - ppid = ((JobDescriptor&)_s).ppid; - pgid = ((JobDescriptor&)_s).pgid; - startDate = ((JobDescriptor&)_s).startDate; - startTime = ((JobDescriptor&)_s).startTime; - userName = ((JobDescriptor&)_s).userName; - foamVersion = ((JobDescriptor&)_s).foamVersion; - code = ((JobDescriptor&)_s).code; - argList = ((JobDescriptor&)_s).argList; - currentDir = ((JobDescriptor&)_s).currentDir; - rootDir = ((JobDescriptor&)_s).rootDir; - caseName = ((JobDescriptor&)_s).caseName; - nProcs = ((JobDescriptor&)_s).nProcs; - slaves = ((JobDescriptor&)_s).slaves; - nCountedProcs = ((JobDescriptor&)_s).nCountedProcs; - cpuTime = ((JobDescriptor&)_s).cpuTime; - endDate = ((JobDescriptor&)_s).endDate; - endTime = ((JobDescriptor&)_s).endTime; - status = ((JobDescriptor&)_s).status; -} - -FoamXServer::JobDescriptor::~JobDescriptor() -{ -} - -FoamXServer::JobDescriptor& -FoamXServer::JobDescriptor::operator=( const JobDescriptor& _s ) -{ - jobID = ((JobDescriptor&)_s).jobID; - ppid = ((JobDescriptor&)_s).ppid; - pgid = ((JobDescriptor&)_s).pgid; - startDate = ((JobDescriptor&)_s).startDate; - startTime = ((JobDescriptor&)_s).startTime; - userName = ((JobDescriptor&)_s).userName; - foamVersion = ((JobDescriptor&)_s).foamVersion; - code = ((JobDescriptor&)_s).code; - argList = ((JobDescriptor&)_s).argList; - currentDir = ((JobDescriptor&)_s).currentDir; - rootDir = ((JobDescriptor&)_s).rootDir; - caseName = ((JobDescriptor&)_s).caseName; - nProcs = ((JobDescriptor&)_s).nProcs; - slaves = ((JobDescriptor&)_s).slaves; - nCountedProcs = ((JobDescriptor&)_s).nCountedProcs; - cpuTime = ((JobDescriptor&)_s).cpuTime; - endDate = ((JobDescriptor&)_s).endDate; - endTime = ((JobDescriptor&)_s).endTime; - status = ((JobDescriptor&)_s).status; - return *this; -} -#endif - -class _Marshaller_FoamXServer_JobDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::JobDescriptor _MICO_T; - public: - ~_Marshaller_FoamXServer_JobDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_JobDescriptor::~_Marshaller_FoamXServer_JobDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_JobDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_JobDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_JobDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_JobDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - _marshaller_FoamXServer_JobID->demarshal( dc, &((_MICO_T*)v)->jobID ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->ppid ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->pgid ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->startDate._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->startTime._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->userName._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->foamVersion._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->code._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->argList._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->currentDir._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->rootDir._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->caseName._for_demarshal() ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->nProcs ) && - _marshaller__seq_FoamXServer_JobID->demarshal( dc, &((_MICO_T*)v)->slaves ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->nCountedProcs ) && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->cpuTime ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->endDate._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->endTime._for_demarshal() ) && - _marshaller_FoamXServer_JobStatus->demarshal( dc, &((_MICO_T*)v)->status ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_JobDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - _marshaller_FoamXServer_JobID->marshal( ec, &((_MICO_T*)v)->jobID ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->ppid ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->pgid ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->startDate.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->startTime.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->userName.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->foamVersion.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->code.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->argList.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->currentDir.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->rootDir.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->caseName.inout() ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->nProcs ); - _marshaller__seq_FoamXServer_JobID->marshal( ec, &((_MICO_T*)v)->slaves ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->nCountedProcs ); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->cpuTime ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->endDate.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->endTime.inout() ); - _marshaller_FoamXServer_JobStatus->marshal( ec, &((_MICO_T*)v)->status ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_JobDescriptor::typecode() -{ - return FoamXServer::_tc_JobDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_JobDescriptor; - -void operator<<=( CORBA::Any &_a, const FoamXServer::JobDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_JobDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::JobDescriptor *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::JobDescriptor &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_JobDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::JobDescriptor *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_JobDescriptor, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_JobDescriptorList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_DimensionSet; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::DimensionSet::DimensionSet() -{ -} - -FoamXServer::DimensionSet::DimensionSet( const DimensionSet& _s ) -{ - mass = ((DimensionSet&)_s).mass; - length = ((DimensionSet&)_s).length; - time = ((DimensionSet&)_s).time; - temperature = ((DimensionSet&)_s).temperature; - moles = ((DimensionSet&)_s).moles; - current = ((DimensionSet&)_s).current; - luminousIntensity = ((DimensionSet&)_s).luminousIntensity; -} - -FoamXServer::DimensionSet::~DimensionSet() -{ -} - -FoamXServer::DimensionSet& -FoamXServer::DimensionSet::operator=( const DimensionSet& _s ) -{ - mass = ((DimensionSet&)_s).mass; - length = ((DimensionSet&)_s).length; - time = ((DimensionSet&)_s).time; - temperature = ((DimensionSet&)_s).temperature; - moles = ((DimensionSet&)_s).moles; - current = ((DimensionSet&)_s).current; - luminousIntensity = ((DimensionSet&)_s).luminousIntensity; - return *this; -} -#endif - -class _Marshaller_FoamXServer_DimensionSet : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::DimensionSet _MICO_T; - public: - ~_Marshaller_FoamXServer_DimensionSet(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_DimensionSet::~_Marshaller_FoamXServer_DimensionSet() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_DimensionSet::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_DimensionSet::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_DimensionSet::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_DimensionSet::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - return - dc.struct_begin() && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->mass ) && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->length ) && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->time ) && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->temperature ) && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->moles ) && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->current ) && - CORBA::_stc_double->demarshal( dc, &((_MICO_T*)v)->luminousIntensity ) && - dc.struct_end(); -} - -void _Marshaller_FoamXServer_DimensionSet::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.struct_begin(); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->mass ); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->length ); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->time ); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->temperature ); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->moles ); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->current ); - CORBA::_stc_double->marshal( ec, &((_MICO_T*)v)->luminousIntensity ); - ec.struct_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_DimensionSet::typecode() -{ - return FoamXServer::_tc_DimensionSet; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_DimensionSet; - -void operator<<=( CORBA::Any &_a, const FoamXServer::DimensionSet &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_DimensionSet, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::DimensionSet *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::DimensionSet &_s ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_DimensionSet, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::DimensionSet *&_s ) -{ - return _a.to_static_any (_marshaller_FoamXServer_DimensionSet, (void *&)_s); -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_DimensionSetList; -} - -namespace FoamXServer -{ -CORBA::TypeCodeConst _tc_FoamXSYSError; -} - -#ifdef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::FoamXSYSError::FoamXSYSError() -{ -} - -FoamXServer::FoamXSYSError::FoamXSYSError( const FoamXSYSError& _s ) -{ - errorCode = ((FoamXSYSError&)_s).errorCode; - errorMessage = ((FoamXSYSError&)_s).errorMessage; - hostName = ((FoamXSYSError&)_s).hostName; - methodName = ((FoamXSYSError&)_s).methodName; - fileName = ((FoamXSYSError&)_s).fileName; - lineNo = ((FoamXSYSError&)_s).lineNo; -} - -FoamXServer::FoamXSYSError::~FoamXSYSError() -{ -} - -FoamXServer::FoamXSYSError& -FoamXServer::FoamXSYSError::operator=( const FoamXSYSError& _s ) -{ - errorCode = ((FoamXSYSError&)_s).errorCode; - errorMessage = ((FoamXSYSError&)_s).errorMessage; - hostName = ((FoamXSYSError&)_s).hostName; - methodName = ((FoamXSYSError&)_s).methodName; - fileName = ((FoamXSYSError&)_s).fileName; - lineNo = ((FoamXSYSError&)_s).lineNo; - return *this; -} -#endif - -#ifndef HAVE_EXPLICIT_STRUCT_OPS -FoamXServer::FoamXSYSError::FoamXSYSError() -{ -} - -#endif - -FoamXServer::FoamXSYSError::FoamXSYSError( FoamXServer::ErrorCode _m0, const char* _m1, const char* _m2, const char* _m3, const char* _m4, CORBA::Long _m5 ) -{ - errorCode = _m0; - errorMessage = _m1; - hostName = _m2; - methodName = _m3; - fileName = _m4; - lineNo = _m5; -} - -class _Marshaller_FoamXServer_FoamXSYSError : public ::CORBA::StaticTypeInfo { - typedef ::FoamXServer::FoamXSYSError _MICO_T; - public: - ~_Marshaller_FoamXServer_FoamXSYSError(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_FoamXSYSError::~_Marshaller_FoamXServer_FoamXSYSError() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_FoamXSYSError::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller_FoamXServer_FoamXSYSError::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller_FoamXServer_FoamXSYSError::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller_FoamXServer_FoamXSYSError::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - string repoid; - return - dc.except_begin( repoid ) && - _marshaller_FoamXServer_ErrorCode->demarshal( dc, &((_MICO_T*)v)->errorCode ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->errorMessage._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->hostName._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->methodName._for_demarshal() ) && - CORBA::_stc_string->demarshal( dc, &((_MICO_T*)v)->fileName._for_demarshal() ) && - CORBA::_stc_long->demarshal( dc, &((_MICO_T*)v)->lineNo ) && - dc.except_end(); -} - -void _Marshaller_FoamXServer_FoamXSYSError::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.except_begin( "IDL:FoamXServer/FoamXSYSError:1.0" ); - _marshaller_FoamXServer_ErrorCode->marshal( ec, &((_MICO_T*)v)->errorCode ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->errorMessage.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->hostName.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->methodName.inout() ); - CORBA::_stc_string->marshal( ec, &((_MICO_T*)v)->fileName.inout() ); - CORBA::_stc_long->marshal( ec, &((_MICO_T*)v)->lineNo ); - ec.except_end(); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_FoamXSYSError::typecode() -{ - return FoamXServer::_tc_FoamXSYSError; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXSYSError; - -void operator<<=( CORBA::Any &_a, const FoamXServer::FoamXSYSError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXSYSError, &_e); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, FoamXServer::FoamXSYSError *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, FoamXServer::FoamXSYSError &_e ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_FoamXSYSError, &_e); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const FoamXServer::FoamXSYSError *&_e ) -{ - return _a.to_static_any (_marshaller_FoamXServer_FoamXSYSError, (void *&)_e); -} - -void FoamXServer::FoamXSYSError::_throwit() const -{ - #ifdef HAVE_EXCEPTIONS - #ifdef HAVE_STD_EH - throw *this; - #else - throw FoamXSYSError_var( (FoamXServer::FoamXSYSError*)_clone() ); - #endif - #else - CORBA::Exception::_throw_failed( _clone() ); - #endif -} - -const char *FoamXServer::FoamXSYSError::_repoid() const -{ - return "IDL:FoamXServer/FoamXSYSError:1.0"; -} - -void FoamXServer::FoamXSYSError::_encode( CORBA::DataEncoder &_en ) const -{ - _marshaller_FoamXServer_FoamXSYSError->marshal( _en, (void*) this ); -} - -void FoamXServer::FoamXSYSError::_encode_any( CORBA::Any &_a ) const -{ - _a <<= *this; -} - -CORBA::Exception *FoamXServer::FoamXSYSError::_clone() const -{ - return new FoamXSYSError( *this ); -} - -FoamXServer::FoamXSYSError *FoamXServer::FoamXSYSError::_downcast( CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/FoamXSYSError:1.0" ) ) - return (FoamXSYSError *) _ex; - return NULL; -} - -const FoamXServer::FoamXSYSError *FoamXServer::FoamXSYSError::_downcast( const CORBA::Exception *_ex ) -{ - if( _ex && !strcmp( _ex->_repoid(), "IDL:FoamXServer/FoamXSYSError:1.0" ) ) - return (FoamXSYSError *) _ex; - return NULL; -} - - -/* - * Base interface for class ICaseServer - */ - -FoamXServer::CaseServer::ICaseServer::~ICaseServer() -{ -} - -void * -FoamXServer::CaseServer::ICaseServer::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/ICaseServer:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::ICaseServer_ptr -FoamXServer::CaseServer::ICaseServer::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::ICaseServer_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/ICaseServer:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::ICaseServer_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/ICaseServer:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/ICaseServer:1.0")) { - _o = new FoamXServer::CaseServer::ICaseServer_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::ICaseServer_ptr -FoamXServer::CaseServer::ICaseServer::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_ICaseServer; -} -} -class _Marshaller_FoamXServer_CaseServer_ICaseServer : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::ICaseServer_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_ICaseServer(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_ICaseServer::~_Marshaller_FoamXServer_CaseServer_ICaseServer() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_ICaseServer::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_ICaseServer::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::ICaseServer::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_ICaseServer::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_ICaseServer::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_ICaseServer::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::ICaseServer::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_ICaseServer::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_ICaseServer::typecode() -{ - return FoamXServer::CaseServer::_tc_ICaseServer; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_ICaseServer; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::ICaseServer_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_ICaseServer, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::ICaseServer_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_ICaseServer, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::ICaseServer_ptr &_obj ) -{ - FoamXServer::CaseServer::ICaseServer_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_ICaseServer, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class ICaseServer - */ - -FoamXServer::CaseServer::ICaseServer_stub::~ICaseServer_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::ICaseServer::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/ICaseServer:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::ICaseServer * -POA_FoamXServer::CaseServer::ICaseServer::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/ICaseServer:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::ICaseServer *) p; - } - return NULL; -} - -FoamXServer::CaseServer::ICaseServer_stub_clp::ICaseServer_stub_clp () -{ -} - -FoamXServer::CaseServer::ICaseServer_stub_clp::ICaseServer_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::ICaseServer_stub_clp::~ICaseServer_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseServer::ICaseServer_stub::managed() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_managed" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseServer::ICaseServer_stub_clp::managed() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->managed(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::managed(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::managed( CORBA::Boolean _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - CORBA::StaticRequest __req( this, "_set_managed" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::managed( CORBA::Boolean _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->managed(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::managed(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::ICaseServer_stub::caseRoot() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_caseRoot" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::ICaseServer_stub_clp::caseRoot() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->caseRoot(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::caseRoot(); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::ICaseServer_stub::caseName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_caseName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::ICaseServer_stub_clp::caseName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->caseName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::caseName(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::CaseServer::IApplication_ptr FoamXServer::CaseServer::ICaseServer_stub::application() -{ - FoamXServer::CaseServer::IApplication_ptr _res = FoamXServer::CaseServer::IApplication::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IApplication, &_res ); - - CORBA::StaticRequest __req( this, "_get_application" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::CaseServer::IApplication_ptr -FoamXServer::CaseServer::ICaseServer_stub_clp::application() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - FoamXServer::CaseServer::IApplication_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->application(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::application(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::CaseServer::IFoamProperties_ptr FoamXServer::CaseServer::ICaseServer_stub::foamProperties() -{ - FoamXServer::CaseServer::IFoamProperties_ptr _res = FoamXServer::CaseServer::IFoamProperties::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IFoamProperties, &_res ); - - CORBA::StaticRequest __req( this, "_get_foamProperties" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::CaseServer::IFoamProperties_ptr -FoamXServer::CaseServer::ICaseServer_stub_clp::foamProperties() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - FoamXServer::CaseServer::IFoamProperties_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->foamProperties(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::foamProperties(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::ICaseServer_stub::availableTimeSteps() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_availableTimeSteps" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::ICaseServer_stub_clp::availableTimeSteps() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->availableTimeSteps(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::availableTimeSteps(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseServer::ICaseServer_stub::meshDefined() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_meshDefined" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseServer::ICaseServer_stub_clp::meshDefined() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->meshDefined(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::meshDefined(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::ICaseServer_stub::patchNames() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_patchNames" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::ICaseServer_stub_clp::patchNames() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->patchNames(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::patchNames(); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::ICaseServer_stub::getTime() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "getTime" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::ICaseServer_stub_clp::getTime() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->getTime(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::getTime(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::setTime( const char* _par_timeName, CORBA::Long _par_timeIndex ) -{ - CORBA::StaticAny _sa_timeName( CORBA::_stc_string, &_par_timeName ); - CORBA::StaticAny _sa_timeIndex( CORBA::_stc_long, &_par_timeIndex ); - CORBA::StaticRequest __req( this, "setTime" ); - __req.add_in_arg( &_sa_timeName ); - __req.add_in_arg( &_sa_timeIndex ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::setTime( const char* _par_timeName, CORBA::Long _par_timeIndex ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->setTime(_par_timeName, _par_timeIndex); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::setTime(_par_timeName, _par_timeIndex); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::readMesh() -{ - CORBA::StaticRequest __req( this, "readMesh" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::readMesh() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->readMesh(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::readMesh(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::importMesh( const char* _par_hostName, const char* _par_rootDir, const char* _par_caseName ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticRequest __req( this, "importMesh" ); - __req.add_in_arg( &_sa_hostName ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::importMesh( const char* _par_hostName, const char* _par_rootDir, const char* _par_caseName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->importMesh(_par_hostName, _par_rootDir, _par_caseName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::importMesh(_par_hostName, _par_rootDir, _par_caseName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::getFieldValues( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricField_out _par_fieldValues ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_fieldValues( _marshaller_FoamXServer_CaseServer_IGeometricField, &_par_fieldValues.ptr() ); - CORBA::StaticRequest __req( this, "getFieldValues" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_out_arg( &_sa_fieldValues ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::getFieldValues( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricField_out _par_fieldValues ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getFieldValues(_par_fieldName, _par_fieldValues); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::getFieldValues(_par_fieldName, _par_fieldValues); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::addPatch( const char* _par_patchName, const char* _par_patchPhysicalType ) -{ - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticAny _sa_patchPhysicalType( CORBA::_stc_string, &_par_patchPhysicalType ); - CORBA::StaticRequest __req( this, "addPatch" ); - __req.add_in_arg( &_sa_patchName ); - __req.add_in_arg( &_sa_patchPhysicalType ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::addPatch( const char* _par_patchName, const char* _par_patchPhysicalType ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addPatch(_par_patchName, _par_patchPhysicalType); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::addPatch(_par_patchName, _par_patchPhysicalType); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::deletePatch( const char* _par_patchName ) -{ - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticRequest __req( this, "deletePatch" ); - __req.add_in_arg( &_sa_patchName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::deletePatch( const char* _par_patchName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deletePatch(_par_patchName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::deletePatch(_par_patchName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::deleteAllPatches() -{ - CORBA::StaticRequest __req( this, "deleteAllPatches" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::deleteAllPatches() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deleteAllPatches(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::deleteAllPatches(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::setPatchPhysicalType( const char* _par_patchName, const char* _par_patchPhysicalType ) -{ - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticAny _sa_patchPhysicalType( CORBA::_stc_string, &_par_patchPhysicalType ); - CORBA::StaticRequest __req( this, "setPatchPhysicalType" ); - __req.add_in_arg( &_sa_patchName ); - __req.add_in_arg( &_sa_patchPhysicalType ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::setPatchPhysicalType( const char* _par_patchName, const char* _par_patchPhysicalType ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->setPatchPhysicalType(_par_patchName, _par_patchPhysicalType); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::setPatchPhysicalType(_par_patchName, _par_patchPhysicalType); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::getPatchPhysicalType( const char* _par_patchName, CORBA::String_out _par_patchPhysicalType ) -{ - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticAny _sa_patchPhysicalType( CORBA::_stc_string, &_par_patchPhysicalType.ptr() ); - CORBA::StaticRequest __req( this, "getPatchPhysicalType" ); - __req.add_in_arg( &_sa_patchName ); - __req.add_out_arg( &_sa_patchPhysicalType ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::getPatchPhysicalType( const char* _par_patchName, CORBA::String_out _par_patchPhysicalType ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getPatchPhysicalType(_par_patchName, _par_patchPhysicalType); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::getPatchPhysicalType(_par_patchName, _par_patchPhysicalType); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::getDictionary( const char* _par_dictionaryName, CORBA::Boolean _par_forceRead, FoamXServer::IDictionaryEntry_out _par_dictRoot ) -{ - CORBA::StaticAny _sa_dictionaryName( CORBA::_stc_string, &_par_dictionaryName ); - CORBA::StaticAny _sa_forceRead( CORBA::_stc_boolean, &_par_forceRead ); - CORBA::StaticAny _sa_dictRoot( _marshaller_FoamXServer_IDictionaryEntry, &_par_dictRoot.ptr() ); - CORBA::StaticRequest __req( this, "getDictionary" ); - __req.add_in_arg( &_sa_dictionaryName ); - __req.add_in_arg( &_sa_forceRead ); - __req.add_out_arg( &_sa_dictRoot ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::getDictionary( const char* _par_dictionaryName, CORBA::Boolean _par_forceRead, FoamXServer::IDictionaryEntry_out _par_dictRoot ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getDictionary(_par_dictionaryName, _par_forceRead, _par_dictRoot); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::getDictionary(_par_dictionaryName, _par_forceRead, _par_dictRoot); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::readFile( const char* _par_name, CORBA::String_out _par_contents ) -{ - CORBA::StaticAny _sa_name( CORBA::_stc_string, &_par_name ); - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents.ptr() ); - CORBA::StaticRequest __req( this, "readFile" ); - __req.add_in_arg( &_sa_name ); - __req.add_out_arg( &_sa_contents ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::readFile( const char* _par_name, CORBA::String_out _par_contents ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->readFile(_par_name, _par_contents); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::readFile(_par_name, _par_contents); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::writeFile( const char* _par_name, const char* _par_contents ) -{ - CORBA::StaticAny _sa_name( CORBA::_stc_string, &_par_name ); - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents ); - CORBA::StaticRequest __req( this, "writeFile" ); - __req.add_in_arg( &_sa_name ); - __req.add_in_arg( &_sa_contents ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::writeFile( const char* _par_name, const char* _par_contents ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->writeFile(_par_name, _par_contents); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::writeFile(_par_name, _par_contents); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::CaseServer::ICaseServer_stub::fileModificationDate( const char* _par_fileName ) -{ - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName ); - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "fileModificationDate" ); - __req.add_in_arg( &_sa_fileName ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::CaseServer::ICaseServer_stub_clp::fileModificationDate( const char* _par_fileName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->fileModificationDate(_par_fileName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::fileModificationDate(_par_fileName); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::CaseServer::ICaseServer_stub::runCase( const char* _par_arguments ) -{ - CORBA::StaticAny _sa_arguments( CORBA::_stc_string, &_par_arguments ); - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "runCase" ); - __req.add_in_arg( &_sa_arguments ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::CaseServer::ICaseServer_stub_clp::runCase( const char* _par_arguments ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->runCase(_par_arguments); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::runCase(_par_arguments); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::killCase() -{ - CORBA::StaticRequest __req( this, "killCase" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::killCase() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->killCase(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::killCase(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::validate() -{ - CORBA::StaticRequest __req( this, "validate" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::validate() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->validate(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::validate(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseServer::ICaseServer_stub::modified() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "modified" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseServer::ICaseServer_stub_clp::modified() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->modified(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::ICaseServer_stub::modified(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::save() -{ - CORBA::StaticRequest __req( this, "save" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::save() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->save(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::save(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::ICaseServer_stub::close() -{ - CORBA::StaticRequest __req( this, "close" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::ICaseServer_stub_clp::close() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::ICaseServer * _myserv = POA_FoamXServer::CaseServer::ICaseServer::_narrow (_serv); - if (_myserv) { - _myserv->close(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::ICaseServer_stub::close(); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IFoamProperties - */ - -FoamXServer::CaseServer::IFoamProperties::~IFoamProperties() -{ -} - -void * -FoamXServer::CaseServer::IFoamProperties::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/IFoamProperties:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::IFoamProperties_ptr -FoamXServer::CaseServer::IFoamProperties::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::IFoamProperties_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/IFoamProperties:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::IFoamProperties_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/IFoamProperties:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/IFoamProperties:1.0")) { - _o = new FoamXServer::CaseServer::IFoamProperties_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::IFoamProperties_ptr -FoamXServer::CaseServer::IFoamProperties::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_IFoamProperties; -} -} -class _Marshaller_FoamXServer_CaseServer_IFoamProperties : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::IFoamProperties_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_IFoamProperties(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_IFoamProperties::~_Marshaller_FoamXServer_CaseServer_IFoamProperties() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_IFoamProperties::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_IFoamProperties::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::IFoamProperties::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_IFoamProperties::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_IFoamProperties::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_IFoamProperties::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::IFoamProperties::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_IFoamProperties::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_IFoamProperties::typecode() -{ - return FoamXServer::CaseServer::_tc_IFoamProperties; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IFoamProperties; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::IFoamProperties_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IFoamProperties, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::IFoamProperties_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IFoamProperties, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::IFoamProperties_ptr &_obj ) -{ - FoamXServer::CaseServer::IFoamProperties_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_IFoamProperties, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IFoamProperties - */ - -FoamXServer::CaseServer::IFoamProperties_stub::~IFoamProperties_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::IFoamProperties::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IFoamProperties:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::IFoamProperties * -POA_FoamXServer::CaseServer::IFoamProperties::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/IFoamProperties:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::IFoamProperties *) p; - } - return NULL; -} - -FoamXServer::CaseServer::IFoamProperties_stub_clp::IFoamProperties_stub_clp () -{ -} - -FoamXServer::CaseServer::IFoamProperties_stub_clp::IFoamProperties_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::IFoamProperties_stub_clp::~IFoamProperties_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IFoamProperties_stub::availableModules() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_availableModules" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::availableModules() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->availableModules(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::availableModules(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IFoamProperties_stub::rootDirectories() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_rootDirectories" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::rootDirectories() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->rootDirectories(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::rootDirectories(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IFoamProperties_stub::rawRootDirectories() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_rawRootDirectories" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::rawRootDirectories() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->rawRootDirectories(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::rawRootDirectories(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IFoamProperties_stub::foamTypes() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_foamTypes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::foamTypes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->foamTypes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::foamTypes(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IFoamProperties_stub::geometryTypes() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_geometryTypes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::geometryTypes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->geometryTypes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::geometryTypes(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IFoamProperties_stub::patchTypes() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_patchTypes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::patchTypes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->patchTypes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::patchTypes(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IFoamProperties_stub::patchFieldTypes() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_patchFieldTypes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::patchFieldTypes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->patchFieldTypes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::patchFieldTypes(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::ApplicationDescriptorList* FoamXServer::CaseServer::IFoamProperties_stub::applicationes() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_ApplicationDescriptor ); - - CORBA::StaticRequest __req( this, "_get_applicationes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::ApplicationDescriptorList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::ApplicationDescriptorList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::applicationes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::ApplicationDescriptorList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->applicationes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::applicationes(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::ApplicationDescriptorList* FoamXServer::CaseServer::IFoamProperties_stub::utilities() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_ApplicationDescriptor ); - - CORBA::StaticRequest __req( this, "_get_utilities" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::ApplicationDescriptorList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::ApplicationDescriptorList* -FoamXServer::CaseServer::IFoamProperties_stub_clp::utilities() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - FoamXServer::ApplicationDescriptorList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->utilities(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IFoamProperties_stub::utilities(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::addRootDirectory( const char* _par_rawRootDir ) -{ - CORBA::StaticAny _sa_rawRootDir( CORBA::_stc_string, &_par_rawRootDir ); - CORBA::StaticRequest __req( this, "addRootDirectory" ); - __req.add_in_arg( &_sa_rawRootDir ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::addRootDirectory( const char* _par_rawRootDir ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addRootDirectory(_par_rawRootDir); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::addRootDirectory(_par_rawRootDir); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::deleteRootDirectory( const char* _par_rawRootDir ) -{ - CORBA::StaticAny _sa_rawRootDir( CORBA::_stc_string, &_par_rawRootDir ); - CORBA::StaticRequest __req( this, "deleteRootDirectory" ); - __req.add_in_arg( &_sa_rawRootDir ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::deleteRootDirectory( const char* _par_rawRootDir ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deleteRootDirectory(_par_rawRootDir); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::deleteRootDirectory(_par_rawRootDir); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::getFoamType( const char* _par_foamTypeName, FoamXServer::ITypeDescriptor_out _par_typeDesc ) -{ - CORBA::StaticAny _sa_foamTypeName( CORBA::_stc_string, &_par_foamTypeName ); - CORBA::StaticAny _sa_typeDesc( _marshaller_FoamXServer_ITypeDescriptor, &_par_typeDesc.ptr() ); - CORBA::StaticRequest __req( this, "getFoamType" ); - __req.add_in_arg( &_sa_foamTypeName ); - __req.add_out_arg( &_sa_typeDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::getFoamType( const char* _par_foamTypeName, FoamXServer::ITypeDescriptor_out _par_typeDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getFoamType(_par_foamTypeName, _par_typeDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::getFoamType(_par_foamTypeName, _par_typeDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::getGeometryType( const char* _par_geometryTypeName, FoamXServer::CaseServer::IGeometryDescriptor_out _par_geometryDesc ) -{ - CORBA::StaticAny _sa_geometryTypeName( CORBA::_stc_string, &_par_geometryTypeName ); - CORBA::StaticAny _sa_geometryDesc( _marshaller_FoamXServer_CaseServer_IGeometryDescriptor, &_par_geometryDesc.ptr() ); - CORBA::StaticRequest __req( this, "getGeometryType" ); - __req.add_in_arg( &_sa_geometryTypeName ); - __req.add_out_arg( &_sa_geometryDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::getGeometryType( const char* _par_geometryTypeName, FoamXServer::CaseServer::IGeometryDescriptor_out _par_geometryDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getGeometryType(_par_geometryTypeName, _par_geometryDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::getGeometryType(_par_geometryTypeName, _par_geometryDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::getPatchType( const char* _par_patchTypeName, FoamXServer::CaseServer::IPatchDescriptor_out _par_patchDesc ) -{ - CORBA::StaticAny _sa_patchTypeName( CORBA::_stc_string, &_par_patchTypeName ); - CORBA::StaticAny _sa_patchDesc( _marshaller_FoamXServer_CaseServer_IPatchDescriptor, &_par_patchDesc.ptr() ); - CORBA::StaticRequest __req( this, "getPatchType" ); - __req.add_in_arg( &_sa_patchTypeName ); - __req.add_out_arg( &_sa_patchDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::getPatchType( const char* _par_patchTypeName, FoamXServer::CaseServer::IPatchDescriptor_out _par_patchDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getPatchType(_par_patchTypeName, _par_patchDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::getPatchType(_par_patchTypeName, _par_patchDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::findPatchType( const char* _par_patchTypeName, FoamXServer::CaseServer::IPatchDescriptor_out _par_patchDesc ) -{ - CORBA::StaticAny _sa_patchTypeName( CORBA::_stc_string, &_par_patchTypeName ); - CORBA::StaticAny _sa_patchDesc( _marshaller_FoamXServer_CaseServer_IPatchDescriptor, &_par_patchDesc.ptr() ); - CORBA::StaticRequest __req( this, "findPatchType" ); - __req.add_in_arg( &_sa_patchTypeName ); - __req.add_out_arg( &_sa_patchDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::findPatchType( const char* _par_patchTypeName, FoamXServer::CaseServer::IPatchDescriptor_out _par_patchDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->findPatchType(_par_patchTypeName, _par_patchDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::findPatchType(_par_patchTypeName, _par_patchDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::getPatchFieldType( const char* _par_patchFieldTypeName, FoamXServer::ITypeDescriptor_out _par_patchFieldDesc ) -{ - CORBA::StaticAny _sa_patchFieldTypeName( CORBA::_stc_string, &_par_patchFieldTypeName ); - CORBA::StaticAny _sa_patchFieldDesc( _marshaller_FoamXServer_ITypeDescriptor, &_par_patchFieldDesc.ptr() ); - CORBA::StaticRequest __req( this, "getPatchFieldType" ); - __req.add_in_arg( &_sa_patchFieldTypeName ); - __req.add_out_arg( &_sa_patchFieldDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::getPatchFieldType( const char* _par_patchFieldTypeName, FoamXServer::ITypeDescriptor_out _par_patchFieldDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getPatchFieldType(_par_patchFieldTypeName, _par_patchFieldDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::getPatchFieldType(_par_patchFieldTypeName, _par_patchFieldDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::findPatchFieldType( const char* _par_patchFieldTypeName, FoamXServer::ITypeDescriptor_out _par_patchFieldDesc ) -{ - CORBA::StaticAny _sa_patchFieldTypeName( CORBA::_stc_string, &_par_patchFieldTypeName ); - CORBA::StaticAny _sa_patchFieldDesc( _marshaller_FoamXServer_ITypeDescriptor, &_par_patchFieldDesc.ptr() ); - CORBA::StaticRequest __req( this, "findPatchFieldType" ); - __req.add_in_arg( &_sa_patchFieldTypeName ); - __req.add_out_arg( &_sa_patchFieldDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::findPatchFieldType( const char* _par_patchFieldTypeName, FoamXServer::ITypeDescriptor_out _par_patchFieldDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->findPatchFieldType(_par_patchFieldTypeName, _par_patchFieldDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::findPatchFieldType(_par_patchFieldTypeName, _par_patchFieldDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::getFoamControlDict( FoamXServer::IDictionaryEntry_out _par_controlDict ) -{ - CORBA::StaticAny _sa_controlDict( _marshaller_FoamXServer_IDictionaryEntry, &_par_controlDict.ptr() ); - CORBA::StaticRequest __req( this, "getFoamControlDict" ); - __req.add_out_arg( &_sa_controlDict ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::getFoamControlDict( FoamXServer::IDictionaryEntry_out _par_controlDict ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getFoamControlDict(_par_controlDict); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::getFoamControlDict(_par_controlDict); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::getApplication( const char* _par_appName, FoamXServer::CaseServer::IApplication_out _par_app ) -{ - CORBA::StaticAny _sa_appName( CORBA::_stc_string, &_par_appName ); - CORBA::StaticAny _sa_app( _marshaller_FoamXServer_CaseServer_IApplication, &_par_app.ptr() ); - CORBA::StaticRequest __req( this, "getApplication" ); - __req.add_in_arg( &_sa_appName ); - __req.add_out_arg( &_sa_app ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::getApplication( const char* _par_appName, FoamXServer::CaseServer::IApplication_out _par_app ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getApplication(_par_appName, _par_app); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::getApplication(_par_appName, _par_app); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::addApplication( const char* _par_appName, FoamXServer::CaseServer::IApplication_out _par_app ) -{ - CORBA::StaticAny _sa_appName( CORBA::_stc_string, &_par_appName ); - CORBA::StaticAny _sa_app( _marshaller_FoamXServer_CaseServer_IApplication, &_par_app.ptr() ); - CORBA::StaticRequest __req( this, "addApplication" ); - __req.add_in_arg( &_sa_appName ); - __req.add_out_arg( &_sa_app ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::addApplication( const char* _par_appName, FoamXServer::CaseServer::IApplication_out _par_app ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addApplication(_par_appName, _par_app); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::addApplication(_par_appName, _par_app); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::deleteApplication( const char* _par_appName ) -{ - CORBA::StaticAny _sa_appName( CORBA::_stc_string, &_par_appName ); - CORBA::StaticRequest __req( this, "deleteApplication" ); - __req.add_in_arg( &_sa_appName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::deleteApplication( const char* _par_appName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deleteApplication(_par_appName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::deleteApplication(_par_appName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::cloneApplication( const char* _par_appNameSrc, const char* _par_appNameDest, const char* _par_appDestPath, FoamXServer::CaseServer::IApplication_out _par_app ) -{ - CORBA::StaticAny _sa_appNameSrc( CORBA::_stc_string, &_par_appNameSrc ); - CORBA::StaticAny _sa_appNameDest( CORBA::_stc_string, &_par_appNameDest ); - CORBA::StaticAny _sa_appDestPath( CORBA::_stc_string, &_par_appDestPath ); - CORBA::StaticAny _sa_app( _marshaller_FoamXServer_CaseServer_IApplication, &_par_app.ptr() ); - CORBA::StaticRequest __req( this, "cloneApplication" ); - __req.add_in_arg( &_sa_appNameSrc ); - __req.add_in_arg( &_sa_appNameDest ); - __req.add_in_arg( &_sa_appDestPath ); - __req.add_out_arg( &_sa_app ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::cloneApplication( const char* _par_appNameSrc, const char* _par_appNameDest, const char* _par_appDestPath, FoamXServer::CaseServer::IApplication_out _par_app ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->cloneApplication(_par_appNameSrc, _par_appNameDest, _par_appDestPath, _par_app); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::cloneApplication(_par_appNameSrc, _par_appNameDest, _par_appDestPath, _par_app); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::getUtilityControlDict( const char* _par_utilityName, const char* _par_rootDir, const char* _par_caseName, FoamXServer::IDictionaryEntry_out _par_controlDict ) -{ - CORBA::StaticAny _sa_utilityName( CORBA::_stc_string, &_par_utilityName ); - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticAny _sa_controlDict( _marshaller_FoamXServer_IDictionaryEntry, &_par_controlDict.ptr() ); - CORBA::StaticRequest __req( this, "getUtilityControlDict" ); - __req.add_in_arg( &_sa_utilityName ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - __req.add_out_arg( &_sa_controlDict ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::getUtilityControlDict( const char* _par_utilityName, const char* _par_rootDir, const char* _par_caseName, FoamXServer::IDictionaryEntry_out _par_controlDict ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getUtilityControlDict(_par_utilityName, _par_rootDir, _par_caseName, _par_controlDict); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::getUtilityControlDict(_par_utilityName, _par_rootDir, _par_caseName, _par_controlDict); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::validate() -{ - CORBA::StaticRequest __req( this, "validate" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::validate() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->validate(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::validate(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::saveSystemProperties() -{ - CORBA::StaticRequest __req( this, "saveSystemProperties" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::saveSystemProperties() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->saveSystemProperties(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::saveSystemProperties(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IFoamProperties_stub::saveUserProperties() -{ - CORBA::StaticRequest __req( this, "saveUserProperties" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IFoamProperties_stub_clp::saveUserProperties() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IFoamProperties * _myserv = POA_FoamXServer::CaseServer::IFoamProperties::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->saveUserProperties(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IFoamProperties_stub::saveUserProperties(); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IApplication - */ - -FoamXServer::CaseServer::IApplication::~IApplication() -{ -} - -void * -FoamXServer::CaseServer::IApplication::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/IApplication:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::IApplication_ptr -FoamXServer::CaseServer::IApplication::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::IApplication_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/IApplication:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::IApplication_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/IApplication:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/IApplication:1.0")) { - _o = new FoamXServer::CaseServer::IApplication_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::IApplication_ptr -FoamXServer::CaseServer::IApplication::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_IApplication; -} -} -class _Marshaller_FoamXServer_CaseServer_IApplication : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::IApplication_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_IApplication(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_IApplication::~_Marshaller_FoamXServer_CaseServer_IApplication() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_IApplication::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_IApplication::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::IApplication::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_IApplication::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_IApplication::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_IApplication::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::IApplication::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_IApplication::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_IApplication::typecode() -{ - return FoamXServer::CaseServer::_tc_IApplication; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IApplication; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::IApplication_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IApplication, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::IApplication_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IApplication, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::IApplication_ptr &_obj ) -{ - FoamXServer::CaseServer::IApplication_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_IApplication, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IApplication - */ - -FoamXServer::CaseServer::IApplication_stub::~IApplication_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::IApplication::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IApplication:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::IApplication * -POA_FoamXServer::CaseServer::IApplication::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/IApplication:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::IApplication *) p; - } - return NULL; -} - -FoamXServer::CaseServer::IApplication_stub_clp::IApplication_stub_clp () -{ -} - -FoamXServer::CaseServer::IApplication_stub_clp::IApplication_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::IApplication_stub_clp::~IApplication_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IApplication_stub::name() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_name" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IApplication_stub_clp::name() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->name(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::name(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::name( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_name" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::name( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->name(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::name(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IApplication_stub::description() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_description" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IApplication_stub_clp::description() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->description(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::description(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::description( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_description" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::description( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->description(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::description(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IApplication_stub::category() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_category" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IApplication_stub_clp::category() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->category(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::category(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::category( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_category" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::category( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->category(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::category(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IApplication_stub::modules() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_modules" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IApplication_stub_clp::modules() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->modules(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::modules(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::modules( const FoamXServer::StringList& _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stcseq_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_modules" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::modules( const FoamXServer::StringList& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->modules(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::modules(_par__value); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseServer::IApplication_stub::systemClass() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "_get_systemClass" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseServer::IApplication_stub_clp::systemClass() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->systemClass(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::systemClass(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IApplication_stub::fields() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_fields" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IApplication_stub_clp::fields() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->fields(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::fields(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IApplication_stub::patchPhysicalTypes() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_patchPhysicalTypes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IApplication_stub_clp::patchPhysicalTypes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->patchPhysicalTypes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::patchPhysicalTypes(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CaseServer::IApplication_stub::dictionaries() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_dictionaries" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CaseServer::IApplication_stub_clp::dictionaries() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->dictionaries(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IApplication_stub::dictionaries(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::getField( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricFieldDescriptor_out _par_fieldDescriptor ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_fieldDescriptor( _marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, &_par_fieldDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "getField" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_out_arg( &_sa_fieldDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::getField( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricFieldDescriptor_out _par_fieldDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getField(_par_fieldName, _par_fieldDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::getField(_par_fieldName, _par_fieldDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::findField( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricFieldDescriptor_out _par_fieldDescriptor ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_fieldDescriptor( _marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, &_par_fieldDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "findField" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_out_arg( &_sa_fieldDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::findField( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricFieldDescriptor_out _par_fieldDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->findField(_par_fieldName, _par_fieldDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::findField(_par_fieldName, _par_fieldDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::addField( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricFieldDescriptor_out _par_fieldDescriptor ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_fieldDescriptor( _marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, &_par_fieldDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "addField" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_out_arg( &_sa_fieldDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::addField( const char* _par_fieldName, FoamXServer::CaseServer::IGeometricFieldDescriptor_out _par_fieldDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addField(_par_fieldName, _par_fieldDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::addField(_par_fieldName, _par_fieldDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::deleteField( const char* _par_fieldName ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticRequest __req( this, "deleteField" ); - __req.add_in_arg( &_sa_fieldName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::deleteField( const char* _par_fieldName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deleteField(_par_fieldName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::deleteField(_par_fieldName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::getPatchPhysicalType( const char* _par_patchPhysicalTypeName, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out _par_patchPhysicalTypeDescriptor ) -{ - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName ); - CORBA::StaticAny _sa_patchPhysicalTypeDescriptor( _marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, &_par_patchPhysicalTypeDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "getPatchPhysicalType" ); - __req.add_in_arg( &_sa_patchPhysicalTypeName ); - __req.add_out_arg( &_sa_patchPhysicalTypeDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::getPatchPhysicalType( const char* _par_patchPhysicalTypeName, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out _par_patchPhysicalTypeDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getPatchPhysicalType(_par_patchPhysicalTypeName, _par_patchPhysicalTypeDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::getPatchPhysicalType(_par_patchPhysicalTypeName, _par_patchPhysicalTypeDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::findPatchPhysicalType( const char* _par_patchPhysicalTypeName, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out _par_patchPhysicalTypeDescriptor ) -{ - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName ); - CORBA::StaticAny _sa_patchPhysicalTypeDescriptor( _marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, &_par_patchPhysicalTypeDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "findPatchPhysicalType" ); - __req.add_in_arg( &_sa_patchPhysicalTypeName ); - __req.add_out_arg( &_sa_patchPhysicalTypeDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::findPatchPhysicalType( const char* _par_patchPhysicalTypeName, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out _par_patchPhysicalTypeDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->findPatchPhysicalType(_par_patchPhysicalTypeName, _par_patchPhysicalTypeDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::findPatchPhysicalType(_par_patchPhysicalTypeName, _par_patchPhysicalTypeDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::addPatchPhysicalType( const char* _par_patchPhysicalTypeName, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out _par_patchPhysicalTypeDescriptor ) -{ - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName ); - CORBA::StaticAny _sa_patchPhysicalTypeDescriptor( _marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, &_par_patchPhysicalTypeDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "addPatchPhysicalType" ); - __req.add_in_arg( &_sa_patchPhysicalTypeName ); - __req.add_out_arg( &_sa_patchPhysicalTypeDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::addPatchPhysicalType( const char* _par_patchPhysicalTypeName, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out _par_patchPhysicalTypeDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addPatchPhysicalType(_par_patchPhysicalTypeName, _par_patchPhysicalTypeDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::addPatchPhysicalType(_par_patchPhysicalTypeName, _par_patchPhysicalTypeDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::deletePatchPhysicalType( const char* _par_patchPhysicalTypeName ) -{ - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName ); - CORBA::StaticRequest __req( this, "deletePatchPhysicalType" ); - __req.add_in_arg( &_sa_patchPhysicalTypeName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::deletePatchPhysicalType( const char* _par_patchPhysicalTypeName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deletePatchPhysicalType(_par_patchPhysicalTypeName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::deletePatchPhysicalType(_par_patchPhysicalTypeName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::getDictionary( const char* _par_dictName, FoamXServer::ITypeDescriptor_out _par_dictTypeDescriptor ) -{ - CORBA::StaticAny _sa_dictName( CORBA::_stc_string, &_par_dictName ); - CORBA::StaticAny _sa_dictTypeDescriptor( _marshaller_FoamXServer_ITypeDescriptor, &_par_dictTypeDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "getDictionary" ); - __req.add_in_arg( &_sa_dictName ); - __req.add_out_arg( &_sa_dictTypeDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::getDictionary( const char* _par_dictName, FoamXServer::ITypeDescriptor_out _par_dictTypeDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getDictionary(_par_dictName, _par_dictTypeDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::getDictionary(_par_dictName, _par_dictTypeDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::addDictionary( const char* _par_dictName, FoamXServer::ITypeDescriptor_out _par_dictTypeDescriptor ) -{ - CORBA::StaticAny _sa_dictName( CORBA::_stc_string, &_par_dictName ); - CORBA::StaticAny _sa_dictTypeDescriptor( _marshaller_FoamXServer_ITypeDescriptor, &_par_dictTypeDescriptor.ptr() ); - CORBA::StaticRequest __req( this, "addDictionary" ); - __req.add_in_arg( &_sa_dictName ); - __req.add_out_arg( &_sa_dictTypeDescriptor ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::addDictionary( const char* _par_dictName, FoamXServer::ITypeDescriptor_out _par_dictTypeDescriptor ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addDictionary(_par_dictName, _par_dictTypeDescriptor); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::addDictionary(_par_dictName, _par_dictTypeDescriptor); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::deleteDictionary( const char* _par_dictName ) -{ - CORBA::StaticAny _sa_dictName( CORBA::_stc_string, &_par_dictName ); - CORBA::StaticRequest __req( this, "deleteDictionary" ); - __req.add_in_arg( &_sa_dictName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::deleteDictionary( const char* _par_dictName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deleteDictionary(_par_dictName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::deleteDictionary(_par_dictName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::validate() -{ - CORBA::StaticRequest __req( this, "validate" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::validate() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->validate(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::validate(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IApplication_stub::save() -{ - CORBA::StaticRequest __req( this, "save" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IApplication_stub_clp::save() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IApplication * _myserv = POA_FoamXServer::CaseServer::IApplication::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->save(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IApplication_stub::save(); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IGeometricFieldDescriptor - */ - -FoamXServer::CaseServer::IGeometricFieldDescriptor::~IGeometricFieldDescriptor() -{ -} - -void * -FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr -FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0")) { - _o = new FoamXServer::CaseServer::IGeometricFieldDescriptor_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr -FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_IGeometricFieldDescriptor; -} -} -class _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::~_Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::IGeometricFieldDescriptor::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor::typecode() -{ - return FoamXServer::CaseServer::_tc_IGeometricFieldDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr &_obj ) -{ - FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IGeometricFieldDescriptor - */ - -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::~IGeometricFieldDescriptor_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::IGeometricFieldDescriptor *) p; - } - return NULL; -} - -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::IGeometricFieldDescriptor_stub_clp () -{ -} - -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::IGeometricFieldDescriptor_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::~IGeometricFieldDescriptor_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::typeDescriptor() -{ - FoamXServer::ITypeDescriptor_ptr _res = FoamXServer::ITypeDescriptor::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - - CORBA::StaticRequest __req( this, "_get_typeDescriptor" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::typeDescriptor() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::ITypeDescriptor_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->typeDescriptor(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::typeDescriptor(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::fieldTypeDescriptor() -{ - FoamXServer::ITypeDescriptor_ptr _res = FoamXServer::ITypeDescriptor::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - - CORBA::StaticRequest __req( this, "_get_fieldTypeDescriptor" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::ITypeDescriptor_ptr -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::fieldTypeDescriptor() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::ITypeDescriptor_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->fieldTypeDescriptor(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::fieldTypeDescriptor(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::CaseServer::IGeometryDescriptor_ptr FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::geometryDescriptor() -{ - FoamXServer::CaseServer::IGeometryDescriptor_ptr _res = FoamXServer::CaseServer::IGeometryDescriptor::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IGeometryDescriptor, &_res ); - - CORBA::StaticRequest __req( this, "_get_geometryDescriptor" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::CaseServer::IGeometryDescriptor_ptr -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::geometryDescriptor() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::CaseServer::IGeometryDescriptor_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->geometryDescriptor(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::geometryDescriptor(); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::name() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_name" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::name() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->name(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::name(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::name( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_name" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::name( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->name(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::name(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::description() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_description" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::description() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->description(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::description(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::description( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_description" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::description( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->description(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::description(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::fieldTypeName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_fieldTypeName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::fieldTypeName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->fieldTypeName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::fieldTypeName(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::fieldTypeName( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_fieldTypeName" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::fieldTypeName( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->fieldTypeName(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::fieldTypeName(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::geometryTypeName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_geometryTypeName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::geometryTypeName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->geometryTypeName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::geometryTypeName(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::geometryTypeName( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_geometryTypeName" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::geometryTypeName( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->geometryTypeName(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::geometryTypeName(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::DimensionSet FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::dimensions() -{ - FoamXServer::DimensionSet _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_DimensionSet, &_res ); - - CORBA::StaticRequest __req( this, "_get_dimensions" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::DimensionSet -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::dimensions() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::DimensionSet __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->dimensions(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::dimensions(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::dimensions( const FoamXServer::DimensionSet& _par__value ) -{ - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_DimensionSet, &_par__value ); - CORBA::StaticRequest __req( this, "_set_dimensions" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp::dimensions( const FoamXServer::DimensionSet& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricFieldDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->dimensions(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometricFieldDescriptor_stub::dimensions(_par__value); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IPatchDescriptor - */ - -FoamXServer::CaseServer::IPatchDescriptor::~IPatchDescriptor() -{ -} - -void * -FoamXServer::CaseServer::IPatchDescriptor::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::IPatchDescriptor_ptr -FoamXServer::CaseServer::IPatchDescriptor::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::IPatchDescriptor_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::IPatchDescriptor_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0")) { - _o = new FoamXServer::CaseServer::IPatchDescriptor_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::IPatchDescriptor_ptr -FoamXServer::CaseServer::IPatchDescriptor::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_IPatchDescriptor; -} -} -class _Marshaller_FoamXServer_CaseServer_IPatchDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::IPatchDescriptor_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_IPatchDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_IPatchDescriptor::~_Marshaller_FoamXServer_CaseServer_IPatchDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_IPatchDescriptor::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_IPatchDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::IPatchDescriptor::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_IPatchDescriptor::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_IPatchDescriptor::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_IPatchDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::IPatchDescriptor::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_IPatchDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_IPatchDescriptor::typecode() -{ - return FoamXServer::CaseServer::_tc_IPatchDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IPatchDescriptor; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::IPatchDescriptor_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IPatchDescriptor, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::IPatchDescriptor_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IPatchDescriptor, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::IPatchDescriptor_ptr &_obj ) -{ - FoamXServer::CaseServer::IPatchDescriptor_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_IPatchDescriptor, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IPatchDescriptor - */ - -FoamXServer::CaseServer::IPatchDescriptor_stub::~IPatchDescriptor_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::IPatchDescriptor * -POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::IPatchDescriptor *) p; - } - return NULL; -} - -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::IPatchDescriptor_stub_clp () -{ -} - -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::IPatchDescriptor_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::~IPatchDescriptor_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchDescriptor_stub::name() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_name" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::name() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->name(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchDescriptor_stub::name(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchDescriptor_stub::name( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_name" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::name( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->name(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchDescriptor_stub::name(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchDescriptor_stub::displayName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_displayName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::displayName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->displayName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchDescriptor_stub::displayName(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchDescriptor_stub::displayName( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_displayName" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::displayName( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->displayName(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchDescriptor_stub::displayName(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchDescriptor_stub::description() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_description" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::description() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->description(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchDescriptor_stub::description(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchDescriptor_stub::description( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_description" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchDescriptor_stub_clp::description( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->description(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchDescriptor_stub::description(_par__value); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IGeometryDescriptor - */ - -FoamXServer::CaseServer::IGeometryDescriptor::~IGeometryDescriptor() -{ -} - -void * -FoamXServer::CaseServer::IGeometryDescriptor::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::IGeometryDescriptor_ptr -FoamXServer::CaseServer::IGeometryDescriptor::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::IGeometryDescriptor_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::IGeometryDescriptor_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0")) { - _o = new FoamXServer::CaseServer::IGeometryDescriptor_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::IGeometryDescriptor_ptr -FoamXServer::CaseServer::IGeometryDescriptor::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_IGeometryDescriptor; -} -} -class _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::IGeometryDescriptor_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_IGeometryDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::~_Marshaller_FoamXServer_CaseServer_IGeometryDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::IGeometryDescriptor::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::IGeometryDescriptor::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor::typecode() -{ - return FoamXServer::CaseServer::_tc_IGeometryDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IGeometryDescriptor; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::IGeometryDescriptor_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IGeometryDescriptor, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::IGeometryDescriptor_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IGeometryDescriptor, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::IGeometryDescriptor_ptr &_obj ) -{ - FoamXServer::CaseServer::IGeometryDescriptor_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_IGeometryDescriptor, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IGeometryDescriptor - */ - -FoamXServer::CaseServer::IGeometryDescriptor_stub::~IGeometryDescriptor_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::IGeometryDescriptor * -POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::IGeometryDescriptor *) p; - } - return NULL; -} - -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::IGeometryDescriptor_stub_clp () -{ -} - -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::IGeometryDescriptor_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::~IGeometryDescriptor_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometryDescriptor_stub::name() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_name" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::name() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometryDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->name(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometryDescriptor_stub::name(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometryDescriptor_stub::name( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_name" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::name( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometryDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->name(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometryDescriptor_stub::name(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometryDescriptor_stub::displayName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_displayName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::displayName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometryDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->displayName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometryDescriptor_stub::displayName(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometryDescriptor_stub::displayName( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_displayName" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::displayName( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometryDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->displayName(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometryDescriptor_stub::displayName(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometryDescriptor_stub::description() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_description" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::description() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometryDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->description(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometryDescriptor_stub::description(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometryDescriptor_stub::description( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_description" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometryDescriptor_stub_clp::description( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometryDescriptor * _myserv = POA_FoamXServer::CaseServer::IGeometryDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->description(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometryDescriptor_stub::description(_par__value); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IPatchPhysicalTypeDescriptor - */ - -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::~IPatchPhysicalTypeDescriptor() -{ -} - -void * -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0")) { - _o = new FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_IPatchPhysicalTypeDescriptor; -} -} -class _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::~_Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor::typecode() -{ - return FoamXServer::CaseServer::_tc_IPatchPhysicalTypeDescriptor; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr &_obj ) -{ - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IPatchPhysicalTypeDescriptor - */ - -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::~IPatchPhysicalTypeDescriptor_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor *) p; - } - return NULL; -} - -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::IPatchPhysicalTypeDescriptor_stub_clp () -{ -} - -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::IPatchPhysicalTypeDescriptor_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::~IPatchPhysicalTypeDescriptor_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::name() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_name" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::name() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->name(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::name(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::name( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_name" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::name( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->name(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::name(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::displayName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_displayName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::displayName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->displayName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::displayName(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::displayName( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_displayName" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::displayName( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->displayName(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::displayName(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::description() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_description" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::description() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->description(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::description(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::description( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_description" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::description( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->description(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::description(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchType() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_patchType" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::patchType() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->patchType(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchType(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchType( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_patchType" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::patchType( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->patchType(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchType(_par__value); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::parentType() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_parentType" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::parentType() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->parentType(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::parentType(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::parentType( const char* _par__value ) -{ - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value ); - CORBA::StaticRequest __req( this, "_set_parentType" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::parentType( const char* _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->parentType(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::parentType(_par__value); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringPairList* FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchFieldTypes() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_StringPair ); - - CORBA::StaticRequest __req( this, "_get_patchFieldTypes" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringPairList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringPairList* -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::patchFieldTypes() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - FoamXServer::StringPairList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->patchFieldTypes(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchFieldTypes(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchFieldTypes( const FoamXServer::StringPairList& _par__value ) -{ - CORBA::StaticAny _sa__value( _marshaller__seq_FoamXServer_StringPair, &_par__value ); - CORBA::StaticRequest __req( this, "_set_patchFieldTypes" ); - __req.add_in_arg( &_sa__value ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp::patchFieldTypes( const FoamXServer::StringPairList& _par__value ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor * _myserv = POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->patchFieldTypes(_par__value); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub::patchFieldTypes(_par__value); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IGeometricField - */ - -FoamXServer::CaseServer::IGeometricField::~IGeometricField() -{ -} - -void * -FoamXServer::CaseServer::IGeometricField::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseServer/IGeometricField:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseServer::IGeometricField_ptr -FoamXServer::CaseServer::IGeometricField::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseServer::IGeometricField_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseServer/IGeometricField:1.0" ))) - return _duplicate( (FoamXServer::CaseServer::IGeometricField_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseServer/IGeometricField:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseServer/IGeometricField:1.0")) { - _o = new FoamXServer::CaseServer::IGeometricField_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseServer::IGeometricField_ptr -FoamXServer::CaseServer::IGeometricField::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseServer -{ -CORBA::TypeCodeConst _tc_IGeometricField; -} -} -class _Marshaller_FoamXServer_CaseServer_IGeometricField : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseServer::IGeometricField_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseServer_IGeometricField(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseServer_IGeometricField::~_Marshaller_FoamXServer_CaseServer_IGeometricField() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseServer_IGeometricField::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricField::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseServer::IGeometricField::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricField::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricField::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseServer_IGeometricField::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseServer::IGeometricField::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseServer_IGeometricField::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseServer_IGeometricField::typecode() -{ - return FoamXServer::CaseServer::_tc_IGeometricField; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IGeometricField; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseServer::IGeometricField_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IGeometricField, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseServer::IGeometricField_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseServer_IGeometricField, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseServer::IGeometricField_ptr &_obj ) -{ - FoamXServer::CaseServer::IGeometricField_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseServer_IGeometricField, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IGeometricField - */ - -FoamXServer::CaseServer::IGeometricField_stub::~IGeometricField_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseServer::IGeometricField::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IGeometricField:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseServer::IGeometricField * -POA_FoamXServer::CaseServer::IGeometricField::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseServer/IGeometricField:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseServer::IGeometricField *) p; - } - return NULL; -} - -FoamXServer::CaseServer::IGeometricField_stub_clp::IGeometricField_stub_clp () -{ -} - -FoamXServer::CaseServer::IGeometricField_stub_clp::IGeometricField_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseServer::IGeometricField_stub_clp::~IGeometricField_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CaseServer::IGeometricField_stub::name() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_name" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CaseServer::IGeometricField_stub_clp::name() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricField * _myserv = POA_FoamXServer::CaseServer::IGeometricField::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->name(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricField_stub::name(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometricField_stub::getInternalFieldValue( FoamXServer::IDictionaryEntry_out _par_internalFieldValue ) -{ - CORBA::StaticAny _sa_internalFieldValue( _marshaller_FoamXServer_IDictionaryEntry, &_par_internalFieldValue.ptr() ); - CORBA::StaticRequest __req( this, "getInternalFieldValue" ); - __req.add_out_arg( &_sa_internalFieldValue ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometricField_stub_clp::getInternalFieldValue( FoamXServer::IDictionaryEntry_out _par_internalFieldValue ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricField * _myserv = POA_FoamXServer::CaseServer::IGeometricField::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getInternalFieldValue(_par_internalFieldValue); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometricField_stub::getInternalFieldValue(_par_internalFieldValue); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseServer::IGeometricField_stub::getPatchFieldParameters( const char* _par_patchName, FoamXServer::IDictionaryEntry_out _par_patchFieldValue ) -{ - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticAny _sa_patchFieldValue( _marshaller_FoamXServer_IDictionaryEntry, &_par_patchFieldValue.ptr() ); - CORBA::StaticRequest __req( this, "getPatchFieldParameters" ); - __req.add_in_arg( &_sa_patchName ); - __req.add_out_arg( &_sa_patchFieldValue ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseServer::IGeometricField_stub_clp::getPatchFieldParameters( const char* _par_patchName, FoamXServer::IDictionaryEntry_out _par_patchFieldValue ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricField * _myserv = POA_FoamXServer::CaseServer::IGeometricField::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getPatchFieldParameters(_par_patchName, _par_patchFieldValue); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseServer::IGeometricField_stub::getPatchFieldParameters(_par_patchName, _par_patchFieldValue); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseServer::IGeometricField_stub::modified() -{ - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "modified" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseServer::IGeometricField_stub_clp::modified() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseServer::IGeometricField * _myserv = POA_FoamXServer::CaseServer::IGeometricField::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->modified(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseServer::IGeometricField_stub::modified(); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class ICasePostServer - */ - -FoamXServer::CasePostServer::ICasePostServer::~ICasePostServer() -{ -} - -void * -FoamXServer::CasePostServer::ICasePostServer::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CasePostServer/ICasePostServer:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CasePostServer::ICasePostServer_ptr -FoamXServer::CasePostServer::ICasePostServer::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CasePostServer::ICasePostServer_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CasePostServer/ICasePostServer:1.0" ))) - return _duplicate( (FoamXServer::CasePostServer::ICasePostServer_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CasePostServer/ICasePostServer:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CasePostServer/ICasePostServer:1.0")) { - _o = new FoamXServer::CasePostServer::ICasePostServer_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CasePostServer::ICasePostServer_ptr -FoamXServer::CasePostServer::ICasePostServer::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CasePostServer -{ -CORBA::TypeCodeConst _tc_ICasePostServer; -} -} -class _Marshaller_FoamXServer_CasePostServer_ICasePostServer : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CasePostServer::ICasePostServer_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CasePostServer_ICasePostServer(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CasePostServer_ICasePostServer::~_Marshaller_FoamXServer_CasePostServer_ICasePostServer() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CasePostServer_ICasePostServer::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CasePostServer_ICasePostServer::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CasePostServer::ICasePostServer::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CasePostServer_ICasePostServer::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CasePostServer_ICasePostServer::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CasePostServer_ICasePostServer::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CasePostServer::ICasePostServer::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CasePostServer_ICasePostServer::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CasePostServer_ICasePostServer::typecode() -{ - return FoamXServer::CasePostServer::_tc_ICasePostServer; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CasePostServer_ICasePostServer; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CasePostServer::ICasePostServer_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CasePostServer_ICasePostServer, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CasePostServer::ICasePostServer_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CasePostServer_ICasePostServer, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CasePostServer::ICasePostServer_ptr &_obj ) -{ - FoamXServer::CasePostServer::ICasePostServer_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CasePostServer_ICasePostServer, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class ICasePostServer - */ - -FoamXServer::CasePostServer::ICasePostServer_stub::~ICasePostServer_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CasePostServer::ICasePostServer::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CasePostServer/ICasePostServer:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CasePostServer::ICasePostServer * -POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CasePostServer/ICasePostServer:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CasePostServer::ICasePostServer *) p; - } - return NULL; -} - -FoamXServer::CasePostServer::ICasePostServer_stub_clp::ICasePostServer_stub_clp () -{ -} - -FoamXServer::CasePostServer::ICasePostServer_stub_clp::ICasePostServer_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CasePostServer::ICasePostServer_stub_clp::~ICasePostServer_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CasePostServer::ICasePostServer_stub::caseRoot() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_caseRoot" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CasePostServer::ICasePostServer_stub_clp::caseRoot() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->caseRoot(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CasePostServer::ICasePostServer_stub::caseRoot(); -} - -#endif // MICO_CONF_NO_POA - -char* FoamXServer::CasePostServer::ICasePostServer_stub::caseName() -{ - char* _res = NULL; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - - CORBA::StaticRequest __req( this, "_get_caseName" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -char* -FoamXServer::CasePostServer::ICasePostServer_stub_clp::caseName() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - char* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->caseName(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CasePostServer::ICasePostServer_stub::caseName(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::CasePostServer::ICasePostServer_stub::nProcs() -{ - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "_get_nProcs" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::CasePostServer::ICasePostServer_stub_clp::nProcs() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->nProcs(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CasePostServer::ICasePostServer_stub::nProcs(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CasePostServer::ICasePostServer_stub::availableTimeSteps() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "_get_availableTimeSteps" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CasePostServer::ICasePostServer_stub_clp::availableTimeSteps() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->availableTimeSteps(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CasePostServer::ICasePostServer_stub::availableTimeSteps(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::setTime( const char* _par_timeName, CORBA::Long _par_timeIndex ) -{ - CORBA::StaticAny _sa_timeName( CORBA::_stc_string, &_par_timeName ); - CORBA::StaticAny _sa_timeIndex( CORBA::_stc_long, &_par_timeIndex ); - CORBA::StaticRequest __req( this, "setTime" ); - __req.add_in_arg( &_sa_timeName ); - __req.add_in_arg( &_sa_timeIndex ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::setTime( const char* _par_timeName, CORBA::Long _par_timeIndex ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->setTime(_par_timeName, _par_timeIndex); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::setTime(_par_timeName, _par_timeIndex); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::setTimeSlave() -{ - CORBA::StaticRequest __req( this, "setTimeSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::setTimeSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->setTimeSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::setTimeSlave(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CasePostServer::ICasePostServer_stub::getPatchNames() -{ - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "getPatchNames" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getPatchNames() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->getPatchNames(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CasePostServer::ICasePostServer_stub::getPatchNames(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getPatchNamesSlave() -{ - CORBA::StaticRequest __req( this, "getPatchNamesSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getPatchNamesSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->getPatchNamesSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getPatchNamesSlave(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::StringList* FoamXServer::CasePostServer::ICasePostServer_stub::getFieldNames( const char* _par_type ) -{ - CORBA::StaticAny _sa_type( CORBA::_stc_string, &_par_type ); - CORBA::StaticAny __res( CORBA::_stcseq_string ); - - CORBA::StaticRequest __req( this, "getFieldNames" ); - __req.add_in_arg( &_sa_type ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - return (FoamXServer::StringList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::StringList* -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getFieldNames( const char* _par_type ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - FoamXServer::StringList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->getFieldNames(_par_type); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CasePostServer::ICasePostServer_stub::getFieldNames(_par_type); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getMeshBb( FoamXServer::Point3_out _par_min, FoamXServer::Point3_out _par_max ) -{ - CORBA::StaticAny _sa_min( _marshaller__a3_float, _par_min ); - CORBA::StaticAny _sa_max( _marshaller__a3_float, _par_max ); - CORBA::StaticRequest __req( this, "getMeshBb" ); - __req.add_out_arg( &_sa_min ); - __req.add_out_arg( &_sa_max ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getMeshBb( FoamXServer::Point3_out _par_min, FoamXServer::Point3_out _par_max ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getMeshBb(_par_min, _par_max); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getMeshBb(_par_min, _par_max); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getMeshBbSlave() -{ - CORBA::StaticRequest __req( this, "getMeshBbSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getMeshBbSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->getMeshBbSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getMeshBbSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getPatchMesh( const char* _par_patchName, CORBA::Double _par_creaseAngle, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_edges ) -{ - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticAny _sa_creaseAngle( CORBA::_stc_double, &_par_creaseAngle ); - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - CORBA::StaticAny _sa_edges( CORBA::_stcseq_long ); - CORBA::StaticRequest __req( this, "getPatchMesh" ); - __req.add_in_arg( &_sa_patchName ); - __req.add_in_arg( &_sa_creaseAngle ); - __req.add_out_arg( &_sa_points ); - __req.add_out_arg( &_sa_edges ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - _par_points = (FoamXServer::FloatList*) _sa_points._retn(); - _par_edges = (FoamXServer::LongList*) _sa_edges._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getPatchMesh( const char* _par_patchName, CORBA::Double _par_creaseAngle, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_edges ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getPatchMesh(_par_patchName, _par_creaseAngle, _par_points, _par_edges); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getPatchMesh(_par_patchName, _par_creaseAngle, _par_points, _par_edges); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getPatchMeshSlave() -{ - CORBA::StaticRequest __req( this, "getPatchMeshSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getPatchMeshSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->getPatchMeshSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getPatchMeshSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getCutMesh( const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_edges ) -{ - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - CORBA::StaticAny _sa_edges( CORBA::_stcseq_long ); - CORBA::StaticRequest __req( this, "getCutMesh" ); - __req.add_in_arg( &_sa_basePoint ); - __req.add_in_arg( &_sa_normal ); - __req.add_out_arg( &_sa_points ); - __req.add_out_arg( &_sa_edges ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - _par_points = (FoamXServer::FloatList*) _sa_points._retn(); - _par_edges = (FoamXServer::LongList*) _sa_edges._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getCutMesh( const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_edges ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getCutMesh(_par_basePoint, _par_normal, _par_points, _par_edges); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getCutMesh(_par_basePoint, _par_normal, _par_points, _par_edges); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getCutMeshSlave() -{ - CORBA::StaticRequest __req( this, "getCutMeshSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getCutMeshSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->getCutMeshSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getCutMeshSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getCutMeshOutline( const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_edges ) -{ - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - CORBA::StaticAny _sa_edges( CORBA::_stcseq_long ); - CORBA::StaticRequest __req( this, "getCutMeshOutline" ); - __req.add_in_arg( &_sa_basePoint ); - __req.add_in_arg( &_sa_normal ); - __req.add_out_arg( &_sa_points ); - __req.add_out_arg( &_sa_edges ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - _par_points = (FoamXServer::FloatList*) _sa_points._retn(); - _par_edges = (FoamXServer::LongList*) _sa_edges._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getCutMeshOutline( const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_edges ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getCutMeshOutline(_par_basePoint, _par_normal, _par_points, _par_edges); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getCutMeshOutline(_par_basePoint, _par_normal, _par_points, _par_edges); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getCutMeshOutlineSlave() -{ - CORBA::StaticRequest __req( this, "getCutMeshOutlineSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getCutMeshOutlineSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->getCutMeshOutlineSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getCutMeshOutlineSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatch( const char* _par_fieldName, const char* _par_patchName, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - CORBA::StaticRequest __req( this, "getTriPatch" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_in_arg( &_sa_patchName ); - __req.add_out_arg( &_sa_points ); - __req.add_out_arg( &_sa_triFaces ); - __req.add_out_arg( &_sa_values ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - _par_points = (FoamXServer::FloatList*) _sa_points._retn(); - _par_triFaces = (FoamXServer::LongList*) _sa_triFaces._retn(); - _par_values = (FoamXServer::FloatList*) _sa_values._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getTriPatch( const char* _par_fieldName, const char* _par_patchName, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getTriPatch(_par_fieldName, _par_patchName, _par_points, _par_triFaces, _par_values); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatch(_par_fieldName, _par_patchName, _par_points, _par_triFaces, _par_values); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatchSlave() -{ - CORBA::StaticRequest __req( this, "getTriPatchSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getTriPatchSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->getTriPatchSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatchSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatchVec( const char* _par_fieldName, const char* _par_patchName, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName ); - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - CORBA::StaticRequest __req( this, "getTriPatchVec" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_in_arg( &_sa_patchName ); - __req.add_out_arg( &_sa_points ); - __req.add_out_arg( &_sa_triFaces ); - __req.add_out_arg( &_sa_values ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - _par_points = (FoamXServer::FloatList*) _sa_points._retn(); - _par_triFaces = (FoamXServer::LongList*) _sa_triFaces._retn(); - _par_values = (FoamXServer::FloatList*) _sa_values._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getTriPatchVec( const char* _par_fieldName, const char* _par_patchName, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getTriPatchVec(_par_fieldName, _par_patchName, _par_points, _par_triFaces, _par_values); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatchVec(_par_fieldName, _par_patchName, _par_points, _par_triFaces, _par_values); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatchVecSlave() -{ - CORBA::StaticRequest __req( this, "getTriPatchVecSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::getTriPatchVecSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->getTriPatchVecSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::getTriPatchVecSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::cutPlane( const char* _par_fieldName, const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - CORBA::StaticRequest __req( this, "cutPlane" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_in_arg( &_sa_basePoint ); - __req.add_in_arg( &_sa_normal ); - __req.add_out_arg( &_sa_points ); - __req.add_out_arg( &_sa_triFaces ); - __req.add_out_arg( &_sa_values ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - _par_points = (FoamXServer::FloatList*) _sa_points._retn(); - _par_triFaces = (FoamXServer::LongList*) _sa_triFaces._retn(); - _par_values = (FoamXServer::FloatList*) _sa_values._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::cutPlane( const char* _par_fieldName, const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->cutPlane(_par_fieldName, _par_basePoint, _par_normal, _par_points, _par_triFaces, _par_values); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::cutPlane(_par_fieldName, _par_basePoint, _par_normal, _par_points, _par_triFaces, _par_values); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::cutPlaneSlave() -{ - CORBA::StaticRequest __req( this, "cutPlaneSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::cutPlaneSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->cutPlaneSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::cutPlaneSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::cutPlaneVec( const char* _par_fieldName, const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName ); - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - CORBA::StaticRequest __req( this, "cutPlaneVec" ); - __req.add_in_arg( &_sa_fieldName ); - __req.add_in_arg( &_sa_basePoint ); - __req.add_in_arg( &_sa_normal ); - __req.add_out_arg( &_sa_points ); - __req.add_out_arg( &_sa_triFaces ); - __req.add_out_arg( &_sa_values ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - _par_points = (FoamXServer::FloatList*) _sa_points._retn(); - _par_triFaces = (FoamXServer::LongList*) _sa_triFaces._retn(); - _par_values = (FoamXServer::FloatList*) _sa_values._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::cutPlaneVec( const char* _par_fieldName, const FoamXServer::Point3 _par_basePoint, const FoamXServer::Point3 _par_normal, FoamXServer::FloatList_out _par_points, FoamXServer::LongList_out _par_triFaces, FoamXServer::FloatList_out _par_values ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->cutPlaneVec(_par_fieldName, _par_basePoint, _par_normal, _par_points, _par_triFaces, _par_values); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::cutPlaneVec(_par_fieldName, _par_basePoint, _par_normal, _par_points, _par_triFaces, _par_values); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::cutPlaneVecSlave() -{ - CORBA::StaticRequest __req( this, "cutPlaneVecSlave" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::cutPlaneVecSlave() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->cutPlaneVecSlave(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::cutPlaneVecSlave(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CasePostServer::ICasePostServer_stub::close() -{ - CORBA::StaticRequest __req( this, "close" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CasePostServer::ICasePostServer_stub_clp::close() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CasePostServer::ICasePostServer * _myserv = POA_FoamXServer::CasePostServer::ICasePostServer::_narrow (_serv); - if (_myserv) { - _myserv->close(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CasePostServer::ICasePostServer_stub::close(); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class ICaseBrowser - */ - -FoamXServer::CaseBrowser::ICaseBrowser::~ICaseBrowser() -{ -} - -void * -FoamXServer::CaseBrowser::ICaseBrowser::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::CaseBrowser::ICaseBrowser_ptr -FoamXServer::CaseBrowser::ICaseBrowser::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::CaseBrowser::ICaseBrowser_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0" ))) - return _duplicate( (FoamXServer::CaseBrowser::ICaseBrowser_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0")) { - _o = new FoamXServer::CaseBrowser::ICaseBrowser_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::CaseBrowser::ICaseBrowser_ptr -FoamXServer::CaseBrowser::ICaseBrowser::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace CaseBrowser -{ -CORBA::TypeCodeConst _tc_ICaseBrowser; -} -} -class _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::CaseBrowser::ICaseBrowser_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_CaseBrowser_ICaseBrowser(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::~_Marshaller_FoamXServer_CaseBrowser_ICaseBrowser() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::CaseBrowser::ICaseBrowser::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::CaseBrowser::ICaseBrowser::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser::typecode() -{ - return FoamXServer::CaseBrowser::_tc_ICaseBrowser; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseBrowser_ICaseBrowser; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::CaseBrowser::ICaseBrowser_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseBrowser_ICaseBrowser, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::CaseBrowser::ICaseBrowser_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_CaseBrowser_ICaseBrowser, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::CaseBrowser::ICaseBrowser_ptr &_obj ) -{ - FoamXServer::CaseBrowser::ICaseBrowser_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_CaseBrowser_ICaseBrowser, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class ICaseBrowser - */ - -FoamXServer::CaseBrowser::ICaseBrowser_stub::~ICaseBrowser_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::CaseBrowser::ICaseBrowser * -POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::CaseBrowser::ICaseBrowser *) p; - } - return NULL; -} - -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::ICaseBrowser_stub_clp () -{ -} - -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::ICaseBrowser_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::~ICaseBrowser_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::CaseServer::IFoamProperties_ptr FoamXServer::CaseBrowser::ICaseBrowser_stub::foamProperties() -{ - FoamXServer::CaseServer::IFoamProperties_ptr _res = FoamXServer::CaseServer::IFoamProperties::_nil(); - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IFoamProperties, &_res ); - - CORBA::StaticRequest __req( this, "_get_foamProperties" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::CaseServer::IFoamProperties_ptr -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::foamProperties() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - FoamXServer::CaseServer::IFoamProperties_ptr __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->foamProperties(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::foamProperties(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::CaseDescriptorList* FoamXServer::CaseBrowser::ICaseBrowser_stub::cases() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_CaseDescriptor ); - - CORBA::StaticRequest __req( this, "_get_cases" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::CaseDescriptorList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::CaseDescriptorList* -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::cases() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - FoamXServer::CaseDescriptorList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->cases(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::cases(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::JobDescriptorList* FoamXServer::CaseBrowser::ICaseBrowser_stub::runningJobs() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_JobDescriptor ); - - CORBA::StaticRequest __req( this, "_get_runningJobs" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::JobDescriptorList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::JobDescriptorList* -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::runningJobs() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - FoamXServer::JobDescriptorList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->runningJobs(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::runningJobs(); -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::JobDescriptorList* FoamXServer::CaseBrowser::ICaseBrowser_stub::finishedJobs() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_JobDescriptor ); - - CORBA::StaticRequest __req( this, "_get_finishedJobs" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::JobDescriptorList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::JobDescriptorList* -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::finishedJobs() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - FoamXServer::JobDescriptorList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->finishedJobs(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::finishedJobs(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::getEnv( const char* _par_envName, CORBA::String_out _par_hostName ) -{ - CORBA::StaticAny _sa_envName( CORBA::_stc_string, &_par_envName ); - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName.ptr() ); - CORBA::StaticRequest __req( this, "getEnv" ); - __req.add_in_arg( &_sa_envName ); - __req.add_out_arg( &_sa_hostName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::getEnv( const char* _par_envName, CORBA::String_out _par_hostName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getEnv(_par_envName, _par_hostName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::getEnv(_par_envName, _par_hostName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::getHostName( CORBA::String_out _par_hostName ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName.ptr() ); - CORBA::StaticRequest __req( this, "getHostName" ); - __req.add_out_arg( &_sa_hostName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::getHostName( CORBA::String_out _par_hostName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getHostName(_par_hostName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::getHostName(_par_hostName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::getUserName( CORBA::String_out _par_userName ) -{ - CORBA::StaticAny _sa_userName( CORBA::_stc_string, &_par_userName.ptr() ); - CORBA::StaticRequest __req( this, "getUserName" ); - __req.add_out_arg( &_sa_userName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::getUserName( CORBA::String_out _par_userName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->getUserName(_par_userName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::getUserName(_par_userName); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::CaseBrowser::ICaseBrowser_stub::fileModificationDate( const char* _par_fileName ) -{ - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName ); - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "fileModificationDate" ); - __req.add_in_arg( &_sa_fileName ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::fileModificationDate( const char* _par_fileName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->fileModificationDate(_par_fileName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::fileModificationDate(_par_fileName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::readFile( const char* _par_fileName, CORBA::String_out _par_contents ) -{ - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName ); - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents.ptr() ); - CORBA::StaticRequest __req( this, "readFile" ); - __req.add_in_arg( &_sa_fileName ); - __req.add_out_arg( &_sa_contents ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::readFile( const char* _par_fileName, CORBA::String_out _par_contents ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->readFile(_par_fileName, _par_contents); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::readFile(_par_fileName, _par_contents); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::writeFile( const char* _par_fileName, const char* _par_contents ) -{ - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName ); - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents ); - CORBA::StaticRequest __req( this, "writeFile" ); - __req.add_in_arg( &_sa_fileName ); - __req.add_in_arg( &_sa_contents ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::writeFile( const char* _par_fileName, const char* _par_contents ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->writeFile(_par_fileName, _par_contents); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::writeFile(_par_fileName, _par_contents); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Long FoamXServer::CaseBrowser::ICaseBrowser_stub::invokeUtility( const char* _par_hostName, const char* _par_utilityName, const FoamXServer::StringList& _par_arguments, const char* _par_logName, CORBA::Boolean _par_backGround ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - CORBA::StaticAny _sa_utilityName( CORBA::_stc_string, &_par_utilityName ); - CORBA::StaticAny _sa_arguments( CORBA::_stcseq_string, &_par_arguments ); - CORBA::StaticAny _sa_logName( CORBA::_stc_string, &_par_logName ); - CORBA::StaticAny _sa_backGround( CORBA::_stc_boolean, &_par_backGround ); - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - - CORBA::StaticRequest __req( this, "invokeUtility" ); - __req.add_in_arg( &_sa_hostName ); - __req.add_in_arg( &_sa_utilityName ); - __req.add_in_arg( &_sa_arguments ); - __req.add_in_arg( &_sa_logName ); - __req.add_in_arg( &_sa_backGround ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Long -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::invokeUtility( const char* _par_hostName, const char* _par_utilityName, const FoamXServer::StringList& _par_arguments, const char* _par_logName, CORBA::Boolean _par_backGround ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Long __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->invokeUtility(_par_hostName, _par_utilityName, _par_arguments, _par_logName, _par_backGround); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::invokeUtility(_par_hostName, _par_utilityName, _par_arguments, _par_logName, _par_backGround); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::refreshCaseList() -{ - CORBA::StaticRequest __req( this, "refreshCaseList" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::refreshCaseList() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->refreshCaseList(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::refreshCaseList(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::addToCaseList( const char* _par_rootDir ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticRequest __req( this, "addToCaseList" ); - __req.add_in_arg( &_sa_rootDir ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::addToCaseList( const char* _par_rootDir ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addToCaseList(_par_rootDir); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::addToCaseList(_par_rootDir); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::openCase( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::StaticRequest __req( this, "openCase" ); - __req.add_in_arg( &_sa_caseDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::openCase( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->openCase(_par_caseDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::openCase(_par_caseDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::newCase( const char* _par_rootDir, const char* _par_caseName, const char* _par_app ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticAny _sa_app( CORBA::_stc_string, &_par_app ); - CORBA::StaticRequest __req( this, "newCase" ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - __req.add_in_arg( &_sa_app ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::newCase( const char* _par_rootDir, const char* _par_caseName, const char* _par_app ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->newCase(_par_rootDir, _par_caseName, _par_app); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::newCase(_par_rootDir, _par_caseName, _par_app); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::importCase( const char* _par_rootDir, const char* _par_caseName, const char* _par_app ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticAny _sa_app( CORBA::_stc_string, &_par_app ); - CORBA::StaticRequest __req( this, "importCase" ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - __req.add_in_arg( &_sa_app ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::importCase( const char* _par_rootDir, const char* _par_caseName, const char* _par_app ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->importCase(_par_rootDir, _par_caseName, _par_app); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::importCase(_par_rootDir, _par_caseName, _par_app); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::deleteCase( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::StaticRequest __req( this, "deleteCase" ); - __req.add_in_arg( &_sa_caseDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::deleteCase( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->deleteCase(_par_caseDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::deleteCase(_par_caseDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::cloneCase( const FoamXServer::CaseDescriptor& _par_caseDesc, const char* _par_newCaseRootDir, const char* _par_newCaseName, const char* _par_newAppClassName, const char* _par_timeSel ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::StaticAny _sa_newCaseRootDir( CORBA::_stc_string, &_par_newCaseRootDir ); - CORBA::StaticAny _sa_newCaseName( CORBA::_stc_string, &_par_newCaseName ); - CORBA::StaticAny _sa_newAppClassName( CORBA::_stc_string, &_par_newAppClassName ); - CORBA::StaticAny _sa_timeSel( CORBA::_stc_string, &_par_timeSel ); - CORBA::StaticRequest __req( this, "cloneCase" ); - __req.add_in_arg( &_sa_caseDesc ); - __req.add_in_arg( &_sa_newCaseRootDir ); - __req.add_in_arg( &_sa_newCaseName ); - __req.add_in_arg( &_sa_newAppClassName ); - __req.add_in_arg( &_sa_timeSel ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::cloneCase( const FoamXServer::CaseDescriptor& _par_caseDesc, const char* _par_newCaseRootDir, const char* _par_newCaseName, const char* _par_newAppClassName, const char* _par_timeSel ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->cloneCase(_par_caseDesc, _par_newCaseRootDir, _par_newCaseName, _par_newAppClassName, _par_timeSel); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::cloneCase(_par_caseDesc, _par_newCaseRootDir, _par_newCaseName, _par_newAppClassName, _par_timeSel); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseBrowser::ICaseBrowser_stub::getCaseServerReference( const char* _par_rootDir, const char* _par_caseName, FoamXServer::CaseServer::ICaseServer_out _par_caseObj ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticAny _sa_caseObj( _marshaller_FoamXServer_CaseServer_ICaseServer, &_par_caseObj.ptr() ); - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "getCaseServerReference" ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - __req.add_out_arg( &_sa_caseObj ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::getCaseServerReference( const char* _par_rootDir, const char* _par_caseName, FoamXServer::CaseServer::ICaseServer_out _par_caseObj ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->getCaseServerReference(_par_rootDir, _par_caseName, _par_caseObj); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::getCaseServerReference(_par_rootDir, _par_caseName, _par_caseObj); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::openCasePost( const FoamXServer::CaseDescriptor& _par_caseDesc, CORBA::Long _par_nProcs ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::StaticAny _sa_nProcs( CORBA::_stc_long, &_par_nProcs ); - CORBA::StaticRequest __req( this, "openCasePost" ); - __req.add_in_arg( &_sa_caseDesc ); - __req.add_in_arg( &_sa_nProcs ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::openCasePost( const FoamXServer::CaseDescriptor& _par_caseDesc, CORBA::Long _par_nProcs ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->openCasePost(_par_caseDesc, _par_nProcs); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::openCasePost(_par_caseDesc, _par_nProcs); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseBrowser::ICaseBrowser_stub::getCasePostServerReference( const char* _par_rootDir, const char* _par_caseName, CORBA::Long _par_nProcs, FoamXServer::CasePostServer::ICasePostServer_out _par_caseObj ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticAny _sa_nProcs( CORBA::_stc_long, &_par_nProcs ); - CORBA::StaticAny _sa_caseObj( _marshaller_FoamXServer_CasePostServer_ICasePostServer, &_par_caseObj.ptr() ); - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "getCasePostServerReference" ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - __req.add_in_arg( &_sa_nProcs ); - __req.add_out_arg( &_sa_caseObj ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::getCasePostServerReference( const char* _par_rootDir, const char* _par_caseName, CORBA::Long _par_nProcs, FoamXServer::CasePostServer::ICasePostServer_out _par_caseObj ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->getCasePostServerReference(_par_rootDir, _par_caseName, _par_nProcs, _par_caseObj); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::getCasePostServerReference(_par_rootDir, _par_caseName, _par_nProcs, _par_caseObj); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseBrowser::ICaseBrowser_stub::caseLocked( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "caseLocked" ); - __req.add_in_arg( &_sa_caseDesc ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::caseLocked( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->caseLocked(_par_caseDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::caseLocked(_par_caseDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::unlockCase( const char* _par_rootDir, const char* _par_caseName ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticRequest __req( this, "unlockCase" ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::unlockCase( const char* _par_rootDir, const char* _par_caseName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->unlockCase(_par_rootDir, _par_caseName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::unlockCase(_par_rootDir, _par_caseName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::unlockCaseDescriptor( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::StaticRequest __req( this, "unlockCaseDescriptor" ); - __req.add_in_arg( &_sa_caseDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::unlockCaseDescriptor( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->unlockCaseDescriptor(_par_caseDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::unlockCaseDescriptor(_par_caseDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::addCase( const char* _par_rootDir, const char* _par_rawRootDir, const char* _par_caseName, const char* _par_app ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_rawRootDir( CORBA::_stc_string, &_par_rawRootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticAny _sa_app( CORBA::_stc_string, &_par_app ); - CORBA::StaticRequest __req( this, "addCase" ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_rawRootDir ); - __req.add_in_arg( &_sa_caseName ); - __req.add_in_arg( &_sa_app ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::addCase( const char* _par_rootDir, const char* _par_rawRootDir, const char* _par_caseName, const char* _par_app ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->addCase(_par_rootDir, _par_rawRootDir, _par_caseName, _par_app); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::addCase(_par_rootDir, _par_rawRootDir, _par_caseName, _par_app); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::caseOpen( const char* _par_rootDir, const char* _par_caseName ) -{ - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticRequest __req( this, "caseOpen" ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::caseOpen( const char* _par_rootDir, const char* _par_caseName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->caseOpen(_par_rootDir, _par_caseName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::caseOpen(_par_rootDir, _par_caseName); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::CaseBrowser::ICaseBrowser_stub::isCaseInError( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "isCaseInError" ); - __req.add_in_arg( &_sa_caseDesc ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::isCaseInError( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->isCaseInError(_par_caseDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::CaseBrowser::ICaseBrowser_stub::isCaseInError(_par_caseDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::caseIsInError( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::StaticRequest __req( this, "caseIsInError" ); - __req.add_in_arg( &_sa_caseDesc ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::caseIsInError( const FoamXServer::CaseDescriptor& _par_caseDesc ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->caseIsInError(_par_caseDesc); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::caseIsInError(_par_caseDesc); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::refreshJobsLists() -{ - CORBA::StaticRequest __req( this, "refreshJobsLists" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::refreshJobsLists() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->refreshJobsLists(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::refreshJobsLists(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::checkRunningJobs() -{ - CORBA::StaticRequest __req( this, "checkRunningJobs" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::checkRunningJobs() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->checkRunningJobs(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::checkRunningJobs(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::purgeRunningJobs() -{ - CORBA::StaticRequest __req( this, "purgeRunningJobs" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::purgeRunningJobs() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->purgeRunningJobs(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::purgeRunningJobs(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::purgeFinishedJob( const FoamXServer::JobID& _par_jobID ) -{ - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - CORBA::StaticRequest __req( this, "purgeFinishedJob" ); - __req.add_in_arg( &_sa_jobID ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::purgeFinishedJob( const FoamXServer::JobID& _par_jobID ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->purgeFinishedJob(_par_jobID); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::purgeFinishedJob(_par_jobID); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::purgeFinishedJobs( CORBA::Long _par_nDays ) -{ - CORBA::StaticAny _sa_nDays( CORBA::_stc_long, &_par_nDays ); - CORBA::StaticRequest __req( this, "purgeFinishedJobs" ); - __req.add_in_arg( &_sa_nDays ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::purgeFinishedJobs( CORBA::Long _par_nDays ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->purgeFinishedJobs(_par_nDays); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::purgeFinishedJobs(_par_nDays); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::kill( const FoamXServer::JobID& _par_jobID ) -{ - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - CORBA::StaticRequest __req( this, "kill" ); - __req.add_in_arg( &_sa_jobID ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::kill( const FoamXServer::JobID& _par_jobID ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->kill(_par_jobID); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::kill(_par_jobID); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::suspend( const FoamXServer::JobID& _par_jobID ) -{ - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - CORBA::StaticRequest __req( this, "suspend" ); - __req.add_in_arg( &_sa_jobID ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::suspend( const FoamXServer::JobID& _par_jobID ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->suspend(_par_jobID); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::suspend(_par_jobID); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::cont( const FoamXServer::JobID& _par_jobID ) -{ - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - CORBA::StaticRequest __req( this, "cont" ); - __req.add_in_arg( &_sa_jobID ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::cont( const FoamXServer::JobID& _par_jobID ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->cont(_par_jobID); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::cont(_par_jobID); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::end( const FoamXServer::JobID& _par_jobID, const char* _par_rootDir, const char* _par_caseName, CORBA::Boolean _par_now ) -{ - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir ); - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName ); - CORBA::StaticAny _sa_now( CORBA::_stc_boolean, &_par_now ); - CORBA::StaticRequest __req( this, "end" ); - __req.add_in_arg( &_sa_jobID ); - __req.add_in_arg( &_sa_rootDir ); - __req.add_in_arg( &_sa_caseName ); - __req.add_in_arg( &_sa_now ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::end( const FoamXServer::JobID& _par_jobID, const char* _par_rootDir, const char* _par_caseName, CORBA::Boolean _par_now ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->end(_par_jobID, _par_rootDir, _par_caseName, _par_now); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::end(_par_jobID, _par_rootDir, _par_caseName, _par_now); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::setStatus( const FoamXServer::JobID& _par_jobID, FoamXServer::JobStatus _par_jobStatus ) -{ - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - CORBA::StaticAny _sa_jobStatus( _marshaller_FoamXServer_JobStatus, &_par_jobStatus ); - CORBA::StaticRequest __req( this, "setStatus" ); - __req.add_in_arg( &_sa_jobID ); - __req.add_in_arg( &_sa_jobStatus ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::setStatus( const FoamXServer::JobID& _par_jobID, FoamXServer::JobStatus _par_jobStatus ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->setStatus(_par_jobID, _par_jobStatus); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::setStatus(_par_jobID, _par_jobStatus); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::validate() -{ - CORBA::StaticRequest __req( this, "validate" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::validate() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->validate(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::validate(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::save() -{ - CORBA::StaticRequest __req( this, "save" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::save() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->save(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::save(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::CaseBrowser::ICaseBrowser_stub::close() -{ - CORBA::StaticRequest __req( this, "close" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::CaseBrowser::ICaseBrowser_stub_clp::close() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::CaseBrowser::ICaseBrowser * _myserv = POA_FoamXServer::CaseBrowser::ICaseBrowser::_narrow (_serv); - if (_myserv) { - _myserv->close(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::CaseBrowser::ICaseBrowser_stub::close(); -} - -#endif // MICO_CONF_NO_POA - - -/* - * Base interface for class IHostBrowser - */ - -FoamXServer::HostBrowser::IHostBrowser::~IHostBrowser() -{ -} - -void * -FoamXServer::HostBrowser::IHostBrowser::_narrow_helper( const char *_repoid ) -{ - if( strcmp( _repoid, "IDL:FoamXServer/HostBrowser/IHostBrowser:1.0" ) == 0 ) - return (void *)this; - return NULL; -} - -FoamXServer::HostBrowser::IHostBrowser_ptr -FoamXServer::HostBrowser::IHostBrowser::_narrow( CORBA::Object_ptr _obj ) -{ - FoamXServer::HostBrowser::IHostBrowser_ptr _o; - if( !CORBA::is_nil( _obj ) ) { - void *_p; - if( (_p = _obj->_narrow_helper( "IDL:FoamXServer/HostBrowser/IHostBrowser:1.0" ))) - return _duplicate( (FoamXServer::HostBrowser::IHostBrowser_ptr) _p ); - if (!strcmp (_obj->_repoid(), "IDL:FoamXServer/HostBrowser/IHostBrowser:1.0") || _obj->_is_a_remote ("IDL:FoamXServer/HostBrowser/IHostBrowser:1.0")) { - _o = new FoamXServer::HostBrowser::IHostBrowser_stub; - _o->CORBA::Object::operator=( *_obj ); - return _o; - } - } - return _nil(); -} - -FoamXServer::HostBrowser::IHostBrowser_ptr -FoamXServer::HostBrowser::IHostBrowser::_narrow( CORBA::AbstractBase_ptr _obj ) -{ - return _narrow (_obj->_to_object()); -} - -namespace FoamXServer -{ -namespace HostBrowser -{ -CORBA::TypeCodeConst _tc_IHostBrowser; -} -} -class _Marshaller_FoamXServer_HostBrowser_IHostBrowser : public ::CORBA::StaticTypeInfo { - typedef FoamXServer::HostBrowser::IHostBrowser_ptr _MICO_T; - public: - ~_Marshaller_FoamXServer_HostBrowser_IHostBrowser(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - void release (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller_FoamXServer_HostBrowser_IHostBrowser::~_Marshaller_FoamXServer_HostBrowser_IHostBrowser() -{ -} - -::CORBA::StaticValueType _Marshaller_FoamXServer_HostBrowser_IHostBrowser::create() const -{ - return (StaticValueType) new _MICO_T( 0 ); -} - -void _Marshaller_FoamXServer_HostBrowser_IHostBrowser::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = ::FoamXServer::HostBrowser::IHostBrowser::_duplicate( *(_MICO_T*) s ); -} - -void _Marshaller_FoamXServer_HostBrowser_IHostBrowser::free( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); - delete (_MICO_T*) v; -} - -void _Marshaller_FoamXServer_HostBrowser_IHostBrowser::release( StaticValueType v ) const -{ - ::CORBA::release( *(_MICO_T *) v ); -} - -::CORBA::Boolean _Marshaller_FoamXServer_HostBrowser_IHostBrowser::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj; - if (!::CORBA::_stc_Object->demarshal(dc, &obj)) - return FALSE; - *(_MICO_T *) v = ::FoamXServer::HostBrowser::IHostBrowser::_narrow( obj ); - ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v); - ::CORBA::release (obj); - return ret; -} - -void _Marshaller_FoamXServer_HostBrowser_IHostBrowser::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::Object_ptr obj = *(_MICO_T *) v; - ::CORBA::_stc_Object->marshal( ec, &obj ); -} - -::CORBA::TypeCode_ptr _Marshaller_FoamXServer_HostBrowser_IHostBrowser::typecode() -{ - return FoamXServer::HostBrowser::_tc_IHostBrowser; -} - -::CORBA::StaticTypeInfo *_marshaller_FoamXServer_HostBrowser_IHostBrowser; - -void -operator<<=( CORBA::Any &_a, const FoamXServer::HostBrowser::IHostBrowser_ptr _obj ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_HostBrowser_IHostBrowser, &_obj); - _a.from_static_any (_sa); -} - -void -operator<<=( CORBA::Any &_a, FoamXServer::HostBrowser::IHostBrowser_ptr* _obj_ptr ) -{ - CORBA::StaticAny _sa (_marshaller_FoamXServer_HostBrowser_IHostBrowser, _obj_ptr); - _a.from_static_any (_sa); - CORBA::release (*_obj_ptr); -} - -CORBA::Boolean -operator>>=( const CORBA::Any &_a, FoamXServer::HostBrowser::IHostBrowser_ptr &_obj ) -{ - FoamXServer::HostBrowser::IHostBrowser_ptr *p; - if (_a.to_static_any (_marshaller_FoamXServer_HostBrowser_IHostBrowser, (void *&)p)) { - _obj = *p; - return TRUE; - } - return FALSE; -} - - -/* - * Stub interface for class IHostBrowser - */ - -FoamXServer::HostBrowser::IHostBrowser_stub::~IHostBrowser_stub() -{ -} - -#ifndef MICO_CONF_NO_POA - -void * -POA_FoamXServer::HostBrowser::IHostBrowser::_narrow_helper (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/HostBrowser/IHostBrowser:1.0") == 0) { - return (void *) this; - } - return NULL; -} - -POA_FoamXServer::HostBrowser::IHostBrowser * -POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (PortableServer::Servant serv) -{ - void * p; - if ((p = serv->_narrow_helper ("IDL:FoamXServer/HostBrowser/IHostBrowser:1.0")) != NULL) { - serv->_add_ref (); - return (POA_FoamXServer::HostBrowser::IHostBrowser *) p; - } - return NULL; -} - -FoamXServer::HostBrowser::IHostBrowser_stub_clp::IHostBrowser_stub_clp () -{ -} - -FoamXServer::HostBrowser::IHostBrowser_stub_clp::IHostBrowser_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) - : CORBA::Object(*obj), PortableServer::StubBase(poa) -{ -} - -FoamXServer::HostBrowser::IHostBrowser_stub_clp::~IHostBrowser_stub_clp () -{ -} - -#endif // MICO_CONF_NO_POA - -FoamXServer::HostDescriptorList* FoamXServer::HostBrowser::IHostBrowser_stub::hosts() -{ - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_HostDescriptor ); - - CORBA::StaticRequest __req( this, "_get_hosts" ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - 0); - return (FoamXServer::HostDescriptorList*) __res._retn(); -} - - -#ifndef MICO_CONF_NO_POA - -FoamXServer::HostDescriptorList* -FoamXServer::HostBrowser::IHostBrowser_stub_clp::hosts() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - FoamXServer::HostDescriptorList* __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->hosts(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::HostBrowser::IHostBrowser_stub::hosts(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::HostBrowser::IHostBrowser_stub::refreshHostList() -{ - CORBA::StaticRequest __req( this, "refreshHostList" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::HostBrowser::IHostBrowser_stub_clp::refreshHostList() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->refreshHostList(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::HostBrowser::IHostBrowser_stub::refreshHostList(); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::HostBrowser::IHostBrowser_stub::isHostAlive( const char* _par_hostName ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "isHostAlive" ); - __req.add_in_arg( &_sa_hostName ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::HostBrowser::IHostBrowser_stub_clp::isHostAlive( const char* _par_hostName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->isHostAlive(_par_hostName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::HostBrowser::IHostBrowser_stub::isHostAlive(_par_hostName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::HostBrowser::IHostBrowser_stub::hostIsAlive( const char* _par_hostName ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - CORBA::StaticRequest __req( this, "hostIsAlive" ); - __req.add_in_arg( &_sa_hostName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::HostBrowser::IHostBrowser_stub_clp::hostIsAlive( const char* _par_hostName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->hostIsAlive(_par_hostName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::HostBrowser::IHostBrowser_stub::hostIsAlive(_par_hostName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::HostBrowser::IHostBrowser_stub::hostIsDead( const char* _par_hostName ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - CORBA::StaticRequest __req( this, "hostIsDead" ); - __req.add_in_arg( &_sa_hostName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::HostBrowser::IHostBrowser_stub_clp::hostIsDead( const char* _par_hostName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->hostIsDead(_par_hostName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::HostBrowser::IHostBrowser_stub::hostIsDead(_par_hostName); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::HostBrowser::IHostBrowser_stub::openCaseBrowser( const char* _par_hostName ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - CORBA::StaticRequest __req( this, "openCaseBrowser" ); - __req.add_in_arg( &_sa_hostName ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::HostBrowser::IHostBrowser_stub_clp::openCaseBrowser( const char* _par_hostName ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->openCaseBrowser(_par_hostName); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::HostBrowser::IHostBrowser_stub::openCaseBrowser(_par_hostName); -} - -#endif // MICO_CONF_NO_POA - -CORBA::Boolean FoamXServer::HostBrowser::IHostBrowser_stub::getCaseBrowserReference( const char* _par_hostName, FoamXServer::CaseBrowser::ICaseBrowser_out _par_browserObj ) -{ - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - CORBA::StaticAny _sa_browserObj( _marshaller_FoamXServer_CaseBrowser_ICaseBrowser, &_par_browserObj.ptr() ); - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - - CORBA::StaticRequest __req( this, "getCaseBrowserReference" ); - __req.add_in_arg( &_sa_hostName ); - __req.add_out_arg( &_sa_browserObj ); - __req.set_result( &__res ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXSYSError, "IDL:FoamXServer/FoamXSYSError:1.0", - 0); - return _res; -} - - -#ifndef MICO_CONF_NO_POA - -CORBA::Boolean -FoamXServer::HostBrowser::IHostBrowser_stub_clp::getCaseBrowserReference( const char* _par_hostName, FoamXServer::CaseBrowser::ICaseBrowser_out _par_browserObj ) -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - CORBA::Boolean __res; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - __res = _myserv->getCaseBrowserReference(_par_hostName, _par_browserObj); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return __res; - } - _postinvoke (); - } - - return FoamXServer::HostBrowser::IHostBrowser_stub::getCaseBrowserReference(_par_hostName, _par_browserObj); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::HostBrowser::IHostBrowser_stub::validate() -{ - CORBA::StaticRequest __req( this, "validate" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::HostBrowser::IHostBrowser_stub_clp::validate() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->validate(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::HostBrowser::IHostBrowser_stub::validate(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::HostBrowser::IHostBrowser_stub::save() -{ - CORBA::StaticRequest __req( this, "save" ); - - __req.invoke(); - - mico_sii_throw( &__req, - _marshaller_FoamXServer_FoamXError, "IDL:FoamXServer/FoamXError:1.0", - _marshaller_FoamXServer_FoamXIOError, "IDL:FoamXServer/FoamXIOError:1.0", - _marshaller_FoamXServer_ValidationError, "IDL:FoamXServer/ValidationError:1.0", - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::HostBrowser::IHostBrowser_stub_clp::save() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - #ifdef HAVE_EXCEPTIONS - try { - #endif - _myserv->save(); - #ifdef HAVE_EXCEPTIONS - } - catch (...) { - _myserv->_remove_ref(); - _postinvoke(); - throw; - } - #endif - - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::HostBrowser::IHostBrowser_stub::save(); -} - -#endif // MICO_CONF_NO_POA - -void FoamXServer::HostBrowser::IHostBrowser_stub::close() -{ - CORBA::StaticRequest __req( this, "close" ); - - __req.oneway(); - - mico_sii_throw( &__req, - 0); -} - - -#ifndef MICO_CONF_NO_POA - -void -FoamXServer::HostBrowser::IHostBrowser_stub_clp::close() -{ - PortableServer::Servant _serv = _preinvoke (); - if (_serv) { - POA_FoamXServer::HostBrowser::IHostBrowser * _myserv = POA_FoamXServer::HostBrowser::IHostBrowser::_narrow (_serv); - if (_myserv) { - _myserv->close(); - _myserv->_remove_ref(); - _postinvoke (); - return; - } - _postinvoke (); - } - - FoamXServer::HostBrowser::IHostBrowser_stub::close(); -} - -#endif // MICO_CONF_NO_POA - -class _Marshaller__seq_FoamXServer_FoamXAny : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_FoamXAny(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_FoamXAny::~_Marshaller__seq_FoamXServer_FoamXAny() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_FoamXAny::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_FoamXAny::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_FoamXAny::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_FoamXAny::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_FoamXAny->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_FoamXAny::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_FoamXAny->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_FoamXAny::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "010000001300000034020000010000000f00000024020000010000001d00" - "000049444c3a466f616d585365727665722f466f616d58416e793a312e30" - "0000000009000000466f616d58416e790000000002000000050000007479" - "70650000000011000000c3010000010000001e00000049444c3a466f616d" - "585365727665722f466f616d58547970653a312e300000000a000000466f" - "616d5854797065000000150000000f000000547970655f556e646566696e" - "656400000d000000547970655f426f6f6c65616e000000000b0000005479" - "70655f4c6162656c00000c000000547970655f5363616c6172000a000000" - "547970655f436861720000000a000000547970655f576f72640000000c00" - "0000547970655f537472696e67000d000000547970655f526f6f74446972" - "0000000011000000547970655f526f6f74416e6443617365000000000e00" - "0000547970655f436173654e616d650000000e000000547970655f486f73" - "744e616d650000000a000000547970655f46696c650000000f0000005479" - "70655f4469726563746f727900000a000000547970655f54696d65000000" - "12000000547970655f44696d656e73696f6e5365740000000f0000005479" - "70655f46697865644c69737400000a000000547970655f4c697374000000" - "10000000547970655f44696374696f6e617279000f000000547970655f53" - "656c656374696f6e00000e000000547970655f436f6d706f756e64000000" - "0b000000547970655f4669656c6400000600000076616c75650000000b00" - "000000000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_FoamXAny::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_FoamXAny; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_FoamXAny, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_FoamXAny, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_FoamXAny, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_ITypeDescriptor : public ::CORBA::StaticTypeInfo { - typedef IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_ITypeDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_ITypeDescriptor::~_Marshaller__seq_FoamXServer_ITypeDescriptor() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_ITypeDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_ITypeDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_ITypeDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_ITypeDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_ITypeDescriptor->demarshal( dc, &(*(_MICO_T*)v)[i]._for_demarshal() ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_ITypeDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_ITypeDescriptor->marshal( ec, &(*(_MICO_T*)v)[i].inout() ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_ITypeDescriptor::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "010000001300000050000000010000000e00000040000000010000002400" - "000049444c3a466f616d585365727665722f495479706544657363726970" - "746f723a312e300010000000495479706544657363726970746f72000000" - "0000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_ITypeDescriptor::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_ITypeDescriptor; - -void operator<<=( CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_ITypeDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_ITypeDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_ITypeDescriptor, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_IDictionaryEntry : public ::CORBA::StaticTypeInfo { - typedef IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_IDictionaryEntry(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_IDictionaryEntry::~_Marshaller__seq_FoamXServer_IDictionaryEntry() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_IDictionaryEntry::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_IDictionaryEntry::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_IDictionaryEntry::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_IDictionaryEntry::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_IDictionaryEntry->demarshal( dc, &(*(_MICO_T*)v)[i]._for_demarshal() ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_IDictionaryEntry::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_IDictionaryEntry->marshal( ec, &(*(_MICO_T*)v)[i].inout() ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_IDictionaryEntry::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "010000001300000058000000010000000e00000045000000010000002500" - "000049444c3a466f616d585365727665722f4944696374696f6e61727945" - "6e7472793a312e3000000000110000004944696374696f6e617279456e74" - "72790000000000000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_IDictionaryEntry::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_IDictionaryEntry; - -void operator<<=( CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_IDictionaryEntry, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_IDictionaryEntry, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_IDictionaryEntry, (void *&)_s); -} - - -class _Marshaller__a3_float : public ::CORBA::StaticTypeInfo { - typedef CORBA::Float _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__a3_float(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__a3_float::~_Marshaller__a3_float() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__a3_float::create() const -{ - return (StaticValueType) new _MICO_T[ 3 ]; -} - -void _Marshaller__a3_float::assign( StaticValueType d, const StaticValueType s ) const -{ - for( int i = 0; i < 3; i++ ) - ((CORBA::Float *) d)[ i ] = ((CORBA::Float *) s)[ i ]; -} - -void _Marshaller__a3_float::free( StaticValueType v ) const -{ - delete[] (_MICO_T *) v; -} - -::CORBA::Boolean _Marshaller__a3_float::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - if( !dc.arr_begin() ) - return FALSE; - if (!dc.get_floats (&((_MICO_T *)v)[0], 3)) - return FALSE; - return dc.arr_end(); -} - -void _Marshaller__a3_float::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ec.arr_begin(); - ec.put_floats (&((_MICO_T *)v)[0], 3); - ec.arr_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__a3_float::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "01000000140000000c000000010000000600000003000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__a3_float::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__a3_float; - -class _Marshaller__seq_FoamXServer_StringPair : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_StringPair(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_StringPair::~_Marshaller__seq_FoamXServer_StringPair() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_StringPair::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_StringPair::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_StringPair::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_StringPair::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_StringPair->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_StringPair::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_StringPair->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_StringPair::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "010000001300000074000000010000000f00000064000000010000001f00" - "000049444c3a466f616d585365727665722f537472696e67506169723a31" - "2e3000000b000000537472696e6750616972000002000000050000006e61" - "6d650000000012000000000000000600000076616c756500000012000000" - "0000000000000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_StringPair::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_StringPair; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_StringPair, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_StringPair, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_StringPair, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_HostDescriptor : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_HostDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_HostDescriptor::~_Marshaller__seq_FoamXServer_HostDescriptor() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_HostDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_HostDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_HostDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_HostDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_HostDescriptor->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_HostDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_HostDescriptor->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_HostDescriptor::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "010000001300000078000000010000000f00000068000000010000002300" - "000049444c3a466f616d585365727665722f486f73744465736372697074" - "6f723a312e3000000f000000486f737444657363726970746f7200000200" - "0000050000006e616d6500000000120000000000000006000000616c6976" - "650000000800000000000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_HostDescriptor::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_HostDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_HostDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_HostDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_HostDescriptor, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_ApplicationDescriptor : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_ApplicationDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_ApplicationDescriptor::~_Marshaller__seq_FoamXServer_ApplicationDescriptor() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_ApplicationDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_ApplicationDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_ApplicationDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_ApplicationDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_ApplicationDescriptor->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_ApplicationDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_ApplicationDescriptor->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_ApplicationDescriptor::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "0100000013000000b8000000010000000f000000a8000000010000002a00" - "000049444c3a466f616d585365727665722f4170706c69636174696f6e44" - "657363726970746f723a312e30000000160000004170706c69636174696f" - "6e44657363726970746f7200000004000000050000006e616d6500000000" - "12000000000000000900000063617465676f727900000000120000000000" - "000005000000706174680000000012000000000000000c00000073797374" - "656d436c617373000800000000000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_ApplicationDescriptor::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_ApplicationDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_ApplicationDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_ApplicationDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_ApplicationDescriptor, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_CaseDescriptor : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_CaseDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_CaseDescriptor::~_Marshaller__seq_FoamXServer_CaseDescriptor() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_CaseDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_CaseDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_CaseDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_CaseDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_CaseDescriptor->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_CaseDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_CaseDescriptor->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_CaseDescriptor::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "0100000013000000e8000000010000000f000000d8000000010000002300" - "000049444c3a466f616d585365727665722f436173654465736372697074" - "6f723a312e3000000f0000004361736544657363726970746f7200000800" - "000008000000726f6f744469720012000000000000000b00000072617752" - "6f6f744469720000120000000000000009000000636173654e616d650000" - "000012000000000000000400000061707000120000000000000007000000" - "6e50726f6373000003000000080000006d616e6167656400080000000700" - "00006c6f636b6564000008000000060000006572726f7200000008000000" - "00000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_CaseDescriptor::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_CaseDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_CaseDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_CaseDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_CaseDescriptor, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_JobID : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_JobID(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_JobID::~_Marshaller__seq_FoamXServer_JobID() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_JobID::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_JobID::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_JobID::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_JobID::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_JobID->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_JobID::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_JobID->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_JobID::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "010000001300000070000000010000000f00000060000000010000001a00" - "000049444c3a466f616d585365727665722f4a6f6249443a312e30000000" - "060000004a6f6249440000000200000009000000686f73744e616d650000" - "000012000000000000000a00000070726f63657373494400000003000000" - "00000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_JobID::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_JobID; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_JobID, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_JobID, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_JobID, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_JobDescriptor : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_JobDescriptor(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_JobDescriptor::~_Marshaller__seq_FoamXServer_JobDescriptor() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_JobDescriptor::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_JobDescriptor::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_JobDescriptor::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_JobDescriptor::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_JobDescriptor->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_JobDescriptor::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_JobDescriptor->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_JobDescriptor::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "0100000013000000ac030000010000000f0000009c030000010000002200" - "000049444c3a466f616d585365727665722f4a6f6244657363726970746f" - "723a312e300000000e0000004a6f6244657363726970746f720000001300" - "0000060000006a6f6249440000000f00000060000000010000001a000000" - "49444c3a466f616d585365727665722f4a6f6249443a312e300000000600" - "00004a6f6249440000000200000009000000686f73744e616d6500000000" - "12000000000000000a00000070726f636573734944000000030000000500" - "000070706964000000000300000005000000706769640000000003000000" - "0a00000073746172744461746500000012000000000000000a0000007374" - "61727454696d65000000120000000000000009000000757365724e616d65" - "0000000012000000000000000c000000666f616d56657273696f6e001200" - "00000000000005000000636f646500000000120000000000000008000000" - "6172674c6973740012000000000000000b00000063757272656e74446972" - "0000120000000000000008000000726f6f74446972001200000000000000" - "09000000636173654e616d65000000001200000000000000070000006e50" - "726f637300000300000007000000736c61766573000015000000b0000000" - "010000001e00000049444c3a466f616d585365727665722f4a6f6249444c" - "6973743a312e300000000a0000004a6f6249444c69737400000013000000" - "70000000010000000f00000060000000010000001a00000049444c3a466f" - "616d585365727665722f4a6f6249443a312e30000000060000004a6f6249" - "440000000200000009000000686f73744e616d6500000000120000000000" - "00000a00000070726f63657373494400000003000000000000000e000000" - "6e436f756e74656450726f6373000000030000000800000063707554696d" - "65000700000008000000656e644461746500120000000000000008000000" - "656e6454696d650012000000000000000700000073746174757300001100" - "0000c0000000010000001e00000049444c3a466f616d585365727665722f" - "4a6f625374617475733a312e300000000a0000004a6f6253746174757300" - "0000070000000e0000004a4f425f554e444546494e45440000000e000000" - "4a4f425f4c41554e4348494e470000000c0000004a4f425f52554e4e494e" - "47000d0000004a4f425f53544f5050494e47000000000e0000004a4f425f" - "53555350454e4445440000000d0000004a4f425f46494e49534845440000" - "00000c0000004a4f425f41424f525445440000000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_JobDescriptor::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_JobDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_JobDescriptor, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_JobDescriptor, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_JobDescriptor, (void *&)_s); -} - - -class _Marshaller__seq_FoamXServer_DimensionSet : public ::CORBA::StaticTypeInfo { - typedef SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> _MICO_T; - static ::CORBA::TypeCode_ptr _tc; - public: - ~_Marshaller__seq_FoamXServer_DimensionSet(); - StaticValueType create () const; - void assign (StaticValueType dst, const StaticValueType src) const; - void free (StaticValueType) const; - ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const; - void marshal (::CORBA::DataEncoder &, StaticValueType) const; - ::CORBA::TypeCode_ptr typecode (); -}; - - -_Marshaller__seq_FoamXServer_DimensionSet::~_Marshaller__seq_FoamXServer_DimensionSet() -{ - if (_tc) - delete _tc; -} - -::CORBA::StaticValueType _Marshaller__seq_FoamXServer_DimensionSet::create() const -{ - return (StaticValueType) new _MICO_T; -} - -void _Marshaller__seq_FoamXServer_DimensionSet::assign( StaticValueType d, const StaticValueType s ) const -{ - *(_MICO_T*) d = *(_MICO_T*) s; -} - -void _Marshaller__seq_FoamXServer_DimensionSet::free( StaticValueType v ) const -{ - delete (_MICO_T*) v; -} - -::CORBA::Boolean _Marshaller__seq_FoamXServer_DimensionSet::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const -{ - ::CORBA::ULong len; - if( !dc.seq_begin( len ) ) - return FALSE; - ((_MICO_T *) v)->length( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) { - if( !_marshaller_FoamXServer_DimensionSet->demarshal( dc, &(*(_MICO_T*)v)[i] ) ) - return FALSE; - } - return dc.seq_end(); -} - -void _Marshaller__seq_FoamXServer_DimensionSet::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const -{ - ::CORBA::ULong len = ((_MICO_T *) v)->length(); - ec.seq_begin( len ); - for( ::CORBA::ULong i = 0; i < len; i++ ) - _marshaller_FoamXServer_DimensionSet->marshal( ec, &(*(_MICO_T*)v)[i] ); - ec.seq_end(); -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_DimensionSet::typecode() -{ - if (!_tc) - _tc = (new ::CORBA::TypeCode ( - "0100000013000000d4000000010000000f000000c4000000010000002100" - "000049444c3a466f616d585365727665722f44696d656e73696f6e536574" - "3a312e30000000000d00000044696d656e73696f6e536574000000000700" - "0000050000006d6173730000000007000000070000006c656e6774680000" - "070000000500000074696d6500000000070000000c00000074656d706572" - "61747572650007000000060000006d6f6c65730000000700000008000000" - "63757272656e740007000000120000006c756d696e6f7573496e74656e73" - "6974790000000700000000000000"))->mk_constant(); - return _tc; -} - -::CORBA::TypeCode_ptr _Marshaller__seq_FoamXServer_DimensionSet::_tc = 0; -::CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_DimensionSet; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_DimensionSet, &_s); - _a.from_static_any (_sa); -} - -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> *_s ) -{ - _a <<= *_s; - delete _s; -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> &_s ) -{ - CORBA::StaticAny _sa (_marshaller__seq_FoamXServer_DimensionSet, &_s); - return _a.to_static_any (_sa); -} - -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> *&_s ) -{ - return _a.to_static_any (_marshaller__seq_FoamXServer_DimensionSet, (void *&)_s); -} - - -struct __tc_init_FOAMX { - __tc_init_FOAMX() - { - FoamXServer::_tc_FoamXType = - "0100000011000000c3010000010000001e00000049444c3a466f616d5853" - "65727665722f466f616d58547970653a312e300000000a000000466f616d" - "5854797065000000150000000f000000547970655f556e646566696e6564" - "00000d000000547970655f426f6f6c65616e000000000b00000054797065" - "5f4c6162656c00000c000000547970655f5363616c6172000a0000005479" - "70655f436861720000000a000000547970655f576f72640000000c000000" - "547970655f537472696e67000d000000547970655f526f6f744469720000" - "000011000000547970655f526f6f74416e6443617365000000000e000000" - "547970655f436173654e616d650000000e000000547970655f486f73744e" - "616d650000000a000000547970655f46696c650000000f00000054797065" - "5f4469726563746f727900000a000000547970655f54696d650000001200" - "0000547970655f44696d656e73696f6e5365740000000f00000054797065" - "5f46697865644c69737400000a000000547970655f4c6973740000001000" - "0000547970655f44696374696f6e617279000f000000547970655f53656c" - "656374696f6e00000e000000547970655f436f6d706f756e640000000b00" - "0000547970655f4669656c6400"; - _marshaller_FoamXServer_FoamXType = new _Marshaller_FoamXServer_FoamXType; - FoamXServer::_tc_FoamXAny = - "010000000f00000024020000010000001d00000049444c3a466f616d5853" - "65727665722f466f616d58416e793a312e300000000009000000466f616d" - "58416e79000000000200000005000000747970650000000011000000c301" - "0000010000001e00000049444c3a466f616d585365727665722f466f616d" - "58547970653a312e300000000a000000466f616d58547970650000001500" - "00000f000000547970655f556e646566696e656400000d00000054797065" - "5f426f6f6c65616e000000000b000000547970655f4c6162656c00000c00" - "0000547970655f5363616c6172000a000000547970655f43686172000000" - "0a000000547970655f576f72640000000c000000547970655f537472696e" - "67000d000000547970655f526f6f74446972000000001100000054797065" - "5f526f6f74416e6443617365000000000e000000547970655f436173654e" - "616d650000000e000000547970655f486f73744e616d650000000a000000" - "547970655f46696c650000000f000000547970655f4469726563746f7279" - "00000a000000547970655f54696d6500000012000000547970655f44696d" - "656e73696f6e5365740000000f000000547970655f46697865644c697374" - "00000a000000547970655f4c69737400000010000000547970655f446963" - "74696f6e617279000f000000547970655f53656c656374696f6e00000e00" - "0000547970655f436f6d706f756e640000000b000000547970655f466965" - "6c6400000600000076616c75650000000b000000"; - _marshaller_FoamXServer_FoamXAny = new _Marshaller_FoamXServer_FoamXAny; - FoamXServer::_tc_FoamXAnyList = - "01000000150000007c020000010000002100000049444c3a466f616d5853" - "65727665722f466f616d58416e794c6973743a312e30000000000d000000" - "466f616d58416e794c697374000000001300000034020000010000000f00" - "000024020000010000001d00000049444c3a466f616d585365727665722f" - "466f616d58416e793a312e300000000009000000466f616d58416e790000" - "00000200000005000000747970650000000011000000c301000001000000" - "1e00000049444c3a466f616d585365727665722f466f616d58547970653a" - "312e300000000a000000466f616d5854797065000000150000000f000000" - "547970655f556e646566696e656400000d000000547970655f426f6f6c65" - "616e000000000b000000547970655f4c6162656c00000c00000054797065" - "5f5363616c6172000a000000547970655f436861720000000a0000005479" - "70655f576f72640000000c000000547970655f537472696e67000d000000" - "547970655f526f6f744469720000000011000000547970655f526f6f7441" - "6e6443617365000000000e000000547970655f436173654e616d65000000" - "0e000000547970655f486f73744e616d650000000a000000547970655f46" - "696c650000000f000000547970655f4469726563746f727900000a000000" - "547970655f54696d6500000012000000547970655f44696d656e73696f6e" - "5365740000000f000000547970655f46697865644c69737400000a000000" - "547970655f4c69737400000010000000547970655f44696374696f6e6172" - "79000f000000547970655f53656c656374696f6e00000e00000054797065" - "5f436f6d706f756e640000000b000000547970655f4669656c6400000600" - "000076616c75650000000b00000000000000"; - FoamXServer::_tc_StringList = - "010000001500000050000000010000001f00000049444c3a466f616d5853" - "65727665722f537472696e674c6973743a312e3000000b00000053747269" - "6e674c697374000013000000100000000100000012000000000000000000" - "0000"; - FoamXServer::_tc_TypeDescriptorList = - "0100000015000000a0000000010000002700000049444c3a466f616d5853" - "65727665722f5479706544657363726970746f724c6973743a312e300000" - "130000005479706544657363726970746f724c6973740000130000005000" - "0000010000000e00000040000000010000002400000049444c3a466f616d" - "585365727665722f495479706544657363726970746f723a312e30001000" - "0000495479706544657363726970746f720000000000"; - FoamXServer::_tc_ErrorCode = - "0100000011000000dd000000010000001e00000049444c3a466f616d5853" - "65727665722f4572726f72436f64653a312e300000000a0000004572726f" - "72436f64650000000900000005000000535f4f4b0000000007000000455f" - "4641494c000007000000455f464f414d00000e000000455f494e56414c49" - "445f4152470000000e000000455f494e56414c49445f5054520000000e00" - "0000455f494e56414c49445f52454600000016000000455f494e4445585f" - "4f55545f4f465f424f554e44530000000f000000455f554e4b4e4f574e5f" - "4e414d4500000d000000455f554e455850454354454400"; - _marshaller_FoamXServer_ErrorCode = new _Marshaller_FoamXServer_ErrorCode; - FoamXServer::_tc_FoamXError = - "010000001600000090010000010000001f00000049444c3a466f616d5853" - "65727665722f466f616d584572726f723a312e3000000b000000466f616d" - "584572726f720000050000000a0000006572726f72436f64650000001100" - "0000dd000000010000001e00000049444c3a466f616d585365727665722f" - "4572726f72436f64653a312e300000000a0000004572726f72436f646500" - "00000900000005000000535f4f4b0000000007000000455f4641494c0000" - "07000000455f464f414d00000e000000455f494e56414c49445f41524700" - "00000e000000455f494e56414c49445f5054520000000e000000455f494e" - "56414c49445f52454600000016000000455f494e4445585f4f55545f4f46" - "5f424f554e44530000000f000000455f554e4b4e4f574e5f4e414d450000" - "0d000000455f554e4558504543544544000000000d0000006572726f724d" - "6573736167650000000012000000000000000b0000006d6574686f644e61" - "6d65000012000000000000000900000066696c654e616d65000000001200" - "000000000000070000006c696e654e6f000003000000"; - _marshaller_FoamXServer_FoamXError = new _Marshaller_FoamXServer_FoamXError; - FoamXServer::_tc_FoamXIOError = - "0100000016000000e4000000010000002100000049444c3a466f616d5853" - "65727665722f466f616d58494f4572726f723a312e30000000000d000000" - "466f616d58494f4572726f7200000000070000000d0000006572726f724d" - "6573736167650000000012000000000000000b000000696f46696c654e61" - "6d65000012000000000000000e000000696f53746172744c696e654e6f00" - "0000030000000c000000696f456e644c696e654e6f00030000000b000000" - "6d6574686f644e616d65000012000000000000000900000066696c654e61" - "6d65000000001200000000000000070000006c696e654e6f000003000000" - ; - _marshaller_FoamXServer_FoamXIOError = new _Marshaller_FoamXServer_FoamXIOError; - FoamXServer::_tc_ValidationError = - "010000001600000070010000010000002400000049444c3a466f616d5853" - "65727665722f56616c69646174696f6e4572726f723a312e300010000000" - "56616c69646174696f6e4572726f7200030000000a0000006572726f7243" - "6f646500000011000000dd000000010000001e00000049444c3a466f616d" - "585365727665722f4572726f72436f64653a312e300000000a0000004572" - "726f72436f64650000000900000005000000535f4f4b0000000007000000" - "455f4641494c000007000000455f464f414d00000e000000455f494e5641" - "4c49445f4152470000000e000000455f494e56414c49445f505452000000" - "0e000000455f494e56414c49445f52454600000016000000455f494e4445" - "585f4f55545f4f465f424f554e44530000000f000000455f554e4b4e4f57" - "4e5f4e414d4500000d000000455f554e4558504543544544000000000d00" - "00006572726f724d65737361676500000000120000000000000009000000" - "6974656d50617468000000001200000000000000"; - _marshaller_FoamXServer_ValidationError = new _Marshaller_FoamXServer_ValidationError; - FoamXServer::_tc_ITypeDescriptor = - "010000000e00000040000000010000002400000049444c3a466f616d5853" - "65727665722f495479706544657363726970746f723a312e300010000000" - "495479706544657363726970746f7200"; - _marshaller_FoamXServer_ITypeDescriptor = new _Marshaller_FoamXServer_ITypeDescriptor; - FoamXServer::_tc_DictionaryEntryList = - "0100000015000000a8000000010000002800000049444c3a466f616d5853" - "65727665722f44696374696f6e617279456e7472794c6973743a312e3000" - "1400000044696374696f6e617279456e7472794c69737400130000005800" - "0000010000000e00000045000000010000002500000049444c3a466f616d" - "585365727665722f4944696374696f6e617279456e7472793a312e300000" - "0000110000004944696374696f6e617279456e7472790000000000000000" - ; - FoamXServer::_tc_IDictionaryEntry = - "010000000e00000045000000010000002500000049444c3a466f616d5853" - "65727665722f4944696374696f6e617279456e7472793a312e3000000000" - "110000004944696374696f6e617279456e74727900"; - _marshaller_FoamXServer_IDictionaryEntry = new _Marshaller_FoamXServer_IDictionaryEntry; - FoamXServer::_tc_JobStatus = - "0100000011000000c0000000010000001e00000049444c3a466f616d5853" - "65727665722f4a6f625374617475733a312e300000000a0000004a6f6253" - "7461747573000000070000000e0000004a4f425f554e444546494e454400" - "00000e0000004a4f425f4c41554e4348494e470000000c0000004a4f425f" - "52554e4e494e47000d0000004a4f425f53544f5050494e47000000000e00" - "00004a4f425f53555350454e4445440000000d0000004a4f425f46494e49" - "53484544000000000c0000004a4f425f41424f5254454400"; - _marshaller_FoamXServer_JobStatus = new _Marshaller_FoamXServer_JobStatus; - FoamXServer::_tc_MessageType = - "01000000110000006c000000010000002000000049444c3a466f616d5853" - "65727665722f4d657373616765547970653a312e30000c0000004d657373" - "6167655479706500030000000d0000004d5f444941474e4f535449430000" - "00000a0000004d5f5741524e494e47000000080000004d5f4552524f5200" - ; - _marshaller_FoamXServer_MessageType = new _Marshaller_FoamXServer_MessageType; - FoamXServer::_tc_DoubleList = - "01000000150000004c000000010000001f00000049444c3a466f616d5853" - "65727665722f446f75626c654c6973743a312e3000000b000000446f7562" - "6c654c6973740000130000000c000000010000000700000000000000"; - FoamXServer::_tc_FloatList = - "01000000150000004c000000010000001e00000049444c3a466f616d5853" - "65727665722f466c6f61744c6973743a312e300000000a000000466c6f61" - "744c697374000000130000000c000000010000000600000000000000"; - FoamXServer::_tc_LongList = - "01000000150000004c000000010000001d00000049444c3a466f616d5853" - "65727665722f4c6f6e674c6973743a312e3000000000090000004c6f6e67" - "4c69737400000000130000000c000000010000000300000000000000"; - FoamXServer::_tc_Point3 = - "010000001500000044000000010000001b00000049444c3a466f616d5853" - "65727665722f506f696e74333a312e30000007000000506f696e74330000" - "140000000c000000010000000600000003000000"; - FoamXServer::_tc_StringPair = - "010000000f00000064000000010000001f00000049444c3a466f616d5853" - "65727665722f537472696e67506169723a312e3000000b00000053747269" - "6e6750616972000002000000050000006e616d6500000000120000000000" - "00000600000076616c75650000001200000000000000"; - _marshaller_FoamXServer_StringPair = new _Marshaller_FoamXServer_StringPair; - FoamXServer::_tc_StringPairList = - "0100000015000000bc000000010000002300000049444c3a466f616d5853" - "65727665722f537472696e67506169724c6973743a312e3000000f000000" - "537472696e67506169724c69737400001300000074000000010000000f00" - "000064000000010000001f00000049444c3a466f616d585365727665722f" - "537472696e67506169723a312e3000000b000000537472696e6750616972" - "000002000000050000006e616d6500000000120000000000000006000000" - "76616c7565000000120000000000000000000000"; - FoamXServer::_tc_HostDescriptor = - "010000000f00000068000000010000002300000049444c3a466f616d5853" - "65727665722f486f737444657363726970746f723a312e3000000f000000" - "486f737444657363726970746f72000002000000050000006e616d650000" - "0000120000000000000006000000616c69766500000008000000"; - _marshaller_FoamXServer_HostDescriptor = new _Marshaller_FoamXServer_HostDescriptor; - FoamXServer::_tc_HostDescriptorList = - "0100000015000000c8000000010000002700000049444c3a466f616d5853" - "65727665722f486f737444657363726970746f724c6973743a312e300000" - "13000000486f737444657363726970746f724c6973740000130000007800" - "0000010000000f00000068000000010000002300000049444c3a466f616d" - "585365727665722f486f737444657363726970746f723a312e3000000f00" - "0000486f737444657363726970746f72000002000000050000006e616d65" - "00000000120000000000000006000000616c697665000000080000000000" - "0000"; - FoamXServer::_tc_ApplicationDescriptor = - "010000000f000000a8000000010000002a00000049444c3a466f616d5853" - "65727665722f4170706c69636174696f6e44657363726970746f723a312e" - "30000000160000004170706c69636174696f6e44657363726970746f7200" - "000004000000050000006e616d6500000000120000000000000009000000" - "63617465676f727900000000120000000000000005000000706174680000" - "000012000000000000000c00000073797374656d436c6173730008000000" - ; - _marshaller_FoamXServer_ApplicationDescriptor = new _Marshaller_FoamXServer_ApplicationDescriptor; - FoamXServer::_tc_ApplicationDescriptorList = - "010000001500000018010000010000002e00000049444c3a466f616d5853" - "65727665722f4170706c69636174696f6e44657363726970746f724c6973" - "743a312e300000001a0000004170706c69636174696f6e44657363726970" - "746f724c69737400000013000000b8000000010000000f000000a8000000" - "010000002a00000049444c3a466f616d585365727665722f4170706c6963" - "6174696f6e44657363726970746f723a312e30000000160000004170706c" - "69636174696f6e44657363726970746f7200000004000000050000006e61" - "6d650000000012000000000000000900000063617465676f727900000000" - "120000000000000005000000706174680000000012000000000000000c00" - "000073797374656d436c617373000800000000000000"; - FoamXServer::_tc_CaseDescriptor = - "010000000f000000d8000000010000002300000049444c3a466f616d5853" - "65727665722f4361736544657363726970746f723a312e3000000f000000" - "4361736544657363726970746f7200000800000008000000726f6f744469" - "720012000000000000000b000000726177526f6f74446972000012000000" - "0000000009000000636173654e616d650000000012000000000000000400" - "0000617070001200000000000000070000006e50726f6373000003000000" - "080000006d616e616765640008000000070000006c6f636b656400000800" - "0000060000006572726f7200000008000000"; - _marshaller_FoamXServer_CaseDescriptor = new _Marshaller_FoamXServer_CaseDescriptor; - FoamXServer::_tc_CaseDescriptorList = - "010000001500000038010000010000002700000049444c3a466f616d5853" - "65727665722f4361736544657363726970746f724c6973743a312e300000" - "130000004361736544657363726970746f724c697374000013000000e800" - "0000010000000f000000d8000000010000002300000049444c3a466f616d" - "585365727665722f4361736544657363726970746f723a312e3000000f00" - "00004361736544657363726970746f7200000800000008000000726f6f74" - "4469720012000000000000000b000000726177526f6f7444697200001200" - "00000000000009000000636173654e616d65000000001200000000000000" - "04000000617070001200000000000000070000006e50726f637300000300" - "0000080000006d616e616765640008000000070000006c6f636b65640000" - "08000000060000006572726f720000000800000000000000"; - FoamXServer::_tc_JobID = - "010000000f00000060000000010000001a00000049444c3a466f616d5853" - "65727665722f4a6f6249443a312e30000000060000004a6f624944000000" - "0200000009000000686f73744e616d650000000012000000000000000a00" - "000070726f63657373494400000003000000"; - _marshaller_FoamXServer_JobID = new _Marshaller_FoamXServer_JobID; - FoamXServer::_tc_JobIDList = - "0100000015000000b0000000010000001e00000049444c3a466f616d5853" - "65727665722f4a6f6249444c6973743a312e300000000a0000004a6f6249" - "444c6973740000001300000070000000010000000f000000600000000100" - "00001a00000049444c3a466f616d585365727665722f4a6f6249443a312e" - "30000000060000004a6f6249440000000200000009000000686f73744e61" - "6d650000000012000000000000000a00000070726f636573734944000000" - "0300000000000000"; - FoamXServer::_tc_JobDescriptor = - "010000000f0000009c030000010000002200000049444c3a466f616d5853" - "65727665722f4a6f6244657363726970746f723a312e300000000e000000" - "4a6f6244657363726970746f7200000013000000060000006a6f62494400" - "00000f00000060000000010000001a00000049444c3a466f616d58536572" - "7665722f4a6f6249443a312e30000000060000004a6f6249440000000200" - "000009000000686f73744e616d650000000012000000000000000a000000" - "70726f636573734944000000030000000500000070706964000000000300" - "0000050000007067696400000000030000000a0000007374617274446174" - "6500000012000000000000000a000000737461727454696d650000001200" - "00000000000009000000757365724e616d65000000001200000000000000" - "0c000000666f616d56657273696f6e00120000000000000005000000636f" - "6465000000001200000000000000080000006172674c6973740012000000" - "000000000b00000063757272656e74446972000012000000000000000800" - "0000726f6f7444697200120000000000000009000000636173654e616d65" - "000000001200000000000000070000006e50726f63730000030000000700" - "0000736c61766573000015000000b0000000010000001e00000049444c3a" - "466f616d585365727665722f4a6f6249444c6973743a312e300000000a00" - "00004a6f6249444c6973740000001300000070000000010000000f000000" - "60000000010000001a00000049444c3a466f616d585365727665722f4a6f" - "6249443a312e30000000060000004a6f6249440000000200000009000000" - "686f73744e616d650000000012000000000000000a00000070726f636573" - "73494400000003000000000000000e0000006e436f756e74656450726f63" - "73000000030000000800000063707554696d65000700000008000000656e" - "644461746500120000000000000008000000656e6454696d650012000000" - "0000000007000000737461747573000011000000c0000000010000001e00" - "000049444c3a466f616d585365727665722f4a6f625374617475733a312e" - "300000000a0000004a6f62537461747573000000070000000e0000004a4f" - "425f554e444546494e45440000000e0000004a4f425f4c41554e4348494e" - "470000000c0000004a4f425f52554e4e494e47000d0000004a4f425f5354" - "4f5050494e47000000000e0000004a4f425f53555350454e444544000000" - "0d0000004a4f425f46494e4953484544000000000c0000004a4f425f4142" - "4f5254454400"; - _marshaller_FoamXServer_JobDescriptor = new _Marshaller_FoamXServer_JobDescriptor; - FoamXServer::_tc_JobDescriptorList = - "0100000015000000fc030000010000002600000049444c3a466f616d5853" - "65727665722f4a6f6244657363726970746f724c6973743a312e30000000" - "120000004a6f6244657363726970746f724c69737400000013000000ac03" - "0000010000000f0000009c030000010000002200000049444c3a466f616d" - "585365727665722f4a6f6244657363726970746f723a312e300000000e00" - "00004a6f6244657363726970746f7200000013000000060000006a6f6249" - "440000000f00000060000000010000001a00000049444c3a466f616d5853" - "65727665722f4a6f6249443a312e30000000060000004a6f624944000000" - "0200000009000000686f73744e616d650000000012000000000000000a00" - "000070726f63657373494400000003000000050000007070696400000000" - "03000000050000007067696400000000030000000a000000737461727444" - "61746500000012000000000000000a000000737461727454696d65000000" - "120000000000000009000000757365724e616d6500000000120000000000" - "00000c000000666f616d56657273696f6e00120000000000000005000000" - "636f6465000000001200000000000000080000006172674c697374001200" - "0000000000000b00000063757272656e7444697200001200000000000000" - "08000000726f6f7444697200120000000000000009000000636173654e61" - "6d65000000001200000000000000070000006e50726f6373000003000000" - "07000000736c61766573000015000000b0000000010000001e0000004944" - "4c3a466f616d585365727665722f4a6f6249444c6973743a312e30000000" - "0a0000004a6f6249444c6973740000001300000070000000010000000f00" - "000060000000010000001a00000049444c3a466f616d585365727665722f" - "4a6f6249443a312e30000000060000004a6f624944000000020000000900" - "0000686f73744e616d650000000012000000000000000a00000070726f63" - "657373494400000003000000000000000e0000006e436f756e7465645072" - "6f6373000000030000000800000063707554696d65000700000008000000" - "656e644461746500120000000000000008000000656e6454696d65001200" - "00000000000007000000737461747573000011000000c000000001000000" - "1e00000049444c3a466f616d585365727665722f4a6f625374617475733a" - "312e300000000a0000004a6f62537461747573000000070000000e000000" - "4a4f425f554e444546494e45440000000e0000004a4f425f4c41554e4348" - "494e470000000c0000004a4f425f52554e4e494e47000d0000004a4f425f" - "53544f5050494e47000000000e0000004a4f425f53555350454e44454400" - "00000d0000004a4f425f46494e4953484544000000000c0000004a4f425f" - "41424f525445440000000000"; - FoamXServer::_tc_DimensionSet = - "010000000f000000c4000000010000002100000049444c3a466f616d5853" - "65727665722f44696d656e73696f6e5365743a312e30000000000d000000" - "44696d656e73696f6e5365740000000007000000050000006d6173730000" - "000007000000070000006c656e6774680000070000000500000074696d65" - "00000000070000000c00000074656d706572617475726500070000000600" - "00006d6f6c6573000000070000000800000063757272656e740007000000" - "120000006c756d696e6f7573496e74656e7369747900000007000000"; - _marshaller_FoamXServer_DimensionSet = new _Marshaller_FoamXServer_DimensionSet; - FoamXServer::_tc_DimensionSetList = - "010000001500000024010000010000002500000049444c3a466f616d5853" - "65727665722f44696d656e73696f6e5365744c6973743a312e3000000000" - "1100000044696d656e73696f6e5365744c6973740000000013000000d400" - "0000010000000f000000c4000000010000002100000049444c3a466f616d" - "585365727665722f44696d656e73696f6e5365743a312e30000000000d00" - "000044696d656e73696f6e5365740000000007000000050000006d617373" - "0000000007000000070000006c656e677468000007000000050000007469" - "6d6500000000070000000c00000074656d70657261747572650007000000" - "060000006d6f6c6573000000070000000800000063757272656e74000700" - "0000120000006c756d696e6f7573496e74656e7369747900000007000000" - "00000000"; - FoamXServer::_tc_FoamXSYSError = - "0100000016000000b0010000010000002200000049444c3a466f616d5853" - "65727665722f466f616d585359534572726f723a312e300000000e000000" - "466f616d585359534572726f72000000060000000a0000006572726f7243" - "6f646500000011000000dd000000010000001e00000049444c3a466f616d" - "585365727665722f4572726f72436f64653a312e300000000a0000004572" - "726f72436f64650000000900000005000000535f4f4b0000000007000000" - "455f4641494c000007000000455f464f414d00000e000000455f494e5641" - "4c49445f4152470000000e000000455f494e56414c49445f505452000000" - "0e000000455f494e56414c49445f52454600000016000000455f494e4445" - "585f4f55545f4f465f424f554e44530000000f000000455f554e4b4e4f57" - "4e5f4e414d4500000d000000455f554e4558504543544544000000000d00" - "00006572726f724d65737361676500000000120000000000000009000000" - "686f73744e616d650000000012000000000000000b0000006d6574686f64" - "4e616d65000012000000000000000900000066696c654e616d6500000000" - "1200000000000000070000006c696e654e6f000003000000"; - _marshaller_FoamXServer_FoamXSYSError = new _Marshaller_FoamXServer_FoamXSYSError; - FoamXServer::CaseServer::_tc_ICaseServer = - "010000000e00000044000000010000002b00000049444c3a466f616d5853" - "65727665722f436173655365727665722f49436173655365727665723a31" - "2e3000000c000000494361736553657276657200"; - _marshaller_FoamXServer_CaseServer_ICaseServer = new _Marshaller_FoamXServer_CaseServer_ICaseServer; - FoamXServer::CaseServer::_tc_IFoamProperties = - "010000000e0000004c000000010000002f00000049444c3a466f616d5853" - "65727665722f436173655365727665722f49466f616d50726f7065727469" - "65733a312e3000001000000049466f616d50726f7065727469657300"; - _marshaller_FoamXServer_CaseServer_IFoamProperties = new _Marshaller_FoamXServer_CaseServer_IFoamProperties; - FoamXServer::CaseServer::_tc_IApplication = - "010000000e00000045000000010000002c00000049444c3a466f616d5853" - "65727665722f436173655365727665722f494170706c69636174696f6e3a" - "312e30000d000000494170706c69636174696f6e00"; - _marshaller_FoamXServer_CaseServer_IApplication = new _Marshaller_FoamXServer_CaseServer_IApplication; - FoamXServer::CaseServer::_tc_IGeometricFieldDescriptor = - "010000000e00000062000000010000003900000049444c3a466f616d5853" - "65727665722f436173655365727665722f4947656f6d6574726963466965" - "6c6444657363726970746f723a312e30000000001a0000004947656f6d65" - "747269634669656c6444657363726970746f7200"; - _marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor = new _Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor; - FoamXServer::CaseServer::_tc_IPatchDescriptor = - "010000000e0000004d000000010000003000000049444c3a466f616d5853" - "65727665722f436173655365727665722f49506174636844657363726970" - "746f723a312e30001100000049506174636844657363726970746f7200"; - _marshaller_FoamXServer_CaseServer_IPatchDescriptor = new _Marshaller_FoamXServer_CaseServer_IPatchDescriptor; - FoamXServer::CaseServer::_tc_IGeometryDescriptor = - "010000000e00000054000000010000003300000049444c3a466f616d5853" - "65727665722f436173655365727665722f4947656f6d6574727944657363" - "726970746f723a312e300000140000004947656f6d657472794465736372" - "6970746f7200"; - _marshaller_FoamXServer_CaseServer_IGeometryDescriptor = new _Marshaller_FoamXServer_CaseServer_IGeometryDescriptor; - FoamXServer::CaseServer::_tc_IPatchPhysicalTypeDescriptor = - "010000000e00000065000000010000003c00000049444c3a466f616d5853" - "65727665722f436173655365727665722f49506174636850687973696361" - "6c5479706544657363726970746f723a312e30001d000000495061746368" - "506879736963616c5479706544657363726970746f7200"; - _marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor = new _Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor; - FoamXServer::CaseServer::_tc_IGeometricField = - "010000000e0000004c000000010000002f00000049444c3a466f616d5853" - "65727665722f436173655365727665722f4947656f6d6574726963466965" - "6c643a312e300000100000004947656f6d65747269634669656c6400"; - _marshaller_FoamXServer_CaseServer_IGeometricField = new _Marshaller_FoamXServer_CaseServer_IGeometricField; - FoamXServer::CasePostServer::_tc_ICasePostServer = - "010000000e00000050000000010000003300000049444c3a466f616d5853" - "65727665722f43617365506f73745365727665722f4943617365506f7374" - "5365727665723a312e300000100000004943617365506f73745365727665" - "7200"; - _marshaller_FoamXServer_CasePostServer_ICasePostServer = new _Marshaller_FoamXServer_CasePostServer_ICasePostServer; - FoamXServer::CaseBrowser::_tc_ICaseBrowser = - "010000000e00000049000000010000002d00000049444c3a466f616d5853" - "65727665722f4361736542726f777365722f494361736542726f77736572" - "3a312e30000000000d000000494361736542726f7773657200"; - _marshaller_FoamXServer_CaseBrowser_ICaseBrowser = new _Marshaller_FoamXServer_CaseBrowser_ICaseBrowser; - FoamXServer::HostBrowser::_tc_IHostBrowser = - "010000000e00000049000000010000002d00000049444c3a466f616d5853" - "65727665722f486f737442726f777365722f49486f737442726f77736572" - "3a312e30000000000d00000049486f737442726f7773657200"; - _marshaller_FoamXServer_HostBrowser_IHostBrowser = new _Marshaller_FoamXServer_HostBrowser_IHostBrowser; - _marshaller__seq_FoamXServer_FoamXAny = new _Marshaller__seq_FoamXServer_FoamXAny; - _marshaller__seq_FoamXServer_ITypeDescriptor = new _Marshaller__seq_FoamXServer_ITypeDescriptor; - _marshaller__seq_FoamXServer_IDictionaryEntry = new _Marshaller__seq_FoamXServer_IDictionaryEntry; - _marshaller__a3_float = new _Marshaller__a3_float; - _marshaller__seq_FoamXServer_StringPair = new _Marshaller__seq_FoamXServer_StringPair; - _marshaller__seq_FoamXServer_HostDescriptor = new _Marshaller__seq_FoamXServer_HostDescriptor; - _marshaller__seq_FoamXServer_ApplicationDescriptor = new _Marshaller__seq_FoamXServer_ApplicationDescriptor; - _marshaller__seq_FoamXServer_CaseDescriptor = new _Marshaller__seq_FoamXServer_CaseDescriptor; - _marshaller__seq_FoamXServer_JobID = new _Marshaller__seq_FoamXServer_JobID; - _marshaller__seq_FoamXServer_JobDescriptor = new _Marshaller__seq_FoamXServer_JobDescriptor; - _marshaller__seq_FoamXServer_DimensionSet = new _Marshaller__seq_FoamXServer_DimensionSet; - } - - ~__tc_init_FOAMX() - { - delete static_cast<_Marshaller_FoamXServer_FoamXType*>(_marshaller_FoamXServer_FoamXType); - delete static_cast<_Marshaller_FoamXServer_FoamXAny*>(_marshaller_FoamXServer_FoamXAny); - delete static_cast<_Marshaller_FoamXServer_ErrorCode*>(_marshaller_FoamXServer_ErrorCode); - delete static_cast<_Marshaller_FoamXServer_FoamXError*>(_marshaller_FoamXServer_FoamXError); - delete static_cast<_Marshaller_FoamXServer_FoamXIOError*>(_marshaller_FoamXServer_FoamXIOError); - delete static_cast<_Marshaller_FoamXServer_ValidationError*>(_marshaller_FoamXServer_ValidationError); - delete static_cast<_Marshaller_FoamXServer_ITypeDescriptor*>(_marshaller_FoamXServer_ITypeDescriptor); - delete static_cast<_Marshaller_FoamXServer_IDictionaryEntry*>(_marshaller_FoamXServer_IDictionaryEntry); - delete static_cast<_Marshaller_FoamXServer_JobStatus*>(_marshaller_FoamXServer_JobStatus); - delete static_cast<_Marshaller_FoamXServer_MessageType*>(_marshaller_FoamXServer_MessageType); - delete static_cast<_Marshaller_FoamXServer_StringPair*>(_marshaller_FoamXServer_StringPair); - delete static_cast<_Marshaller_FoamXServer_HostDescriptor*>(_marshaller_FoamXServer_HostDescriptor); - delete static_cast<_Marshaller_FoamXServer_ApplicationDescriptor*>(_marshaller_FoamXServer_ApplicationDescriptor); - delete static_cast<_Marshaller_FoamXServer_CaseDescriptor*>(_marshaller_FoamXServer_CaseDescriptor); - delete static_cast<_Marshaller_FoamXServer_JobID*>(_marshaller_FoamXServer_JobID); - delete static_cast<_Marshaller_FoamXServer_JobDescriptor*>(_marshaller_FoamXServer_JobDescriptor); - delete static_cast<_Marshaller_FoamXServer_DimensionSet*>(_marshaller_FoamXServer_DimensionSet); - delete static_cast<_Marshaller_FoamXServer_FoamXSYSError*>(_marshaller_FoamXServer_FoamXSYSError); - delete static_cast<_Marshaller_FoamXServer_CaseServer_ICaseServer*>(_marshaller_FoamXServer_CaseServer_ICaseServer); - delete static_cast<_Marshaller_FoamXServer_CaseServer_IFoamProperties*>(_marshaller_FoamXServer_CaseServer_IFoamProperties); - delete static_cast<_Marshaller_FoamXServer_CaseServer_IApplication*>(_marshaller_FoamXServer_CaseServer_IApplication); - delete static_cast<_Marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor*>(_marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor); - delete static_cast<_Marshaller_FoamXServer_CaseServer_IPatchDescriptor*>(_marshaller_FoamXServer_CaseServer_IPatchDescriptor); - delete static_cast<_Marshaller_FoamXServer_CaseServer_IGeometryDescriptor*>(_marshaller_FoamXServer_CaseServer_IGeometryDescriptor); - delete static_cast<_Marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor*>(_marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor); - delete static_cast<_Marshaller_FoamXServer_CaseServer_IGeometricField*>(_marshaller_FoamXServer_CaseServer_IGeometricField); - delete static_cast<_Marshaller_FoamXServer_CasePostServer_ICasePostServer*>(_marshaller_FoamXServer_CasePostServer_ICasePostServer); - delete static_cast<_Marshaller_FoamXServer_CaseBrowser_ICaseBrowser*>(_marshaller_FoamXServer_CaseBrowser_ICaseBrowser); - delete static_cast<_Marshaller_FoamXServer_HostBrowser_IHostBrowser*>(_marshaller_FoamXServer_HostBrowser_IHostBrowser); - delete static_cast<_Marshaller__seq_FoamXServer_FoamXAny*>(_marshaller__seq_FoamXServer_FoamXAny); - delete static_cast<_Marshaller__seq_FoamXServer_ITypeDescriptor*>(_marshaller__seq_FoamXServer_ITypeDescriptor); - delete static_cast<_Marshaller__seq_FoamXServer_IDictionaryEntry*>(_marshaller__seq_FoamXServer_IDictionaryEntry); - delete static_cast<_Marshaller__a3_float*>(_marshaller__a3_float); - delete static_cast<_Marshaller__seq_FoamXServer_StringPair*>(_marshaller__seq_FoamXServer_StringPair); - delete static_cast<_Marshaller__seq_FoamXServer_HostDescriptor*>(_marshaller__seq_FoamXServer_HostDescriptor); - delete static_cast<_Marshaller__seq_FoamXServer_ApplicationDescriptor*>(_marshaller__seq_FoamXServer_ApplicationDescriptor); - delete static_cast<_Marshaller__seq_FoamXServer_CaseDescriptor*>(_marshaller__seq_FoamXServer_CaseDescriptor); - delete static_cast<_Marshaller__seq_FoamXServer_JobID*>(_marshaller__seq_FoamXServer_JobID); - delete static_cast<_Marshaller__seq_FoamXServer_JobDescriptor*>(_marshaller__seq_FoamXServer_JobDescriptor); - delete static_cast<_Marshaller__seq_FoamXServer_DimensionSet*>(_marshaller__seq_FoamXServer_DimensionSet); - } -}; - -static __tc_init_FOAMX __init_FOAMX; - -//-------------------------------------------------------- -// Implementation of skeletons -//-------------------------------------------------------- - -// PortableServer Skeleton Class for interface FoamXServer::ITypeDescriptor -POA_FoamXServer::ITypeDescriptor::~ITypeDescriptor() -{ -} - -::FoamXServer::ITypeDescriptor_ptr -POA_FoamXServer::ITypeDescriptor::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::ITypeDescriptor::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::ITypeDescriptor::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/ITypeDescriptor:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::ITypeDescriptor::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/ITypeDescriptor:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::ITypeDescriptor::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/ITypeDescriptor:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::ITypeDescriptor::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::ITypeDescriptor_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::ITypeDescriptor::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 71)) { - case 1: - if( strcmp( __req->op_name(), "_set_optional" ) == 0 ) { - CORBA::Boolean _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - optional( _par__value ); - __req->write_results(); - return true; - } - break; - case 4: - if( strcmp( __req->op_name(), "_get_type" ) == 0 ) { - ::FoamXServer::FoamXType _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXType, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = type(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_maxValue" ) == 0 ) { - ::FoamXServer::FoamXAny _par__value; - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXAny, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - maxValue( _par__value ); - __req->write_results(); - return true; - } - break; - case 6: - if( strcmp( __req->op_name(), "_set_path" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - path( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "addSubType" ) == 0 ) { - ::FoamXServer::FoamXType _par_type; - CORBA::StaticAny _sa_type( _marshaller_FoamXServer_FoamXType, &_par_type ); - ::FoamXServer::ITypeDescriptor_ptr _par_subEntry; - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_ITypeDescriptor, &_par_subEntry ); - - __req->add_in_arg( &_sa_type ); - __req->add_out_arg( &_sa_subEntry ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addSubType( _par_type, _par_subEntry ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_subEntry ); - return true; - } - break; - case 10: - if( strcmp( __req->op_name(), "_get_isCompoundType" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = isCompoundType(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_lookupDict" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = lookupDict(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 16: - if( strcmp( __req->op_name(), "_set_lookupDict" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - lookupDict( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 17: - if( strcmp( __req->op_name(), "_get_name" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = name(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_get_elementType" ) == 0 ) { - ::FoamXServer::ITypeDescriptor_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = elementType(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 19: - if( strcmp( __req->op_name(), "_get_editable" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = editable(); - __req->write_results(); - return true; - } - break; - case 23: - if( strcmp( __req->op_name(), "_get_helpURL" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = helpURL(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 25: - if( strcmp( __req->op_name(), "getDefaultValue" ) == 0 ) { - ::FoamXServer::IDictionaryEntry_ptr _par_defaultValue; - CORBA::StaticAny _sa_defaultValue( _marshaller_FoamXServer_IDictionaryEntry, &_par_defaultValue ); - - __req->add_out_arg( &_sa_defaultValue ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getDefaultValue( _par_defaultValue ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_defaultValue ); - return true; - } - break; - case 26: - if( strcmp( __req->op_name(), "_get_minValue" ) == 0 ) { - ::FoamXServer::FoamXAny* _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXAny ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = minValue(); - __res.value( _marshaller_FoamXServer_FoamXAny, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 27: - if( strcmp( __req->op_name(), "_get_path" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = path(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 28: - if( strcmp( __req->op_name(), "_get_visible" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = visible(); - __req->write_results(); - return true; - } - break; - case 31: - if( strcmp( __req->op_name(), "_set_valueList" ) == 0 ) { - ::FoamXServer::FoamXAnyList _par__value; - CORBA::StaticAny _sa__value( _marshaller__seq_FoamXServer_FoamXAny, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - valueList( _par__value ); - __req->write_results(); - return true; - } - break; - case 32: - if( strcmp( __req->op_name(), "_get_dictionaryPath" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = dictionaryPath(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 33: - if( strcmp( __req->op_name(), "_get_category" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = category(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_set_comment" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - comment( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 34: - if( strcmp( __req->op_name(), "_get_subTypes" ) == 0 ) { - ::FoamXServer::TypeDescriptorList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_ITypeDescriptor ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = subTypes(); - __res.value( _marshaller__seq_FoamXServer_ITypeDescriptor, _res ); - __req->write_results(); - delete _res; - return true; - } - if( strcmp( __req->op_name(), "_set_helpURL" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - helpURL( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 36: - if( strcmp( __req->op_name(), "_get_description" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = description(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 38: - if( strcmp( __req->op_name(), "_get_displayName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = displayName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_get_optional" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = optional(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_maxValue" ) == 0 ) { - ::FoamXServer::FoamXAny* _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXAny ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = maxValue(); - __res.value( _marshaller_FoamXServer_FoamXAny, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 39: - if( strcmp( __req->op_name(), "_set_elementLabels" ) == 0 ) { - ::FoamXServer::StringList _par__value; - CORBA::StaticAny _sa__value( CORBA::_stcseq_string, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - elementLabels( _par__value ); - __req->write_results(); - return true; - } - break; - case 40: - if( strcmp( __req->op_name(), "_set_type" ) == 0 ) { - ::FoamXServer::FoamXType _par__value; - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXType, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - type( _par__value ); - __req->write_results(); - return true; - } - break; - case 41: - if( strcmp( __req->op_name(), "_set_category" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - category( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 43: - if( strcmp( __req->op_name(), "_get_isPrimitiveType" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = isPrimitiveType(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_comment" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = comment(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 44: - if( strcmp( __req->op_name(), "_get_numElements" ) == 0 ) { - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = numElements(); - __req->write_results(); - return true; - } - break; - case 46: - if( strcmp( __req->op_name(), "_set_displayName" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - displayName( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 50: - if( strcmp( __req->op_name(), "_get_elementLabels" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = elementLabels(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 51: - if( strcmp( __req->op_name(), "_get_iconURL" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = iconURL(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 52: - if( strcmp( __req->op_name(), "hasDefaultValue" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = hasDefaultValue(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_name" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - name( _par__value.inout() ); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_numElements" ) == 0 ) { - CORBA::Long _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_long, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - numElements( _par__value ); - __req->write_results(); - return true; - } - break; - case 60: - if( strcmp( __req->op_name(), "_set_minValue" ) == 0 ) { - ::FoamXServer::FoamXAny _par__value; - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXAny, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - minValue( _par__value ); - __req->write_results(); - return true; - } - break; - case 61: - if( strcmp( __req->op_name(), "_set_description" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - description( _par__value.inout() ); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_editable" ) == 0 ) { - CORBA::Boolean _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - editable( _par__value ); - __req->write_results(); - return true; - } - break; - case 64: - if( strcmp( __req->op_name(), "_set_visible" ) == 0 ) { - CORBA::Boolean _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - visible( _par__value ); - __req->write_results(); - return true; - } - break; - case 65: - if( strcmp( __req->op_name(), "_set_iconURL" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - iconURL( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 66: - if( strcmp( __req->op_name(), "validate" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - validate(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_valueList" ) == 0 ) { - ::FoamXServer::FoamXAnyList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_FoamXAny ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = valueList(); - __res.value( _marshaller__seq_FoamXServer_FoamXAny, _res ); - __req->write_results(); - delete _res; - return true; - } - if( strcmp( __req->op_name(), "_set_dictionaryPath" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - dictionaryPath( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 69: - if( strcmp( __req->op_name(), "removeSubType" ) == 0 ) { - ::FoamXServer::ITypeDescriptor_var _par_subEntry; - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_ITypeDescriptor, &_par_subEntry._for_demarshal() ); - - __req->add_in_arg( &_sa_subEntry ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - removeSubType( _par_subEntry.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::ITypeDescriptor::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::IDictionaryEntry -POA_FoamXServer::IDictionaryEntry::~IDictionaryEntry() -{ -} - -::FoamXServer::IDictionaryEntry_ptr -POA_FoamXServer::IDictionaryEntry::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::IDictionaryEntry::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::IDictionaryEntry::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/IDictionaryEntry:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::IDictionaryEntry::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/IDictionaryEntry:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::IDictionaryEntry::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/IDictionaryEntry:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::IDictionaryEntry::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::IDictionaryEntry_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::IDictionaryEntry::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 23)) { - case 0: - if( strcmp( __req->op_name(), "validate" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - validate(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 1: - if( strcmp( __req->op_name(), "modified" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = modified(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 3: - if( strcmp( __req->op_name(), "save" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - save(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_typeDescriptor" ) == 0 ) { - ::FoamXServer::ITypeDescriptor_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = typeDescriptor(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 4: - if( strcmp( __req->op_name(), "_get_selection" ) == 0 ) { - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = selection(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_selection" ) == 0 ) { - CORBA::Long _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_long, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - selection( _par__value ); - __req->write_results(); - return true; - } - break; - case 5: - if( strcmp( __req->op_name(), "nSubElements" ) == 0 ) { - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = nSubElements(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "_get_value" ) == 0 ) { - ::FoamXServer::FoamXAny* _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_FoamXAny ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = value(); - __res.value( _marshaller_FoamXServer_FoamXAny, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 11: - if( strcmp( __req->op_name(), "_get_subElements" ) == 0 ) { - ::FoamXServer::DictionaryEntryList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_IDictionaryEntry ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = subElements(); - __res.value( _marshaller__seq_FoamXServer_IDictionaryEntry, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 18: - if( strcmp( __req->op_name(), "_set_value" ) == 0 ) { - ::FoamXServer::FoamXAny _par__value; - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_FoamXAny, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - value( _par__value ); - __req->write_results(); - return true; - } - break; - case 19: - if( strcmp( __req->op_name(), "packedList" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = packedList(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 21: - if( strcmp( __req->op_name(), "addElement" ) == 0 ) { - ::FoamXServer::IDictionaryEntry_ptr _par_subEntry; - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_IDictionaryEntry, &_par_subEntry ); - - __req->add_out_arg( &_sa_subEntry ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addElement( _par_subEntry ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_subEntry ); - return true; - } - if( strcmp( __req->op_name(), "removeElement" ) == 0 ) { - ::FoamXServer::IDictionaryEntry_var _par_subEntry; - CORBA::StaticAny _sa_subEntry( _marshaller_FoamXServer_IDictionaryEntry, &_par_subEntry._for_demarshal() ); - - __req->add_in_arg( &_sa_subEntry ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - removeElement( _par_subEntry.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 22: - if( strcmp( __req->op_name(), "setValue" ) == 0 ) { - ::FoamXServer::FoamXAny _par_value; - CORBA::StaticAny _sa_value( _marshaller_FoamXServer_FoamXAny, &_par_value ); - - __req->add_in_arg( &_sa_value ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - setValue( _par_value ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::IDictionaryEntry::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::ICaseServer -POA_FoamXServer::CaseServer::ICaseServer::~ICaseServer() -{ -} - -::FoamXServer::CaseServer::ICaseServer_ptr -POA_FoamXServer::CaseServer::ICaseServer::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::ICaseServer::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::ICaseServer::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/ICaseServer:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::ICaseServer::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/ICaseServer:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::ICaseServer::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/ICaseServer:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::ICaseServer::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::ICaseServer_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::ICaseServer::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 43)) { - case 1: - if( strcmp( __req->op_name(), "readMesh" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - readMesh(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 3: - if( strcmp( __req->op_name(), "getTime" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = getTime(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 4: - if( strcmp( __req->op_name(), "validate" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - validate(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 5: - if( strcmp( __req->op_name(), "_get_caseName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = caseName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 6: - if( strcmp( __req->op_name(), "_get_foamProperties" ) == 0 ) { - ::FoamXServer::CaseServer::IFoamProperties_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IFoamProperties, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = foamProperties(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 7: - if( strcmp( __req->op_name(), "getFieldValues" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - ::FoamXServer::CaseServer::IGeometricField_ptr _par_fieldValues; - CORBA::StaticAny _sa_fieldValues( _marshaller_FoamXServer_CaseServer_IGeometricField, &_par_fieldValues ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_out_arg( &_sa_fieldValues ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getFieldValues( _par_fieldName.inout(), _par_fieldValues ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_fieldValues ); - return true; - } - if( strcmp( __req->op_name(), "save" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - save(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_meshDefined" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = meshDefined(); - __req->write_results(); - return true; - } - break; - case 10: - if( strcmp( __req->op_name(), "setPatchPhysicalType" ) == 0 ) { - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - CORBA::String_var _par_patchPhysicalType; - CORBA::StaticAny _sa_patchPhysicalType( CORBA::_stc_string, &_par_patchPhysicalType._for_demarshal() ); - - __req->add_in_arg( &_sa_patchName ); - __req->add_in_arg( &_sa_patchPhysicalType ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - setPatchPhysicalType( _par_patchName.inout(), _par_patchPhysicalType.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_patchNames" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = patchNames(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 11: - if( strcmp( __req->op_name(), "_get_caseRoot" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = caseRoot(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 12: - if( strcmp( __req->op_name(), "getDictionary" ) == 0 ) { - CORBA::String_var _par_dictionaryName; - CORBA::StaticAny _sa_dictionaryName( CORBA::_stc_string, &_par_dictionaryName._for_demarshal() ); - CORBA::Boolean _par_forceRead; - CORBA::StaticAny _sa_forceRead( CORBA::_stc_boolean, &_par_forceRead ); - ::FoamXServer::IDictionaryEntry_ptr _par_dictRoot; - CORBA::StaticAny _sa_dictRoot( _marshaller_FoamXServer_IDictionaryEntry, &_par_dictRoot ); - - __req->add_in_arg( &_sa_dictionaryName ); - __req->add_in_arg( &_sa_forceRead ); - __req->add_out_arg( &_sa_dictRoot ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getDictionary( _par_dictionaryName.inout(), _par_forceRead, _par_dictRoot ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_dictRoot ); - return true; - } - if( strcmp( __req->op_name(), "killCase" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - killCase(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 16: - if( strcmp( __req->op_name(), "_get_availableTimeSteps" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = availableTimeSteps(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 19: - if( strcmp( __req->op_name(), "setTime" ) == 0 ) { - CORBA::String_var _par_timeName; - CORBA::StaticAny _sa_timeName( CORBA::_stc_string, &_par_timeName._for_demarshal() ); - CORBA::Long _par_timeIndex; - CORBA::StaticAny _sa_timeIndex( CORBA::_stc_long, &_par_timeIndex ); - - __req->add_in_arg( &_sa_timeName ); - __req->add_in_arg( &_sa_timeIndex ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - setTime( _par_timeName.inout(), _par_timeIndex ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 24: - if( strcmp( __req->op_name(), "importMesh" ) == 0 ) { - CORBA::String_var _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName._for_demarshal() ); - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - - __req->add_in_arg( &_sa_hostName ); - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - importMesh( _par_hostName.inout(), _par_rootDir.inout(), _par_caseName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 26: - if( strcmp( __req->op_name(), "readFile" ) == 0 ) { - CORBA::String_var _par_name; - CORBA::StaticAny _sa_name( CORBA::_stc_string, &_par_name._for_demarshal() ); - char* _par_contents; - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents ); - - __req->add_in_arg( &_sa_name ); - __req->add_out_arg( &_sa_contents ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - readFile( _par_name.inout(), _par_contents ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::string_free( _par_contents ); - return true; - } - break; - case 27: - if( strcmp( __req->op_name(), "runCase" ) == 0 ) { - CORBA::String_var _par_arguments; - CORBA::StaticAny _sa_arguments( CORBA::_stc_string, &_par_arguments._for_demarshal() ); - - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->add_in_arg( &_sa_arguments ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = runCase( _par_arguments.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 28: - if( strcmp( __req->op_name(), "writeFile" ) == 0 ) { - CORBA::String_var _par_name; - CORBA::StaticAny _sa_name( CORBA::_stc_string, &_par_name._for_demarshal() ); - CORBA::String_var _par_contents; - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents._for_demarshal() ); - - __req->add_in_arg( &_sa_name ); - __req->add_in_arg( &_sa_contents ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - writeFile( _par_name.inout(), _par_contents.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 29: - if( strcmp( __req->op_name(), "getPatchPhysicalType" ) == 0 ) { - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - char* _par_patchPhysicalType; - CORBA::StaticAny _sa_patchPhysicalType( CORBA::_stc_string, &_par_patchPhysicalType ); - - __req->add_in_arg( &_sa_patchName ); - __req->add_out_arg( &_sa_patchPhysicalType ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getPatchPhysicalType( _par_patchName.inout(), _par_patchPhysicalType ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::string_free( _par_patchPhysicalType ); - return true; - } - if( strcmp( __req->op_name(), "_set_managed" ) == 0 ) { - CORBA::Boolean _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_boolean, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - managed( _par__value ); - __req->write_results(); - return true; - } - break; - case 30: - if( strcmp( __req->op_name(), "fileModificationDate" ) == 0 ) { - CORBA::String_var _par_fileName; - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName._for_demarshal() ); - - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->add_in_arg( &_sa_fileName ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = fileModificationDate( _par_fileName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 31: - if( strcmp( __req->op_name(), "modified" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = modified(); - __req->write_results(); - return true; - } - break; - case 33: - if( strcmp( __req->op_name(), "_get_application" ) == 0 ) { - ::FoamXServer::CaseServer::IApplication_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IApplication, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = application(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 34: - if( strcmp( __req->op_name(), "_get_managed" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = managed(); - __req->write_results(); - return true; - } - break; - case 35: - if( strcmp( __req->op_name(), "deletePatch" ) == 0 ) { - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - - __req->add_in_arg( &_sa_patchName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deletePatch( _par_patchName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "close" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - close(); - __req->write_results(); - return true; - } - break; - case 42: - if( strcmp( __req->op_name(), "addPatch" ) == 0 ) { - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - CORBA::String_var _par_patchPhysicalType; - CORBA::StaticAny _sa_patchPhysicalType( CORBA::_stc_string, &_par_patchPhysicalType._for_demarshal() ); - - __req->add_in_arg( &_sa_patchName ); - __req->add_in_arg( &_sa_patchPhysicalType ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addPatch( _par_patchName.inout(), _par_patchPhysicalType.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "deleteAllPatches" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deleteAllPatches(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::ICaseServer::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::IFoamProperties -POA_FoamXServer::CaseServer::IFoamProperties::~IFoamProperties() -{ -} - -::FoamXServer::CaseServer::IFoamProperties_ptr -POA_FoamXServer::CaseServer::IFoamProperties::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::IFoamProperties::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::IFoamProperties::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IFoamProperties:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::IFoamProperties::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/IFoamProperties:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::IFoamProperties::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/IFoamProperties:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::IFoamProperties::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::IFoamProperties_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::IFoamProperties::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 41)) { - case 6: - if( strcmp( __req->op_name(), "getFoamControlDict" ) == 0 ) { - ::FoamXServer::IDictionaryEntry_ptr _par_controlDict; - CORBA::StaticAny _sa_controlDict( _marshaller_FoamXServer_IDictionaryEntry, &_par_controlDict ); - - __req->add_out_arg( &_sa_controlDict ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getFoamControlDict( _par_controlDict ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_controlDict ); - return true; - } - break; - case 7: - if( strcmp( __req->op_name(), "getFoamType" ) == 0 ) { - CORBA::String_var _par_foamTypeName; - CORBA::StaticAny _sa_foamTypeName( CORBA::_stc_string, &_par_foamTypeName._for_demarshal() ); - ::FoamXServer::ITypeDescriptor_ptr _par_typeDesc; - CORBA::StaticAny _sa_typeDesc( _marshaller_FoamXServer_ITypeDescriptor, &_par_typeDesc ); - - __req->add_in_arg( &_sa_foamTypeName ); - __req->add_out_arg( &_sa_typeDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getFoamType( _par_foamTypeName.inout(), _par_typeDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_typeDesc ); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "saveUserProperties" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - saveUserProperties(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_utilities" ) == 0 ) { - ::FoamXServer::ApplicationDescriptorList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_ApplicationDescriptor ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = utilities(); - __res.value( _marshaller__seq_FoamXServer_ApplicationDescriptor, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 11: - if( strcmp( __req->op_name(), "findPatchFieldType" ) == 0 ) { - CORBA::String_var _par_patchFieldTypeName; - CORBA::StaticAny _sa_patchFieldTypeName( CORBA::_stc_string, &_par_patchFieldTypeName._for_demarshal() ); - ::FoamXServer::ITypeDescriptor_ptr _par_patchFieldDesc; - CORBA::StaticAny _sa_patchFieldDesc( _marshaller_FoamXServer_ITypeDescriptor, &_par_patchFieldDesc ); - - __req->add_in_arg( &_sa_patchFieldTypeName ); - __req->add_out_arg( &_sa_patchFieldDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - findPatchFieldType( _par_patchFieldTypeName.inout(), _par_patchFieldDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchFieldDesc ); - return true; - } - break; - case 12: - if( strcmp( __req->op_name(), "getUtilityControlDict" ) == 0 ) { - CORBA::String_var _par_utilityName; - CORBA::StaticAny _sa_utilityName( CORBA::_stc_string, &_par_utilityName._for_demarshal() ); - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - ::FoamXServer::IDictionaryEntry_ptr _par_controlDict; - CORBA::StaticAny _sa_controlDict( _marshaller_FoamXServer_IDictionaryEntry, &_par_controlDict ); - - __req->add_in_arg( &_sa_utilityName ); - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - __req->add_out_arg( &_sa_controlDict ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getUtilityControlDict( _par_utilityName.inout(), _par_rootDir.inout(), _par_caseName.inout(), _par_controlDict ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_controlDict ); - return true; - } - break; - case 13: - if( strcmp( __req->op_name(), "findPatchType" ) == 0 ) { - CORBA::String_var _par_patchTypeName; - CORBA::StaticAny _sa_patchTypeName( CORBA::_stc_string, &_par_patchTypeName._for_demarshal() ); - ::FoamXServer::CaseServer::IPatchDescriptor_ptr _par_patchDesc; - CORBA::StaticAny _sa_patchDesc( _marshaller_FoamXServer_CaseServer_IPatchDescriptor, &_par_patchDesc ); - - __req->add_in_arg( &_sa_patchTypeName ); - __req->add_out_arg( &_sa_patchDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - findPatchType( _par_patchTypeName.inout(), _par_patchDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchDesc ); - return true; - } - if( strcmp( __req->op_name(), "_get_patchTypes" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = patchTypes(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 17: - if( strcmp( __req->op_name(), "cloneApplication" ) == 0 ) { - CORBA::String_var _par_appNameSrc; - CORBA::StaticAny _sa_appNameSrc( CORBA::_stc_string, &_par_appNameSrc._for_demarshal() ); - CORBA::String_var _par_appNameDest; - CORBA::StaticAny _sa_appNameDest( CORBA::_stc_string, &_par_appNameDest._for_demarshal() ); - CORBA::String_var _par_appDestPath; - CORBA::StaticAny _sa_appDestPath( CORBA::_stc_string, &_par_appDestPath._for_demarshal() ); - ::FoamXServer::CaseServer::IApplication_ptr _par_app; - CORBA::StaticAny _sa_app( _marshaller_FoamXServer_CaseServer_IApplication, &_par_app ); - - __req->add_in_arg( &_sa_appNameSrc ); - __req->add_in_arg( &_sa_appNameDest ); - __req->add_in_arg( &_sa_appDestPath ); - __req->add_out_arg( &_sa_app ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - cloneApplication( _par_appNameSrc.inout(), _par_appNameDest.inout(), _par_appDestPath.inout(), _par_app ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_app ); - return true; - } - break; - case 18: - if( strcmp( __req->op_name(), "addRootDirectory" ) == 0 ) { - CORBA::String_var _par_rawRootDir; - CORBA::StaticAny _sa_rawRootDir( CORBA::_stc_string, &_par_rawRootDir._for_demarshal() ); - - __req->add_in_arg( &_sa_rawRootDir ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addRootDirectory( _par_rawRootDir.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_applicationes" ) == 0 ) { - ::FoamXServer::ApplicationDescriptorList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_ApplicationDescriptor ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = applicationes(); - __res.value( _marshaller__seq_FoamXServer_ApplicationDescriptor, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 19: - if( strcmp( __req->op_name(), "getGeometryType" ) == 0 ) { - CORBA::String_var _par_geometryTypeName; - CORBA::StaticAny _sa_geometryTypeName( CORBA::_stc_string, &_par_geometryTypeName._for_demarshal() ); - ::FoamXServer::CaseServer::IGeometryDescriptor_ptr _par_geometryDesc; - CORBA::StaticAny _sa_geometryDesc( _marshaller_FoamXServer_CaseServer_IGeometryDescriptor, &_par_geometryDesc ); - - __req->add_in_arg( &_sa_geometryTypeName ); - __req->add_out_arg( &_sa_geometryDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getGeometryType( _par_geometryTypeName.inout(), _par_geometryDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_geometryDesc ); - return true; - } - break; - case 21: - if( strcmp( __req->op_name(), "_get_availableModules" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = availableModules(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - if( strcmp( __req->op_name(), "_get_geometryTypes" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = geometryTypes(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 22: - if( strcmp( __req->op_name(), "_get_rawRootDirectories" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = rawRootDirectories(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 26: - if( strcmp( __req->op_name(), "getPatchFieldType" ) == 0 ) { - CORBA::String_var _par_patchFieldTypeName; - CORBA::StaticAny _sa_patchFieldTypeName( CORBA::_stc_string, &_par_patchFieldTypeName._for_demarshal() ); - ::FoamXServer::ITypeDescriptor_ptr _par_patchFieldDesc; - CORBA::StaticAny _sa_patchFieldDesc( _marshaller_FoamXServer_ITypeDescriptor, &_par_patchFieldDesc ); - - __req->add_in_arg( &_sa_patchFieldTypeName ); - __req->add_out_arg( &_sa_patchFieldDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getPatchFieldType( _par_patchFieldTypeName.inout(), _par_patchFieldDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchFieldDesc ); - return true; - } - break; - case 27: - if( strcmp( __req->op_name(), "saveSystemProperties" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - saveSystemProperties(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 29: - if( strcmp( __req->op_name(), "addApplication" ) == 0 ) { - CORBA::String_var _par_appName; - CORBA::StaticAny _sa_appName( CORBA::_stc_string, &_par_appName._for_demarshal() ); - ::FoamXServer::CaseServer::IApplication_ptr _par_app; - CORBA::StaticAny _sa_app( _marshaller_FoamXServer_CaseServer_IApplication, &_par_app ); - - __req->add_in_arg( &_sa_appName ); - __req->add_out_arg( &_sa_app ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addApplication( _par_appName.inout(), _par_app ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_app ); - return true; - } - if( strcmp( __req->op_name(), "deleteApplication" ) == 0 ) { - CORBA::String_var _par_appName; - CORBA::StaticAny _sa_appName( CORBA::_stc_string, &_par_appName._for_demarshal() ); - - __req->add_in_arg( &_sa_appName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deleteApplication( _par_appName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 34: - if( strcmp( __req->op_name(), "getApplication" ) == 0 ) { - CORBA::String_var _par_appName; - CORBA::StaticAny _sa_appName( CORBA::_stc_string, &_par_appName._for_demarshal() ); - ::FoamXServer::CaseServer::IApplication_ptr _par_app; - CORBA::StaticAny _sa_app( _marshaller_FoamXServer_CaseServer_IApplication, &_par_app ); - - __req->add_in_arg( &_sa_appName ); - __req->add_out_arg( &_sa_app ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getApplication( _par_appName.inout(), _par_app ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_app ); - return true; - } - if( strcmp( __req->op_name(), "_get_rootDirectories" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = rootDirectories(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 36: - if( strcmp( __req->op_name(), "deleteRootDirectory" ) == 0 ) { - CORBA::String_var _par_rawRootDir; - CORBA::StaticAny _sa_rawRootDir( CORBA::_stc_string, &_par_rawRootDir._for_demarshal() ); - - __req->add_in_arg( &_sa_rawRootDir ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deleteRootDirectory( _par_rawRootDir.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 37: - if( strcmp( __req->op_name(), "validate" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - validate(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 39: - if( strcmp( __req->op_name(), "_get_foamTypes" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = foamTypes(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 40: - if( strcmp( __req->op_name(), "getPatchType" ) == 0 ) { - CORBA::String_var _par_patchTypeName; - CORBA::StaticAny _sa_patchTypeName( CORBA::_stc_string, &_par_patchTypeName._for_demarshal() ); - ::FoamXServer::CaseServer::IPatchDescriptor_ptr _par_patchDesc; - CORBA::StaticAny _sa_patchDesc( _marshaller_FoamXServer_CaseServer_IPatchDescriptor, &_par_patchDesc ); - - __req->add_in_arg( &_sa_patchTypeName ); - __req->add_out_arg( &_sa_patchDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getPatchType( _par_patchTypeName.inout(), _par_patchDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchDesc ); - return true; - } - if( strcmp( __req->op_name(), "_get_patchFieldTypes" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = patchFieldTypes(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::IFoamProperties::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::IApplication -POA_FoamXServer::CaseServer::IApplication::~IApplication() -{ -} - -::FoamXServer::CaseServer::IApplication_ptr -POA_FoamXServer::CaseServer::IApplication::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::IApplication::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::IApplication::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IApplication:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::IApplication::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/IApplication:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::IApplication::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/IApplication:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::IApplication::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::IApplication_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::IApplication::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 37)) { - case 0: - if( strcmp( __req->op_name(), "deleteField" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - - __req->add_in_arg( &_sa_fieldName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deleteField( _par_fieldName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_fields" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = fields(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 1: - if( strcmp( __req->op_name(), "getPatchPhysicalType" ) == 0 ) { - CORBA::String_var _par_patchPhysicalTypeName; - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName._for_demarshal() ); - ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr _par_patchPhysicalTypeDescriptor; - CORBA::StaticAny _sa_patchPhysicalTypeDescriptor( _marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, &_par_patchPhysicalTypeDescriptor ); - - __req->add_in_arg( &_sa_patchPhysicalTypeName ); - __req->add_out_arg( &_sa_patchPhysicalTypeDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getPatchPhysicalType( _par_patchPhysicalTypeName.inout(), _par_patchPhysicalTypeDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchPhysicalTypeDescriptor ); - return true; - } - break; - case 2: - if( strcmp( __req->op_name(), "addPatchPhysicalType" ) == 0 ) { - CORBA::String_var _par_patchPhysicalTypeName; - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName._for_demarshal() ); - ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr _par_patchPhysicalTypeDescriptor; - CORBA::StaticAny _sa_patchPhysicalTypeDescriptor( _marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, &_par_patchPhysicalTypeDescriptor ); - - __req->add_in_arg( &_sa_patchPhysicalTypeName ); - __req->add_out_arg( &_sa_patchPhysicalTypeDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addPatchPhysicalType( _par_patchPhysicalTypeName.inout(), _par_patchPhysicalTypeDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchPhysicalTypeDescriptor ); - return true; - } - break; - case 4: - if( strcmp( __req->op_name(), "_get_dictionaries" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = dictionaries(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 5: - if( strcmp( __req->op_name(), "validate" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - validate(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 6: - if( strcmp( __req->op_name(), "_set_modules" ) == 0 ) { - ::FoamXServer::StringList _par__value; - CORBA::StaticAny _sa__value( CORBA::_stcseq_string, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - modules( _par__value ); - __req->write_results(); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "deleteDictionary" ) == 0 ) { - CORBA::String_var _par_dictName; - CORBA::StaticAny _sa_dictName( CORBA::_stc_string, &_par_dictName._for_demarshal() ); - - __req->add_in_arg( &_sa_dictName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deleteDictionary( _par_dictName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 11: - if( strcmp( __req->op_name(), "getField" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - ::FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr _par_fieldDescriptor; - CORBA::StaticAny _sa_fieldDescriptor( _marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, &_par_fieldDescriptor ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_out_arg( &_sa_fieldDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getField( _par_fieldName.inout(), _par_fieldDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_fieldDescriptor ); - return true; - } - if( strcmp( __req->op_name(), "_get_patchPhysicalTypes" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = patchPhysicalTypes(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 12: - if( strcmp( __req->op_name(), "_set_name" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - name( _par__value.inout() ); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_description" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - description( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 14: - if( strcmp( __req->op_name(), "_set_category" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - category( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 16: - if( strcmp( __req->op_name(), "addField" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - ::FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr _par_fieldDescriptor; - CORBA::StaticAny _sa_fieldDescriptor( _marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, &_par_fieldDescriptor ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_out_arg( &_sa_fieldDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addField( _par_fieldName.inout(), _par_fieldDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_fieldDescriptor ); - return true; - } - break; - case 17: - if( strcmp( __req->op_name(), "_get_modules" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = modules(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 20: - if( strcmp( __req->op_name(), "getDictionary" ) == 0 ) { - CORBA::String_var _par_dictName; - CORBA::StaticAny _sa_dictName( CORBA::_stc_string, &_par_dictName._for_demarshal() ); - ::FoamXServer::ITypeDescriptor_ptr _par_dictTypeDescriptor; - CORBA::StaticAny _sa_dictTypeDescriptor( _marshaller_FoamXServer_ITypeDescriptor, &_par_dictTypeDescriptor ); - - __req->add_in_arg( &_sa_dictName ); - __req->add_out_arg( &_sa_dictTypeDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getDictionary( _par_dictName.inout(), _par_dictTypeDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_dictTypeDescriptor ); - return true; - } - break; - case 25: - if( strcmp( __req->op_name(), "_get_category" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = category(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 26: - if( strcmp( __req->op_name(), "save" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - save(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 28: - if( strcmp( __req->op_name(), "_get_description" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = description(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 32: - if( strcmp( __req->op_name(), "findField" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - ::FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr _par_fieldDescriptor; - CORBA::StaticAny _sa_fieldDescriptor( _marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor, &_par_fieldDescriptor ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_out_arg( &_sa_fieldDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - findField( _par_fieldName.inout(), _par_fieldDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_fieldDescriptor ); - return true; - } - break; - case 34: - if( strcmp( __req->op_name(), "findPatchPhysicalType" ) == 0 ) { - CORBA::String_var _par_patchPhysicalTypeName; - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName._for_demarshal() ); - ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr _par_patchPhysicalTypeDescriptor; - CORBA::StaticAny _sa_patchPhysicalTypeDescriptor( _marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor, &_par_patchPhysicalTypeDescriptor ); - - __req->add_in_arg( &_sa_patchPhysicalTypeName ); - __req->add_out_arg( &_sa_patchPhysicalTypeDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - findPatchPhysicalType( _par_patchPhysicalTypeName.inout(), _par_patchPhysicalTypeDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchPhysicalTypeDescriptor ); - return true; - } - break; - case 35: - if( strcmp( __req->op_name(), "addDictionary" ) == 0 ) { - CORBA::String_var _par_dictName; - CORBA::StaticAny _sa_dictName( CORBA::_stc_string, &_par_dictName._for_demarshal() ); - ::FoamXServer::ITypeDescriptor_ptr _par_dictTypeDescriptor; - CORBA::StaticAny _sa_dictTypeDescriptor( _marshaller_FoamXServer_ITypeDescriptor, &_par_dictTypeDescriptor ); - - __req->add_in_arg( &_sa_dictName ); - __req->add_out_arg( &_sa_dictTypeDescriptor ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addDictionary( _par_dictName.inout(), _par_dictTypeDescriptor ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_dictTypeDescriptor ); - return true; - } - break; - case 36: - if( strcmp( __req->op_name(), "deletePatchPhysicalType" ) == 0 ) { - CORBA::String_var _par_patchPhysicalTypeName; - CORBA::StaticAny _sa_patchPhysicalTypeName( CORBA::_stc_string, &_par_patchPhysicalTypeName._for_demarshal() ); - - __req->add_in_arg( &_sa_patchPhysicalTypeName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deletePatchPhysicalType( _par_patchPhysicalTypeName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_name" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = name(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_get_systemClass" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = systemClass(); - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::IApplication::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::IGeometricFieldDescriptor -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::~IGeometricFieldDescriptor() -{ -} - -::FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::IGeometricFieldDescriptor::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/IGeometricFieldDescriptor:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::IGeometricFieldDescriptor_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 19)) { - case 1: - if( strcmp( __req->op_name(), "_get_geometryDescriptor" ) == 0 ) { - ::FoamXServer::CaseServer::IGeometryDescriptor_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IGeometryDescriptor, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = geometryDescriptor(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 2: - if( strcmp( __req->op_name(), "_get_dimensions" ) == 0 ) { - ::FoamXServer::DimensionSet _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_DimensionSet, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = dimensions(); - __req->write_results(); - return true; - } - break; - case 3: - if( strcmp( __req->op_name(), "_get_typeDescriptor" ) == 0 ) { - ::FoamXServer::ITypeDescriptor_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = typeDescriptor(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 5: - if( strcmp( __req->op_name(), "_set_fieldTypeName" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - fieldTypeName( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 8: - if( strcmp( __req->op_name(), "_get_fieldTypeDescriptor" ) == 0 ) { - ::FoamXServer::ITypeDescriptor_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_ITypeDescriptor, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = fieldTypeDescriptor(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 10: - if( strcmp( __req->op_name(), "_set_geometryTypeName" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - geometryTypeName( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 13: - if( strcmp( __req->op_name(), "_get_fieldTypeName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = fieldTypeName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_get_geometryTypeName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = geometryTypeName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 14: - if( strcmp( __req->op_name(), "_get_name" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = name(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_get_description" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = description(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 17: - if( strcmp( __req->op_name(), "_set_name" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - name( _par__value.inout() ); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_description" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - description( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 18: - if( strcmp( __req->op_name(), "_set_dimensions" ) == 0 ) { - ::FoamXServer::DimensionSet _par__value; - CORBA::StaticAny _sa__value( _marshaller_FoamXServer_DimensionSet, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - dimensions( _par__value ); - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::IGeometricFieldDescriptor::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::IPatchDescriptor -POA_FoamXServer::CaseServer::IPatchDescriptor::~IPatchDescriptor() -{ -} - -::FoamXServer::CaseServer::IPatchDescriptor_ptr -POA_FoamXServer::CaseServer::IPatchDescriptor::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::IPatchDescriptor::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::IPatchDescriptor::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::IPatchDescriptor::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::IPatchDescriptor::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/IPatchDescriptor:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::IPatchDescriptor::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::IPatchDescriptor_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::IPatchDescriptor::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 11)) { - case 4: - if( strcmp( __req->op_name(), "_get_displayName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = displayName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 6: - if( strcmp( __req->op_name(), "_set_name" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - name( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 7: - if( strcmp( __req->op_name(), "_get_name" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = name(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "_get_description" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = description(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_set_displayName" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - displayName( _par__value.inout() ); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_description" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - description( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::IPatchDescriptor::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::IGeometryDescriptor -POA_FoamXServer::CaseServer::IGeometryDescriptor::~IGeometryDescriptor() -{ -} - -::FoamXServer::CaseServer::IGeometryDescriptor_ptr -POA_FoamXServer::CaseServer::IGeometryDescriptor::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::IGeometryDescriptor::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::IGeometryDescriptor::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::IGeometryDescriptor::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::IGeometryDescriptor::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/IGeometryDescriptor:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::IGeometryDescriptor::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::IGeometryDescriptor_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::IGeometryDescriptor::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 11)) { - case 4: - if( strcmp( __req->op_name(), "_get_displayName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = displayName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 6: - if( strcmp( __req->op_name(), "_set_name" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - name( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 7: - if( strcmp( __req->op_name(), "_get_name" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = name(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "_get_description" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = description(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_set_displayName" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - displayName( _par__value.inout() ); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_description" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - description( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::IGeometryDescriptor::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::~IPatchPhysicalTypeDescriptor() -{ -} - -::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/IPatchPhysicalTypeDescriptor:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 19)) { - case 0: - if( strcmp( __req->op_name(), "_get_displayName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = displayName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 2: - if( strcmp( __req->op_name(), "_get_patchType" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = patchType(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_set_patchType" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - patchType( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 4: - if( strcmp( __req->op_name(), "_set_patchFieldTypes" ) == 0 ) { - ::FoamXServer::StringPairList _par__value; - CORBA::StaticAny _sa__value( _marshaller__seq_FoamXServer_StringPair, &_par__value ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - patchFieldTypes( _par__value ); - __req->write_results(); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "_set_displayName" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - displayName( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 10: - if( strcmp( __req->op_name(), "_get_patchFieldTypes" ) == 0 ) { - ::FoamXServer::StringPairList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_StringPair ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = patchFieldTypes(); - __res.value( _marshaller__seq_FoamXServer_StringPair, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 14: - if( strcmp( __req->op_name(), "_get_name" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = name(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - if( strcmp( __req->op_name(), "_get_description" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = description(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 15: - if( strcmp( __req->op_name(), "_set_parentType" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - parentType( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 17: - if( strcmp( __req->op_name(), "_set_name" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - name( _par__value.inout() ); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_set_description" ) == 0 ) { - CORBA::String_var _par__value; - CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() ); - - __req->add_in_arg( &_sa__value ); - - if( !__req->read_args() ) - return true; - - description( _par__value.inout() ); - __req->write_results(); - return true; - } - break; - case 18: - if( strcmp( __req->op_name(), "_get_parentType" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = parentType(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseServer::IGeometricField -POA_FoamXServer::CaseServer::IGeometricField::~IGeometricField() -{ -} - -::FoamXServer::CaseServer::IGeometricField_ptr -POA_FoamXServer::CaseServer::IGeometricField::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseServer::IGeometricField::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseServer::IGeometricField::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseServer/IGeometricField:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseServer::IGeometricField::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseServer/IGeometricField:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseServer::IGeometricField::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseServer/IGeometricField:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseServer::IGeometricField::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseServer::IGeometricField_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseServer::IGeometricField::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 7)) { - case 2: - if( strcmp( __req->op_name(), "getPatchFieldParameters" ) == 0 ) { - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - ::FoamXServer::IDictionaryEntry_ptr _par_patchFieldValue; - CORBA::StaticAny _sa_patchFieldValue( _marshaller_FoamXServer_IDictionaryEntry, &_par_patchFieldValue ); - - __req->add_in_arg( &_sa_patchName ); - __req->add_out_arg( &_sa_patchFieldValue ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getPatchFieldParameters( _par_patchName.inout(), _par_patchFieldValue ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_patchFieldValue ); - return true; - } - break; - case 5: - if( strcmp( __req->op_name(), "getInternalFieldValue" ) == 0 ) { - ::FoamXServer::IDictionaryEntry_ptr _par_internalFieldValue; - CORBA::StaticAny _sa_internalFieldValue( _marshaller_FoamXServer_IDictionaryEntry, &_par_internalFieldValue ); - - __req->add_out_arg( &_sa_internalFieldValue ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getInternalFieldValue( _par_internalFieldValue ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_internalFieldValue ); - return true; - } - break; - case 6: - if( strcmp( __req->op_name(), "modified" ) == 0 ) { - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = modified(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_name" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = name(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseServer::IGeometricField::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CasePostServer::ICasePostServer -POA_FoamXServer::CasePostServer::ICasePostServer::~ICasePostServer() -{ -} - -::FoamXServer::CasePostServer::ICasePostServer_ptr -POA_FoamXServer::CasePostServer::ICasePostServer::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CasePostServer::ICasePostServer::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CasePostServer::ICasePostServer::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CasePostServer/ICasePostServer:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CasePostServer::ICasePostServer::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CasePostServer/ICasePostServer:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CasePostServer::ICasePostServer::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CasePostServer/ICasePostServer:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CasePostServer::ICasePostServer::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CasePostServer::ICasePostServer_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CasePostServer::ICasePostServer::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 41)) { - case 0: - if( strcmp( __req->op_name(), "getCutMesh" ) == 0 ) { - ::FoamXServer::Point3_slice* _par_basePoint = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - ::FoamXServer::Point3_slice* _par_normal = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - ::FoamXServer::FloatList* _par_points; - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - ::FoamXServer::LongList* _par_edges; - CORBA::StaticAny _sa_edges( CORBA::_stcseq_long ); - - __req->add_in_arg( &_sa_basePoint ); - __req->add_in_arg( &_sa_normal ); - __req->add_out_arg( &_sa_points ); - __req->add_out_arg( &_sa_edges ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getCutMesh( _par_basePoint, _par_normal, _par_points, _par_edges ); - _sa_points.value( CORBA::_stcseq_float, _par_points ); - _sa_edges.value( CORBA::_stcseq_long, _par_edges ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - ::FoamXServer::Point3_free( _par_basePoint ); - ::FoamXServer::Point3_free( _par_normal ); - delete _par_points; - delete _par_edges; - return true; - } - break; - case 1: - if( strcmp( __req->op_name(), "_get_nProcs" ) == 0 ) { - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = nProcs(); - __req->write_results(); - return true; - } - break; - case 2: - if( strcmp( __req->op_name(), "getCutMeshOutlineSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - getCutMeshOutlineSlave(); - __req->write_results(); - return true; - } - break; - case 3: - if( strcmp( __req->op_name(), "getPatchNamesSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - getPatchNamesSlave(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "getTriPatchVec" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - ::FoamXServer::FloatList* _par_points; - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - ::FoamXServer::LongList* _par_triFaces; - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - ::FoamXServer::FloatList* _par_values; - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_in_arg( &_sa_patchName ); - __req->add_out_arg( &_sa_points ); - __req->add_out_arg( &_sa_triFaces ); - __req->add_out_arg( &_sa_values ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getTriPatchVec( _par_fieldName.inout(), _par_patchName.inout(), _par_points, _par_triFaces, _par_values ); - _sa_points.value( CORBA::_stcseq_float, _par_points ); - _sa_triFaces.value( CORBA::_stcseq_long, _par_triFaces ); - _sa_values.value( CORBA::_stcseq_float, _par_values ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - delete _par_points; - delete _par_triFaces; - delete _par_values; - return true; - } - if( strcmp( __req->op_name(), "cutPlaneVecSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - cutPlaneVecSlave(); - __req->write_results(); - return true; - } - break; - case 8: - if( strcmp( __req->op_name(), "getCutMeshSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - getCutMeshSlave(); - __req->write_results(); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "getPatchMeshSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - getPatchMeshSlave(); - __req->write_results(); - return true; - } - break; - case 10: - if( strcmp( __req->op_name(), "getMeshBb" ) == 0 ) { - ::FoamXServer::Point3_slice* _par_min = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_min( _marshaller__a3_float, _par_min ); - ::FoamXServer::Point3_slice* _par_max = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_max( _marshaller__a3_float, _par_max ); - - __req->add_out_arg( &_sa_min ); - __req->add_out_arg( &_sa_max ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getMeshBb( _par_min, _par_max ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - ::FoamXServer::Point3_free( _par_min ); - ::FoamXServer::Point3_free( _par_max ); - return true; - } - break; - case 11: - if( strcmp( __req->op_name(), "getMeshBbSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - getMeshBbSlave(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "getPatchMesh" ) == 0 ) { - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - CORBA::Double _par_creaseAngle; - CORBA::StaticAny _sa_creaseAngle( CORBA::_stc_double, &_par_creaseAngle ); - ::FoamXServer::FloatList* _par_points; - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - ::FoamXServer::LongList* _par_edges; - CORBA::StaticAny _sa_edges( CORBA::_stcseq_long ); - - __req->add_in_arg( &_sa_patchName ); - __req->add_in_arg( &_sa_creaseAngle ); - __req->add_out_arg( &_sa_points ); - __req->add_out_arg( &_sa_edges ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getPatchMesh( _par_patchName.inout(), _par_creaseAngle, _par_points, _par_edges ); - _sa_points.value( CORBA::_stcseq_float, _par_points ); - _sa_edges.value( CORBA::_stcseq_long, _par_edges ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - delete _par_points; - delete _par_edges; - return true; - } - break; - case 14: - if( strcmp( __req->op_name(), "close" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - close(); - __req->write_results(); - return true; - } - break; - case 15: - if( strcmp( __req->op_name(), "setTime" ) == 0 ) { - CORBA::String_var _par_timeName; - CORBA::StaticAny _sa_timeName( CORBA::_stc_string, &_par_timeName._for_demarshal() ); - CORBA::Long _par_timeIndex; - CORBA::StaticAny _sa_timeIndex( CORBA::_stc_long, &_par_timeIndex ); - - __req->add_in_arg( &_sa_timeName ); - __req->add_in_arg( &_sa_timeIndex ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - setTime( _par_timeName.inout(), _par_timeIndex ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "cutPlaneVec" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - ::FoamXServer::Point3_slice* _par_basePoint = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - ::FoamXServer::Point3_slice* _par_normal = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - ::FoamXServer::FloatList* _par_points; - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - ::FoamXServer::LongList* _par_triFaces; - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - ::FoamXServer::FloatList* _par_values; - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_in_arg( &_sa_basePoint ); - __req->add_in_arg( &_sa_normal ); - __req->add_out_arg( &_sa_points ); - __req->add_out_arg( &_sa_triFaces ); - __req->add_out_arg( &_sa_values ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - cutPlaneVec( _par_fieldName.inout(), _par_basePoint, _par_normal, _par_points, _par_triFaces, _par_values ); - _sa_points.value( CORBA::_stcseq_float, _par_points ); - _sa_triFaces.value( CORBA::_stcseq_long, _par_triFaces ); - _sa_values.value( CORBA::_stcseq_float, _par_values ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - ::FoamXServer::Point3_free( _par_basePoint ); - ::FoamXServer::Point3_free( _par_normal ); - delete _par_points; - delete _par_triFaces; - delete _par_values; - return true; - } - if( strcmp( __req->op_name(), "_get_caseRoot" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = caseRoot(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - case 19: - if( strcmp( __req->op_name(), "getTriPatch" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - CORBA::String_var _par_patchName; - CORBA::StaticAny _sa_patchName( CORBA::_stc_string, &_par_patchName._for_demarshal() ); - ::FoamXServer::FloatList* _par_points; - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - ::FoamXServer::LongList* _par_triFaces; - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - ::FoamXServer::FloatList* _par_values; - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_in_arg( &_sa_patchName ); - __req->add_out_arg( &_sa_points ); - __req->add_out_arg( &_sa_triFaces ); - __req->add_out_arg( &_sa_values ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getTriPatch( _par_fieldName.inout(), _par_patchName.inout(), _par_points, _par_triFaces, _par_values ); - _sa_points.value( CORBA::_stcseq_float, _par_points ); - _sa_triFaces.value( CORBA::_stcseq_long, _par_triFaces ); - _sa_values.value( CORBA::_stcseq_float, _par_values ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - delete _par_points; - delete _par_triFaces; - delete _par_values; - return true; - } - break; - case 22: - if( strcmp( __req->op_name(), "getTriPatchVecSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - getTriPatchVecSlave(); - __req->write_results(); - return true; - } - break; - case 24: - if( strcmp( __req->op_name(), "cutPlaneSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - cutPlaneSlave(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_availableTimeSteps" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = availableTimeSteps(); - __res.value( CORBA::_stcseq_string, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 30: - if( strcmp( __req->op_name(), "setTimeSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - setTimeSlave(); - __req->write_results(); - return true; - } - break; - case 33: - if( strcmp( __req->op_name(), "getTriPatchSlave" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - getTriPatchSlave(); - __req->write_results(); - return true; - } - break; - case 35: - if( strcmp( __req->op_name(), "getPatchNames" ) == 0 ) { - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = getPatchNames(); - __res.value( CORBA::_stcseq_string, _res ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - delete _res; - return true; - } - if( strcmp( __req->op_name(), "getFieldNames" ) == 0 ) { - CORBA::String_var _par_type; - CORBA::StaticAny _sa_type( CORBA::_stc_string, &_par_type._for_demarshal() ); - - ::FoamXServer::StringList* _res; - CORBA::StaticAny __res( CORBA::_stcseq_string ); - __req->add_in_arg( &_sa_type ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = getFieldNames( _par_type.inout() ); - __res.value( CORBA::_stcseq_string, _res ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - delete _res; - return true; - } - if( strcmp( __req->op_name(), "cutPlane" ) == 0 ) { - CORBA::String_var _par_fieldName; - CORBA::StaticAny _sa_fieldName( CORBA::_stc_string, &_par_fieldName._for_demarshal() ); - ::FoamXServer::Point3_slice* _par_basePoint = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - ::FoamXServer::Point3_slice* _par_normal = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - ::FoamXServer::FloatList* _par_points; - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - ::FoamXServer::LongList* _par_triFaces; - CORBA::StaticAny _sa_triFaces( CORBA::_stcseq_long ); - ::FoamXServer::FloatList* _par_values; - CORBA::StaticAny _sa_values( CORBA::_stcseq_float ); - - __req->add_in_arg( &_sa_fieldName ); - __req->add_in_arg( &_sa_basePoint ); - __req->add_in_arg( &_sa_normal ); - __req->add_out_arg( &_sa_points ); - __req->add_out_arg( &_sa_triFaces ); - __req->add_out_arg( &_sa_values ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - cutPlane( _par_fieldName.inout(), _par_basePoint, _par_normal, _par_points, _par_triFaces, _par_values ); - _sa_points.value( CORBA::_stcseq_float, _par_points ); - _sa_triFaces.value( CORBA::_stcseq_long, _par_triFaces ); - _sa_values.value( CORBA::_stcseq_float, _par_values ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - ::FoamXServer::Point3_free( _par_basePoint ); - ::FoamXServer::Point3_free( _par_normal ); - delete _par_points; - delete _par_triFaces; - delete _par_values; - return true; - } - break; - case 38: - if( strcmp( __req->op_name(), "getCutMeshOutline" ) == 0 ) { - ::FoamXServer::Point3_slice* _par_basePoint = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_basePoint( _marshaller__a3_float, _par_basePoint ); - ::FoamXServer::Point3_slice* _par_normal = ::FoamXServer::Point3_alloc(); - CORBA::StaticAny _sa_normal( _marshaller__a3_float, _par_normal ); - ::FoamXServer::FloatList* _par_points; - CORBA::StaticAny _sa_points( CORBA::_stcseq_float ); - ::FoamXServer::LongList* _par_edges; - CORBA::StaticAny _sa_edges( CORBA::_stcseq_long ); - - __req->add_in_arg( &_sa_basePoint ); - __req->add_in_arg( &_sa_normal ); - __req->add_out_arg( &_sa_points ); - __req->add_out_arg( &_sa_edges ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getCutMeshOutline( _par_basePoint, _par_normal, _par_points, _par_edges ); - _sa_points.value( CORBA::_stcseq_float, _par_points ); - _sa_edges.value( CORBA::_stcseq_long, _par_edges ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - ::FoamXServer::Point3_free( _par_basePoint ); - ::FoamXServer::Point3_free( _par_normal ); - delete _par_points; - delete _par_edges; - return true; - } - break; - case 40: - if( strcmp( __req->op_name(), "_get_caseName" ) == 0 ) { - char* _res; - CORBA::StaticAny __res( CORBA::_stc_string, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = caseName(); - __req->write_results(); - CORBA::string_free( _res ); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CasePostServer::ICasePostServer::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::CaseBrowser::ICaseBrowser -POA_FoamXServer::CaseBrowser::ICaseBrowser::~ICaseBrowser() -{ -} - -::FoamXServer::CaseBrowser::ICaseBrowser_ptr -POA_FoamXServer::CaseBrowser::ICaseBrowser::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::CaseBrowser::ICaseBrowser::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::CaseBrowser::ICaseBrowser::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::CaseBrowser::ICaseBrowser::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::CaseBrowser::ICaseBrowser::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/CaseBrowser/ICaseBrowser:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::CaseBrowser::ICaseBrowser::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::CaseBrowser::ICaseBrowser_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::CaseBrowser::ICaseBrowser::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 61)) { - case 1: - if( strcmp( __req->op_name(), "refreshJobsLists" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - refreshJobsLists(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 2: - if( strcmp( __req->op_name(), "addToCaseList" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - - __req->add_in_arg( &_sa_rootDir ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addToCaseList( _par_rootDir.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 4: - if( strcmp( __req->op_name(), "openCasePost" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::Long _par_nProcs; - CORBA::StaticAny _sa_nProcs( CORBA::_stc_long, &_par_nProcs ); - - __req->add_in_arg( &_sa_caseDesc ); - __req->add_in_arg( &_sa_nProcs ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - openCasePost( _par_caseDesc, _par_nProcs ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 8: - if( strcmp( __req->op_name(), "getUserName" ) == 0 ) { - char* _par_userName; - CORBA::StaticAny _sa_userName( CORBA::_stc_string, &_par_userName ); - - __req->add_out_arg( &_sa_userName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getUserName( _par_userName ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::string_free( _par_userName ); - return true; - } - if( strcmp( __req->op_name(), "readFile" ) == 0 ) { - CORBA::String_var _par_fileName; - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName._for_demarshal() ); - char* _par_contents; - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents ); - - __req->add_in_arg( &_sa_fileName ); - __req->add_out_arg( &_sa_contents ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - readFile( _par_fileName.inout(), _par_contents ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::string_free( _par_contents ); - return true; - } - if( strcmp( __req->op_name(), "unlockCaseDescriptor" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - - __req->add_in_arg( &_sa_caseDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - unlockCaseDescriptor( _par_caseDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 11: - if( strcmp( __req->op_name(), "newCase" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - CORBA::String_var _par_app; - CORBA::StaticAny _sa_app( CORBA::_stc_string, &_par_app._for_demarshal() ); - - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - __req->add_in_arg( &_sa_app ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - newCase( _par_rootDir.inout(), _par_caseName.inout(), _par_app.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "caseLocked" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->add_in_arg( &_sa_caseDesc ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = caseLocked( _par_caseDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 12: - if( strcmp( __req->op_name(), "cont" ) == 0 ) { - ::FoamXServer::JobID _par_jobID; - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - - __req->add_in_arg( &_sa_jobID ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - cont( _par_jobID ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 14: - if( strcmp( __req->op_name(), "invokeUtility" ) == 0 ) { - CORBA::String_var _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName._for_demarshal() ); - CORBA::String_var _par_utilityName; - CORBA::StaticAny _sa_utilityName( CORBA::_stc_string, &_par_utilityName._for_demarshal() ); - ::FoamXServer::StringList _par_arguments; - CORBA::StaticAny _sa_arguments( CORBA::_stcseq_string, &_par_arguments ); - CORBA::String_var _par_logName; - CORBA::StaticAny _sa_logName( CORBA::_stc_string, &_par_logName._for_demarshal() ); - CORBA::Boolean _par_backGround; - CORBA::StaticAny _sa_backGround( CORBA::_stc_boolean, &_par_backGround ); - - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->add_in_arg( &_sa_hostName ); - __req->add_in_arg( &_sa_utilityName ); - __req->add_in_arg( &_sa_arguments ); - __req->add_in_arg( &_sa_logName ); - __req->add_in_arg( &_sa_backGround ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = invokeUtility( _par_hostName.inout(), _par_utilityName.inout(), _par_arguments, _par_logName.inout(), _par_backGround ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "openCase" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - - __req->add_in_arg( &_sa_caseDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - openCase( _par_caseDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "suspend" ) == 0 ) { - ::FoamXServer::JobID _par_jobID; - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - - __req->add_in_arg( &_sa_jobID ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - suspend( _par_jobID ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 15: - if( strcmp( __req->op_name(), "deleteCase" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - - __req->add_in_arg( &_sa_caseDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - deleteCase( _par_caseDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 16: - if( strcmp( __req->op_name(), "getEnv" ) == 0 ) { - CORBA::String_var _par_envName; - CORBA::StaticAny _sa_envName( CORBA::_stc_string, &_par_envName._for_demarshal() ); - char* _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - - __req->add_in_arg( &_sa_envName ); - __req->add_out_arg( &_sa_hostName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getEnv( _par_envName.inout(), _par_hostName ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::string_free( _par_hostName ); - return true; - } - if( strcmp( __req->op_name(), "getCaseServerReference" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - ::FoamXServer::CaseServer::ICaseServer_ptr _par_caseObj; - CORBA::StaticAny _sa_caseObj( _marshaller_FoamXServer_CaseServer_ICaseServer, &_par_caseObj ); - - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - __req->add_out_arg( &_sa_caseObj ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = getCaseServerReference( _par_rootDir.inout(), _par_caseName.inout(), _par_caseObj ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_caseObj ); - return true; - } - break; - case 18: - if( strcmp( __req->op_name(), "close" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - close(); - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_cases" ) == 0 ) { - ::FoamXServer::CaseDescriptorList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_CaseDescriptor ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = cases(); - __res.value( _marshaller__seq_FoamXServer_CaseDescriptor, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 22: - if( strcmp( __req->op_name(), "end" ) == 0 ) { - ::FoamXServer::JobID _par_jobID; - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - CORBA::Boolean _par_now; - CORBA::StaticAny _sa_now( CORBA::_stc_boolean, &_par_now ); - - __req->add_in_arg( &_sa_jobID ); - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - __req->add_in_arg( &_sa_now ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - end( _par_jobID, _par_rootDir.inout(), _par_caseName.inout(), _par_now ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 23: - if( strcmp( __req->op_name(), "getCasePostServerReference" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - CORBA::Long _par_nProcs; - CORBA::StaticAny _sa_nProcs( CORBA::_stc_long, &_par_nProcs ); - ::FoamXServer::CasePostServer::ICasePostServer_ptr _par_caseObj; - CORBA::StaticAny _sa_caseObj( _marshaller_FoamXServer_CasePostServer_ICasePostServer, &_par_caseObj ); - - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - __req->add_in_arg( &_sa_nProcs ); - __req->add_out_arg( &_sa_caseObj ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = getCasePostServerReference( _par_rootDir.inout(), _par_caseName.inout(), _par_nProcs, _par_caseObj ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_caseObj ); - return true; - } - break; - case 25: - if( strcmp( __req->op_name(), "purgeFinishedJob" ) == 0 ) { - ::FoamXServer::JobID _par_jobID; - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - - __req->add_in_arg( &_sa_jobID ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - purgeFinishedJob( _par_jobID ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 26: - if( strcmp( __req->op_name(), "_get_foamProperties" ) == 0 ) { - ::FoamXServer::CaseServer::IFoamProperties_ptr _res; - CORBA::StaticAny __res( _marshaller_FoamXServer_CaseServer_IFoamProperties, &_res ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = foamProperties(); - __req->write_results(); - CORBA::release( _res ); - return true; - } - break; - case 27: - if( strcmp( __req->op_name(), "refreshCaseList" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - refreshCaseList(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 28: - if( strcmp( __req->op_name(), "unlockCase" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - unlockCase( _par_rootDir.inout(), _par_caseName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 31: - if( strcmp( __req->op_name(), "purgeFinishedJobs" ) == 0 ) { - CORBA::Long _par_nDays; - CORBA::StaticAny _sa_nDays( CORBA::_stc_long, &_par_nDays ); - - __req->add_in_arg( &_sa_nDays ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - purgeFinishedJobs( _par_nDays ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 33: - if( strcmp( __req->op_name(), "kill" ) == 0 ) { - ::FoamXServer::JobID _par_jobID; - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - - __req->add_in_arg( &_sa_jobID ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - kill( _par_jobID ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 36: - if( strcmp( __req->op_name(), "isCaseInError" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->add_in_arg( &_sa_caseDesc ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = isCaseInError( _par_caseDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 37: - if( strcmp( __req->op_name(), "cloneCase" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - CORBA::String_var _par_newCaseRootDir; - CORBA::StaticAny _sa_newCaseRootDir( CORBA::_stc_string, &_par_newCaseRootDir._for_demarshal() ); - CORBA::String_var _par_newCaseName; - CORBA::StaticAny _sa_newCaseName( CORBA::_stc_string, &_par_newCaseName._for_demarshal() ); - CORBA::String_var _par_newAppClassName; - CORBA::StaticAny _sa_newAppClassName( CORBA::_stc_string, &_par_newAppClassName._for_demarshal() ); - CORBA::String_var _par_timeSel; - CORBA::StaticAny _sa_timeSel( CORBA::_stc_string, &_par_timeSel._for_demarshal() ); - - __req->add_in_arg( &_sa_caseDesc ); - __req->add_in_arg( &_sa_newCaseRootDir ); - __req->add_in_arg( &_sa_newCaseName ); - __req->add_in_arg( &_sa_newAppClassName ); - __req->add_in_arg( &_sa_timeSel ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - cloneCase( _par_caseDesc, _par_newCaseRootDir.inout(), _par_newCaseName.inout(), _par_newAppClassName.inout(), _par_timeSel.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 39: - if( strcmp( __req->op_name(), "fileModificationDate" ) == 0 ) { - CORBA::String_var _par_fileName; - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName._for_demarshal() ); - - CORBA::Long _res; - CORBA::StaticAny __res( CORBA::_stc_long, &_res ); - __req->add_in_arg( &_sa_fileName ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = fileModificationDate( _par_fileName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 40: - if( strcmp( __req->op_name(), "validate" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - validate(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "save" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - save(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 44: - if( strcmp( __req->op_name(), "purgeRunningJobs" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - purgeRunningJobs(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 46: - if( strcmp( __req->op_name(), "importCase" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - CORBA::String_var _par_app; - CORBA::StaticAny _sa_app( CORBA::_stc_string, &_par_app._for_demarshal() ); - - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - __req->add_in_arg( &_sa_app ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - importCase( _par_rootDir.inout(), _par_caseName.inout(), _par_app.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 49: - if( strcmp( __req->op_name(), "addCase" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_rawRootDir; - CORBA::StaticAny _sa_rawRootDir( CORBA::_stc_string, &_par_rawRootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - CORBA::String_var _par_app; - CORBA::StaticAny _sa_app( CORBA::_stc_string, &_par_app._for_demarshal() ); - - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_rawRootDir ); - __req->add_in_arg( &_sa_caseName ); - __req->add_in_arg( &_sa_app ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - addCase( _par_rootDir.inout(), _par_rawRootDir.inout(), _par_caseName.inout(), _par_app.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "caseOpen" ) == 0 ) { - CORBA::String_var _par_rootDir; - CORBA::StaticAny _sa_rootDir( CORBA::_stc_string, &_par_rootDir._for_demarshal() ); - CORBA::String_var _par_caseName; - CORBA::StaticAny _sa_caseName( CORBA::_stc_string, &_par_caseName._for_demarshal() ); - - __req->add_in_arg( &_sa_rootDir ); - __req->add_in_arg( &_sa_caseName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - caseOpen( _par_rootDir.inout(), _par_caseName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 50: - if( strcmp( __req->op_name(), "checkRunningJobs" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - checkRunningJobs(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 54: - if( strcmp( __req->op_name(), "caseIsInError" ) == 0 ) { - ::FoamXServer::CaseDescriptor _par_caseDesc; - CORBA::StaticAny _sa_caseDesc( _marshaller_FoamXServer_CaseDescriptor, &_par_caseDesc ); - - __req->add_in_arg( &_sa_caseDesc ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - caseIsInError( _par_caseDesc ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_finishedJobs" ) == 0 ) { - ::FoamXServer::JobDescriptorList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_JobDescriptor ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = finishedJobs(); - __res.value( _marshaller__seq_FoamXServer_JobDescriptor, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 56: - if( strcmp( __req->op_name(), "setStatus" ) == 0 ) { - ::FoamXServer::JobID _par_jobID; - CORBA::StaticAny _sa_jobID( _marshaller_FoamXServer_JobID, &_par_jobID ); - ::FoamXServer::JobStatus _par_jobStatus; - CORBA::StaticAny _sa_jobStatus( _marshaller_FoamXServer_JobStatus, &_par_jobStatus ); - - __req->add_in_arg( &_sa_jobID ); - __req->add_in_arg( &_sa_jobStatus ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - setStatus( _par_jobID, _par_jobStatus ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 57: - if( strcmp( __req->op_name(), "getHostName" ) == 0 ) { - char* _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName ); - - __req->add_out_arg( &_sa_hostName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - getHostName( _par_hostName ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::string_free( _par_hostName ); - return true; - } - if( strcmp( __req->op_name(), "writeFile" ) == 0 ) { - CORBA::String_var _par_fileName; - CORBA::StaticAny _sa_fileName( CORBA::_stc_string, &_par_fileName._for_demarshal() ); - CORBA::String_var _par_contents; - CORBA::StaticAny _sa_contents( CORBA::_stc_string, &_par_contents._for_demarshal() ); - - __req->add_in_arg( &_sa_fileName ); - __req->add_in_arg( &_sa_contents ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - writeFile( _par_fileName.inout(), _par_contents.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_runningJobs" ) == 0 ) { - ::FoamXServer::JobDescriptorList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_JobDescriptor ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = runningJobs(); - __res.value( _marshaller__seq_FoamXServer_JobDescriptor, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::CaseBrowser::ICaseBrowser::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - - -// PortableServer Skeleton Class for interface FoamXServer::HostBrowser::IHostBrowser -POA_FoamXServer::HostBrowser::IHostBrowser::~IHostBrowser() -{ -} - -::FoamXServer::HostBrowser::IHostBrowser_ptr -POA_FoamXServer::HostBrowser::IHostBrowser::_this () -{ - CORBA::Object_var obj = PortableServer::ServantBase::_this(); - return ::FoamXServer::HostBrowser::IHostBrowser::_narrow (obj); -} - -CORBA::Boolean -POA_FoamXServer::HostBrowser::IHostBrowser::_is_a (const char * repoid) -{ - if (strcmp (repoid, "IDL:FoamXServer/HostBrowser/IHostBrowser:1.0") == 0) { - return TRUE; - } - return FALSE; -} - -CORBA::InterfaceDef_ptr -POA_FoamXServer::HostBrowser::IHostBrowser::_get_interface () -{ - CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:FoamXServer/HostBrowser/IHostBrowser:1.0"); - - if (CORBA::is_nil (ifd)) { - mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO)); - } - - return ifd; -} - -CORBA::RepositoryId -POA_FoamXServer::HostBrowser::IHostBrowser::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr) -{ - return CORBA::string_dup ("IDL:FoamXServer/HostBrowser/IHostBrowser:1.0"); -} - -CORBA::Object_ptr -POA_FoamXServer::HostBrowser::IHostBrowser::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj) -{ - return new ::FoamXServer::HostBrowser::IHostBrowser_stub_clp (poa, obj); -} - -bool -POA_FoamXServer::HostBrowser::IHostBrowser::dispatch (CORBA::StaticServerRequest_ptr __req) -{ - #ifdef HAVE_EXCEPTIONS - try { - #endif - switch (mico_string_hash (__req->op_name(), 17)) { - case 3: - if( strcmp( __req->op_name(), "close" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - close(); - __req->write_results(); - return true; - } - break; - case 7: - if( strcmp( __req->op_name(), "isHostAlive" ) == 0 ) { - CORBA::String_var _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName._for_demarshal() ); - - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->add_in_arg( &_sa_hostName ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = isHostAlive( _par_hostName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 8: - if( strcmp( __req->op_name(), "validate" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - validate(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 9: - if( strcmp( __req->op_name(), "hostIsDead" ) == 0 ) { - CORBA::String_var _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName._for_demarshal() ); - - __req->add_in_arg( &_sa_hostName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - hostIsDead( _par_hostName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 12: - if( strcmp( __req->op_name(), "getCaseBrowserReference" ) == 0 ) { - CORBA::String_var _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName._for_demarshal() ); - ::FoamXServer::CaseBrowser::ICaseBrowser_ptr _par_browserObj; - CORBA::StaticAny _sa_browserObj( _marshaller_FoamXServer_CaseBrowser_ICaseBrowser, &_par_browserObj ); - - CORBA::Boolean _res; - CORBA::StaticAny __res( CORBA::_stc_boolean, &_res ); - __req->add_in_arg( &_sa_hostName ); - __req->add_out_arg( &_sa_browserObj ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - _res = getCaseBrowserReference( _par_hostName.inout(), _par_browserObj ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - CORBA::release( _par_browserObj ); - return true; - } - break; - case 13: - if( strcmp( __req->op_name(), "hostIsAlive" ) == 0 ) { - CORBA::String_var _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName._for_demarshal() ); - - __req->add_in_arg( &_sa_hostName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - hostIsAlive( _par_hostName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "openCaseBrowser" ) == 0 ) { - CORBA::String_var _par_hostName; - CORBA::StaticAny _sa_hostName( CORBA::_stc_string, &_par_hostName._for_demarshal() ); - - __req->add_in_arg( &_sa_hostName ); - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - openCaseBrowser( _par_hostName.inout() ); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXSYSError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - case 14: - if( strcmp( __req->op_name(), "refreshHostList" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - refreshHostList(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - if( strcmp( __req->op_name(), "_get_hosts" ) == 0 ) { - ::FoamXServer::HostDescriptorList* _res; - CORBA::StaticAny __res( _marshaller__seq_FoamXServer_HostDescriptor ); - __req->set_result( &__res ); - - if( !__req->read_args() ) - return true; - - _res = hosts(); - __res.value( _marshaller__seq_FoamXServer_HostDescriptor, _res ); - __req->write_results(); - delete _res; - return true; - } - break; - case 16: - if( strcmp( __req->op_name(), "save" ) == 0 ) { - - if( !__req->read_args() ) - return true; - - #ifdef HAVE_EXCEPTIONS - try { - #endif - save(); - #ifdef HAVE_EXCEPTIONS - } catch( ::FoamXServer::FoamXError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::FoamXIOError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ::FoamXServer::ValidationError_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } - #endif - __req->write_results(); - return true; - } - break; - } - #ifdef HAVE_EXCEPTIONS - } catch( CORBA::SystemException_catch &_ex ) { - __req->set_exception( _ex->_clone() ); - __req->write_results(); - return true; - } catch( ... ) { - CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE); - __req->set_exception (_ex->_clone()); - __req->write_results (); - return true; - } - #endif - - return false; -} - -void -POA_FoamXServer::HostBrowser::IHostBrowser::invoke (CORBA::StaticServerRequest_ptr __req) -{ - if (dispatch (__req)) { - return; - } - - CORBA::Exception * ex = - new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO); - __req->set_exception (ex); - __req->write_results(); -} - diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.H b/applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.H deleted file mode 100644 index 912557d89f..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/FoamX.H +++ /dev/null @@ -1,3320 +0,0 @@ -/* - * MICO --- an Open Source CORBA implementation - * Copyright (c) 1997-2006 by The Mico Team - * - * This file was automatically generated. DO NOT EDIT! - */ - -#include -#include - -#ifndef __FOAMX_H__ -#define __FOAMX_H__ - - - - - - -namespace FoamXServer -{ - -class ITypeDescriptor; -typedef ITypeDescriptor *ITypeDescriptor_ptr; -typedef ITypeDescriptor_ptr ITypeDescriptorRef; -typedef ObjVar< ITypeDescriptor > ITypeDescriptor_var; -typedef ObjOut< ITypeDescriptor > ITypeDescriptor_out; - -class IDictionaryEntry; -typedef IDictionaryEntry *IDictionaryEntry_ptr; -typedef IDictionaryEntry_ptr IDictionaryEntryRef; -typedef ObjVar< IDictionaryEntry > IDictionaryEntry_var; -typedef ObjOut< IDictionaryEntry > IDictionaryEntry_out; - - - -namespace CaseServer -{ - -class IApplication; -typedef IApplication *IApplication_ptr; -typedef IApplication_ptr IApplicationRef; -typedef ObjVar< IApplication > IApplication_var; -typedef ObjOut< IApplication > IApplication_out; - -class IFoamProperties; -typedef IFoamProperties *IFoamProperties_ptr; -typedef IFoamProperties_ptr IFoamPropertiesRef; -typedef ObjVar< IFoamProperties > IFoamProperties_var; -typedef ObjOut< IFoamProperties > IFoamProperties_out; - -class IGeometricField; -typedef IGeometricField *IGeometricField_ptr; -typedef IGeometricField_ptr IGeometricFieldRef; -typedef ObjVar< IGeometricField > IGeometricField_var; -typedef ObjOut< IGeometricField > IGeometricField_out; - -class ICaseServer; -typedef ICaseServer *ICaseServer_ptr; -typedef ICaseServer_ptr ICaseServerRef; -typedef ObjVar< ICaseServer > ICaseServer_var; -typedef ObjOut< ICaseServer > ICaseServer_out; - -class IGeometryDescriptor; -typedef IGeometryDescriptor *IGeometryDescriptor_ptr; -typedef IGeometryDescriptor_ptr IGeometryDescriptorRef; -typedef ObjVar< IGeometryDescriptor > IGeometryDescriptor_var; -typedef ObjOut< IGeometryDescriptor > IGeometryDescriptor_out; - -class IPatchDescriptor; -typedef IPatchDescriptor *IPatchDescriptor_ptr; -typedef IPatchDescriptor_ptr IPatchDescriptorRef; -typedef ObjVar< IPatchDescriptor > IPatchDescriptor_var; -typedef ObjOut< IPatchDescriptor > IPatchDescriptor_out; - -class IGeometricFieldDescriptor; -typedef IGeometricFieldDescriptor *IGeometricFieldDescriptor_ptr; -typedef IGeometricFieldDescriptor_ptr IGeometricFieldDescriptorRef; -typedef ObjVar< IGeometricFieldDescriptor > IGeometricFieldDescriptor_var; -typedef ObjOut< IGeometricFieldDescriptor > IGeometricFieldDescriptor_out; - -class IPatchPhysicalTypeDescriptor; -typedef IPatchPhysicalTypeDescriptor *IPatchPhysicalTypeDescriptor_ptr; -typedef IPatchPhysicalTypeDescriptor_ptr IPatchPhysicalTypeDescriptorRef; -typedef ObjVar< IPatchPhysicalTypeDescriptor > IPatchPhysicalTypeDescriptor_var; -typedef ObjOut< IPatchPhysicalTypeDescriptor > IPatchPhysicalTypeDescriptor_out; - -} - - -namespace CasePostServer -{ - -class ICasePostServer; -typedef ICasePostServer *ICasePostServer_ptr; -typedef ICasePostServer_ptr ICasePostServerRef; -typedef ObjVar< ICasePostServer > ICasePostServer_var; -typedef ObjOut< ICasePostServer > ICasePostServer_out; - -} - - -namespace CaseBrowser -{ - -class ICaseBrowser; -typedef ICaseBrowser *ICaseBrowser_ptr; -typedef ICaseBrowser_ptr ICaseBrowserRef; -typedef ObjVar< ICaseBrowser > ICaseBrowser_var; -typedef ObjOut< ICaseBrowser > ICaseBrowser_out; - -} - - -namespace HostBrowser -{ - -class IHostBrowser; -typedef IHostBrowser *IHostBrowser_ptr; -typedef IHostBrowser_ptr IHostBrowserRef; -typedef ObjVar< IHostBrowser > IHostBrowser_var; -typedef ObjOut< IHostBrowser > IHostBrowser_out; - -} -} - - - - - - -namespace FoamXServer -{ - -enum FoamXType { - Type_Undefined = 0, - Type_Boolean, - Type_Label, - Type_Scalar, - Type_Char, - Type_Word, - Type_String, - Type_RootDir, - Type_RootAndCase, - Type_CaseName, - Type_HostName, - Type_File, - Type_Directory, - Type_Time, - Type_DimensionSet, - Type_FixedList, - Type_List, - Type_Dictionary, - Type_Selection, - Type_Compound, - Type_Field -}; - -typedef FoamXType& FoamXType_out; - -extern CORBA::TypeCodeConst _tc_FoamXType; - -struct FoamXAny; -typedef TVarVar< FoamXAny > FoamXAny_var; -typedef TVarOut< FoamXAny > FoamXAny_out; - - -struct FoamXAny { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef FoamXAny_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - FoamXAny(); - ~FoamXAny(); - FoamXAny( const FoamXAny& s ); - FoamXAny& operator=( const FoamXAny& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - FoamXType type; - CORBA::Any value; -}; - -extern CORBA::TypeCodeConst _tc_FoamXAny; - -typedef SequenceTmpl< FoamXAny,MICO_TID_DEF> FoamXAnyList; -typedef TSeqVar< SequenceTmpl< FoamXAny,MICO_TID_DEF> > FoamXAnyList_var; -typedef TSeqOut< SequenceTmpl< FoamXAny,MICO_TID_DEF> > FoamXAnyList_out; - -extern CORBA::TypeCodeConst _tc_FoamXAnyList; - -typedef StringSequenceTmpl StringList; -typedef TSeqVar< StringSequenceTmpl > StringList_var; -typedef TSeqOut< StringSequenceTmpl > StringList_out; - -extern CORBA::TypeCodeConst _tc_StringList; - -typedef IfaceSequenceTmpl< ITypeDescriptor_var,ITypeDescriptor_ptr> TypeDescriptorList; -typedef TSeqVar< IfaceSequenceTmpl< ITypeDescriptor_var,ITypeDescriptor_ptr> > TypeDescriptorList_var; -typedef TSeqOut< IfaceSequenceTmpl< ITypeDescriptor_var,ITypeDescriptor_ptr> > TypeDescriptorList_out; - -extern CORBA::TypeCodeConst _tc_TypeDescriptorList; - -enum ErrorCode { - S_OK = 0, - E_FAIL, - E_FOAM, - E_INVALID_ARG, - E_INVALID_PTR, - E_INVALID_REF, - E_INDEX_OUT_OF_BOUNDS, - E_UNKNOWN_NAME, - E_UNEXPECTED -}; - -typedef ErrorCode& ErrorCode_out; - -extern CORBA::TypeCodeConst _tc_ErrorCode; - -struct FoamXError : public CORBA::UserException { - #ifdef HAVE_EXPLICIT_STRUCT_OPS - FoamXError(); - ~FoamXError(); - FoamXError( const FoamXError& s ); - FoamXError& operator=( const FoamXError& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - #ifndef HAVE_EXPLICIT_STRUCT_OPS - FoamXError(); - #endif //HAVE_EXPLICIT_STRUCT_OPS - FoamXError( ::FoamXServer::ErrorCode _m0, const char* _m1, const char* _m2, const char* _m3, CORBA::Long _m4 ); - - #ifdef HAVE_STD_EH - FoamXError *operator->() { return this; } - FoamXError& operator*() { return *this; } - operator FoamXError*() { return this; } - #endif // HAVE_STD_EH - - void _throwit() const; - const char *_repoid() const; - void _encode( CORBA::DataEncoder &en ) const; - void _encode_any( CORBA::Any &a ) const; - CORBA::Exception *_clone() const; - static FoamXError *_downcast( CORBA::Exception *ex ); - static const FoamXError *_downcast( const CORBA::Exception *ex ); - ErrorCode errorCode; - CORBA::String_var errorMessage; - CORBA::String_var methodName; - CORBA::String_var fileName; - CORBA::Long lineNo; -}; - -#ifdef HAVE_STD_EH -typedef FoamXError FoamXError_catch; -#else -typedef ExceptVar< FoamXError > FoamXError_var; -typedef TVarOut< FoamXError > FoamXError_out; -typedef FoamXError_var FoamXError_catch; -#endif // HAVE_STD_EH - -extern CORBA::TypeCodeConst _tc_FoamXError; - -struct FoamXIOError : public CORBA::UserException { - #ifdef HAVE_EXPLICIT_STRUCT_OPS - FoamXIOError(); - ~FoamXIOError(); - FoamXIOError( const FoamXIOError& s ); - FoamXIOError& operator=( const FoamXIOError& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - #ifndef HAVE_EXPLICIT_STRUCT_OPS - FoamXIOError(); - #endif //HAVE_EXPLICIT_STRUCT_OPS - FoamXIOError( const char* _m0, const char* _m1, CORBA::Long _m2, CORBA::Long _m3, const char* _m4, const char* _m5, CORBA::Long _m6 ); - - #ifdef HAVE_STD_EH - FoamXIOError *operator->() { return this; } - FoamXIOError& operator*() { return *this; } - operator FoamXIOError*() { return this; } - #endif // HAVE_STD_EH - - void _throwit() const; - const char *_repoid() const; - void _encode( CORBA::DataEncoder &en ) const; - void _encode_any( CORBA::Any &a ) const; - CORBA::Exception *_clone() const; - static FoamXIOError *_downcast( CORBA::Exception *ex ); - static const FoamXIOError *_downcast( const CORBA::Exception *ex ); - CORBA::String_var errorMessage; - CORBA::String_var ioFileName; - CORBA::Long ioStartLineNo; - CORBA::Long ioEndLineNo; - CORBA::String_var methodName; - CORBA::String_var fileName; - CORBA::Long lineNo; -}; - -#ifdef HAVE_STD_EH -typedef FoamXIOError FoamXIOError_catch; -#else -typedef ExceptVar< FoamXIOError > FoamXIOError_var; -typedef TVarOut< FoamXIOError > FoamXIOError_out; -typedef FoamXIOError_var FoamXIOError_catch; -#endif // HAVE_STD_EH - -extern CORBA::TypeCodeConst _tc_FoamXIOError; - -struct ValidationError : public CORBA::UserException { - #ifdef HAVE_EXPLICIT_STRUCT_OPS - ValidationError(); - ~ValidationError(); - ValidationError( const ValidationError& s ); - ValidationError& operator=( const ValidationError& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - #ifndef HAVE_EXPLICIT_STRUCT_OPS - ValidationError(); - #endif //HAVE_EXPLICIT_STRUCT_OPS - ValidationError( ::FoamXServer::ErrorCode _m0, const char* _m1, const char* _m2 ); - - #ifdef HAVE_STD_EH - ValidationError *operator->() { return this; } - ValidationError& operator*() { return *this; } - operator ValidationError*() { return this; } - #endif // HAVE_STD_EH - - void _throwit() const; - const char *_repoid() const; - void _encode( CORBA::DataEncoder &en ) const; - void _encode_any( CORBA::Any &a ) const; - CORBA::Exception *_clone() const; - static ValidationError *_downcast( CORBA::Exception *ex ); - static const ValidationError *_downcast( const CORBA::Exception *ex ); - ErrorCode errorCode; - CORBA::String_var errorMessage; - CORBA::String_var itemPath; -}; - -#ifdef HAVE_STD_EH -typedef ValidationError ValidationError_catch; -#else -typedef ExceptVar< ValidationError > ValidationError_var; -typedef TVarOut< ValidationError > ValidationError_out; -typedef ValidationError_var ValidationError_catch; -#endif // HAVE_STD_EH - -extern CORBA::TypeCodeConst _tc_ValidationError; - - -/* - * Base class and common definitions for interface ITypeDescriptor - */ - -class ITypeDescriptor : - virtual public CORBA::Object -{ - public: - virtual ~ITypeDescriptor(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef ITypeDescriptor_ptr _ptr_type; - typedef ITypeDescriptor_var _var_type; - #endif - - static ITypeDescriptor_ptr _narrow( CORBA::Object_ptr obj ); - static ITypeDescriptor_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static ITypeDescriptor_ptr _duplicate( ITypeDescriptor_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static ITypeDescriptor_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual ::FoamXServer::FoamXType type() = 0; - virtual void type( ::FoamXServer::FoamXType value ) = 0; - virtual CORBA::Boolean isPrimitiveType() = 0; - virtual CORBA::Boolean isCompoundType() = 0; - virtual char* path() = 0; - virtual void path( const char* value ) = 0; - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* comment() = 0; - virtual void comment( const char* value ) = 0; - virtual char* category() = 0; - virtual void category( const char* value ) = 0; - virtual char* helpURL() = 0; - virtual void helpURL( const char* value ) = 0; - virtual char* iconURL() = 0; - virtual void iconURL( const char* value ) = 0; - virtual CORBA::Boolean optional() = 0; - virtual void optional( CORBA::Boolean value ) = 0; - virtual CORBA::Boolean visible() = 0; - virtual void visible( CORBA::Boolean value ) = 0; - virtual CORBA::Boolean editable() = 0; - virtual void editable( CORBA::Boolean value ) = 0; - virtual ::FoamXServer::FoamXAny* minValue() = 0; - virtual void minValue( const ::FoamXServer::FoamXAny& value ) = 0; - virtual ::FoamXServer::FoamXAny* maxValue() = 0; - virtual void maxValue( const ::FoamXServer::FoamXAny& value ) = 0; - virtual char* lookupDict() = 0; - virtual void lookupDict( const char* value ) = 0; - virtual ::FoamXServer::FoamXAnyList* valueList() = 0; - virtual void valueList( const ::FoamXServer::FoamXAnyList& value ) = 0; - virtual char* dictionaryPath() = 0; - virtual void dictionaryPath( const char* value ) = 0; - virtual CORBA::Long numElements() = 0; - virtual void numElements( CORBA::Long value ) = 0; - virtual ::FoamXServer::StringList* elementLabels() = 0; - virtual void elementLabels( const ::FoamXServer::StringList& value ) = 0; - virtual ::FoamXServer::TypeDescriptorList* subTypes() = 0; - virtual ::FoamXServer::ITypeDescriptor_ptr elementType() = 0; - - virtual CORBA::Boolean hasDefaultValue() = 0; - virtual void getDefaultValue( IDictionaryEntry_out defaultValue ) = 0; - virtual void addSubType( FoamXType type, ITypeDescriptor_out subEntry ) = 0; - virtual void removeSubType( ITypeDescriptor_ptr subEntry ) = 0; - virtual void validate() = 0; - - protected: - ITypeDescriptor() {}; - private: - ITypeDescriptor( const ITypeDescriptor& ); - void operator=( const ITypeDescriptor& ); -}; - -extern CORBA::TypeCodeConst _tc_ITypeDescriptor; - -// Stub for interface ITypeDescriptor -class ITypeDescriptor_stub: - virtual public ITypeDescriptor -{ - public: - virtual ~ITypeDescriptor_stub(); - ::FoamXServer::FoamXType type(); - void type( ::FoamXServer::FoamXType value ); - CORBA::Boolean isPrimitiveType(); - CORBA::Boolean isCompoundType(); - char* path(); - void path( const char* value ); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - char* comment(); - void comment( const char* value ); - char* category(); - void category( const char* value ); - char* helpURL(); - void helpURL( const char* value ); - char* iconURL(); - void iconURL( const char* value ); - CORBA::Boolean optional(); - void optional( CORBA::Boolean value ); - CORBA::Boolean visible(); - void visible( CORBA::Boolean value ); - CORBA::Boolean editable(); - void editable( CORBA::Boolean value ); - ::FoamXServer::FoamXAny* minValue(); - void minValue( const ::FoamXServer::FoamXAny& value ); - ::FoamXServer::FoamXAny* maxValue(); - void maxValue( const ::FoamXServer::FoamXAny& value ); - char* lookupDict(); - void lookupDict( const char* value ); - ::FoamXServer::FoamXAnyList* valueList(); - void valueList( const ::FoamXServer::FoamXAnyList& value ); - char* dictionaryPath(); - void dictionaryPath( const char* value ); - CORBA::Long numElements(); - void numElements( CORBA::Long value ); - ::FoamXServer::StringList* elementLabels(); - void elementLabels( const ::FoamXServer::StringList& value ); - ::FoamXServer::TypeDescriptorList* subTypes(); - ::FoamXServer::ITypeDescriptor_ptr elementType(); - - CORBA::Boolean hasDefaultValue(); - void getDefaultValue( IDictionaryEntry_out defaultValue ); - void addSubType( FoamXType type, ITypeDescriptor_out subEntry ); - void removeSubType( ITypeDescriptor_ptr subEntry ); - void validate(); - - private: - void operator=( const ITypeDescriptor_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class ITypeDescriptor_stub_clp : - virtual public ITypeDescriptor_stub, - virtual public PortableServer::StubBase -{ - public: - ITypeDescriptor_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~ITypeDescriptor_stub_clp (); - ::FoamXServer::FoamXType type(); - void type( ::FoamXServer::FoamXType value ); - CORBA::Boolean isPrimitiveType(); - CORBA::Boolean isCompoundType(); - char* path(); - void path( const char* value ); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - char* comment(); - void comment( const char* value ); - char* category(); - void category( const char* value ); - char* helpURL(); - void helpURL( const char* value ); - char* iconURL(); - void iconURL( const char* value ); - CORBA::Boolean optional(); - void optional( CORBA::Boolean value ); - CORBA::Boolean visible(); - void visible( CORBA::Boolean value ); - CORBA::Boolean editable(); - void editable( CORBA::Boolean value ); - ::FoamXServer::FoamXAny* minValue(); - void minValue( const ::FoamXServer::FoamXAny& value ); - ::FoamXServer::FoamXAny* maxValue(); - void maxValue( const ::FoamXServer::FoamXAny& value ); - char* lookupDict(); - void lookupDict( const char* value ); - ::FoamXServer::FoamXAnyList* valueList(); - void valueList( const ::FoamXServer::FoamXAnyList& value ); - char* dictionaryPath(); - void dictionaryPath( const char* value ); - CORBA::Long numElements(); - void numElements( CORBA::Long value ); - ::FoamXServer::StringList* elementLabels(); - void elementLabels( const ::FoamXServer::StringList& value ); - ::FoamXServer::TypeDescriptorList* subTypes(); - ::FoamXServer::ITypeDescriptor_ptr elementType(); - - CORBA::Boolean hasDefaultValue(); - void getDefaultValue( IDictionaryEntry_out defaultValue ); - void addSubType( FoamXType type, ITypeDescriptor_out subEntry ); - void removeSubType( ITypeDescriptor_ptr subEntry ); - void validate(); - - protected: - ITypeDescriptor_stub_clp (); - private: - void operator=( const ITypeDescriptor_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - -typedef IfaceSequenceTmpl< IDictionaryEntry_var,IDictionaryEntry_ptr> DictionaryEntryList; -typedef TSeqVar< IfaceSequenceTmpl< IDictionaryEntry_var,IDictionaryEntry_ptr> > DictionaryEntryList_var; -typedef TSeqOut< IfaceSequenceTmpl< IDictionaryEntry_var,IDictionaryEntry_ptr> > DictionaryEntryList_out; - -extern CORBA::TypeCodeConst _tc_DictionaryEntryList; - - -/* - * Base class and common definitions for interface IDictionaryEntry - */ - -class IDictionaryEntry : - virtual public CORBA::Object -{ - public: - virtual ~IDictionaryEntry(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IDictionaryEntry_ptr _ptr_type; - typedef IDictionaryEntry_var _var_type; - #endif - - static IDictionaryEntry_ptr _narrow( CORBA::Object_ptr obj ); - static IDictionaryEntry_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IDictionaryEntry_ptr _duplicate( IDictionaryEntry_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IDictionaryEntry_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual ::FoamXServer::ITypeDescriptor_ptr typeDescriptor() = 0; - virtual ::FoamXServer::FoamXAny* value() = 0; - virtual void value( const ::FoamXServer::FoamXAny& value ) = 0; - virtual ::FoamXServer::DictionaryEntryList* subElements() = 0; - virtual CORBA::Long selection() = 0; - virtual void selection( CORBA::Long value ) = 0; - - virtual void setValue( const FoamXAny& value ) = 0; - virtual CORBA::Long nSubElements() = 0; - virtual CORBA::Boolean packedList() = 0; - virtual void addElement( IDictionaryEntry_out subEntry ) = 0; - virtual void removeElement( IDictionaryEntry_ptr subEntry ) = 0; - virtual void validate() = 0; - virtual CORBA::Boolean modified() = 0; - virtual void save() = 0; - - protected: - IDictionaryEntry() {}; - private: - IDictionaryEntry( const IDictionaryEntry& ); - void operator=( const IDictionaryEntry& ); -}; - -extern CORBA::TypeCodeConst _tc_IDictionaryEntry; - -// Stub for interface IDictionaryEntry -class IDictionaryEntry_stub: - virtual public IDictionaryEntry -{ - public: - virtual ~IDictionaryEntry_stub(); - ::FoamXServer::ITypeDescriptor_ptr typeDescriptor(); - ::FoamXServer::FoamXAny* value(); - void value( const ::FoamXServer::FoamXAny& value ); - ::FoamXServer::DictionaryEntryList* subElements(); - CORBA::Long selection(); - void selection( CORBA::Long value ); - - void setValue( const FoamXAny& value ); - CORBA::Long nSubElements(); - CORBA::Boolean packedList(); - void addElement( IDictionaryEntry_out subEntry ); - void removeElement( IDictionaryEntry_ptr subEntry ); - void validate(); - CORBA::Boolean modified(); - void save(); - - private: - void operator=( const IDictionaryEntry_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IDictionaryEntry_stub_clp : - virtual public IDictionaryEntry_stub, - virtual public PortableServer::StubBase -{ - public: - IDictionaryEntry_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IDictionaryEntry_stub_clp (); - ::FoamXServer::ITypeDescriptor_ptr typeDescriptor(); - ::FoamXServer::FoamXAny* value(); - void value( const ::FoamXServer::FoamXAny& value ); - ::FoamXServer::DictionaryEntryList* subElements(); - CORBA::Long selection(); - void selection( CORBA::Long value ); - - void setValue( const FoamXAny& value ); - CORBA::Long nSubElements(); - CORBA::Boolean packedList(); - void addElement( IDictionaryEntry_out subEntry ); - void removeElement( IDictionaryEntry_ptr subEntry ); - void validate(); - CORBA::Boolean modified(); - void save(); - - protected: - IDictionaryEntry_stub_clp (); - private: - void operator=( const IDictionaryEntry_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - -enum JobStatus { - JOB_UNDEFINED = 0, - JOB_LAUNCHING, - JOB_RUNNING, - JOB_STOPPING, - JOB_SUSPENDED, - JOB_FINISHED, - JOB_ABORTED -}; - -typedef JobStatus& JobStatus_out; - -extern CORBA::TypeCodeConst _tc_JobStatus; - -enum MessageType { - M_DIAGNOSTIC = 0, - M_WARNING, - M_ERROR -}; - -typedef MessageType& MessageType_out; - -extern CORBA::TypeCodeConst _tc_MessageType; - -typedef SequenceTmpl< CORBA::Double,MICO_TID_DEF> DoubleList; -typedef TSeqVar< SequenceTmpl< CORBA::Double,MICO_TID_DEF> > DoubleList_var; -typedef TSeqOut< SequenceTmpl< CORBA::Double,MICO_TID_DEF> > DoubleList_out; - -extern CORBA::TypeCodeConst _tc_DoubleList; - -typedef SequenceTmpl< CORBA::Float,MICO_TID_DEF> FloatList; -typedef TSeqVar< SequenceTmpl< CORBA::Float,MICO_TID_DEF> > FloatList_var; -typedef TSeqOut< SequenceTmpl< CORBA::Float,MICO_TID_DEF> > FloatList_out; - -extern CORBA::TypeCodeConst _tc_FloatList; - -typedef SequenceTmpl< CORBA::Long,MICO_TID_DEF> LongList; -typedef TSeqVar< SequenceTmpl< CORBA::Long,MICO_TID_DEF> > LongList_var; -typedef TSeqOut< SequenceTmpl< CORBA::Long,MICO_TID_DEF> > LongList_out; - -extern CORBA::TypeCodeConst _tc_LongList; - -typedef CORBA::Float Point3[ 3 ]; -typedef CORBA::Float Point3_slice; -typedef ArrayFixVar< CORBA::Float,Point3_slice,Point3,3 > Point3_var; -typedef Point3 Point3_out; -enum _dummy_Point3 { _dummy_Point3_0 }; -typedef ArrayFixForAny < CORBA::Float,Point3_slice,Point3,3,_dummy_Point3> Point3_forany; -#undef MICO_ARRAY_ARG -#define MICO_ARRAY_ARG CORBA::Float -DECLARE_ARRAY_ALLOC(Point3,MICO_ARRAY_ARG,Point3_slice,3) -DECLARE_ARRAY_DUP(Point3,MICO_ARRAY_ARG,Point3_slice,3) -DECLARE_ARRAY_FREE(Point3,MICO_ARRAY_ARG,Point3_slice,3) -DECLARE_ARRAY_COPY(Point3,MICO_ARRAY_ARG,Point3_slice,3) -extern CORBA::TypeCodeConst _tc_Point3; - -struct StringPair; -typedef TVarVar< StringPair > StringPair_var; -typedef TVarOut< StringPair > StringPair_out; - - -struct StringPair { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef StringPair_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - StringPair(); - ~StringPair(); - StringPair( const StringPair& s ); - StringPair& operator=( const StringPair& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - CORBA::String_var name; - CORBA::String_var value; -}; - -extern CORBA::TypeCodeConst _tc_StringPair; - -typedef SequenceTmpl< StringPair,MICO_TID_DEF> StringPairList; -typedef TSeqVar< SequenceTmpl< StringPair,MICO_TID_DEF> > StringPairList_var; -typedef TSeqOut< SequenceTmpl< StringPair,MICO_TID_DEF> > StringPairList_out; - -extern CORBA::TypeCodeConst _tc_StringPairList; - -struct HostDescriptor; -typedef TVarVar< HostDescriptor > HostDescriptor_var; -typedef TVarOut< HostDescriptor > HostDescriptor_out; - - -struct HostDescriptor { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef HostDescriptor_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - HostDescriptor(); - ~HostDescriptor(); - HostDescriptor( const HostDescriptor& s ); - HostDescriptor& operator=( const HostDescriptor& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - CORBA::String_var name; - CORBA::Boolean alive; -}; - -extern CORBA::TypeCodeConst _tc_HostDescriptor; - -typedef SequenceTmpl< HostDescriptor,MICO_TID_DEF> HostDescriptorList; -typedef TSeqVar< SequenceTmpl< HostDescriptor,MICO_TID_DEF> > HostDescriptorList_var; -typedef TSeqOut< SequenceTmpl< HostDescriptor,MICO_TID_DEF> > HostDescriptorList_out; - -extern CORBA::TypeCodeConst _tc_HostDescriptorList; - -struct ApplicationDescriptor; -typedef TVarVar< ApplicationDescriptor > ApplicationDescriptor_var; -typedef TVarOut< ApplicationDescriptor > ApplicationDescriptor_out; - - -struct ApplicationDescriptor { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef ApplicationDescriptor_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - ApplicationDescriptor(); - ~ApplicationDescriptor(); - ApplicationDescriptor( const ApplicationDescriptor& s ); - ApplicationDescriptor& operator=( const ApplicationDescriptor& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - CORBA::String_var name; - CORBA::String_var category; - CORBA::String_var path; - CORBA::Boolean systemClass; -}; - -extern CORBA::TypeCodeConst _tc_ApplicationDescriptor; - -typedef SequenceTmpl< ApplicationDescriptor,MICO_TID_DEF> ApplicationDescriptorList; -typedef TSeqVar< SequenceTmpl< ApplicationDescriptor,MICO_TID_DEF> > ApplicationDescriptorList_var; -typedef TSeqOut< SequenceTmpl< ApplicationDescriptor,MICO_TID_DEF> > ApplicationDescriptorList_out; - -extern CORBA::TypeCodeConst _tc_ApplicationDescriptorList; - -struct CaseDescriptor; -typedef TVarVar< CaseDescriptor > CaseDescriptor_var; -typedef TVarOut< CaseDescriptor > CaseDescriptor_out; - - -struct CaseDescriptor { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef CaseDescriptor_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - CaseDescriptor(); - ~CaseDescriptor(); - CaseDescriptor( const CaseDescriptor& s ); - CaseDescriptor& operator=( const CaseDescriptor& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - CORBA::String_var rootDir; - CORBA::String_var rawRootDir; - CORBA::String_var caseName; - CORBA::String_var app; - CORBA::Long nProcs; - CORBA::Boolean managed; - CORBA::Boolean locked; - CORBA::Boolean error; -}; - -extern CORBA::TypeCodeConst _tc_CaseDescriptor; - -typedef SequenceTmpl< CaseDescriptor,MICO_TID_DEF> CaseDescriptorList; -typedef TSeqVar< SequenceTmpl< CaseDescriptor,MICO_TID_DEF> > CaseDescriptorList_var; -typedef TSeqOut< SequenceTmpl< CaseDescriptor,MICO_TID_DEF> > CaseDescriptorList_out; - -extern CORBA::TypeCodeConst _tc_CaseDescriptorList; - -struct JobID; -typedef TVarVar< JobID > JobID_var; -typedef TVarOut< JobID > JobID_out; - - -struct JobID { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef JobID_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - JobID(); - ~JobID(); - JobID( const JobID& s ); - JobID& operator=( const JobID& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - CORBA::String_var hostName; - CORBA::Long processID; -}; - -extern CORBA::TypeCodeConst _tc_JobID; - -typedef SequenceTmpl< JobID,MICO_TID_DEF> JobIDList; -typedef TSeqVar< SequenceTmpl< JobID,MICO_TID_DEF> > JobIDList_var; -typedef TSeqOut< SequenceTmpl< JobID,MICO_TID_DEF> > JobIDList_out; - -extern CORBA::TypeCodeConst _tc_JobIDList; - -struct JobDescriptor; -typedef TVarVar< JobDescriptor > JobDescriptor_var; -typedef TVarOut< JobDescriptor > JobDescriptor_out; - - -struct JobDescriptor { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef JobDescriptor_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - JobDescriptor(); - ~JobDescriptor(); - JobDescriptor( const JobDescriptor& s ); - JobDescriptor& operator=( const JobDescriptor& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - JobID jobID; - CORBA::Long ppid; - CORBA::Long pgid; - CORBA::String_var startDate; - CORBA::String_var startTime; - CORBA::String_var userName; - CORBA::String_var foamVersion; - CORBA::String_var code; - CORBA::String_var argList; - CORBA::String_var currentDir; - CORBA::String_var rootDir; - CORBA::String_var caseName; - CORBA::Long nProcs; - JobIDList slaves; - CORBA::Long nCountedProcs; - CORBA::Double cpuTime; - CORBA::String_var endDate; - CORBA::String_var endTime; - JobStatus status; -}; - -extern CORBA::TypeCodeConst _tc_JobDescriptor; - -typedef SequenceTmpl< JobDescriptor,MICO_TID_DEF> JobDescriptorList; -typedef TSeqVar< SequenceTmpl< JobDescriptor,MICO_TID_DEF> > JobDescriptorList_var; -typedef TSeqOut< SequenceTmpl< JobDescriptor,MICO_TID_DEF> > JobDescriptorList_out; - -extern CORBA::TypeCodeConst _tc_JobDescriptorList; - -struct DimensionSet; -typedef TFixVar< DimensionSet > DimensionSet_var; -typedef DimensionSet& DimensionSet_out; - - -struct DimensionSet { - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef DimensionSet_var _var_type; - #endif - #ifdef HAVE_EXPLICIT_STRUCT_OPS - DimensionSet(); - ~DimensionSet(); - DimensionSet( const DimensionSet& s ); - DimensionSet& operator=( const DimensionSet& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - CORBA::Double mass; - CORBA::Double length; - CORBA::Double time; - CORBA::Double temperature; - CORBA::Double moles; - CORBA::Double current; - CORBA::Double luminousIntensity; -}; - -extern CORBA::TypeCodeConst _tc_DimensionSet; - -typedef SequenceTmpl< DimensionSet,MICO_TID_DEF> DimensionSetList; -typedef TSeqVar< SequenceTmpl< DimensionSet,MICO_TID_DEF> > DimensionSetList_var; -typedef TSeqOut< SequenceTmpl< DimensionSet,MICO_TID_DEF> > DimensionSetList_out; - -extern CORBA::TypeCodeConst _tc_DimensionSetList; - -struct FoamXSYSError : public CORBA::UserException { - #ifdef HAVE_EXPLICIT_STRUCT_OPS - FoamXSYSError(); - ~FoamXSYSError(); - FoamXSYSError( const FoamXSYSError& s ); - FoamXSYSError& operator=( const FoamXSYSError& s ); - #endif //HAVE_EXPLICIT_STRUCT_OPS - - #ifndef HAVE_EXPLICIT_STRUCT_OPS - FoamXSYSError(); - #endif //HAVE_EXPLICIT_STRUCT_OPS - FoamXSYSError( ::FoamXServer::ErrorCode _m0, const char* _m1, const char* _m2, const char* _m3, const char* _m4, CORBA::Long _m5 ); - - #ifdef HAVE_STD_EH - FoamXSYSError *operator->() { return this; } - FoamXSYSError& operator*() { return *this; } - operator FoamXSYSError*() { return this; } - #endif // HAVE_STD_EH - - void _throwit() const; - const char *_repoid() const; - void _encode( CORBA::DataEncoder &en ) const; - void _encode_any( CORBA::Any &a ) const; - CORBA::Exception *_clone() const; - static FoamXSYSError *_downcast( CORBA::Exception *ex ); - static const FoamXSYSError *_downcast( const CORBA::Exception *ex ); - ErrorCode errorCode; - CORBA::String_var errorMessage; - CORBA::String_var hostName; - CORBA::String_var methodName; - CORBA::String_var fileName; - CORBA::Long lineNo; -}; - -#ifdef HAVE_STD_EH -typedef FoamXSYSError FoamXSYSError_catch; -#else -typedef ExceptVar< FoamXSYSError > FoamXSYSError_var; -typedef TVarOut< FoamXSYSError > FoamXSYSError_out; -typedef FoamXSYSError_var FoamXSYSError_catch; -#endif // HAVE_STD_EH - -extern CORBA::TypeCodeConst _tc_FoamXSYSError; - - - -namespace CaseServer -{ - - -/* - * Base class and common definitions for interface ICaseServer - */ - -class ICaseServer : - virtual public CORBA::Object -{ - public: - virtual ~ICaseServer(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef ICaseServer_ptr _ptr_type; - typedef ICaseServer_var _var_type; - #endif - - static ICaseServer_ptr _narrow( CORBA::Object_ptr obj ); - static ICaseServer_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static ICaseServer_ptr _duplicate( ICaseServer_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static ICaseServer_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual CORBA::Boolean managed() = 0; - virtual void managed( CORBA::Boolean value ) = 0; - virtual char* caseRoot() = 0; - virtual char* caseName() = 0; - virtual ::FoamXServer::CaseServer::IApplication_ptr application() = 0; - virtual ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties() = 0; - virtual ::FoamXServer::StringList* availableTimeSteps() = 0; - virtual CORBA::Boolean meshDefined() = 0; - virtual ::FoamXServer::StringList* patchNames() = 0; - - virtual char* getTime() = 0; - virtual void setTime( const char* timeName, CORBA::Long timeIndex ) = 0; - virtual void readMesh() = 0; - virtual void importMesh( const char* hostName, const char* rootDir, const char* caseName ) = 0; - virtual void getFieldValues( const char* fieldName, IGeometricField_out fieldValues ) = 0; - virtual void addPatch( const char* patchName, const char* patchPhysicalType ) = 0; - virtual void deletePatch( const char* patchName ) = 0; - virtual void deleteAllPatches() = 0; - virtual void setPatchPhysicalType( const char* patchName, const char* patchPhysicalType ) = 0; - virtual void getPatchPhysicalType( const char* patchName, CORBA::String_out patchPhysicalType ) = 0; - virtual void getDictionary( const char* dictionaryName, CORBA::Boolean forceRead, IDictionaryEntry_out dictRoot ) = 0; - virtual void readFile( const char* name, CORBA::String_out contents ) = 0; - virtual void writeFile( const char* name, const char* contents ) = 0; - virtual CORBA::Long fileModificationDate( const char* fileName ) = 0; - virtual CORBA::Long runCase( const char* arguments ) = 0; - virtual void killCase() = 0; - virtual void validate() = 0; - virtual CORBA::Boolean modified() = 0; - virtual void save() = 0; - virtual void close() = 0; - - protected: - ICaseServer() {}; - private: - ICaseServer( const ICaseServer& ); - void operator=( const ICaseServer& ); -}; - -extern CORBA::TypeCodeConst _tc_ICaseServer; - -// Stub for interface ICaseServer -class ICaseServer_stub: - virtual public ICaseServer -{ - public: - virtual ~ICaseServer_stub(); - CORBA::Boolean managed(); - void managed( CORBA::Boolean value ); - char* caseRoot(); - char* caseName(); - ::FoamXServer::CaseServer::IApplication_ptr application(); - ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties(); - ::FoamXServer::StringList* availableTimeSteps(); - CORBA::Boolean meshDefined(); - ::FoamXServer::StringList* patchNames(); - - char* getTime(); - void setTime( const char* timeName, CORBA::Long timeIndex ); - void readMesh(); - void importMesh( const char* hostName, const char* rootDir, const char* caseName ); - void getFieldValues( const char* fieldName, IGeometricField_out fieldValues ); - void addPatch( const char* patchName, const char* patchPhysicalType ); - void deletePatch( const char* patchName ); - void deleteAllPatches(); - void setPatchPhysicalType( const char* patchName, const char* patchPhysicalType ); - void getPatchPhysicalType( const char* patchName, CORBA::String_out patchPhysicalType ); - void getDictionary( const char* dictionaryName, CORBA::Boolean forceRead, IDictionaryEntry_out dictRoot ); - void readFile( const char* name, CORBA::String_out contents ); - void writeFile( const char* name, const char* contents ); - CORBA::Long fileModificationDate( const char* fileName ); - CORBA::Long runCase( const char* arguments ); - void killCase(); - void validate(); - CORBA::Boolean modified(); - void save(); - void close(); - - private: - void operator=( const ICaseServer_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class ICaseServer_stub_clp : - virtual public ICaseServer_stub, - virtual public PortableServer::StubBase -{ - public: - ICaseServer_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~ICaseServer_stub_clp (); - CORBA::Boolean managed(); - void managed( CORBA::Boolean value ); - char* caseRoot(); - char* caseName(); - ::FoamXServer::CaseServer::IApplication_ptr application(); - ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties(); - ::FoamXServer::StringList* availableTimeSteps(); - CORBA::Boolean meshDefined(); - ::FoamXServer::StringList* patchNames(); - - char* getTime(); - void setTime( const char* timeName, CORBA::Long timeIndex ); - void readMesh(); - void importMesh( const char* hostName, const char* rootDir, const char* caseName ); - void getFieldValues( const char* fieldName, IGeometricField_out fieldValues ); - void addPatch( const char* patchName, const char* patchPhysicalType ); - void deletePatch( const char* patchName ); - void deleteAllPatches(); - void setPatchPhysicalType( const char* patchName, const char* patchPhysicalType ); - void getPatchPhysicalType( const char* patchName, CORBA::String_out patchPhysicalType ); - void getDictionary( const char* dictionaryName, CORBA::Boolean forceRead, IDictionaryEntry_out dictRoot ); - void readFile( const char* name, CORBA::String_out contents ); - void writeFile( const char* name, const char* contents ); - CORBA::Long fileModificationDate( const char* fileName ); - CORBA::Long runCase( const char* arguments ); - void killCase(); - void validate(); - CORBA::Boolean modified(); - void save(); - void close(); - - protected: - ICaseServer_stub_clp (); - private: - void operator=( const ICaseServer_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - - -/* - * Base class and common definitions for interface IFoamProperties - */ - -class IFoamProperties : - virtual public CORBA::Object -{ - public: - virtual ~IFoamProperties(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IFoamProperties_ptr _ptr_type; - typedef IFoamProperties_var _var_type; - #endif - - static IFoamProperties_ptr _narrow( CORBA::Object_ptr obj ); - static IFoamProperties_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IFoamProperties_ptr _duplicate( IFoamProperties_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IFoamProperties_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual ::FoamXServer::StringList* availableModules() = 0; - virtual ::FoamXServer::StringList* rootDirectories() = 0; - virtual ::FoamXServer::StringList* rawRootDirectories() = 0; - virtual ::FoamXServer::StringList* foamTypes() = 0; - virtual ::FoamXServer::StringList* geometryTypes() = 0; - virtual ::FoamXServer::StringList* patchTypes() = 0; - virtual ::FoamXServer::StringList* patchFieldTypes() = 0; - virtual ::FoamXServer::ApplicationDescriptorList* applicationes() = 0; - virtual ::FoamXServer::ApplicationDescriptorList* utilities() = 0; - - virtual void addRootDirectory( const char* rawRootDir ) = 0; - virtual void deleteRootDirectory( const char* rawRootDir ) = 0; - virtual void getFoamType( const char* foamTypeName, ITypeDescriptor_out typeDesc ) = 0; - virtual void getGeometryType( const char* geometryTypeName, IGeometryDescriptor_out geometryDesc ) = 0; - virtual void getPatchType( const char* patchTypeName, IPatchDescriptor_out patchDesc ) = 0; - virtual void findPatchType( const char* patchTypeName, IPatchDescriptor_out patchDesc ) = 0; - virtual void getPatchFieldType( const char* patchFieldTypeName, ITypeDescriptor_out patchFieldDesc ) = 0; - virtual void findPatchFieldType( const char* patchFieldTypeName, ITypeDescriptor_out patchFieldDesc ) = 0; - virtual void getFoamControlDict( IDictionaryEntry_out controlDict ) = 0; - virtual void getApplication( const char* appName, IApplication_out app ) = 0; - virtual void addApplication( const char* appName, IApplication_out app ) = 0; - virtual void deleteApplication( const char* appName ) = 0; - virtual void cloneApplication( const char* appNameSrc, const char* appNameDest, const char* appDestPath, IApplication_out app ) = 0; - virtual void getUtilityControlDict( const char* utilityName, const char* rootDir, const char* caseName, IDictionaryEntry_out controlDict ) = 0; - virtual void validate() = 0; - virtual void saveSystemProperties() = 0; - virtual void saveUserProperties() = 0; - - protected: - IFoamProperties() {}; - private: - IFoamProperties( const IFoamProperties& ); - void operator=( const IFoamProperties& ); -}; - -extern CORBA::TypeCodeConst _tc_IFoamProperties; - -// Stub for interface IFoamProperties -class IFoamProperties_stub: - virtual public IFoamProperties -{ - public: - virtual ~IFoamProperties_stub(); - ::FoamXServer::StringList* availableModules(); - ::FoamXServer::StringList* rootDirectories(); - ::FoamXServer::StringList* rawRootDirectories(); - ::FoamXServer::StringList* foamTypes(); - ::FoamXServer::StringList* geometryTypes(); - ::FoamXServer::StringList* patchTypes(); - ::FoamXServer::StringList* patchFieldTypes(); - ::FoamXServer::ApplicationDescriptorList* applicationes(); - ::FoamXServer::ApplicationDescriptorList* utilities(); - - void addRootDirectory( const char* rawRootDir ); - void deleteRootDirectory( const char* rawRootDir ); - void getFoamType( const char* foamTypeName, ITypeDescriptor_out typeDesc ); - void getGeometryType( const char* geometryTypeName, IGeometryDescriptor_out geometryDesc ); - void getPatchType( const char* patchTypeName, IPatchDescriptor_out patchDesc ); - void findPatchType( const char* patchTypeName, IPatchDescriptor_out patchDesc ); - void getPatchFieldType( const char* patchFieldTypeName, ITypeDescriptor_out patchFieldDesc ); - void findPatchFieldType( const char* patchFieldTypeName, ITypeDescriptor_out patchFieldDesc ); - void getFoamControlDict( IDictionaryEntry_out controlDict ); - void getApplication( const char* appName, IApplication_out app ); - void addApplication( const char* appName, IApplication_out app ); - void deleteApplication( const char* appName ); - void cloneApplication( const char* appNameSrc, const char* appNameDest, const char* appDestPath, IApplication_out app ); - void getUtilityControlDict( const char* utilityName, const char* rootDir, const char* caseName, IDictionaryEntry_out controlDict ); - void validate(); - void saveSystemProperties(); - void saveUserProperties(); - - private: - void operator=( const IFoamProperties_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IFoamProperties_stub_clp : - virtual public IFoamProperties_stub, - virtual public PortableServer::StubBase -{ - public: - IFoamProperties_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IFoamProperties_stub_clp (); - ::FoamXServer::StringList* availableModules(); - ::FoamXServer::StringList* rootDirectories(); - ::FoamXServer::StringList* rawRootDirectories(); - ::FoamXServer::StringList* foamTypes(); - ::FoamXServer::StringList* geometryTypes(); - ::FoamXServer::StringList* patchTypes(); - ::FoamXServer::StringList* patchFieldTypes(); - ::FoamXServer::ApplicationDescriptorList* applicationes(); - ::FoamXServer::ApplicationDescriptorList* utilities(); - - void addRootDirectory( const char* rawRootDir ); - void deleteRootDirectory( const char* rawRootDir ); - void getFoamType( const char* foamTypeName, ITypeDescriptor_out typeDesc ); - void getGeometryType( const char* geometryTypeName, IGeometryDescriptor_out geometryDesc ); - void getPatchType( const char* patchTypeName, IPatchDescriptor_out patchDesc ); - void findPatchType( const char* patchTypeName, IPatchDescriptor_out patchDesc ); - void getPatchFieldType( const char* patchFieldTypeName, ITypeDescriptor_out patchFieldDesc ); - void findPatchFieldType( const char* patchFieldTypeName, ITypeDescriptor_out patchFieldDesc ); - void getFoamControlDict( IDictionaryEntry_out controlDict ); - void getApplication( const char* appName, IApplication_out app ); - void addApplication( const char* appName, IApplication_out app ); - void deleteApplication( const char* appName ); - void cloneApplication( const char* appNameSrc, const char* appNameDest, const char* appDestPath, IApplication_out app ); - void getUtilityControlDict( const char* utilityName, const char* rootDir, const char* caseName, IDictionaryEntry_out controlDict ); - void validate(); - void saveSystemProperties(); - void saveUserProperties(); - - protected: - IFoamProperties_stub_clp (); - private: - void operator=( const IFoamProperties_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - - -/* - * Base class and common definitions for interface IApplication - */ - -class IApplication : - virtual public CORBA::Object -{ - public: - virtual ~IApplication(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IApplication_ptr _ptr_type; - typedef IApplication_var _var_type; - #endif - - static IApplication_ptr _narrow( CORBA::Object_ptr obj ); - static IApplication_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IApplication_ptr _duplicate( IApplication_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IApplication_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* category() = 0; - virtual void category( const char* value ) = 0; - virtual ::FoamXServer::StringList* modules() = 0; - virtual void modules( const ::FoamXServer::StringList& value ) = 0; - virtual CORBA::Boolean systemClass() = 0; - virtual ::FoamXServer::StringList* fields() = 0; - virtual ::FoamXServer::StringList* patchPhysicalTypes() = 0; - virtual ::FoamXServer::StringList* dictionaries() = 0; - - virtual void getField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ) = 0; - virtual void findField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ) = 0; - virtual void addField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ) = 0; - virtual void deleteField( const char* fieldName ) = 0; - virtual void getPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ) = 0; - virtual void findPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ) = 0; - virtual void addPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ) = 0; - virtual void deletePatchPhysicalType( const char* patchPhysicalTypeName ) = 0; - virtual void getDictionary( const char* dictName, ITypeDescriptor_out dictTypeDescriptor ) = 0; - virtual void addDictionary( const char* dictName, ITypeDescriptor_out dictTypeDescriptor ) = 0; - virtual void deleteDictionary( const char* dictName ) = 0; - virtual void validate() = 0; - virtual void save() = 0; - - protected: - IApplication() {}; - private: - IApplication( const IApplication& ); - void operator=( const IApplication& ); -}; - -extern CORBA::TypeCodeConst _tc_IApplication; - -// Stub for interface IApplication -class IApplication_stub: - virtual public IApplication -{ - public: - virtual ~IApplication_stub(); - char* name(); - void name( const char* value ); - char* description(); - void description( const char* value ); - char* category(); - void category( const char* value ); - ::FoamXServer::StringList* modules(); - void modules( const ::FoamXServer::StringList& value ); - CORBA::Boolean systemClass(); - ::FoamXServer::StringList* fields(); - ::FoamXServer::StringList* patchPhysicalTypes(); - ::FoamXServer::StringList* dictionaries(); - - void getField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ); - void findField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ); - void addField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ); - void deleteField( const char* fieldName ); - void getPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ); - void findPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ); - void addPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ); - void deletePatchPhysicalType( const char* patchPhysicalTypeName ); - void getDictionary( const char* dictName, ITypeDescriptor_out dictTypeDescriptor ); - void addDictionary( const char* dictName, ITypeDescriptor_out dictTypeDescriptor ); - void deleteDictionary( const char* dictName ); - void validate(); - void save(); - - private: - void operator=( const IApplication_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IApplication_stub_clp : - virtual public IApplication_stub, - virtual public PortableServer::StubBase -{ - public: - IApplication_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IApplication_stub_clp (); - char* name(); - void name( const char* value ); - char* description(); - void description( const char* value ); - char* category(); - void category( const char* value ); - ::FoamXServer::StringList* modules(); - void modules( const ::FoamXServer::StringList& value ); - CORBA::Boolean systemClass(); - ::FoamXServer::StringList* fields(); - ::FoamXServer::StringList* patchPhysicalTypes(); - ::FoamXServer::StringList* dictionaries(); - - void getField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ); - void findField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ); - void addField( const char* fieldName, IGeometricFieldDescriptor_out fieldDescriptor ); - void deleteField( const char* fieldName ); - void getPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ); - void findPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ); - void addPatchPhysicalType( const char* patchPhysicalTypeName, IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ); - void deletePatchPhysicalType( const char* patchPhysicalTypeName ); - void getDictionary( const char* dictName, ITypeDescriptor_out dictTypeDescriptor ); - void addDictionary( const char* dictName, ITypeDescriptor_out dictTypeDescriptor ); - void deleteDictionary( const char* dictName ); - void validate(); - void save(); - - protected: - IApplication_stub_clp (); - private: - void operator=( const IApplication_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - - -/* - * Base class and common definitions for interface IGeometricFieldDescriptor - */ - -class IGeometricFieldDescriptor : - virtual public CORBA::Object -{ - public: - virtual ~IGeometricFieldDescriptor(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IGeometricFieldDescriptor_ptr _ptr_type; - typedef IGeometricFieldDescriptor_var _var_type; - #endif - - static IGeometricFieldDescriptor_ptr _narrow( CORBA::Object_ptr obj ); - static IGeometricFieldDescriptor_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IGeometricFieldDescriptor_ptr _duplicate( IGeometricFieldDescriptor_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IGeometricFieldDescriptor_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual ::FoamXServer::ITypeDescriptor_ptr typeDescriptor() = 0; - virtual ::FoamXServer::ITypeDescriptor_ptr fieldTypeDescriptor() = 0; - virtual ::FoamXServer::CaseServer::IGeometryDescriptor_ptr geometryDescriptor() = 0; - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* fieldTypeName() = 0; - virtual void fieldTypeName( const char* value ) = 0; - virtual char* geometryTypeName() = 0; - virtual void geometryTypeName( const char* value ) = 0; - virtual ::FoamXServer::DimensionSet dimensions() = 0; - virtual void dimensions( const ::FoamXServer::DimensionSet& value ) = 0; - - protected: - IGeometricFieldDescriptor() {}; - private: - IGeometricFieldDescriptor( const IGeometricFieldDescriptor& ); - void operator=( const IGeometricFieldDescriptor& ); -}; - -extern CORBA::TypeCodeConst _tc_IGeometricFieldDescriptor; - -// Stub for interface IGeometricFieldDescriptor -class IGeometricFieldDescriptor_stub: - virtual public IGeometricFieldDescriptor -{ - public: - virtual ~IGeometricFieldDescriptor_stub(); - ::FoamXServer::ITypeDescriptor_ptr typeDescriptor(); - ::FoamXServer::ITypeDescriptor_ptr fieldTypeDescriptor(); - ::FoamXServer::CaseServer::IGeometryDescriptor_ptr geometryDescriptor(); - char* name(); - void name( const char* value ); - char* description(); - void description( const char* value ); - char* fieldTypeName(); - void fieldTypeName( const char* value ); - char* geometryTypeName(); - void geometryTypeName( const char* value ); - ::FoamXServer::DimensionSet dimensions(); - void dimensions( const ::FoamXServer::DimensionSet& value ); - - private: - void operator=( const IGeometricFieldDescriptor_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IGeometricFieldDescriptor_stub_clp : - virtual public IGeometricFieldDescriptor_stub, - virtual public PortableServer::StubBase -{ - public: - IGeometricFieldDescriptor_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IGeometricFieldDescriptor_stub_clp (); - ::FoamXServer::ITypeDescriptor_ptr typeDescriptor(); - ::FoamXServer::ITypeDescriptor_ptr fieldTypeDescriptor(); - ::FoamXServer::CaseServer::IGeometryDescriptor_ptr geometryDescriptor(); - char* name(); - void name( const char* value ); - char* description(); - void description( const char* value ); - char* fieldTypeName(); - void fieldTypeName( const char* value ); - char* geometryTypeName(); - void geometryTypeName( const char* value ); - ::FoamXServer::DimensionSet dimensions(); - void dimensions( const ::FoamXServer::DimensionSet& value ); - - protected: - IGeometricFieldDescriptor_stub_clp (); - private: - void operator=( const IGeometricFieldDescriptor_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - - -/* - * Base class and common definitions for interface IPatchDescriptor - */ - -class IPatchDescriptor : - virtual public CORBA::Object -{ - public: - virtual ~IPatchDescriptor(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IPatchDescriptor_ptr _ptr_type; - typedef IPatchDescriptor_var _var_type; - #endif - - static IPatchDescriptor_ptr _narrow( CORBA::Object_ptr obj ); - static IPatchDescriptor_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IPatchDescriptor_ptr _duplicate( IPatchDescriptor_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IPatchDescriptor_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - - protected: - IPatchDescriptor() {}; - private: - IPatchDescriptor( const IPatchDescriptor& ); - void operator=( const IPatchDescriptor& ); -}; - -extern CORBA::TypeCodeConst _tc_IPatchDescriptor; - -// Stub for interface IPatchDescriptor -class IPatchDescriptor_stub: - virtual public IPatchDescriptor -{ - public: - virtual ~IPatchDescriptor_stub(); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - - private: - void operator=( const IPatchDescriptor_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IPatchDescriptor_stub_clp : - virtual public IPatchDescriptor_stub, - virtual public PortableServer::StubBase -{ - public: - IPatchDescriptor_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IPatchDescriptor_stub_clp (); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - - protected: - IPatchDescriptor_stub_clp (); - private: - void operator=( const IPatchDescriptor_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - - -/* - * Base class and common definitions for interface IGeometryDescriptor - */ - -class IGeometryDescriptor : - virtual public CORBA::Object -{ - public: - virtual ~IGeometryDescriptor(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IGeometryDescriptor_ptr _ptr_type; - typedef IGeometryDescriptor_var _var_type; - #endif - - static IGeometryDescriptor_ptr _narrow( CORBA::Object_ptr obj ); - static IGeometryDescriptor_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IGeometryDescriptor_ptr _duplicate( IGeometryDescriptor_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IGeometryDescriptor_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - - protected: - IGeometryDescriptor() {}; - private: - IGeometryDescriptor( const IGeometryDescriptor& ); - void operator=( const IGeometryDescriptor& ); -}; - -extern CORBA::TypeCodeConst _tc_IGeometryDescriptor; - -// Stub for interface IGeometryDescriptor -class IGeometryDescriptor_stub: - virtual public IGeometryDescriptor -{ - public: - virtual ~IGeometryDescriptor_stub(); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - - private: - void operator=( const IGeometryDescriptor_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IGeometryDescriptor_stub_clp : - virtual public IGeometryDescriptor_stub, - virtual public PortableServer::StubBase -{ - public: - IGeometryDescriptor_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IGeometryDescriptor_stub_clp (); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - - protected: - IGeometryDescriptor_stub_clp (); - private: - void operator=( const IGeometryDescriptor_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - - -/* - * Base class and common definitions for interface IPatchPhysicalTypeDescriptor - */ - -class IPatchPhysicalTypeDescriptor : - virtual public CORBA::Object -{ - public: - virtual ~IPatchPhysicalTypeDescriptor(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IPatchPhysicalTypeDescriptor_ptr _ptr_type; - typedef IPatchPhysicalTypeDescriptor_var _var_type; - #endif - - static IPatchPhysicalTypeDescriptor_ptr _narrow( CORBA::Object_ptr obj ); - static IPatchPhysicalTypeDescriptor_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IPatchPhysicalTypeDescriptor_ptr _duplicate( IPatchPhysicalTypeDescriptor_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IPatchPhysicalTypeDescriptor_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* patchType() = 0; - virtual void patchType( const char* value ) = 0; - virtual char* parentType() = 0; - virtual void parentType( const char* value ) = 0; - virtual ::FoamXServer::StringPairList* patchFieldTypes() = 0; - virtual void patchFieldTypes( const ::FoamXServer::StringPairList& value ) = 0; - - protected: - IPatchPhysicalTypeDescriptor() {}; - private: - IPatchPhysicalTypeDescriptor( const IPatchPhysicalTypeDescriptor& ); - void operator=( const IPatchPhysicalTypeDescriptor& ); -}; - -extern CORBA::TypeCodeConst _tc_IPatchPhysicalTypeDescriptor; - -// Stub for interface IPatchPhysicalTypeDescriptor -class IPatchPhysicalTypeDescriptor_stub: - virtual public IPatchPhysicalTypeDescriptor -{ - public: - virtual ~IPatchPhysicalTypeDescriptor_stub(); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - char* patchType(); - void patchType( const char* value ); - char* parentType(); - void parentType( const char* value ); - ::FoamXServer::StringPairList* patchFieldTypes(); - void patchFieldTypes( const ::FoamXServer::StringPairList& value ); - - private: - void operator=( const IPatchPhysicalTypeDescriptor_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IPatchPhysicalTypeDescriptor_stub_clp : - virtual public IPatchPhysicalTypeDescriptor_stub, - virtual public PortableServer::StubBase -{ - public: - IPatchPhysicalTypeDescriptor_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IPatchPhysicalTypeDescriptor_stub_clp (); - char* name(); - void name( const char* value ); - char* displayName(); - void displayName( const char* value ); - char* description(); - void description( const char* value ); - char* patchType(); - void patchType( const char* value ); - char* parentType(); - void parentType( const char* value ); - ::FoamXServer::StringPairList* patchFieldTypes(); - void patchFieldTypes( const ::FoamXServer::StringPairList& value ); - - protected: - IPatchPhysicalTypeDescriptor_stub_clp (); - private: - void operator=( const IPatchPhysicalTypeDescriptor_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - - -/* - * Base class and common definitions for interface IGeometricField - */ - -class IGeometricField : - virtual public CORBA::Object -{ - public: - virtual ~IGeometricField(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IGeometricField_ptr _ptr_type; - typedef IGeometricField_var _var_type; - #endif - - static IGeometricField_ptr _narrow( CORBA::Object_ptr obj ); - static IGeometricField_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IGeometricField_ptr _duplicate( IGeometricField_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IGeometricField_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual char* name() = 0; - - virtual void getInternalFieldValue( IDictionaryEntry_out internalFieldValue ) = 0; - virtual void getPatchFieldParameters( const char* patchName, IDictionaryEntry_out patchFieldValue ) = 0; - virtual CORBA::Boolean modified() = 0; - - protected: - IGeometricField() {}; - private: - IGeometricField( const IGeometricField& ); - void operator=( const IGeometricField& ); -}; - -extern CORBA::TypeCodeConst _tc_IGeometricField; - -// Stub for interface IGeometricField -class IGeometricField_stub: - virtual public IGeometricField -{ - public: - virtual ~IGeometricField_stub(); - char* name(); - - void getInternalFieldValue( IDictionaryEntry_out internalFieldValue ); - void getPatchFieldParameters( const char* patchName, IDictionaryEntry_out patchFieldValue ); - CORBA::Boolean modified(); - - private: - void operator=( const IGeometricField_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IGeometricField_stub_clp : - virtual public IGeometricField_stub, - virtual public PortableServer::StubBase -{ - public: - IGeometricField_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IGeometricField_stub_clp (); - char* name(); - - void getInternalFieldValue( IDictionaryEntry_out internalFieldValue ); - void getPatchFieldParameters( const char* patchName, IDictionaryEntry_out patchFieldValue ); - CORBA::Boolean modified(); - - protected: - IGeometricField_stub_clp (); - private: - void operator=( const IGeometricField_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - -} - - -namespace CasePostServer -{ - - -/* - * Base class and common definitions for interface ICasePostServer - */ - -class ICasePostServer : - virtual public CORBA::Object -{ - public: - virtual ~ICasePostServer(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef ICasePostServer_ptr _ptr_type; - typedef ICasePostServer_var _var_type; - #endif - - static ICasePostServer_ptr _narrow( CORBA::Object_ptr obj ); - static ICasePostServer_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static ICasePostServer_ptr _duplicate( ICasePostServer_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static ICasePostServer_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual char* caseRoot() = 0; - virtual char* caseName() = 0; - virtual CORBA::Long nProcs() = 0; - virtual ::FoamXServer::StringList* availableTimeSteps() = 0; - - virtual void setTime( const char* timeName, CORBA::Long timeIndex ) = 0; - virtual void setTimeSlave() = 0; - virtual StringList* getPatchNames() = 0; - virtual void getPatchNamesSlave() = 0; - virtual StringList* getFieldNames( const char* type ) = 0; - virtual void getMeshBb( Point3_out min, Point3_out max ) = 0; - virtual void getMeshBbSlave() = 0; - virtual void getPatchMesh( const char* patchName, CORBA::Double creaseAngle, FloatList_out points, LongList_out edges ) = 0; - virtual void getPatchMeshSlave() = 0; - virtual void getCutMesh( const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out edges ) = 0; - virtual void getCutMeshSlave() = 0; - virtual void getCutMeshOutline( const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out edges ) = 0; - virtual void getCutMeshOutlineSlave() = 0; - virtual void getTriPatch( const char* fieldName, const char* patchName, FloatList_out points, LongList_out triFaces, FloatList_out values ) = 0; - virtual void getTriPatchSlave() = 0; - virtual void getTriPatchVec( const char* fieldName, const char* patchName, FloatList_out points, LongList_out triFaces, FloatList_out values ) = 0; - virtual void getTriPatchVecSlave() = 0; - virtual void cutPlane( const char* fieldName, const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out triFaces, FloatList_out values ) = 0; - virtual void cutPlaneSlave() = 0; - virtual void cutPlaneVec( const char* fieldName, const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out triFaces, FloatList_out values ) = 0; - virtual void cutPlaneVecSlave() = 0; - virtual void close() = 0; - - protected: - ICasePostServer() {}; - private: - ICasePostServer( const ICasePostServer& ); - void operator=( const ICasePostServer& ); -}; - -extern CORBA::TypeCodeConst _tc_ICasePostServer; - -// Stub for interface ICasePostServer -class ICasePostServer_stub: - virtual public ICasePostServer -{ - public: - virtual ~ICasePostServer_stub(); - char* caseRoot(); - char* caseName(); - CORBA::Long nProcs(); - ::FoamXServer::StringList* availableTimeSteps(); - - void setTime( const char* timeName, CORBA::Long timeIndex ); - void setTimeSlave(); - StringList* getPatchNames(); - void getPatchNamesSlave(); - StringList* getFieldNames( const char* type ); - void getMeshBb( Point3_out min, Point3_out max ); - void getMeshBbSlave(); - void getPatchMesh( const char* patchName, CORBA::Double creaseAngle, FloatList_out points, LongList_out edges ); - void getPatchMeshSlave(); - void getCutMesh( const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out edges ); - void getCutMeshSlave(); - void getCutMeshOutline( const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out edges ); - void getCutMeshOutlineSlave(); - void getTriPatch( const char* fieldName, const char* patchName, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void getTriPatchSlave(); - void getTriPatchVec( const char* fieldName, const char* patchName, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void getTriPatchVecSlave(); - void cutPlane( const char* fieldName, const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void cutPlaneSlave(); - void cutPlaneVec( const char* fieldName, const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void cutPlaneVecSlave(); - void close(); - - private: - void operator=( const ICasePostServer_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class ICasePostServer_stub_clp : - virtual public ICasePostServer_stub, - virtual public PortableServer::StubBase -{ - public: - ICasePostServer_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~ICasePostServer_stub_clp (); - char* caseRoot(); - char* caseName(); - CORBA::Long nProcs(); - ::FoamXServer::StringList* availableTimeSteps(); - - void setTime( const char* timeName, CORBA::Long timeIndex ); - void setTimeSlave(); - StringList* getPatchNames(); - void getPatchNamesSlave(); - StringList* getFieldNames( const char* type ); - void getMeshBb( Point3_out min, Point3_out max ); - void getMeshBbSlave(); - void getPatchMesh( const char* patchName, CORBA::Double creaseAngle, FloatList_out points, LongList_out edges ); - void getPatchMeshSlave(); - void getCutMesh( const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out edges ); - void getCutMeshSlave(); - void getCutMeshOutline( const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out edges ); - void getCutMeshOutlineSlave(); - void getTriPatch( const char* fieldName, const char* patchName, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void getTriPatchSlave(); - void getTriPatchVec( const char* fieldName, const char* patchName, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void getTriPatchVecSlave(); - void cutPlane( const char* fieldName, const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void cutPlaneSlave(); - void cutPlaneVec( const char* fieldName, const Point3 basePoint, const Point3 normal, FloatList_out points, LongList_out triFaces, FloatList_out values ); - void cutPlaneVecSlave(); - void close(); - - protected: - ICasePostServer_stub_clp (); - private: - void operator=( const ICasePostServer_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - -} - - -namespace CaseBrowser -{ - - -/* - * Base class and common definitions for interface ICaseBrowser - */ - -class ICaseBrowser : - virtual public CORBA::Object -{ - public: - virtual ~ICaseBrowser(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef ICaseBrowser_ptr _ptr_type; - typedef ICaseBrowser_var _var_type; - #endif - - static ICaseBrowser_ptr _narrow( CORBA::Object_ptr obj ); - static ICaseBrowser_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static ICaseBrowser_ptr _duplicate( ICaseBrowser_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static ICaseBrowser_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties() = 0; - virtual ::FoamXServer::CaseDescriptorList* cases() = 0; - virtual ::FoamXServer::JobDescriptorList* runningJobs() = 0; - virtual ::FoamXServer::JobDescriptorList* finishedJobs() = 0; - - virtual void getEnv( const char* envName, CORBA::String_out hostName ) = 0; - virtual void getHostName( CORBA::String_out hostName ) = 0; - virtual void getUserName( CORBA::String_out userName ) = 0; - virtual CORBA::Long fileModificationDate( const char* fileName ) = 0; - virtual void readFile( const char* fileName, CORBA::String_out contents ) = 0; - virtual void writeFile( const char* fileName, const char* contents ) = 0; - virtual CORBA::Long invokeUtility( const char* hostName, const char* utilityName, const StringList& arguments, const char* logName, CORBA::Boolean backGround ) = 0; - virtual void refreshCaseList() = 0; - virtual void addToCaseList( const char* rootDir ) = 0; - virtual void openCase( const CaseDescriptor& caseDesc ) = 0; - virtual void newCase( const char* rootDir, const char* caseName, const char* app ) = 0; - virtual void importCase( const char* rootDir, const char* caseName, const char* app ) = 0; - virtual void deleteCase( const CaseDescriptor& caseDesc ) = 0; - virtual void cloneCase( const CaseDescriptor& caseDesc, const char* newCaseRootDir, const char* newCaseName, const char* newAppClassName, const char* timeSel ) = 0; - virtual CORBA::Boolean getCaseServerReference( const char* rootDir, const char* caseName, CaseServer::ICaseServer_out caseObj ) = 0; - virtual void openCasePost( const CaseDescriptor& caseDesc, CORBA::Long nProcs ) = 0; - virtual CORBA::Boolean getCasePostServerReference( const char* rootDir, const char* caseName, CORBA::Long nProcs, CasePostServer::ICasePostServer_out caseObj ) = 0; - virtual CORBA::Boolean caseLocked( const CaseDescriptor& caseDesc ) = 0; - virtual void unlockCase( const char* rootDir, const char* caseName ) = 0; - virtual void unlockCaseDescriptor( const CaseDescriptor& caseDesc ) = 0; - virtual void addCase( const char* rootDir, const char* rawRootDir, const char* caseName, const char* app ) = 0; - virtual void caseOpen( const char* rootDir, const char* caseName ) = 0; - virtual CORBA::Boolean isCaseInError( const CaseDescriptor& caseDesc ) = 0; - virtual void caseIsInError( const CaseDescriptor& caseDesc ) = 0; - virtual void refreshJobsLists() = 0; - virtual void checkRunningJobs() = 0; - virtual void purgeRunningJobs() = 0; - virtual void purgeFinishedJob( const JobID& jobID ) = 0; - virtual void purgeFinishedJobs( CORBA::Long nDays ) = 0; - virtual void kill( const JobID& jobID ) = 0; - virtual void suspend( const JobID& jobID ) = 0; - virtual void cont( const JobID& jobID ) = 0; - virtual void end( const JobID& jobID, const char* rootDir, const char* caseName, CORBA::Boolean now ) = 0; - virtual void setStatus( const JobID& jobID, JobStatus jobStatus ) = 0; - virtual void validate() = 0; - virtual void save() = 0; - virtual void close() = 0; - - protected: - ICaseBrowser() {}; - private: - ICaseBrowser( const ICaseBrowser& ); - void operator=( const ICaseBrowser& ); -}; - -extern CORBA::TypeCodeConst _tc_ICaseBrowser; - -// Stub for interface ICaseBrowser -class ICaseBrowser_stub: - virtual public ICaseBrowser -{ - public: - virtual ~ICaseBrowser_stub(); - ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties(); - ::FoamXServer::CaseDescriptorList* cases(); - ::FoamXServer::JobDescriptorList* runningJobs(); - ::FoamXServer::JobDescriptorList* finishedJobs(); - - void getEnv( const char* envName, CORBA::String_out hostName ); - void getHostName( CORBA::String_out hostName ); - void getUserName( CORBA::String_out userName ); - CORBA::Long fileModificationDate( const char* fileName ); - void readFile( const char* fileName, CORBA::String_out contents ); - void writeFile( const char* fileName, const char* contents ); - CORBA::Long invokeUtility( const char* hostName, const char* utilityName, const StringList& arguments, const char* logName, CORBA::Boolean backGround ); - void refreshCaseList(); - void addToCaseList( const char* rootDir ); - void openCase( const CaseDescriptor& caseDesc ); - void newCase( const char* rootDir, const char* caseName, const char* app ); - void importCase( const char* rootDir, const char* caseName, const char* app ); - void deleteCase( const CaseDescriptor& caseDesc ); - void cloneCase( const CaseDescriptor& caseDesc, const char* newCaseRootDir, const char* newCaseName, const char* newAppClassName, const char* timeSel ); - CORBA::Boolean getCaseServerReference( const char* rootDir, const char* caseName, CaseServer::ICaseServer_out caseObj ); - void openCasePost( const CaseDescriptor& caseDesc, CORBA::Long nProcs ); - CORBA::Boolean getCasePostServerReference( const char* rootDir, const char* caseName, CORBA::Long nProcs, CasePostServer::ICasePostServer_out caseObj ); - CORBA::Boolean caseLocked( const CaseDescriptor& caseDesc ); - void unlockCase( const char* rootDir, const char* caseName ); - void unlockCaseDescriptor( const CaseDescriptor& caseDesc ); - void addCase( const char* rootDir, const char* rawRootDir, const char* caseName, const char* app ); - void caseOpen( const char* rootDir, const char* caseName ); - CORBA::Boolean isCaseInError( const CaseDescriptor& caseDesc ); - void caseIsInError( const CaseDescriptor& caseDesc ); - void refreshJobsLists(); - void checkRunningJobs(); - void purgeRunningJobs(); - void purgeFinishedJob( const JobID& jobID ); - void purgeFinishedJobs( CORBA::Long nDays ); - void kill( const JobID& jobID ); - void suspend( const JobID& jobID ); - void cont( const JobID& jobID ); - void end( const JobID& jobID, const char* rootDir, const char* caseName, CORBA::Boolean now ); - void setStatus( const JobID& jobID, JobStatus jobStatus ); - void validate(); - void save(); - void close(); - - private: - void operator=( const ICaseBrowser_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class ICaseBrowser_stub_clp : - virtual public ICaseBrowser_stub, - virtual public PortableServer::StubBase -{ - public: - ICaseBrowser_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~ICaseBrowser_stub_clp (); - ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties(); - ::FoamXServer::CaseDescriptorList* cases(); - ::FoamXServer::JobDescriptorList* runningJobs(); - ::FoamXServer::JobDescriptorList* finishedJobs(); - - void getEnv( const char* envName, CORBA::String_out hostName ); - void getHostName( CORBA::String_out hostName ); - void getUserName( CORBA::String_out userName ); - CORBA::Long fileModificationDate( const char* fileName ); - void readFile( const char* fileName, CORBA::String_out contents ); - void writeFile( const char* fileName, const char* contents ); - CORBA::Long invokeUtility( const char* hostName, const char* utilityName, const StringList& arguments, const char* logName, CORBA::Boolean backGround ); - void refreshCaseList(); - void addToCaseList( const char* rootDir ); - void openCase( const CaseDescriptor& caseDesc ); - void newCase( const char* rootDir, const char* caseName, const char* app ); - void importCase( const char* rootDir, const char* caseName, const char* app ); - void deleteCase( const CaseDescriptor& caseDesc ); - void cloneCase( const CaseDescriptor& caseDesc, const char* newCaseRootDir, const char* newCaseName, const char* newAppClassName, const char* timeSel ); - CORBA::Boolean getCaseServerReference( const char* rootDir, const char* caseName, CaseServer::ICaseServer_out caseObj ); - void openCasePost( const CaseDescriptor& caseDesc, CORBA::Long nProcs ); - CORBA::Boolean getCasePostServerReference( const char* rootDir, const char* caseName, CORBA::Long nProcs, CasePostServer::ICasePostServer_out caseObj ); - CORBA::Boolean caseLocked( const CaseDescriptor& caseDesc ); - void unlockCase( const char* rootDir, const char* caseName ); - void unlockCaseDescriptor( const CaseDescriptor& caseDesc ); - void addCase( const char* rootDir, const char* rawRootDir, const char* caseName, const char* app ); - void caseOpen( const char* rootDir, const char* caseName ); - CORBA::Boolean isCaseInError( const CaseDescriptor& caseDesc ); - void caseIsInError( const CaseDescriptor& caseDesc ); - void refreshJobsLists(); - void checkRunningJobs(); - void purgeRunningJobs(); - void purgeFinishedJob( const JobID& jobID ); - void purgeFinishedJobs( CORBA::Long nDays ); - void kill( const JobID& jobID ); - void suspend( const JobID& jobID ); - void cont( const JobID& jobID ); - void end( const JobID& jobID, const char* rootDir, const char* caseName, CORBA::Boolean now ); - void setStatus( const JobID& jobID, JobStatus jobStatus ); - void validate(); - void save(); - void close(); - - protected: - ICaseBrowser_stub_clp (); - private: - void operator=( const ICaseBrowser_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - -} - - -namespace HostBrowser -{ - - -/* - * Base class and common definitions for interface IHostBrowser - */ - -class IHostBrowser : - virtual public CORBA::Object -{ - public: - virtual ~IHostBrowser(); - - #ifdef HAVE_TYPEDEF_OVERLOAD - typedef IHostBrowser_ptr _ptr_type; - typedef IHostBrowser_var _var_type; - #endif - - static IHostBrowser_ptr _narrow( CORBA::Object_ptr obj ); - static IHostBrowser_ptr _narrow( CORBA::AbstractBase_ptr obj ); - static IHostBrowser_ptr _duplicate( IHostBrowser_ptr _obj ) - { - CORBA::Object::_duplicate (_obj); - return _obj; - } - - static IHostBrowser_ptr _nil() - { - return 0; - } - - virtual void *_narrow_helper( const char *repoid ); - - virtual ::FoamXServer::HostDescriptorList* hosts() = 0; - - virtual void refreshHostList() = 0; - virtual CORBA::Boolean isHostAlive( const char* hostName ) = 0; - virtual void hostIsAlive( const char* hostName ) = 0; - virtual void hostIsDead( const char* hostName ) = 0; - virtual void openCaseBrowser( const char* hostName ) = 0; - virtual CORBA::Boolean getCaseBrowserReference( const char* hostName, CaseBrowser::ICaseBrowser_out browserObj ) = 0; - virtual void validate() = 0; - virtual void save() = 0; - virtual void close() = 0; - - protected: - IHostBrowser() {}; - private: - IHostBrowser( const IHostBrowser& ); - void operator=( const IHostBrowser& ); -}; - -extern CORBA::TypeCodeConst _tc_IHostBrowser; - -// Stub for interface IHostBrowser -class IHostBrowser_stub: - virtual public IHostBrowser -{ - public: - virtual ~IHostBrowser_stub(); - ::FoamXServer::HostDescriptorList* hosts(); - - void refreshHostList(); - CORBA::Boolean isHostAlive( const char* hostName ); - void hostIsAlive( const char* hostName ); - void hostIsDead( const char* hostName ); - void openCaseBrowser( const char* hostName ); - CORBA::Boolean getCaseBrowserReference( const char* hostName, CaseBrowser::ICaseBrowser_out browserObj ); - void validate(); - void save(); - void close(); - - private: - void operator=( const IHostBrowser_stub& ); -}; - -#ifndef MICO_CONF_NO_POA - -class IHostBrowser_stub_clp : - virtual public IHostBrowser_stub, - virtual public PortableServer::StubBase -{ - public: - IHostBrowser_stub_clp (PortableServer::POA_ptr, CORBA::Object_ptr); - virtual ~IHostBrowser_stub_clp (); - ::FoamXServer::HostDescriptorList* hosts(); - - void refreshHostList(); - CORBA::Boolean isHostAlive( const char* hostName ); - void hostIsAlive( const char* hostName ); - void hostIsDead( const char* hostName ); - void openCaseBrowser( const char* hostName ); - CORBA::Boolean getCaseBrowserReference( const char* hostName, CaseBrowser::ICaseBrowser_out browserObj ); - void validate(); - void save(); - void close(); - - protected: - IHostBrowser_stub_clp (); - private: - void operator=( const IHostBrowser_stub_clp & ); -}; - -#endif // MICO_CONF_NO_POA - -} -} - - -#ifndef MICO_CONF_NO_POA - - - -namespace POA_FoamXServer -{ - -class ITypeDescriptor : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~ITypeDescriptor (); - FoamXServer::ITypeDescriptor_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static ITypeDescriptor * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual ::FoamXServer::FoamXType type() = 0; - virtual void type( ::FoamXServer::FoamXType value ) = 0; - virtual CORBA::Boolean isPrimitiveType() = 0; - virtual CORBA::Boolean isCompoundType() = 0; - virtual char* path() = 0; - virtual void path( const char* value ) = 0; - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* comment() = 0; - virtual void comment( const char* value ) = 0; - virtual char* category() = 0; - virtual void category( const char* value ) = 0; - virtual char* helpURL() = 0; - virtual void helpURL( const char* value ) = 0; - virtual char* iconURL() = 0; - virtual void iconURL( const char* value ) = 0; - virtual CORBA::Boolean optional() = 0; - virtual void optional( CORBA::Boolean value ) = 0; - virtual CORBA::Boolean visible() = 0; - virtual void visible( CORBA::Boolean value ) = 0; - virtual CORBA::Boolean editable() = 0; - virtual void editable( CORBA::Boolean value ) = 0; - virtual ::FoamXServer::FoamXAny* minValue() = 0; - virtual void minValue( const ::FoamXServer::FoamXAny& value ) = 0; - virtual ::FoamXServer::FoamXAny* maxValue() = 0; - virtual void maxValue( const ::FoamXServer::FoamXAny& value ) = 0; - virtual char* lookupDict() = 0; - virtual void lookupDict( const char* value ) = 0; - virtual ::FoamXServer::FoamXAnyList* valueList() = 0; - virtual void valueList( const ::FoamXServer::FoamXAnyList& value ) = 0; - virtual char* dictionaryPath() = 0; - virtual void dictionaryPath( const char* value ) = 0; - virtual CORBA::Long numElements() = 0; - virtual void numElements( CORBA::Long value ) = 0; - virtual ::FoamXServer::StringList* elementLabels() = 0; - virtual void elementLabels( const ::FoamXServer::StringList& value ) = 0; - virtual ::FoamXServer::TypeDescriptorList* subTypes() = 0; - virtual ::FoamXServer::ITypeDescriptor_ptr elementType() = 0; - - virtual CORBA::Boolean hasDefaultValue() = 0; - virtual void getDefaultValue( ::FoamXServer::IDictionaryEntry_out defaultValue ) = 0; - virtual void addSubType( ::FoamXServer::FoamXType type, ::FoamXServer::ITypeDescriptor_out subEntry ) = 0; - virtual void removeSubType( ::FoamXServer::ITypeDescriptor_ptr subEntry ) = 0; - virtual void validate() = 0; - - protected: - ITypeDescriptor () {}; - - private: - ITypeDescriptor (const ITypeDescriptor &); - void operator= (const ITypeDescriptor &); -}; - -class IDictionaryEntry : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IDictionaryEntry (); - FoamXServer::IDictionaryEntry_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IDictionaryEntry * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual ::FoamXServer::ITypeDescriptor_ptr typeDescriptor() = 0; - virtual ::FoamXServer::FoamXAny* value() = 0; - virtual void value( const ::FoamXServer::FoamXAny& value ) = 0; - virtual ::FoamXServer::DictionaryEntryList* subElements() = 0; - virtual CORBA::Long selection() = 0; - virtual void selection( CORBA::Long value ) = 0; - - virtual void setValue( const ::FoamXServer::FoamXAny& value ) = 0; - virtual CORBA::Long nSubElements() = 0; - virtual CORBA::Boolean packedList() = 0; - virtual void addElement( ::FoamXServer::IDictionaryEntry_out subEntry ) = 0; - virtual void removeElement( ::FoamXServer::IDictionaryEntry_ptr subEntry ) = 0; - virtual void validate() = 0; - virtual CORBA::Boolean modified() = 0; - virtual void save() = 0; - - protected: - IDictionaryEntry () {}; - - private: - IDictionaryEntry (const IDictionaryEntry &); - void operator= (const IDictionaryEntry &); -}; - - - -namespace CaseServer -{ - -class ICaseServer : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~ICaseServer (); - FoamXServer::CaseServer::ICaseServer_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static ICaseServer * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual CORBA::Boolean managed() = 0; - virtual void managed( CORBA::Boolean value ) = 0; - virtual char* caseRoot() = 0; - virtual char* caseName() = 0; - virtual ::FoamXServer::CaseServer::IApplication_ptr application() = 0; - virtual ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties() = 0; - virtual ::FoamXServer::StringList* availableTimeSteps() = 0; - virtual CORBA::Boolean meshDefined() = 0; - virtual ::FoamXServer::StringList* patchNames() = 0; - - virtual char* getTime() = 0; - virtual void setTime( const char* timeName, CORBA::Long timeIndex ) = 0; - virtual void readMesh() = 0; - virtual void importMesh( const char* hostName, const char* rootDir, const char* caseName ) = 0; - virtual void getFieldValues( const char* fieldName, ::FoamXServer::CaseServer::IGeometricField_out fieldValues ) = 0; - virtual void addPatch( const char* patchName, const char* patchPhysicalType ) = 0; - virtual void deletePatch( const char* patchName ) = 0; - virtual void deleteAllPatches() = 0; - virtual void setPatchPhysicalType( const char* patchName, const char* patchPhysicalType ) = 0; - virtual void getPatchPhysicalType( const char* patchName, CORBA::String_out patchPhysicalType ) = 0; - virtual void getDictionary( const char* dictionaryName, CORBA::Boolean forceRead, ::FoamXServer::IDictionaryEntry_out dictRoot ) = 0; - virtual void readFile( const char* name, CORBA::String_out contents ) = 0; - virtual void writeFile( const char* name, const char* contents ) = 0; - virtual CORBA::Long fileModificationDate( const char* fileName ) = 0; - virtual CORBA::Long runCase( const char* arguments ) = 0; - virtual void killCase() = 0; - virtual void validate() = 0; - virtual CORBA::Boolean modified() = 0; - virtual void save() = 0; - virtual void close() = 0; - - protected: - ICaseServer () {}; - - private: - ICaseServer (const ICaseServer &); - void operator= (const ICaseServer &); -}; - -class IFoamProperties : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IFoamProperties (); - FoamXServer::CaseServer::IFoamProperties_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IFoamProperties * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual ::FoamXServer::StringList* availableModules() = 0; - virtual ::FoamXServer::StringList* rootDirectories() = 0; - virtual ::FoamXServer::StringList* rawRootDirectories() = 0; - virtual ::FoamXServer::StringList* foamTypes() = 0; - virtual ::FoamXServer::StringList* geometryTypes() = 0; - virtual ::FoamXServer::StringList* patchTypes() = 0; - virtual ::FoamXServer::StringList* patchFieldTypes() = 0; - virtual ::FoamXServer::ApplicationDescriptorList* applicationes() = 0; - virtual ::FoamXServer::ApplicationDescriptorList* utilities() = 0; - - virtual void addRootDirectory( const char* rawRootDir ) = 0; - virtual void deleteRootDirectory( const char* rawRootDir ) = 0; - virtual void getFoamType( const char* foamTypeName, ::FoamXServer::ITypeDescriptor_out typeDesc ) = 0; - virtual void getGeometryType( const char* geometryTypeName, ::FoamXServer::CaseServer::IGeometryDescriptor_out geometryDesc ) = 0; - virtual void getPatchType( const char* patchTypeName, ::FoamXServer::CaseServer::IPatchDescriptor_out patchDesc ) = 0; - virtual void findPatchType( const char* patchTypeName, ::FoamXServer::CaseServer::IPatchDescriptor_out patchDesc ) = 0; - virtual void getPatchFieldType( const char* patchFieldTypeName, ::FoamXServer::ITypeDescriptor_out patchFieldDesc ) = 0; - virtual void findPatchFieldType( const char* patchFieldTypeName, ::FoamXServer::ITypeDescriptor_out patchFieldDesc ) = 0; - virtual void getFoamControlDict( ::FoamXServer::IDictionaryEntry_out controlDict ) = 0; - virtual void getApplication( const char* appName, ::FoamXServer::CaseServer::IApplication_out app ) = 0; - virtual void addApplication( const char* appName, ::FoamXServer::CaseServer::IApplication_out app ) = 0; - virtual void deleteApplication( const char* appName ) = 0; - virtual void cloneApplication( const char* appNameSrc, const char* appNameDest, const char* appDestPath, ::FoamXServer::CaseServer::IApplication_out app ) = 0; - virtual void getUtilityControlDict( const char* utilityName, const char* rootDir, const char* caseName, ::FoamXServer::IDictionaryEntry_out controlDict ) = 0; - virtual void validate() = 0; - virtual void saveSystemProperties() = 0; - virtual void saveUserProperties() = 0; - - protected: - IFoamProperties () {}; - - private: - IFoamProperties (const IFoamProperties &); - void operator= (const IFoamProperties &); -}; - -class IApplication : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IApplication (); - FoamXServer::CaseServer::IApplication_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IApplication * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* category() = 0; - virtual void category( const char* value ) = 0; - virtual ::FoamXServer::StringList* modules() = 0; - virtual void modules( const ::FoamXServer::StringList& value ) = 0; - virtual CORBA::Boolean systemClass() = 0; - virtual ::FoamXServer::StringList* fields() = 0; - virtual ::FoamXServer::StringList* patchPhysicalTypes() = 0; - virtual ::FoamXServer::StringList* dictionaries() = 0; - - virtual void getField( const char* fieldName, ::FoamXServer::CaseServer::IGeometricFieldDescriptor_out fieldDescriptor ) = 0; - virtual void findField( const char* fieldName, ::FoamXServer::CaseServer::IGeometricFieldDescriptor_out fieldDescriptor ) = 0; - virtual void addField( const char* fieldName, ::FoamXServer::CaseServer::IGeometricFieldDescriptor_out fieldDescriptor ) = 0; - virtual void deleteField( const char* fieldName ) = 0; - virtual void getPatchPhysicalType( const char* patchPhysicalTypeName, ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ) = 0; - virtual void findPatchPhysicalType( const char* patchPhysicalTypeName, ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ) = 0; - virtual void addPatchPhysicalType( const char* patchPhysicalTypeName, ::FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_out patchPhysicalTypeDescriptor ) = 0; - virtual void deletePatchPhysicalType( const char* patchPhysicalTypeName ) = 0; - virtual void getDictionary( const char* dictName, ::FoamXServer::ITypeDescriptor_out dictTypeDescriptor ) = 0; - virtual void addDictionary( const char* dictName, ::FoamXServer::ITypeDescriptor_out dictTypeDescriptor ) = 0; - virtual void deleteDictionary( const char* dictName ) = 0; - virtual void validate() = 0; - virtual void save() = 0; - - protected: - IApplication () {}; - - private: - IApplication (const IApplication &); - void operator= (const IApplication &); -}; - -class IGeometricFieldDescriptor : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IGeometricFieldDescriptor (); - FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IGeometricFieldDescriptor * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual ::FoamXServer::ITypeDescriptor_ptr typeDescriptor() = 0; - virtual ::FoamXServer::ITypeDescriptor_ptr fieldTypeDescriptor() = 0; - virtual ::FoamXServer::CaseServer::IGeometryDescriptor_ptr geometryDescriptor() = 0; - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* fieldTypeName() = 0; - virtual void fieldTypeName( const char* value ) = 0; - virtual char* geometryTypeName() = 0; - virtual void geometryTypeName( const char* value ) = 0; - virtual ::FoamXServer::DimensionSet dimensions() = 0; - virtual void dimensions( const ::FoamXServer::DimensionSet& value ) = 0; - - protected: - IGeometricFieldDescriptor () {}; - - private: - IGeometricFieldDescriptor (const IGeometricFieldDescriptor &); - void operator= (const IGeometricFieldDescriptor &); -}; - -class IPatchDescriptor : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IPatchDescriptor (); - FoamXServer::CaseServer::IPatchDescriptor_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IPatchDescriptor * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - - protected: - IPatchDescriptor () {}; - - private: - IPatchDescriptor (const IPatchDescriptor &); - void operator= (const IPatchDescriptor &); -}; - -class IGeometryDescriptor : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IGeometryDescriptor (); - FoamXServer::CaseServer::IGeometryDescriptor_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IGeometryDescriptor * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - - protected: - IGeometryDescriptor () {}; - - private: - IGeometryDescriptor (const IGeometryDescriptor &); - void operator= (const IGeometryDescriptor &); -}; - -class IPatchPhysicalTypeDescriptor : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IPatchPhysicalTypeDescriptor (); - FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IPatchPhysicalTypeDescriptor * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual char* name() = 0; - virtual void name( const char* value ) = 0; - virtual char* displayName() = 0; - virtual void displayName( const char* value ) = 0; - virtual char* description() = 0; - virtual void description( const char* value ) = 0; - virtual char* patchType() = 0; - virtual void patchType( const char* value ) = 0; - virtual char* parentType() = 0; - virtual void parentType( const char* value ) = 0; - virtual ::FoamXServer::StringPairList* patchFieldTypes() = 0; - virtual void patchFieldTypes( const ::FoamXServer::StringPairList& value ) = 0; - - protected: - IPatchPhysicalTypeDescriptor () {}; - - private: - IPatchPhysicalTypeDescriptor (const IPatchPhysicalTypeDescriptor &); - void operator= (const IPatchPhysicalTypeDescriptor &); -}; - -class IGeometricField : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IGeometricField (); - FoamXServer::CaseServer::IGeometricField_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IGeometricField * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual char* name() = 0; - - virtual void getInternalFieldValue( ::FoamXServer::IDictionaryEntry_out internalFieldValue ) = 0; - virtual void getPatchFieldParameters( const char* patchName, ::FoamXServer::IDictionaryEntry_out patchFieldValue ) = 0; - virtual CORBA::Boolean modified() = 0; - - protected: - IGeometricField () {}; - - private: - IGeometricField (const IGeometricField &); - void operator= (const IGeometricField &); -}; - -} - - -namespace CasePostServer -{ - -class ICasePostServer : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~ICasePostServer (); - FoamXServer::CasePostServer::ICasePostServer_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static ICasePostServer * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual char* caseRoot() = 0; - virtual char* caseName() = 0; - virtual CORBA::Long nProcs() = 0; - virtual ::FoamXServer::StringList* availableTimeSteps() = 0; - - virtual void setTime( const char* timeName, CORBA::Long timeIndex ) = 0; - virtual void setTimeSlave() = 0; - virtual ::FoamXServer::StringList* getPatchNames() = 0; - virtual void getPatchNamesSlave() = 0; - virtual ::FoamXServer::StringList* getFieldNames( const char* type ) = 0; - virtual void getMeshBb( ::FoamXServer::Point3_out min, ::FoamXServer::Point3_out max ) = 0; - virtual void getMeshBbSlave() = 0; - virtual void getPatchMesh( const char* patchName, CORBA::Double creaseAngle, ::FoamXServer::FloatList_out points, ::FoamXServer::LongList_out edges ) = 0; - virtual void getPatchMeshSlave() = 0; - virtual void getCutMesh( const ::FoamXServer::Point3 basePoint, const ::FoamXServer::Point3 normal, ::FoamXServer::FloatList_out points, ::FoamXServer::LongList_out edges ) = 0; - virtual void getCutMeshSlave() = 0; - virtual void getCutMeshOutline( const ::FoamXServer::Point3 basePoint, const ::FoamXServer::Point3 normal, ::FoamXServer::FloatList_out points, ::FoamXServer::LongList_out edges ) = 0; - virtual void getCutMeshOutlineSlave() = 0; - virtual void getTriPatch( const char* fieldName, const char* patchName, ::FoamXServer::FloatList_out points, ::FoamXServer::LongList_out triFaces, ::FoamXServer::FloatList_out values ) = 0; - virtual void getTriPatchSlave() = 0; - virtual void getTriPatchVec( const char* fieldName, const char* patchName, ::FoamXServer::FloatList_out points, ::FoamXServer::LongList_out triFaces, ::FoamXServer::FloatList_out values ) = 0; - virtual void getTriPatchVecSlave() = 0; - virtual void cutPlane( const char* fieldName, const ::FoamXServer::Point3 basePoint, const ::FoamXServer::Point3 normal, ::FoamXServer::FloatList_out points, ::FoamXServer::LongList_out triFaces, ::FoamXServer::FloatList_out values ) = 0; - virtual void cutPlaneSlave() = 0; - virtual void cutPlaneVec( const char* fieldName, const ::FoamXServer::Point3 basePoint, const ::FoamXServer::Point3 normal, ::FoamXServer::FloatList_out points, ::FoamXServer::LongList_out triFaces, ::FoamXServer::FloatList_out values ) = 0; - virtual void cutPlaneVecSlave() = 0; - virtual void close() = 0; - - protected: - ICasePostServer () {}; - - private: - ICasePostServer (const ICasePostServer &); - void operator= (const ICasePostServer &); -}; - -} - - -namespace CaseBrowser -{ - -class ICaseBrowser : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~ICaseBrowser (); - FoamXServer::CaseBrowser::ICaseBrowser_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static ICaseBrowser * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual ::FoamXServer::CaseServer::IFoamProperties_ptr foamProperties() = 0; - virtual ::FoamXServer::CaseDescriptorList* cases() = 0; - virtual ::FoamXServer::JobDescriptorList* runningJobs() = 0; - virtual ::FoamXServer::JobDescriptorList* finishedJobs() = 0; - - virtual void getEnv( const char* envName, CORBA::String_out hostName ) = 0; - virtual void getHostName( CORBA::String_out hostName ) = 0; - virtual void getUserName( CORBA::String_out userName ) = 0; - virtual CORBA::Long fileModificationDate( const char* fileName ) = 0; - virtual void readFile( const char* fileName, CORBA::String_out contents ) = 0; - virtual void writeFile( const char* fileName, const char* contents ) = 0; - virtual CORBA::Long invokeUtility( const char* hostName, const char* utilityName, const ::FoamXServer::StringList& arguments, const char* logName, CORBA::Boolean backGround ) = 0; - virtual void refreshCaseList() = 0; - virtual void addToCaseList( const char* rootDir ) = 0; - virtual void openCase( const ::FoamXServer::CaseDescriptor& caseDesc ) = 0; - virtual void newCase( const char* rootDir, const char* caseName, const char* app ) = 0; - virtual void importCase( const char* rootDir, const char* caseName, const char* app ) = 0; - virtual void deleteCase( const ::FoamXServer::CaseDescriptor& caseDesc ) = 0; - virtual void cloneCase( const ::FoamXServer::CaseDescriptor& caseDesc, const char* newCaseRootDir, const char* newCaseName, const char* newAppClassName, const char* timeSel ) = 0; - virtual CORBA::Boolean getCaseServerReference( const char* rootDir, const char* caseName, ::FoamXServer::CaseServer::ICaseServer_out caseObj ) = 0; - virtual void openCasePost( const ::FoamXServer::CaseDescriptor& caseDesc, CORBA::Long nProcs ) = 0; - virtual CORBA::Boolean getCasePostServerReference( const char* rootDir, const char* caseName, CORBA::Long nProcs, ::FoamXServer::CasePostServer::ICasePostServer_out caseObj ) = 0; - virtual CORBA::Boolean caseLocked( const ::FoamXServer::CaseDescriptor& caseDesc ) = 0; - virtual void unlockCase( const char* rootDir, const char* caseName ) = 0; - virtual void unlockCaseDescriptor( const ::FoamXServer::CaseDescriptor& caseDesc ) = 0; - virtual void addCase( const char* rootDir, const char* rawRootDir, const char* caseName, const char* app ) = 0; - virtual void caseOpen( const char* rootDir, const char* caseName ) = 0; - virtual CORBA::Boolean isCaseInError( const ::FoamXServer::CaseDescriptor& caseDesc ) = 0; - virtual void caseIsInError( const ::FoamXServer::CaseDescriptor& caseDesc ) = 0; - virtual void refreshJobsLists() = 0; - virtual void checkRunningJobs() = 0; - virtual void purgeRunningJobs() = 0; - virtual void purgeFinishedJob( const ::FoamXServer::JobID& jobID ) = 0; - virtual void purgeFinishedJobs( CORBA::Long nDays ) = 0; - virtual void kill( const ::FoamXServer::JobID& jobID ) = 0; - virtual void suspend( const ::FoamXServer::JobID& jobID ) = 0; - virtual void cont( const ::FoamXServer::JobID& jobID ) = 0; - virtual void end( const ::FoamXServer::JobID& jobID, const char* rootDir, const char* caseName, CORBA::Boolean now ) = 0; - virtual void setStatus( const ::FoamXServer::JobID& jobID, ::FoamXServer::JobStatus jobStatus ) = 0; - virtual void validate() = 0; - virtual void save() = 0; - virtual void close() = 0; - - protected: - ICaseBrowser () {}; - - private: - ICaseBrowser (const ICaseBrowser &); - void operator= (const ICaseBrowser &); -}; - -} - - -namespace HostBrowser -{ - -class IHostBrowser : virtual public PortableServer::StaticImplementation -{ - public: - virtual ~IHostBrowser (); - FoamXServer::HostBrowser::IHostBrowser_ptr _this (); - bool dispatch (CORBA::StaticServerRequest_ptr); - virtual void invoke (CORBA::StaticServerRequest_ptr); - virtual CORBA::Boolean _is_a (const char *); - virtual CORBA::InterfaceDef_ptr _get_interface (); - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr); - - virtual void * _narrow_helper (const char *); - static IHostBrowser * _narrow (PortableServer::Servant); - virtual CORBA::Object_ptr _make_stub (PortableServer::POA_ptr, CORBA::Object_ptr); - - virtual ::FoamXServer::HostDescriptorList* hosts() = 0; - - virtual void refreshHostList() = 0; - virtual CORBA::Boolean isHostAlive( const char* hostName ) = 0; - virtual void hostIsAlive( const char* hostName ) = 0; - virtual void hostIsDead( const char* hostName ) = 0; - virtual void openCaseBrowser( const char* hostName ) = 0; - virtual CORBA::Boolean getCaseBrowserReference( const char* hostName, ::FoamXServer::CaseBrowser::ICaseBrowser_out browserObj ) = 0; - virtual void validate() = 0; - virtual void save() = 0; - virtual void close() = 0; - - protected: - IHostBrowser () {}; - - private: - IHostBrowser (const IHostBrowser &); - void operator= (const IHostBrowser &); -}; - -} -} - - -#endif // MICO_CONF_NO_POA - -void operator<<=( CORBA::Any &a, const ::FoamXServer::FoamXType &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::FoamXType &e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXType; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::FoamXAny &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::FoamXAny *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::FoamXAny &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::FoamXAny *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXAny; - -void operator<<=( CORBA::Any &a, const ::FoamXServer::ErrorCode &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::ErrorCode &e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_ErrorCode; - -void operator<<=( CORBA::Any &a, const ::FoamXServer::FoamXError &e ); -void operator<<=( CORBA::Any &a, ::FoamXServer::FoamXError *e ); -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::FoamXError &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, const ::FoamXServer::FoamXError *&e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXError; - -void operator<<=( CORBA::Any &a, const ::FoamXServer::FoamXIOError &e ); -void operator<<=( CORBA::Any &a, ::FoamXServer::FoamXIOError *e ); -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::FoamXIOError &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, const ::FoamXServer::FoamXIOError *&e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXIOError; - -void operator<<=( CORBA::Any &a, const ::FoamXServer::ValidationError &e ); -void operator<<=( CORBA::Any &a, ::FoamXServer::ValidationError *e ); -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::ValidationError &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, const ::FoamXServer::ValidationError *&e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_ValidationError; - -void operator<<=( CORBA::Any &a, const FoamXServer::ITypeDescriptor_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::ITypeDescriptor_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::ITypeDescriptor_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_ITypeDescriptor; - -void operator<<=( CORBA::Any &a, const FoamXServer::IDictionaryEntry_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::IDictionaryEntry_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::IDictionaryEntry_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_IDictionaryEntry; - -void operator<<=( CORBA::Any &a, const ::FoamXServer::JobStatus &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::JobStatus &e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_JobStatus; - -void operator<<=( CORBA::Any &a, const ::FoamXServer::MessageType &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::MessageType &e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_MessageType; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::Point3_forany &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::Point3_forany &_s ); -void operator<<=( CORBA::Any &_a, const ::FoamXServer::StringPair &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::StringPair *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::StringPair &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::StringPair *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_StringPair; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::HostDescriptor &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::HostDescriptor *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::HostDescriptor &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::HostDescriptor *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_HostDescriptor; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::ApplicationDescriptor &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::ApplicationDescriptor *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::ApplicationDescriptor &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::ApplicationDescriptor *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_ApplicationDescriptor; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::CaseDescriptor &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::CaseDescriptor *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::CaseDescriptor &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::CaseDescriptor *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseDescriptor; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::JobID &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::JobID *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::JobID &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::JobID *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_JobID; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::JobDescriptor &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::JobDescriptor *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::JobDescriptor &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::JobDescriptor *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_JobDescriptor; - -void operator<<=( CORBA::Any &_a, const ::FoamXServer::DimensionSet &_s ); -void operator<<=( CORBA::Any &_a, ::FoamXServer::DimensionSet *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, ::FoamXServer::DimensionSet &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const ::FoamXServer::DimensionSet *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_DimensionSet; - -void operator<<=( CORBA::Any &a, const ::FoamXServer::FoamXSYSError &e ); -void operator<<=( CORBA::Any &a, ::FoamXServer::FoamXSYSError *e ); -CORBA::Boolean operator>>=( const CORBA::Any &a, ::FoamXServer::FoamXSYSError &e ); - -CORBA::Boolean operator>>=( const CORBA::Any &a, const ::FoamXServer::FoamXSYSError *&e ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_FoamXSYSError; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::ICaseServer_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::ICaseServer_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::ICaseServer_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_ICaseServer; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::IFoamProperties_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::IFoamProperties_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::IFoamProperties_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IFoamProperties; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::IApplication_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::IApplication_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::IApplication_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IApplication; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::IGeometricFieldDescriptor_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IGeometricFieldDescriptor; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::IPatchDescriptor_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::IPatchDescriptor_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::IPatchDescriptor_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IPatchDescriptor; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::IGeometryDescriptor_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::IGeometryDescriptor_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::IGeometryDescriptor_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IGeometryDescriptor; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::IPatchPhysicalTypeDescriptor_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IPatchPhysicalTypeDescriptor; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseServer::IGeometricField_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseServer::IGeometricField_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseServer::IGeometricField_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseServer_IGeometricField; - -void operator<<=( CORBA::Any &a, const FoamXServer::CasePostServer::ICasePostServer_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CasePostServer::ICasePostServer_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CasePostServer::ICasePostServer_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CasePostServer_ICasePostServer; - -void operator<<=( CORBA::Any &a, const FoamXServer::CaseBrowser::ICaseBrowser_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::CaseBrowser::ICaseBrowser_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::CaseBrowser::ICaseBrowser_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_CaseBrowser_ICaseBrowser; - -void operator<<=( CORBA::Any &a, const FoamXServer::HostBrowser::IHostBrowser_ptr obj ); -void operator<<=( CORBA::Any &a, FoamXServer::HostBrowser::IHostBrowser_ptr* obj_ptr ); -CORBA::Boolean operator>>=( const CORBA::Any &a, FoamXServer::HostBrowser::IHostBrowser_ptr &obj ); - -extern CORBA::StaticTypeInfo *_marshaller_FoamXServer_HostBrowser_IHostBrowser; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::FoamXAny,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_FoamXAny; - -void operator<<=( CORBA::Any &_a, const StringSequenceTmpl &_s ); -void operator<<=( CORBA::Any &_a, StringSequenceTmpl *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, StringSequenceTmpl &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const StringSequenceTmpl *&_s ); - -void operator<<=( CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> &_s ); -void operator<<=( CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::ITypeDescriptor_var,FoamXServer::ITypeDescriptor_ptr> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_ITypeDescriptor; - -void operator<<=( CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> &_s ); -void operator<<=( CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const IfaceSequenceTmpl< FoamXServer::IDictionaryEntry_var,FoamXServer::IDictionaryEntry_ptr> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_IDictionaryEntry; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< CORBA::Double,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< CORBA::Double,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< CORBA::Double,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< CORBA::Double,MICO_TID_DEF> *&_s ); - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< CORBA::Float,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< CORBA::Float,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< CORBA::Float,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< CORBA::Float,MICO_TID_DEF> *&_s ); - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< CORBA::Long,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< CORBA::Long,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< CORBA::Long,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< CORBA::Long,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__a3_float; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::StringPair,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_StringPair; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::HostDescriptor,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_HostDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::ApplicationDescriptor,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_ApplicationDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::CaseDescriptor,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_CaseDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobID,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_JobID; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::JobDescriptor,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_JobDescriptor; - -void operator<<=( CORBA::Any &_a, const SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> &_s ); -void operator<<=( CORBA::Any &_a, SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> *_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> &_s ); -CORBA::Boolean operator>>=( const CORBA::Any &_a, const SequenceTmpl< FoamXServer::DimensionSet,MICO_TID_DEF> *&_s ); - -extern CORBA::StaticTypeInfo *_marshaller__seq_FoamXServer_DimensionSet; - -#endif diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/files b/applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/files deleted file mode 100644 index dd7efcc695..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/files +++ /dev/null @@ -1,3 +0,0 @@ -FoamX.C - -LIB = $(FOAM_LIBBIN)/libFoamXServer diff --git a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/options b/applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/options deleted file mode 100644 index 49624f712c..0000000000 --- a/applications/utilities/preProcessing/FoamX/C++/FoamXServer/Make/options +++ /dev/null @@ -1,4 +0,0 @@ -#include "../../FoamXLib/Make/orbOptions" - -EXE_INC = $(ORB_INC) -EXE_LIBS = $(ORB_LIBS) diff --git a/applications/utilities/preProcessing/FoamX/FoamX.idl b/applications/utilities/preProcessing/FoamX/FoamX.idl deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/applications/utilities/preProcessing/FoamX/Idl/FoamX.idl b/applications/utilities/preProcessing/FoamX/Idl/FoamX.idl deleted file mode 100644 index cd25cedc43..0000000000 --- a/applications/utilities/preProcessing/FoamX/Idl/FoamX.idl +++ /dev/null @@ -1,1320 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Class - FoamX - -Description - IDL definitions for FoamX pre-processor. - -SourceFiles - FoamX.H - FoamX.C - -\*---------------------------------------------------------------------------*/ - -#ifndef FoamX_IDL -#define FoamX_IDL - -module FoamXServer -{ - // Forward declare all interfaces in this module. - interface ITypeDescriptor; - interface IDictionaryEntry; - - // ------------------------------------------------------------------------- - // - Enums ----------------------------------------------------------------- - // ------------------------------------------------------------------------- - - enum FoamXType - { - Type_Undefined, - Type_Boolean, - Type_Label, - Type_Scalar, - Type_Char, - Type_Word, - Type_String, - Type_RootDir, // Any directory in caseRoots - Type_RootAndCase, // Path to valid case - Type_CaseName, // Valid case directory - Type_HostName, // Valid license host - Type_File, // Generic file (not directory) - Type_Directory, // Generic directory - Type_Time, // Time (as string) - Type_DimensionSet, - Type_FixedList, - Type_List, - Type_Dictionary, - Type_Selection, - Type_Compound, - Type_Field // Special type for late-bound field types. - }; - - enum ErrorCode - { - S_OK, - E_FAIL, - E_FOAM, - E_INVALID_ARG, - E_INVALID_PTR, - E_INVALID_REF, - E_INDEX_OUT_OF_BOUNDS, - E_UNKNOWN_NAME, - E_UNEXPECTED - }; - - enum JobStatus - { - JOB_UNDEFINED, - JOB_LAUNCHING, - JOB_RUNNING, - JOB_STOPPING, - JOB_SUSPENDED, - JOB_FINISHED, - JOB_ABORTED - }; - - enum MessageType - { - M_DIAGNOSTIC, // Diagnostic and informational messages. - M_WARNING, // Warning messages. - M_ERROR // Error messages. - }; - - - // ------------------------------------------------------------------------- - // - General Typedefs------------------------------------------------------- - // ------------------------------------------------------------------------- - - typedef sequence StringList; - typedef sequence TypeDescriptorList; - typedef sequence DictionaryEntryList; - typedef sequence DoubleList; - typedef sequence FloatList; - typedef sequence LongList; - typedef float Point3[3]; - - - // ------------------------------------------------------------------------- - // - Structs---------------------------------------------------------------- - // ------------------------------------------------------------------------- - - struct FoamXAny - { - FoamXType type; - any value; - }; - typedef sequence FoamXAnyList; - - struct StringPair - { - string name; - string value; - }; - typedef sequence StringPairList; - - // Host descriptor structure. - struct HostDescriptor - { - string name; - boolean alive; - }; - typedef sequence HostDescriptorList; - - // Application descriptor structure. - struct ApplicationDescriptor - { - string name; - string category; - string path; - boolean systemClass; // System defined application class. - }; - typedef sequence ApplicationDescriptorList; - - // Case descriptor structure. - struct CaseDescriptor - { - string rootDir; // rootDir (after expansion) - string rawRootDir; // rootDir (before expansion) - string caseName; - string app; - long nProcs; // 1 or number of subdomains in parallel - boolean managed; // True if this is a FoamX managed case. - boolean locked; // True if this case is locked by another user. - boolean error; // True if this case is in error. - }; - typedef sequence CaseDescriptorList; - - // Job ID. - struct JobID - { - string hostName; // Host name. - long processID; // Process ID. - }; - typedef sequence JobIDList; - - // Job descriptor structure. - struct JobDescriptor - { - JobID jobID; // Job ID. - long ppid; // Parent pid. - long pgid; // Group pid. - string startDate; // Start date. - string startTime; // Start time. - string userName; // Username. - string foamVersion; // Software version. - string code; // Code. - string argList; // Argument list. - string currentDir; // Current working directory. - string rootDir; // Case root. - string caseName; // Case name. - long nProcs; // Number of processes. - JobIDList slaves; // slave JobIDs - long nCountedProcs; // Number of licences taken up. - double cpuTime; // Used cpuTime. - string endDate; // End date. - string endTime; // End time. - JobStatus status; // Job status. - }; - typedef sequence JobDescriptorList; - - struct DimensionSet - { - double mass; // Kilogramme Kg. - double length; // meter m. - double time; // second s. - double temperature; // Kelvin K. - double moles; // mole mol. - double current; // Ampere Amp. - double luminousIntensity; // Candela Cd. - }; - typedef sequence DimensionSetList; - - - // ------------------------------------------------------------------------- - // - Exceptions------------------------------------------------------------- - // ------------------------------------------------------------------------- - - // Standard exception - exception FoamXError - { - ErrorCode errorCode; - string errorMessage; - - string methodName; - string fileName; - long lineNo; - }; - - // Invalid remote system invocation (e.g. machine can't be reached) - exception FoamXSYSError - { - ErrorCode errorCode; - string errorMessage; - string hostName; - - string methodName; - string fileName; - long lineNo; - }; - - // Invalid dictionary - exception ValidationError - { - ErrorCode errorCode; - string errorMessage; - string itemPath; - }; - - // Exception from error on file - exception FoamXIOError - { - string errorMessage; - string ioFileName; - long ioStartLineNo; - long ioEndLineNo; - - string methodName; - string fileName; - long lineNo; - }; - - - // ------------------------------------------------------------------------- - // - Interfaces ------------------------------------------------------------ - // ------------------------------------------------------------------------- - - interface ITypeDescriptor - { - // Properties common to all types. - - //- The type of this parameter. - attribute FoamXType type; - - //- Primitive type flag. - readonly attribute boolean isPrimitiveType; - - //- Compound type flag. - readonly attribute boolean isCompoundType; - - //- Path of this parameter relative to root dictionary. - attribute string path; - - //- Foam parameter name. - attribute string name; - - //- Short display name. - attribute string displayName; - - //- Long descriptive name. - attribute string description; - - //- Dictionary comment. - attribute string comment; - - //- GUI category. - attribute string category; - - //- URL to relevant help file. - attribute string helpURL; - - //- URL to a nice icon for this entry. - attribute string iconURL; - - //- Flag indicating whether this parameter is optional. - // Defaults to false. - attribute boolean optional; - - //- Flag indicating whether this parameter is visible within FoamX. - // Defaults to true. - attribute boolean visible; - - // Properties for non-compound types. - - //- Flag indicating whether this parameter is editable within FoamX. - // Defaults to true. - attribute boolean editable; - - //- Minimum value for this parameter. - attribute FoamXAny minValue; - - //- Maximum value for this parameter. - attribute FoamXAny maxValue; - - //- Name of dictionary to use as a lookup table. - attribute string lookupDict; - - //- List of permissible values for this parameter. - attribute FoamXAnyList valueList; - - // Properties for compound types. - - //- Top-level dictionary location relative to case root. - attribute string dictionaryPath; - - //- Number of vector space elements. - attribute long numElements; - - //- Labels of vector space elements (eg, x, y, z). - attribute StringList elementLabels; - - //- List of sub-types for compound types. - readonly attribute TypeDescriptorList subTypes; - - //- Element type in List of elements. - readonly attribute ITypeDescriptor elementType; - - - boolean hasDefaultValue(); - - void getDefaultValue - ( - out IDictionaryEntry defaultValue - ) raises(FoamXError, FoamXIOError); - - //- Compound sub-type methods. - void addSubType - ( - in FoamXType type, - out ITypeDescriptor subEntry - ) raises(FoamXError, FoamXIOError); - - void removeSubType(in ITypeDescriptor subEntry) - raises(FoamXError, FoamXIOError); - - //- Validation. - // Checks that this type and all sub-types are valid. - // Returns the path to the offending type if any invalid entries - // are found. - void validate() - raises(FoamXError, FoamXIOError, ValidationError); - }; - - // ------------------------------------------------------------------------- - - interface IDictionaryEntry - { - // ---- Common attributes -------------------------------------- - // Reference to the type descriptor object for this entry. - readonly attribute ITypeDescriptor typeDescriptor; - - // ---- Non-compound attributes -------------------------------- - // Current value for this (non compound) entry. - attribute FoamXAny value; - - void setValue(in FoamXAny value) - raises(FoamXError); - - // ---- Compound attributes ------------------------------------ - // Sub-elements for compound types. - readonly attribute DictionaryEntryList subElements; - long nSubElements() raises(FoamXError); - boolean packedList() raises(FoamXError); - - // ---- Selection attributes ----------------------------------- - // The current selection index - attribute long selection; - - // Add a new element to the list and return the new dictionary - // entry object. - void addElement(out IDictionaryEntry subEntry) - raises(FoamXError); - - // Remove element from list. - void removeElement(in IDictionaryEntry subEntry) - raises(FoamXError); - - // ---- Recursive state methods -------------------------------- - // Returns true if this entry, and all sub-entries are valid. - // Returns the path to the offending entry if any invalid entries - // are found. - void validate() - raises(FoamXError, ValidationError); - - // Returns true if this entry, or any sub-entries have been modified. - boolean modified() - raises(FoamXError); - - // ---- Persistence methods ------------------------------------ - // Save method for root (dictionary) objects. - void save() - raises(FoamXError, FoamXIOError); - }; - - - // ------------------------------------------------------------------------- - // - FoamX CaseServer Module ----------------------------------------------- - // ------------------------------------------------------------------------- - - module CaseServer - { - // Forward declare all interfaces in this module. - interface ICaseServer; - interface IFoamProperties; - interface IApplication; - interface IGeometricFieldDescriptor; - interface IPatchDescriptor; - interface IGeometryDescriptor; - interface IPatchPhysicalTypeDescriptor; - interface IGeometricField; - - - // --------------------------------------------------------------------- - // - Interfaces -------------------------------------------------------- - // --------------------------------------------------------------------- - - interface ICaseServer - { - // Attributes. - attribute boolean managed; - readonly attribute string caseRoot; - readonly attribute string caseName; - - // Application class for this case (read only). - readonly attribute IApplication application; - - // Foam system properties (read only). - readonly attribute IFoamProperties foamProperties; - - // Time-steps. - readonly attribute StringList availableTimeSteps; - - // Get current time - string getTime() - raises(FoamXError, FoamXIOError); - - // Set time - void setTime(in string timeName, in long timeIndex) - raises(FoamXError, FoamXIOError); - - // Mesh. - readonly attribute boolean meshDefined; - - void readMesh() - raises(FoamXError, FoamXIOError); - - void importMesh - ( - in string hostName, - in string rootDir, - in string caseName - ) raises(FoamXError, FoamXIOError); - - // Field values. - void getFieldValues - ( - in string fieldName, - out IGeometricField fieldValues - ) raises(FoamXError, FoamXIOError); - - // Patches. - readonly attribute StringList patchNames; - - void addPatch(in string patchName, in string patchPhysicalType) - raises(FoamXError, FoamXIOError); - - void deletePatch(in string patchName) - raises(FoamXError, FoamXIOError); - - void deleteAllPatches() raises(FoamXError, FoamXIOError); - - // Patch physical type - void setPatchPhysicalType - ( - in string patchName, - in string patchPhysicalType - ) raises(FoamXError, FoamXIOError); - - void getPatchPhysicalType - ( - in string patchName, - out string patchPhysicalType - ) raises(FoamXError, FoamXIOError); - - // Dictionaries. - void getDictionary - ( - in string dictionaryName, - in boolean forceRead, // Do not use cache - out IDictionaryEntry dictRoot - ) raises(FoamXError, FoamXIOError); - - void readFile - ( - in string name, - out string contents - ) raises(FoamXError, FoamXIOError); - - void writeFile - ( - in string name, - in string contents - ) raises(FoamXError, FoamXIOError); - - // Get modification date - long fileModificationDate - ( - in string fileName - ) raises(FoamXIOError); - - //- Calculation control. - long runCase(in string arguments) raises(FoamXError, FoamXIOError); - void killCase() raises(FoamXError); - - //- Validation. - void validate() raises(FoamXError, FoamXIOError, ValidationError); - - // Returns true if this has been modified - boolean modified(); - - //- Persistence. - void save() raises(FoamXError, FoamXIOError, ValidationError); - - //- Lifetime management. - oneway void close(); - }; - - // --------------------------------------------------------------------- - - interface IFoamProperties - { - //- Attributes. - readonly attribute StringList availableModules; // Defined modules. - - //- Root directories to search for cases. - - readonly attribute StringList rootDirectories; - - //- Unexpanded form of rootDirectories. - readonly attribute StringList rawRootDirectories; - - void addRootDirectory(in string rawRootDir) - raises(FoamXError, FoamXIOError); - - void deleteRootDirectory(in string rawRootDir) - raises(FoamXError, FoamXIOError); - - - // Foam types. - - readonly attribute StringList foamTypes; - - void getFoamType - ( - in string foamTypeName, - out ITypeDescriptor typeDesc - ) raises(FoamXError, FoamXIOError); - - - // Geometry types. - - readonly attribute StringList geometryTypes; - - void getGeometryType - ( - in string geometryTypeName, - out IGeometryDescriptor geometryDesc - ) raises(FoamXError, FoamXIOError); - - - // Patch types. - - readonly attribute StringList patchTypes; - - void getPatchType - ( - in string patchTypeName, - out IPatchDescriptor patchDesc - ) raises(FoamXError, FoamXIOError); - - void findPatchType - ( - in string patchTypeName, - out IPatchDescriptor patchDesc - ) raises(FoamXError, FoamXIOError); - - - // Patch field types. - - readonly attribute StringList patchFieldTypes; - - void getPatchFieldType - ( - in string patchFieldTypeName, - out ITypeDescriptor patchFieldDesc - ) raises(FoamXError, FoamXIOError); - - void findPatchFieldType - ( - in string patchFieldTypeName, - out ITypeDescriptor patchFieldDesc - ) raises(FoamXError, FoamXIOError); - - - // FOAM controlDict - - void getFoamControlDict - ( - out IDictionaryEntry controlDict - ) raises(FoamXError, FoamXIOError); - - - // Application classes. - - readonly attribute ApplicationDescriptorList - applicationes; - - void getApplication - ( - in string appName, - out IApplication app - ) raises(FoamXError, FoamXIOError); - - void addApplication - ( - in string appName, - out IApplication app - ) raises(FoamXError, FoamXIOError); - - void deleteApplication(in string appName) - raises(FoamXError, FoamXIOError); - - void cloneApplication - ( - in string appNameSrc, - in string appNameDest, - in string appDestPath, - out IApplication app - ) raises(FoamXError, FoamXIOError); - - - // Foam utilities. - - readonly attribute ApplicationDescriptorList utilities; - - void getUtilityControlDict - ( - in string utilityName, - in string rootDir, - in string caseName, - out IDictionaryEntry controlDict - ) raises(FoamXError, FoamXIOError); - - - //- Validation. - void validate() - raises(FoamXError, FoamXIOError, ValidationError); - - //- Persistence. - void saveSystemProperties() - raises(FoamXError, FoamXIOError, ValidationError); - - void saveUserProperties() - raises(FoamXError, FoamXIOError, ValidationError); - }; - - // --------------------------------------------------------------------- - - interface IApplication - { - //- Short name for this application class. - attribute string name; - - //- Application class description. - attribute string description; - - //- Application class category. - attribute string category; - - //- List of modules required to pre-process this application class. - attribute StringList modules; - - //- System or user defined application class. - readonly attribute boolean systemClass; - - // Fields. - - //- List of defined fields. - readonly attribute StringList fields; - void getField - ( - in string fieldName, - out IGeometricFieldDescriptor fieldDescriptor - ) raises(FoamXError, FoamXIOError); - - void findField - ( - in string fieldName, - out IGeometricFieldDescriptor fieldDescriptor - ) raises(FoamXError, FoamXIOError); - - void addField - ( - in string fieldName, - out IGeometricFieldDescriptor fieldDescriptor - ) raises(FoamXError, FoamXIOError); - - void deleteField(in string fieldName) - raises(FoamXError, FoamXIOError); - - // Patch physical types. - readonly attribute StringList patchPhysicalTypes; - - // List of defined patch physical types. - void getPatchPhysicalType - ( - in string patchPhysicalTypeName, - out IPatchPhysicalTypeDescriptor patchPhysicalTypeDescriptor - ) raises(FoamXError, FoamXIOError); - - void findPatchPhysicalType - ( - in string patchPhysicalTypeName, - out IPatchPhysicalTypeDescriptor patchPhysicalTypeDescriptor - ) raises(FoamXError, FoamXIOError); - - void addPatchPhysicalType - ( - in string patchPhysicalTypeName, - out IPatchPhysicalTypeDescriptor patchPhysicalTypeDescriptor - ) raises(FoamXError, FoamXIOError); - - void deletePatchPhysicalType(in string patchPhysicalTypeName) - raises(FoamXError, FoamXIOError); - - // Dictionaries. - readonly attribute StringList dictionaries; - - // List of defined dictionaries. - void getDictionary - ( - in string dictName, - out ITypeDescriptor dictTypeDescriptor - ) raises(FoamXError, FoamXIOError); - - void addDictionary - ( - in string dictName, - out ITypeDescriptor dictTypeDescriptor - ) raises(FoamXError, FoamXIOError); - - void deleteDictionary(in string dictName) - raises(FoamXError, FoamXIOError); - - // Validation. - void validate() - raises(FoamXError, FoamXIOError, ValidationError); - - // Persistence. - void save() - raises(FoamXError, FoamXIOError, ValidationError); - }; - - // --------------------------------------------------------------------- - - interface IPatchDescriptor - { - //- Name of patch type (eg, "wall"). - attribute string name; - - //- Display name (eg, "Wall"). - attribute string displayName; - - //- Description (eg, "Solid Wall"). - attribute string description; - }; - - // --------------------------------------------------------------------- - - interface IGeometryDescriptor - { - //- Name of geometry type (eg, "volume"). - attribute string name; - - //- Display name (eg, "Volume"). - attribute string displayName; - - //- Description (eg, "Finite Volume Geometry"). - attribute string description; - }; - - // --------------------------------------------------------------------- - - interface IGeometricFieldDescriptor - { - readonly attribute ITypeDescriptor typeDescriptor; - readonly attribute ITypeDescriptor fieldTypeDescriptor; - readonly attribute IGeometryDescriptor geometryDescriptor; - - //- Field name (eg, "p"). - attribute string name; - - //- Field description (eg, "Pressure"). - attribute string description; - - //- Field type name (eg, "scalar"). - attribute string fieldTypeName; - - //- Geometry type name (eg, "vol"). - attribute string geometryTypeName; - - //- Field dimensions. - attribute DimensionSet dimensions; - }; - - // --------------------------------------------------------------------- - - interface IPatchPhysicalTypeDescriptor - { - //- Patch physical type name (eg, "inlet"). - attribute string name; - - attribute string displayName; - attribute string description; - attribute string patchType; - attribute string parentType; - attribute StringPairList patchFieldTypes; - }; - - // --------------------------------------------------------------------- - - interface IGeometricField - { - readonly attribute string name; - - void getInternalFieldValue - ( - out IDictionaryEntry internalFieldValue - ) raises(FoamXError, FoamXIOError); - - void getPatchFieldParameters - ( - in string patchName, - out IDictionaryEntry patchFieldValue - ) raises(FoamXError, FoamXIOError); - - // Returns true if this has been modified - boolean modified(); - }; - }; - - - // ------------------------------------------------------------------------- - // - FoamX CasePostServer Module ----------------------------------------------- - // ------------------------------------------------------------------------- - - module CasePostServer - { - // Forward declare all interfaces in this module. - interface ICasePostServer; - - - // --------------------------------------------------------------------- - // - Interfaces -------------------------------------------------------- - // --------------------------------------------------------------------- - - interface ICasePostServer - { - // Attributes. - readonly attribute string caseRoot; - readonly attribute string caseName; - readonly attribute long nProcs; - - // - // Database - // - - // Time-steps. - readonly attribute StringList availableTimeSteps; - - // Set database - void setTime(in string timeName, in long timeIndex) - raises(FoamXError, FoamXIOError); - // Slave variant - oneway void setTimeSlave(); - - // Get patchnames over all domains - StringList getPatchNames() - raises(FoamXError, FoamXIOError); - // Slave variant - oneway void getPatchNamesSlave(); - - // Get fieldNames - StringList getFieldNames(in string type) - raises(FoamXError, FoamXIOError); - - - // - // Mesh - // - - // Bounding box - void getMeshBb(out Point3 min, out Point3 max) - raises(FoamXError); - // Slave variant - oneway void getMeshBbSlave(); - - // Patch mesh - void getPatchMesh - ( - in string patchName, - in double creaseAngle, - out FloatList points, - out LongList edges - ) raises(FoamXError); - // Slave variant - oneway void getPatchMeshSlave(); - - // Cut mesh - void getCutMesh - ( - in Point3 basePoint, - in Point3 normal, - out FloatList points, - out LongList edges - ) raises(FoamXError); - // Slave variant - oneway void getCutMeshSlave(); - - // Cut mesh outline - void getCutMeshOutline - ( - in Point3 basePoint, - in Point3 normal, - out FloatList points, - out LongList edges - ) raises(FoamXError); - // Slave variant - oneway void getCutMeshOutlineSlave(); - - - // - // Cut , sample - // - - - // - // OLD - // - - // Triangulate and sample patch - void getTriPatch - ( - in string fieldName, - in string patchName, - out FloatList points, - out LongList triFaces, - out FloatList values - ) raises(FoamXError, FoamXIOError); - // Slave variant - oneway void getTriPatchSlave(); - - // Triangulate and sample patch - void getTriPatchVec - ( - in string fieldName, - in string patchName, - out FloatList points, - out LongList triFaces, - out FloatList values - ) raises(FoamXError, FoamXIOError); - // Slave variant - oneway void getTriPatchVecSlave(); - - // Cutplane and sample - void cutPlane - ( - in string fieldName, - in Point3 basePoint, - in Point3 normal, - out FloatList points, - out LongList triFaces, - out FloatList values - ) raises(FoamXError, FoamXIOError); - // Slave variant - oneway void cutPlaneSlave(); - - // Cutplane and sample - void cutPlaneVec - ( - in string fieldName, - in Point3 basePoint, - in Point3 normal, - out FloatList points, - out LongList triFaces, - out FloatList values - ) raises(FoamXError, FoamXIOError); - // Slave variant - oneway void cutPlaneVecSlave(); - - //- Lifetime management. - oneway void close(); - }; - }; - - // ------------------------------------------------------------------------- - // - FoamX CaseBrowser Module ---------------------------------------------- - // ------------------------------------------------------------------------- - - module CaseBrowser - { - // Forward declare all interfaces in this module. - interface ICaseBrowser; - - // --------------------------------------------------------------------- - // - Interfaces--------------------------------------------------------- - // --------------------------------------------------------------------- - - interface ICaseBrowser - { - // Foam system properties (user data editable). - readonly attribute CaseServer::IFoamProperties - foamProperties; - - // Managed cases list. - readonly attribute CaseDescriptorList cases; - - // Running jobs list. - readonly attribute JobDescriptorList runningJobs; - - // Finished jobs list. - readonly attribute JobDescriptorList finishedJobs; - - // Get environment variable - void getEnv - ( - in string envName, - out string hostName - ) raises(FoamXError); - - // Get the machines hostName - void getHostName - ( - out string hostName - ) raises(FoamXError); - - // Get userName - void getUserName - ( - out string userName - ) raises(FoamXError); - - // Get modification date - long fileModificationDate - ( - in string fileName - ) raises(FoamXIOError); - - // Read file and store contents in string - void readFile(in string fileName, out string contents) - raises(FoamXError, FoamXIOError); - - // Write contents of string as a file - void writeFile(in string fileName, in string contents) - raises(FoamXError, FoamXIOError); - - // Utility execution. - long invokeUtility - ( - in string hostName, - in string utilityName, - in StringList arguments, - in string logName, - in boolean backGround - ) raises(FoamXError); - - void refreshCaseList() - raises(FoamXError, FoamXIOError); - - void addToCaseList(in string rootDir) - raises(FoamXError, FoamXIOError); - - // Case manipulation. - void openCase(in CaseDescriptor caseDesc) - raises(FoamXError, FoamXIOError); - - void newCase - ( - in string rootDir, - in string caseName, - in string app - ) raises(FoamXError, FoamXIOError); - - void importCase - ( - in string rootDir, - in string caseName, - in string app - ) raises(FoamXError, FoamXIOError); - - void deleteCase(in CaseDescriptor caseDesc) - raises(FoamXError, FoamXIOError); - - void cloneCase - ( - in CaseDescriptor caseDesc, - in string newCaseRootDir, - in string newCaseName, - in string newAppClassName, - in string timeSel - ) raises(FoamXError, FoamXIOError); - - // Try to resolve NameServer entry for caseServer - boolean getCaseServerReference - ( - in string rootDir, - in string caseName, - out CaseServer::ICaseServer caseObj - ) raises(FoamXError, FoamXSYSError); - - // start casePostServer - void openCasePost(in CaseDescriptor caseDesc, in long nProcs) - raises(FoamXError, FoamXIOError); - - // Try to resolve NameServer entry for casePostServer - boolean getCasePostServerReference - ( - in string rootDir, - in string caseName, - in long nProcs, - out CasePostServer::ICasePostServer caseObj - ) raises(FoamXError, FoamXSYSError); - - boolean caseLocked(in CaseDescriptor caseDesc) - raises(FoamXError); - - void unlockCase - ( - in string rootDir, - in string caseName - ) raises(FoamXError, FoamXIOError); - - void unlockCaseDescriptor(in CaseDescriptor caseDesc) - raises(FoamXError, FoamXIOError); - - void addCase - ( - in string rootDir, - in string rawRootDir, - in string caseName, - in string app - ) raises(FoamXError); - - void caseOpen - ( - in string rootDir, - in string caseName - ) raises(FoamXError); - - boolean isCaseInError(in CaseDescriptor caseDesc) - raises(FoamXError); - - void caseIsInError(in CaseDescriptor caseDesc) - raises(FoamXError); - - - - // Process control - - void refreshJobsLists() - raises(FoamXError, FoamXIOError); - - void checkRunningJobs() - raises(FoamXError, FoamXSYSError); - - void purgeRunningJobs() - raises(FoamXError, FoamXIOError); - - void purgeFinishedJob(in JobID jobID) - raises(FoamXError, FoamXIOError); - - void purgeFinishedJobs(in long nDays) - raises(FoamXError, FoamXIOError); - - // Kill process. - void kill(in JobID jobID) - raises(FoamXError, FoamXSYSError); - - // Suspend process - void suspend(in JobID jobID) - raises(FoamXError, FoamXSYSError); - - // Continue process - void cont(in JobID jobID) - raises(FoamXError, FoamXSYSError); - - // Nicely end process (with dump) in - // now=true: iteration after next - // now=false: next natural dump - void end - ( - in JobID jobID, - in string rootDir, - in string caseName, - in boolean now - ) raises(FoamXError, FoamXSYSError); - - // Reset the job status - void setStatus(in JobID jobID, in JobStatus jobStatus) - raises(FoamXError); - - - // IO - - // Validation. - void validate() - raises(FoamXError, ValidationError); - - // Persistence. - void save() - raises(FoamXError, FoamXIOError, ValidationError); - - // Lifetime management. - oneway void close(); - }; - }; - - - // ------------------------------------------------------------------------- - // - FoamX Host Browser Module --------------------------------------------- - // ------------------------------------------------------------------------- - - module HostBrowser - { - // Forward declare all interfaces in this module. - interface IHostBrowser; - - // --------------------------------------------------------------------- - // - Interfaces--------------------------------------------------------- - // --------------------------------------------------------------------- - - interface IHostBrowser - { - readonly attribute HostDescriptorList hosts; - - void refreshHostList() - raises(FoamXError); - - boolean isHostAlive(in string hostName) - raises(FoamXError); - - void hostIsAlive(in string hostName) - raises(FoamXError); - - void hostIsDead(in string hostName) - raises(FoamXError); - - void openCaseBrowser - ( - in string hostName - ) raises(FoamXError, FoamXSYSError); - - boolean getCaseBrowserReference - ( - in string hostName, - out CaseBrowser::ICaseBrowser browserObj - ) raises(FoamXError, FoamXSYSError); - - - // Validation. - void validate() - raises(FoamXError, FoamXIOError, ValidationError); - - // Persistence. - void save() - raises(FoamXError, FoamXIOError, ValidationError); - - // Lifetime management. - oneway void close(); - }; - }; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/FoamX/Idl/Makefile b/applications/utilities/preProcessing/FoamX/Idl/Makefile deleted file mode 100644 index fa6fdbe87b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Idl/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -#------------------------------------------------------------------------------ -# Makefile for FoamX Client-Side Idl Java Code. -#------------------------------------------------------------------------------ - -JAVA_IDL = idlj -JAVA_IDLFLAGS = -td ../Java -fclient -FOAMXSERVER_JAVA_DIR = ../Java/FoamXServer -FOAMXSERVER_JAVA_FILE = $(FOAMXSERVER_JAVA_DIR)/FoamXError.java - -MICO_IDL = $(MICO_ARCH_PATH)/bin/idl -MICO_INCDIR = $(MICO_ARCH_PATH)/include -MICO_IDLFLAGS = --poa --c++-suffix=C --hh-suffix=H --any --typecode -FOAMXLIB_DIR = ../C++/FoamXServer -FOAMXLIB_H_FILE = $(FOAMXLIB_DIR)/FoamX.H - -IDLFILE = FoamX.idl - -all: $(FOAMXSERVER_JAVA_FILE) $(FOAMXLIB_H_FILE) - -$(FOAMXSERVER_JAVA_FILE): $(IDLFILE) - $(JAVA_IDL) $(JAVA_IDLFLAGS) $(IDLFILE) - -$(FOAMXLIB_H_FILE): $(IDLFILE) - $(MICO_IDL) $(MICO_IDLFLAGS) $(IDLFILE) - mv FoamX.[HC] $(FOAMXLIB_DIR) - -clean: - rm -rf $(FOAMXSERVER_JAVA_DIR) - rm -rf $(FOAMXLIB_DIR)/FoamX.[HC] - -#------------------------------------------------------------------------------ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/.nbattrs deleted file mode 100644 index e24bbb009c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/.nbattrs +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/.nbattrs deleted file mode 100644 index bed0094801..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/.nbattrs +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/ActionManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/ActionManager.java deleted file mode 100644 index 0983413506..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ActionManagement/ActionManager.java +++ /dev/null @@ -1,157 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.ActionManagement; - -import java.lang.ref.*; -import java.util.*; -import javax.swing.*; - -import FoamX.App; - -public class ActionManager - extends Object -{ - //-------------------------------------------------------------------------- - - protected Hashtable actionMap_; - - //-------------------------------------------------------------------------- - /** ActionManager constructor. */ - public ActionManager() - { - actionMap_ = new Hashtable(); - } - - //-------------------------------------------------------------------------- - - public boolean isRegistered(String actionName) - { - return actionMap_.containsKey(actionName); - } - - //-------------------------------------------------------------------------- - - public void registerAction(String actionName, Action action) - throws IllegalArgumentException - { - if (actionMap_.containsKey(actionName)) - { - throw new IllegalArgumentException - ( - "Duplication action name in ActionManager.registerAction" - + " method call." - ); - } - - actionMap_.put(actionName, action); - } - - //-------------------------------------------------------------------------- - - public void unregisterAction(String actionName) - throws IllegalArgumentException - { - if (!actionMap_.containsKey(actionName)) - { - throw new IllegalArgumentException - ( - "Duplication action name in ActionManager.unregisterAction" - + " method call." - ); - } - - actionMap_.remove(actionName); - } - - //-------------------------------------------------------------------------- - - public Action getAction(String actionName) - throws IllegalArgumentException - { - if (!actionMap_.containsKey(actionName)) - { - throw new IllegalArgumentException - ( - "Invalid action name in ActionManager.getAction method call." - ); - } - - return (Action)actionMap_.get(actionName); - } - - //-------------------------------------------------------------------------- - - public void registerActions(IActionProvider provider) - { - try - { - // Get provider's prefix string. - String prefix = provider.getPrefix(); - if (prefix != null) - { - prefix += "."; - } else { - prefix = ""; - } - - // Loop over all actions and register each. - javax.swing.Action[] actions = provider.getActions(); - for (int i = 0; i (%82<4?|Ep))Kf@5tK(ve^mLM+jE8}%UF%VuF zuSo#tmdM$gX^`fWSi^Szu=Y)*hUd_M%;ePYgz!8>MP>RfJb>74@oBQEe3;E&=l46} z3tz(6I3h;2HX8=^wk)t+ZPCuVF+cQ1A}6i z3Y^U$R`OqsO;ST=g~JjJ)@kZFoGtC_TcL*o7WTCWu>uz!vmt`>GLSgbURxAN8e@4N z9guIdov-btmC9?QFmJ7jM8-oSTxWZWy!e)&y@8?eVwLk*S~+6RJVxCsp?6Ua-}&?J z#EcIfN7f<7Ohzj$}VP~4EuaUB-FyhEE!Tt1CTazOCIBJa$DkXOdG+0aG{}+%3upiXpy7MLV T8#vRrnUXT#@lOY8Qr3P0|2(q8 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/App.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/App.form deleted file mode 100644 index 84483f54ea..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/App.form +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/App.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/App.java deleted file mode 100644 index 73f1ecc312..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/App.java +++ /dev/null @@ -1,1717 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX; - -import java.awt.*; -import java.awt.event.*; - -import java.io.*; -import java.net.URL; -import java.util.*; - -import javax.swing.*; - -import org.omg.CosNaming.*; - -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXError; -import FoamXServer.FoamXSYSError; - -import FoamXServer.HostBrowser.IHostBrowserHelper; -import FoamXServer.HostBrowser.IHostBrowser; - -import FoamX.Exceptions.FoamXException; -import FoamX.Exceptions.CaseBrowserIOException; -import FoamX.Util.FileEditor; -import FoamX.Util.MemoryView; -import FoamX.Util.MenuItemActionChangedListener; -import FoamX.Util.ResourceHelper; - -import FoamX.Options.OptionsManager; -import FoamX.ToolbarManagement.Toolbar; -import FoamX.ToolbarManagement.ToolbarManager; -import FoamX.ActionManagement.ActionManager; -import FoamX.TaskManagement.TaskManager; -import FoamX.Reporting.ReportingManager; -import FoamX.Reporting.ReportingWindow; -import FoamX.CaseManagement.CaseManager; -import FoamX.CaseManagement.CaseBrowserPanel; -import FoamX.WindowManagement.WindowManager; - -public class App - extends javax.swing.JFrame - implements FoamX.ActionManagement.IActionProvider -{ - //-------------------------------------------------------------------------- - - /** Singleton App object */ - protected static App mainFrame_; - - /** Singleton resource helper object. */ - protected static ResourceHelper resources_; - - /** Singleton options object. */ - protected static OptionsManager options_; - - /** Singleton window manager object. */ - protected static WindowManager windowManager_; - - /** Singleton reporting manager object. */ - protected static ReportingManager reportingManager_; - - /** Singleton action manager object. */ - protected static ActionManager actionManager_; - - /** Singleton task manager object. */ - protected static TaskManager taskManager_; - - /** Singleton toolbar manager object. */ - protected static ToolbarManager toolbarManager_; - - /** Singleton Corba host manager object. */ - protected static IHostBrowser hostBrowser_; - - /** Singleton case manager object. */ - protected static CaseManager caseManager_; - - //-------------------------------------------------------------------------- - - public static JFrame getRootFrame() - { - return mainFrame_; - } - public static ResourceHelper getResources() - { - return resources_; - } - public static OptionsManager getOptions() - { - return options_; - } - public static WindowManager getWindowManager() - { - return windowManager_; - } - public static ReportingManager getReportingManager() - { - return reportingManager_; - } - public static TaskManager getTaskManager() - { - return taskManager_; - } - public static ActionManager getActionManager() - { - return actionManager_; - } - public static ToolbarManager getToolbarManager() - { - return toolbarManager_; - } - public static IHostBrowser getHostBrowser() - { - return hostBrowser_; - } - public static CaseManager getCaseManager() - { - return caseManager_; - } - - //-------------------------------------------------------------------------- - - protected static final String IMAGE_SUFFIX = "Image"; - protected static final String LABEL_SUFFIX = "Label"; - protected static final String SHORT_DESCRIPTION_SUFFIX = "ShortDescription"; - protected static final String LONG_DESCRIPTION_SUFFIX = "LongDescription"; - protected static final String ACTION_SUFFIX = "Action"; - protected static final String TIP_SUFFIX = "Tooltip"; - - public static final int DEBUGLEVEL_ERROR = 0; - public static final int DEBUGLEVEL_NORMAL = 1; - public static final int DEBUGLEVEL_VERBOSE = 2; - public static final int DEBUGLEVEL_DEBUG = 3; - protected static int debugLevel_ = 1; - - protected Toolbar defaultToolbar_; - - /** Actions provided by this object. */ - protected Action[] defaultActions_; - - protected boolean showCallStack_ = true; - - //-------------------------------------------------------------------------- - //---- Static Methods - //-------------------------------------------------------------------------- - /** - * Main program entry point. - * @param args The command line arguments. - */ - public static void main(String args[]) - { - mainFrame_ = new App(); - - mainFrame_.initialise(args); - - mainFrame_.setVisible(true); - } - - //-------------------------------------------------------------------------- - //---- App Methods - //-------------------------------------------------------------------------- - /** FoamX Application constructor. */ - public App() - { - try - { - // Initialise the basic GUI. - initComponents(); - - // Sometimes Forte does not add menuBar so do explicitly - setJMenuBar(menuBar_); - - - // Initialise the resource helper object. - resources_ = new ResourceHelper("resources.FoamX"); - - // Initialise the reporting manager object. - // Any subsequent errors will be reported in the report window. - reportingManager_ = new ReportingManager(); - horizontalSplitPane_.setBottomComponent(reportingManager_); - - // Initialise the option manager object. - options_ = new OptionsManager(); - - // Initialise the window manager object. - windowManager_ = new WindowManager(desktopPanel_); - - // Initialise the task status bar. - taskManager_ = new TaskManager(); - statusPanel_.add(taskManager_.getStatusBar()); - - // Create the action manager object. - actionManager_ = new ActionManager(); - - // Create action objects. - defaultActions_ = new Action[8]; - defaultActions_[0] = new ExitAction("Exit"); - defaultActions_[1] = new ShowMemoryViewAction("ShowMemoryView"); - //defaultActions_[2] = new EditOptionsAction("EditOptions"); - defaultActions_[2] = new ShowHTMLAction("FoamX"); - defaultActions_[3] = new ShowPDFAction("DemoGuide"); - defaultActions_[4] = new ShowPDFAction("ProgrammersGuide"); - defaultActions_[5] = new ShowHTMLAction("Code"); - defaultActions_[6] = new ShowHTMLOnlineAction("Online"); - defaultActions_[7] = new ShowHTMLAction("AboutFoamX"); - - // Register all actions with the action manager. - actionManager_.registerActions(this); - actionManager_.registerActions(windowManager_); - - // Create toolbar manager object and add to main frame. - toolbarManager_ = new ToolbarManager(); - GridBagConstraints gbc = new java.awt.GridBagConstraints(); - gbc.fill = java.awt.GridBagConstraints.HORIZONTAL; - gbc.gridx = 0; - gbc.gridy = 0; - gbc.weightx = 1.0; - gbc.anchor = java.awt.GridBagConstraints.NORTHWEST; - getContentPane().add(toolbarManager_, gbc); - - // Initialise the default user interface. - initialiseDefaultGUI(); - - //------------------------------------------------------------------ - // Now, initialise the case manager object. - caseManager_ = new CaseManager(); - verticalSplitPane_.setLeftComponent(caseManager_); - - // Register the reporting manager as a listener to the case browser. - caseManager_.addCaseManagerListener(reportingManager_); - - //------------------------------------------------------------------ - // Get the debug level. - debugLevel_ = Integer.parseInt - ( - options_.getProperty("FoamX.DebugLevel", "1") - ); - - if (debugLevel_ < App.DEBUGLEVEL_ERROR) - { - debugLevel_ = App.DEBUGLEVEL_ERROR; - } - - if (debugLevel_> App.DEBUGLEVEL_DEBUG) - { - debugLevel_ = App.DEBUGLEVEL_DEBUG; - } - - //------------------------------------------------------------------ - // Get the frame size. - int frameWidth = Integer.parseInt - ( - options_.getProperty("FoamX.FrameWidth", "800") - ); - - int frameHeight = Integer.parseInt - ( - options_.getProperty("FoamX.FrameHeight", "600") - ); - - // Repack and reposition. - pack(); - java.awt.Dimension screenSize = - java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(frameWidth, frameHeight)); - setLocation - ( - Math.max((screenSize.width - frameWidth ) / 2, 0), - Math.max((screenSize.height - frameHeight) / 2, 0) - ); - horizontalSplitPane_.setDividerLocation(0.90F); - verticalSplitPane_.setDividerLocation(0.50F); - -// verticalSplitPane_.setSize -// ( -// new java.awt.Dimension -// ( -// 300, -// verticalSplitPane_.getSize().height -// ) -// ); - -// horizontalSplitPane_.setDividerLocation(0.80F); -// verticalSplitPane_.setDividerLocation(0.90F); -// horizontalSplitPane_.setSize -// ( -// new java.awt.Dimension -// ( -// horizontalSplitPane_.getSize().width, -// frameHeight - 200 -// ) -// ); - } - catch (Exception ex) - { - // Can't use App's exception handler here - // since we are in the constructor. - System.err.println(ex.getMessage()); - ex.printStackTrace(); - System.exit(-1); - } - } - - //-------------------------------------------------------------------------- - /** Initialise the FoamX Application object. */ - void initialise(String[] args) - { - try - { - // Initialise the host manager reference. - if (initialiseHostBrowser(args)) - { - // Refresh the case browser to show the hosts. - caseManager_.getCaseBrowser().refreshCaseBrowser(false); - - // Do some simple command line parsing - - int argI = 0; - - while - ( - (argI < args.length) - && (args[argI].substring(0,4).equals("-ORB")) - ) - { - argI += 2; - } - - String hostName = null; - String caseRoot = null; - String caseName = null; - String action = "open"; - - if (argI < args.length) - { - hostName = args[argI++]; - } - if (argI < args.length) - { - caseRoot = args[argI++]; - } - if (argI < args.length) - { - caseName = args[argI++]; - } - if (argI < args.length) - { - action = args[argI++]; - } - - if (hostName != null) - { - if - ( - !caseManager_.getCaseBrowser().serverStart - ( - hostName, caseRoot, caseName, action - ) - ) - { - throw new FoamXException - ( - "Cannot find host " + hostName + " in name service" - ); - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public boolean initialiseHostBrowser(String[] args) - { - boolean bret = false; - - try - { - if (hostBrowser_ == null) - { - // Create th'orb. - org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init - ( - args, - options_ - ); - - // Get the root naming context from the naming service. - NamingContextExt rootContext = null; - org.omg.CORBA.Object nsObj = null; - - try - { - // Try resolve_initial_references first. - nsObj = orb.resolve_initial_references("PNameService"); - - // Print nice status message. - App.printMessage - ( - App.DEBUGLEVEL_VERBOSE, - "Connecting to name service " - + orb.toString() - ); - } - catch (Exception ex) - { - // The resolve_initial_references call didn't work so try - // and read the name service IOR written to the ns.ref file - // in the FoamX user directory. - String userPath = options_.foamXUserConfigPath(); - if (userPath != null) - { - String nsFileName = userPath + "/ns.ref"; - - // Print nice status message. - App.printMessage - ( - App.DEBUGLEVEL_VERBOSE, - "Reading name service reference from '" - + nsFileName + "'." - ); - - // Check that the nameservice reference file exists. - File nsFile = new File(nsFileName); - if (nsFile.exists()) - { - BufferedReader br = new BufferedReader - ( - new FileReader(nsFileName) - ); - String ior = br.readLine(); - nsObj = orb.string_to_object(ior); - - // Print nice status message. - App.printMessage - ( - App.DEBUGLEVEL_DEBUG, - "Connecting to name service." - ); - } - else - { - // Print error message. - App.printMessage - ( - App.DEBUGLEVEL_ERROR, - "Name service reference file not found in '" - + nsFileName + "'." - ); - } - } - } - - try - { - rootContext = NamingContextExtHelper.narrow(nsObj); - - if (rootContext == null || rootContext._non_existent()) - { - rootContext = null; - throw new FoamXException - ( - "Cannot find rootContext in name service." - ); - } - - // Print success message. - App.printMessage - ( - App.DEBUGLEVEL_NORMAL, - "Successfully connected to name service." - ); - } - catch (Exception ex) - { - throw new FoamXException - ( - "Default name service could not be contacted." - ); - } - - - // Get a reference to the host browser. - try - { - NameComponent[] name = new NameComponent[1]; - name[0] = new NameComponent("FoamXHostBrowser", ""); - - org.omg.CORBA.Object obj = rootContext.resolve(name); - hostBrowser_ = IHostBrowserHelper.narrow(obj); - if - ( - hostBrowser_ == null - || hostBrowser_._non_existent() - ) - { - hostBrowser_ = null; - throw new FoamXException - ( - "Cannot find FoamXHostBrowser in name service." - ); - } - } - catch (Exception ex) - { - throw new FoamXException - ( - "Foam Host Browser object could not be contacted." - ); - } - } - - // Indicate success. - bret = true; - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - bret = false; - } - - return bret; - } - - //-------------------------------------------------------------------------- - - public static void handleException(FoamXIOError ioErr) - { - // Beep. - Toolkit.getDefaultToolkit().beep(); - - String message = - ioErr.errorMessage - + "\nin file " + ioErr.ioFileName + "\n" - + " start at line " + new Integer(ioErr.ioStartLineNo).toString(); - - if (ioErr.ioEndLineNo > 0) - { - message += " ending at line " + new Integer(ioErr.ioEndLineNo).toString(); - } - - if (debugLevel_ >= App.DEBUGLEVEL_DEBUG) - { - message += - "\nin function " + ioErr.methodName - + "\nin file " + ioErr.fileName - + " at line " + new Integer(ioErr.lineNo).toString(); - } - - // Print the exception's message - printMessage(message); - - - if (debugLevel_ >= App.DEBUGLEVEL_DEBUG) - { - ioErr.printStackTrace(); - } - - String fileName = ioErr.ioFileName; - int subPos = fileName.indexOf("::"); - if (subPos != -1) - { - fileName = fileName.substring(0, subPos); - } - message += "\n\nDo you want to edit " + fileName + "?"; - - // Ask whether to open editor on file - if - ( - JOptionPane.showConfirmDialog - ( - App.getRootFrame(), - message, - "FoamXIOError", - JOptionPane.YES_NO_OPTION, - JOptionPane.ERROR_MESSAGE - ) - == JOptionPane.OK_OPTION - ) - { - new FileEditor - ( - true, // modal - false, // no follow mode - null, // no caseBrowser - fileName, - ioErr.ioStartLineNo, - ioErr.ioEndLineNo, - 0 - ); - } - } - - //-------------------------------------------------------------------------- - - /* exception same as FoamXIOError but carries extra caseBrowser field */ - public static void handleException(CaseBrowserIOException cbErr) - { - FoamXIOError ioErr = cbErr.getIoErr(); - - // Beep. - Toolkit.getDefaultToolkit().beep(); - - String message = - ioErr.errorMessage - + "\nin file " + ioErr.ioFileName + "\n" - + " start at line " + new Integer(ioErr.ioStartLineNo).toString(); - - if (ioErr.ioEndLineNo > 0) - { - message += " ending at line " + new Integer(ioErr.ioEndLineNo).toString(); - } - - if (debugLevel_ >= App.DEBUGLEVEL_DEBUG) - { - message += - "\nin function " + ioErr.methodName - + "\nin file " + ioErr.fileName - + " at line " + new Integer(ioErr.lineNo).toString(); - } - - // Print the exception's message - printMessage(message); - - if (debugLevel_ >= App.DEBUGLEVEL_DEBUG) - { - cbErr.printStackTrace(); - } - - String fileName = ioErr.ioFileName; - int subPos = fileName.indexOf("::"); - if (subPos != -1) - { - fileName = fileName.substring(0, subPos); - } - message += "\n\nDo you want to edit " + fileName + "?"; - - // Ask whether to open editor on file - if - ( - JOptionPane.showConfirmDialog - ( - App.getRootFrame(), - message, - "FoamXIOError", - JOptionPane.YES_NO_OPTION, - JOptionPane.ERROR_MESSAGE - ) - == JOptionPane.OK_OPTION - ) - { - new FileEditor - ( - true, // modal - false, // edit, not follow mode - cbErr.getCaseBrower(), // use caseBrowser to get file - fileName, - ioErr.ioStartLineNo, - ioErr.ioEndLineNo, - 0 - ); - } - } - - //-------------------------------------------------------------------------- - - public static void handleException(FoamXError fxErr) - { - // Beep. - Toolkit.getDefaultToolkit().beep(); - - String message = fxErr.errorMessage; - - if (debugLevel_ >= App.DEBUGLEVEL_DEBUG) - { - message += - "\nin function " + fxErr.methodName - + "\nin file " + fxErr.fileName - + " at line " + new Integer(fxErr.lineNo).toString(); - } - - // Print the exception's message - printMessage(message); - - //TODO: originates maybe from opening case so reportingWindow not valid - //printStack(fxErr); - if (debugLevel_ >= App.DEBUGLEVEL_DEBUG) - { - fxErr.printStackTrace(); - } - - // Print the message in a dialogue box - JOptionPane.showMessageDialog - ( - App.getRootFrame(), - message, - "FoamXError", - JOptionPane.ERROR_MESSAGE - ); - } - - //-------------------------------------------------------------------------- - - /** machine can't be reached */ - public static void handleException(FoamXSYSError sysErr) - { - // Beep. - Toolkit.getDefaultToolkit().beep(); - - String message = sysErr.errorMessage; - - if (debugLevel_ >= App.DEBUGLEVEL_DEBUG) - { - message += - "\nin function " + sysErr.methodName - + "\nin file " + sysErr.fileName - + " at line " + new Integer(sysErr.lineNo).toString(); - } - - // Print the exception's message - printMessage(message); - - // Print the message in a dialogue box - JOptionPane.showMessageDialog - ( - App.getRootFrame(), - message, - "FoamXSYSError", - JOptionPane.ERROR_MESSAGE - ); - - // Refresh the case browser to show the hosts. - CaseBrowserPanel caseBrowserPanel = caseManager_.getCaseBrowser(); - if (caseBrowserPanel != null) - { - caseBrowserPanel.setHostOffLine - ( - sysErr.hostName, - "" - ); - } - //caseBrowserPanel.refreshCaseBrowser(false); - } - - //-------------------------------------------------------------------------- - - public static void handleException(FoamXException fxEx) - { - // Beep. - Toolkit.getDefaultToolkit().beep(); - - //printStack(fxErr); - fxEx.printStackTrace(); - - // Print the exception's message - printMessage(fxEx.getMessage()); - - // Print the message in a dialogue box - JOptionPane.showMessageDialog - ( - App.getRootFrame(), - fxEx.getMessage(), - "FoamXException", - JOptionPane.ERROR_MESSAGE - ); - } - - //-------------------------------------------------------------------------- - - public static void handleException(MissingResourceException ex) - { - // Beep. - Toolkit.getDefaultToolkit().beep(); - - //printStack(fxErr); - ex.printStackTrace(); - - - // Print the exception's message - printMessage(ex.getMessage()); - - // Print the message in a dialogue box - JOptionPane.showMessageDialog - ( - App.getRootFrame(), - ex.getMessage() - + " for key " + ex.getKey() + " for resource " + ex.getClassName(), - "MissingResourceException", - JOptionPane.ERROR_MESSAGE - ); - } - - //-------------------------------------------------------------------------- - - public static void handleException(Exception ex) - { - // Beep. - Toolkit.getDefaultToolkit().beep(); - - //printStack(fxErr); - ex.printStackTrace(); - - // Print the exception's message - printMessage(ex.getMessage()); - - // Print the message in a dialogue box - JOptionPane.showMessageDialog - ( - App.getRootFrame(), - ex.getMessage(), - ex.getClass().toString(), - JOptionPane.ERROR_MESSAGE - ); - } - - //-------------------------------------------------------------------------- - - public static void handleAllExceptions(Exception ex) - { - if (ex instanceof FoamXIOError) - { - handleException((FoamXIOError)ex); - } - else if (ex instanceof FoamXError) - { - handleException((FoamXError)ex); - } - else if (ex instanceof FoamXSYSError) - { - handleException((FoamXSYSError)ex); - } - else if (ex instanceof FoamXException) - { - handleException((FoamXException)ex); - } - else if (ex instanceof CaseBrowserIOException) - { - handleException((CaseBrowserIOException)ex); - } - else if (ex instanceof MissingResourceException) - { - handleException((MissingResourceException)ex); - } - else - { - handleException(ex); - } - } - - //-------------------------------------------------------------------------- - - public static void printMessage(String message) - { - // Print message to reporting window if we have one. - if (reportingManager_ != null) - { - ReportingWindow reportWin = reportingManager_.getReportingWindow - ( - "FoamX" - ); - - if (reportWin != null) - { - // Print message into main reporting window. - reportWin.printMessage(message); - } - else - { - System.err.println(message); - } - } - else - { - System.err.println(message); - } - } - - //-------------------------------------------------------------------------- - - public static void printStack(Exception ex) - { - // Print message to reporting window if we have one. - if (reportingManager_ != null) - { - ReportingWindow reportWin = reportingManager_.getReportingWindow - ( - "FoamX" - ); - - if (reportWin != null) - { - ByteArrayOutputStream strStream = new ByteArrayOutputStream(); - PrintStream printStream = new PrintStream(strStream); - - // Print message into main reporting window. - ex.printStackTrace(printStream); - } - else - { - // Print the stack trace to standard error. - ex.printStackTrace(); - } - } - } - - //-------------------------------------------------------------------------- - - public static void printMessage(int level, String message) - { - if (debugLevel_ >= level) - { - printMessage(message); - } - } - - - //-------------------------------------------------------------------------- - - public static void pm(Object o) - { - java.lang.reflect.Method ms[] = o.getClass().getMethods(); - System.out.println(o.getClass().getName()); - for(int i = 0; i < ms.length; i++) - { - System.out.print - ( - ms[i].getReturnType().getName() - + " " - + ms[i].getName() - + "(" - ); - java.lang.Class cs[] = ms[i].getParameterTypes(); - for(int j = 0; j < cs.length; j++) - { - System.out.println - ( - " " + cs[j].getName() + - ((j==cs.length-1)?"":",") - ); - } - System.out.println(")"); - } - } - - //-------------------------------------------------------------------------- - - protected void initialiseDefaultGUI() - { - try - { - // Initialise menu and tool bars. - initialiseMenubar(); - initialiseToolbar(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** - * Initialise the menubar for the app. By default this pulls the - * definition of the menu from the associated resource file. - */ - protected void initialiseMenubar() - { - try - { - menuBar_.removeAll(); - - // Get names of menu items to create from resource file. - String[] menuKeys = - resources_.getResourceStringArray("FoamX.Menubar"); - - for (int i=0; i 0) - { - - // Create default toolbar. - defaultToolbar_ = toolbarManager_.addToolbar - ( - "Default", - "Default" - ); - - - for (int i=0; i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserModel.java deleted file mode 100644 index dcdba133ec..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserModel.java +++ /dev/null @@ -1,887 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import java.util.Hashtable; -import java.util.Properties; -import java.util.Enumeration; -import javax.swing.*; -import javax.swing.tree.*; - -import org.omg.CosNaming.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; - -import FoamXServer.*; -import FoamXServer.CaseServer.*; - -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.CaseBrowser.ICaseBrowserHolder; -import FoamXServer.CaseDescriptor; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.HostBrowser.IHostBrowser; - -public class CaseBrowserModel - extends DefaultTreeModel -{ - //-------------------------------------------------------------------------- - - protected IHostBrowser hostBrowser_; - protected DefaultMutableTreeNode root_; - protected Hashtable hostMap_; // from host to treeNode - protected Hashtable rootDirMap_; // from root to treeNode - protected Hashtable keyMap_; // from key (root/case) to treeNode - protected ICaseBrowser caseBrowserCopy_; - - //-------------------------------------------------------------------------- - /** CaseManagerModel constructor. */ - public CaseBrowserModel() - { - super(new DefaultMutableTreeNode()); - - try - { - // Get reference to root node. - root_ = (DefaultMutableTreeNode)getRoot(); - - // Create host map. - hostMap_ = new Hashtable(10); - rootDirMap_ = new Hashtable(10); - keyMap_ = new Hashtable(10); - - // Initialise the model. - // Show only the Hosts node unless the model is refreshed. - hostBrowser_ = null; - root_.setUserObject - ( - new ContextInfo("Hosts", ContextInfo.INVALID_REF) - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Initialise the (licenseHosts) tree model. */ - protected void initialiseModel() - { - try - { - // Get host manager reference. - hostBrowser_ = App.getHostBrowser(); - - if (hostBrowser_ != null) - { - // Set root node's context info object. - root_.removeAllChildren(); - root_.setUserObject - ( - new ContextInfo("Hosts", ContextInfo.ROOTCONTEXT) - ); - - // Add a host node for each host. - HostDescriptor[] licensedHosts = hostBrowser_.hosts(); - for (int i=0; i - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserPanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserPanel.java deleted file mode 100644 index e10bbfefa2..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseBrowserPanel.java +++ /dev/null @@ -1,3356 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import java.awt.event.ActionEvent; -import java.awt.event.MouseEvent; -import java.util.*; -import javax.swing.*; -import javax.swing.tree.*; -import javax.swing.event.*; -import java.awt.*; - -import org.omg.CosNaming.*; -import org.omg.CORBA.StringHolder; - -import FoamXServer.ApplicationDescriptor; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXSYSError; -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.CaseDescriptor; -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.CaseServer.ICaseServerHolder; -import FoamXServer.CaseServer.IFoamProperties; -import FoamXServer.CasePostServer.ICasePostServer; -import FoamXServer.CasePostServer.ICasePostServerHolder; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.ApplicationDescriptor; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.BusyCursor; -import FoamX.Util.CollapseTreeAction; -import FoamX.Util.ExpandTreeAction; -import FoamX.Util.FoamXTreeRenderer; -import FoamX.Tools.InvokeUtilityAction; -import FoamX.ToolbarManagement.Toolbar; -import FoamX.ProcessManagement.ProcessEditor; -import FoamX.Editors.CompoundEditor; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryCache; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.WordCache; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.ListCache; - -public class CaseBrowserPanel - extends javax.swing.JPanel - implements FoamX.Util.TabSelection -{ - //-------------------------------------------------------------------------- - - public static int SELECT_HOST_MODE = 1; - public static int SELECT_ROOT_MODE = 2; - public static int SELECT_CASE_MODE = 3; - public static int OPEN_CASE_MODE = 4; - - protected CaseBrowserModel model_; - protected EventListenerList listenerList_; - protected Toolbar toolBar_; - protected int selectionMode_; - - // Case Browser actions. - StartCaseBrowserAction startCaseBrowserAction_; - StopCaseBrowserAction stopCaseBrowserAction_; - StartProcessEditorAction startProcessEditorAction_; - EditFoamControlDictAction editFoamControlDictAction_; - OpenRootAction openRootAction_; - OpenCaseAction openCaseAction_; - //OpenCasePostAction openCasePostAction_; - CreateCaseAction createCaseAction_; - //ImportCaseAction importCaseAction_; - DeleteCaseAction deleteCaseAction_; - CloneCaseAction cloneCaseAction_; - UnlockCaseAction unlockCaseAction_; - - SelectHostAction selectHostAction_; - SelectRootAction selectRootAction_; - SelectCaseAction selectCaseAction_; - - RefreshAction refreshAction_; - ExpandTreeAction expandAllAction_; - CollapseTreeAction collapseAllAction_; - - - //-------------------------------------------------------------------------- - /** CaseBrowserPanel constructor. - * - * Implements a panel where users can select hosts to run caseBrowser on - * and select root and case. - * Works in one of three modes, determined by selectionMode argument: - * - caseserver mode: normal operation. Double clicking on case starts - * editing of case. (i.e. fires caseStatus events) - * - host selection mode: used for selecting hosts. - * Double clicking on hosts fires hostSelection events - * - root selection mode: used for selecting root directories. - * Double clicking on roots fires rootSelection events - * - case selection mode: used for selecting case. Double clicking on - * case just selects case. (i.e. fires caseSelection events) - * - * For selection mode one normally reuses the CaseBrowserModel - * so only one ICaseBrowser per node runs. - */ - public CaseBrowserPanel(CaseBrowserModel model, int selectionMode) - { - try - { - selectionMode_ = selectionMode; - - // Initialise the GUI components. - initComponents(); - - // Create listener list. - listenerList_ = new EventListenerList(); - - // Set the tree model and renderer. - if (model != null) - { - model_ = model; - } - else - { - model_ = new CaseBrowserModel(); - } - tree_.setModel(model_); - tree_.setCellRenderer(new FoamXTreeRenderer()); - tree_.putClientProperty - ( - "JTree.lineStyle", - App.getResources().getResourceString("Tree.LineStyle") - ); - - - // Initialise actions. - startCaseBrowserAction_ = new StartCaseBrowserAction(); - stopCaseBrowserAction_ = new StopCaseBrowserAction(); - startProcessEditorAction_ = new StartProcessEditorAction(); - editFoamControlDictAction_ = new EditFoamControlDictAction(); - - openRootAction_ = new OpenRootAction(); - openCaseAction_ = new OpenCaseAction(); - //openCasePostAction_ = new OpenCasePostAction(); - createCaseAction_ = new CreateCaseAction(); - //importCaseAction_ = new ImportCaseAction(); - deleteCaseAction_ = new DeleteCaseAction(); - cloneCaseAction_ = new CloneCaseAction(); - unlockCaseAction_ = new UnlockCaseAction(); - - selectHostAction_ = new SelectHostAction(); - selectRootAction_ = new SelectRootAction(); - selectCaseAction_ = new SelectCaseAction(); - - refreshAction_ = new RefreshAction(); - expandAllAction_ = new ExpandTreeAction(tree_); - collapseAllAction_ = new CollapseTreeAction(tree_); - - if (selectionMode_ == OPEN_CASE_MODE) - { - // Initialise toolbar. - toolBar_ = App.getToolbarManager().addToolbar - ( - "FoamXCaseBrowser", - "Case Browser" - ); - - // Initialise toolbar. - addToolbarButton(startProcessEditorAction_); - toolBar_.addSeparator(); - addToolbarButton(startCaseBrowserAction_); - addToolbarButton(stopCaseBrowserAction_); - toolBar_.addSeparator(); - addToolbarButton(createCaseAction_); - //addToolbarButton(importCaseAction_); - addToolbarButton(openCaseAction_); - //addToolbarButton(openCasePostAction_); - addToolbarButton(deleteCaseAction_); - addToolbarButton(cloneCaseAction_); - addToolbarButton(unlockCaseAction_); - toolBar_.addSeparator(); - addToolbarButton(editFoamControlDictAction_); - toolBar_.addSeparator(); - addToolbarButton(refreshAction_); - addToolbarButton(expandAllAction_); - addToolbarButton(collapseAllAction_); - - } - // Reset all actions. - resetActions(true); - - // Listen out for selection events. - tree_.getSelectionModel().addTreeSelectionListener - ( - new TreeSelectionListener() - { - public void valueChanged(TreeSelectionEvent evt) - { - OnTreeSelectionChanged(evt); - } - } - ); - - if (model == null) - { - // Make sure the tree is displayed properly. - updateUI(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Close all case browsers. */ - public void shutdown() - { - try - { - // Close all case browsers. - model_.shutdown(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Get selection mode */ - public int getSelectionMode() - { - return selectionMode_; - } - - //-------------------------------------------------------------------------- - /** Set selection mode */ - public void setSelectionMode(int selectionMode) - { - selectionMode_ = selectionMode; - } - - //-------------------------------------------------------------------------- - /** Get tree model */ - public CaseBrowserModel getModel() - { - return model_; - } - - //-------------------------------------------------------------------------- - /** Set tree model */ - public void setModel(CaseBrowserModel model) - { - model_ = model; - } - - //-------------------------------------------------------------------------- - /** Refresh the case browser model. */ - public void refreshCaseBrowser(boolean forceReread) - { - //// Refresh the hosts lists - //model_.refreshHosts(); - - // Refresh the case browser tree model. - model_.refresh(forceReread); - tree_.updateUI(); - } - - //-------------------------------------------------------------------------- - /** Refresh the case browser model for single directory only */ - public void refreshRoot(String hostName, String caseRoot) - { - // Refresh the case browser tree model. - model_.refreshRoot(hostName, caseRoot); - tree_.updateUI(); - } - - //-------------------------------------------------------------------------- - /** Refresh the case browser model for single directory only */ - public void refreshRoot(ICaseBrowser caseBrowser, String caseRoot) - throws FoamXError - { - // Get hostname from browser - StringHolder holder = new StringHolder(); - caseBrowser.getHostName(holder); - - refreshRoot(holder.value, caseRoot); - } - - //-------------------------------------------------------------------------- - /** Refresh a single case in the case browser model. */ - public void refreshCaseNode(String caseRoot, String caseName) - { - // Refresh the case browser tree model. - model_.refreshCaseNode - ( - caseRoot, - caseName - ); - tree_.updateUI(); - } - - //-------------------------------------------------------------------------- - /** Delete a single case in the case browser model. */ - public void deleteCaseNode(String caseRoot, String caseName) - { - // Refresh the case browser tree model. - model_.deleteCaseNode - ( - caseRoot, - caseName - ); - tree_.updateUI(); - } - - //-------------------------------------------------------------------------- - /** Refresh the case browser model for hosts as well as roots. */ - public void refreshAll() - { - // Refresh the hosts lists - model_.refreshHosts(); - - // Reread roots/cases - model_.refresh(true); - - tree_.updateUI(); - } - - //-------------------------------------------------------------------------- - /** Set host browser status. */ - public void setHostOffLine(String hostName, String msg) - { - // Refresh the host browser with information on a certain host - model_.setHostOffLine - ( - hostName, - msg - ); - tree_.updateUI(); - } - - //-------------------------------------------------------------------------- - /** Handle commandline opening of various */ - public boolean serverStart - ( - String hostName, - String caseRoot, - String caseName, - String action - ) - { - if (hostName != null) - { - Rectangle rect = new Rectangle(); - int row = getHostPos(hostName, rect); - if (row == -1) - { - return false; - } - - // Insert host-open event - OpenHostThread openHost = new OpenHostThread(this, hostName); - SwingUtilities.invokeLater(openHost); - } - - if (caseRoot != null) - { - // Insert root-open event - OpenRootThread openRoot = new OpenRootThread(this, caseRoot); - SwingUtilities.invokeLater(openRoot); - } - - if ((caseName != null) && (action != null)) - { - if (action.equals("open")) - { - // Insert case-open event - OpenCaseThread openCase = new OpenCaseThread(this, caseName); - SwingUtilities.invokeLater(openCase); - } - else if (action.equals("post")) - { - // Insert case-post event - PostCaseThread postCase = new PostCaseThread(this, caseName); - SwingUtilities.invokeLater(postCase); - } - } - return true; - } - - //-------------------------------------------------------------------------- - /** Helper class to convert tree entry into x,y */ - private int getHostPos(String hostName, Rectangle rect) - { - for(int row = 0; row < tree_.getRowCount(); row++) - { - Rectangle rowRect = tree_.getRowBounds(row); - - TreePath tp = tree_.getPathForLocation(rowRect.x, rowRect.y); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode hostNode = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)hostNode.getUserObject(); - String contextName = context.getText(); - - if (context.isHost() && contextName.equals(hostName)) - { - // Make sure the node is selected. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp); - - rect.x = rowRect.x; - rect.y = rowRect.y; - - return row; - } - } - } - - return -1; - } - - //-------------------------------------------------------------------------- - /** Helper class to convert tree entry into x,y */ - private int getRootPos(String caseRoot, Rectangle rect) - { - for(int row = 0; row < tree_.getRowCount(); row++) - { - Rectangle rowRect = tree_.getRowBounds(row); - - TreePath tp = tree_.getPathForLocation(rowRect.x, rowRect.y); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode node = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)node.getUserObject(); - - if - ( - context.isCaseRoot() - && (caseRoot.equals(context.getCaseRoot())) - ) - { - // Make sure the node is selected. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp); - - rect.x = rowRect.x; - rect.y = rowRect.y; - - return row; - } - } - } - - return -1; - } - - //-------------------------------------------------------------------------- - /** Helper class to convert tree entry into x,y */ - private int getCaseNamePos(String caseName, Rectangle rect) - { - for(int row = 0; row < tree_.getRowCount(); row++) - { - Rectangle rowRect = tree_.getRowBounds(row); - - TreePath tp = tree_.getPathForLocation(rowRect.x, rowRect.y); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode node = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)node.getUserObject(); - - if - ( - context.isCaseName() - && (context.getCaseName().equals(caseName)) - ) - { - // Make sure the node is selected. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp); - - rect.x = rowRect.x; - rect.y = rowRect.y; - - return row; - } - } - } - - return -1; - } - - //-------------------------------------------------------------------------- - /** Thread class for mouse selection action. */ - protected class OpenHostThread implements Runnable - { - JComponent comp_; - String hostName_; - - public OpenHostThread(JComponent comp, String hostName) - { - super(); - comp_ = comp; - hostName_ = hostName; - } - - public void run() - { - Rectangle rect = new Rectangle(); - int row = getHostPos(hostName_, rect); - - if (row != -1) - { - // Found host at row. Do as if double-clicked on it. - if (!tree_.isExpanded(row)) - { - MouseEvent evt = - new MouseEvent - ( - comp_, // component - 0, // id - 8888888888888L, // when - 0, // modifiers - rect.x, // x - rect.y, // y - 2, // click count - false // popup trigger - ); - OnMouseClicked(evt); - } - } - } - } - - //-------------------------------------------------------------------------- - /** Thread class for mouse selection action. */ - protected class OpenRootThread implements Runnable - { - JComponent comp_; - String caseRoot_; - - public OpenRootThread(JComponent comp, String caseRoot) - { - super(); - comp_ = comp; - caseRoot_ = caseRoot; - } - - public void run() - { - Rectangle rect = new Rectangle(); - int row = getRootPos(caseRoot_, rect); - - if (row != -1) - { - // Found caseRoot at row. Expand tree to show cases. - if (!tree_.isExpanded(row)) - { - openRootAction_.actionPerformed(null); - } - } - } - } - - //-------------------------------------------------------------------------- - /** Thread class for mouse selection action. */ - protected class OpenCaseThread implements Runnable - { - JComponent comp_; - String caseName_; - - public OpenCaseThread(JComponent comp, String caseName) - { - super(); - comp_ = comp; - caseName_ = caseName; - } - - public void run() - { - Rectangle rect = new Rectangle(); - int row = getCaseNamePos(caseName_, rect); - - if (row != -1) - { - openCaseAction_.actionPerformed(null); - } - } - } - - //-------------------------------------------------------------------------- - /** Thread class for mouse selection action. */ - protected class PostCaseThread implements Runnable - { - JComponent comp_; - String caseName_; - - public PostCaseThread(JComponent comp, String caseName) - { - super(); - comp_ = comp; - caseName_ = caseName; - } - - public void run() - { - Rectangle rect = new Rectangle(); - int row = getCaseNamePos(caseName_, rect); - - if (row != -1) - { - //openCasePostAction_.actionPerformed(null); - } - } - } - - - //-------------------------------------------------------------------------- - /** Reset all actions to the default (disabled) state. */ - protected void resetActions(boolean tabSelected) - { - startCaseBrowserAction_.setEnabled(false); - stopCaseBrowserAction_.setEnabled(false); - startProcessEditorAction_.setEnabled(false); - editFoamControlDictAction_.setEnabled(false); - openRootAction_.setEnabled(false); - openCaseAction_.setEnabled(false); - //openCasePostAction_.setEnabled(false); - createCaseAction_.setEnabled(false); - //importCaseAction_.setEnabled(false); - deleteCaseAction_.setEnabled(false); - cloneCaseAction_.setEnabled(false); - unlockCaseAction_.setEnabled(false); - - selectHostAction_.setEnabled(false); - selectRootAction_.setEnabled(false); - selectCaseAction_.setEnabled(false); - - // Always available if this tab is selected. - refreshAction_.setEnabled(tabSelected); - expandAllAction_.setEnabled(tabSelected); - collapseAllAction_.setEnabled(tabSelected); - } - - //-------------------------------------------------------------------------- - /** Set all actions according to the current selection. */ - protected void setActions() - { - try - { - // Reset all actions. - resetActions(true); - - TreePath tp = tree_.getSelectionModel().getSelectionPath(); - if (tp != null) - { - DefaultMutableTreeNode node = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)node.getUserObject(); - - if (context != null) - { - if (context.isHost()) - { - if (selectionMode_ == SELECT_HOST_MODE) - { - selectHostAction_.setEnabled(true); - } - else - { - if (context.getCaseBrowser() == null) - { - startCaseBrowserAction_.setEnabled(true); - } - else - { - stopCaseBrowserAction_.setEnabled(true); - startProcessEditorAction_.setEnabled(true); - editFoamControlDictAction_.setEnabled(true); - } - } - } - else if (context.isCaseRoot()) - { - if (selectionMode_ == OPEN_CASE_MODE) - { - startProcessEditorAction_.setEnabled(true); - editFoamControlDictAction_.setEnabled(true); - createCaseAction_.setEnabled(true); - //importCaseAction_.setEnabled(true); - openRootAction_.setEnabled(true); - } - else if (selectionMode_ == SELECT_ROOT_MODE) - { - selectRootAction_.setEnabled(true); - } - else if (selectionMode_ == SELECT_CASE_MODE) - { - openRootAction_.setEnabled(true); - } - } - else if (context.isCaseName()) - { - if (selectionMode_ == OPEN_CASE_MODE) - { - startProcessEditorAction_.setEnabled(true); - editFoamControlDictAction_.setEnabled(true); - openCaseAction_.setEnabled(true); - //openCasePostAction_.setEnabled(true); - deleteCaseAction_.setEnabled(true); - cloneCaseAction_.setEnabled(true); - //if (!context.isCaseManaged()) - //{ - // importCaseAction_.setEnabled(true); - //} - unlockCaseAction_.setEnabled(true); - } - else if (selectionMode_ == SELECT_CASE_MODE) - { - selectCaseAction_.setEnabled(true); - } - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - protected void addToolbarButton(AbstractAction action) - { - // Add new button to the toolbar using the action object. - javax.swing.JButton button = toolBar_.add(action); - - // Set the tooltip text. - button.setToolTipText - ( - (String)action.getValue(Action.SHORT_DESCRIPTION) - ); - button.setText(""); - button.setFont(toolBar_.getFont()); // Use same font as toolbar. - } - - //-------------------------------------------------------------------------- - - protected void buildUtilsMenu(JPopupMenu contextMenu, ContextInfo context) - { - try - { - // Get case browser reference from context info object. - ICaseBrowser caseBrowser = context.getCaseBrowser(); - if (caseBrowser != null) - { - boolean caseNode = context.isCaseName(); - - Hashtable utilityMenuMap = new Hashtable(5); - - // Construct root utilities menu and add to context menu. - JMenu utilitiesMenu = new JMenu("Foam Utilities"); - utilitiesMenu.setFont(contextMenu_.getFont()); - contextMenu_.add(utilitiesMenu); - - // Get utility descriptors. - ApplicationDescriptor[] utilities = - caseBrowser.foamProperties().utilities(); - - for (int i = 0; i 0 - ) - { - // Add all required sub-menus. - StringTokenizer tok= new StringTokenizer - ( - utilities[i].category, - "/" - ); - String catKey = new String(); - while (tok.hasMoreTokens()) - { - String category = tok.nextToken(); - catKey = catKey + category; - if (utilityMenuMap.containsKey(catKey)) - { - menu = (JMenu)utilityMenuMap.get(catKey); - } - else - { - JMenu catMenu = new JMenu(category); - catMenu.setFont(contextMenu_.getFont()); - menu.add(catMenu); - utilityMenuMap.put(catKey, catMenu); - menu = catMenu; - } - } - } - - // Add a menu item for this utility. - JMenuItem utilityItem = new JMenuItem(utilities[i].name); - utilityItem.setFont(contextMenu_.getFont()); - - // Hook up to invoke utility action. - utilityItem.addActionListener - ( - new InvokeUtilityAction - ( - caseBrowser, - context.getCaseRoot(), - context.getCaseName() - ) - ); - - // Specify which utility to invoke and on which case - // browser. - utilityItem.putClientProperty - ( - "utilityDescriptor", - utilities[i] - ); - - // Add to menu. - menu.add(utilityItem); -// } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- TabSelection Interface Methods - //-------------------------------------------------------------------------- - - public void tabSelected() - { - setActions(); - } - - public void tabDeselected() - { - resetActions(false); - } - - //-------------------------------------------------------------------------- - //---- CaseStatusListener Event Source Methods - //-------------------------------------------------------------------------- - - public synchronized void addCaseStatusListener(CaseStatusListener l) - { - listenerList_.add(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - public synchronized void removeCaseStatusListener(CaseStatusListener l) - { - listenerList_.remove(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected synchronized void fireCaseOpened - ( - String caseRoot, - String caseName, - ICaseServer caseServer, - ICaseBrowser caseBrowser - ) - { - // Create event object. - CaseStatusEvent evt = new CaseStatusEvent - ( - this, - caseRoot, - caseName, - caseServer, - null, - caseBrowser - ); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseStatusListener.class) - { - ((CaseStatusListener)listeners[i+1]).caseOpened(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected synchronized void fireCasePostOpened - ( - String caseRoot, - String caseName, - ICasePostServer casePostServer, - ICaseBrowser caseBrowser - ) - { - // Create event object. - CaseStatusEvent evt = new CaseStatusEvent - ( - this, - caseRoot, - caseName, - null, - casePostServer, - caseBrowser - ); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseStatusListener.class) - { - ((CaseStatusListener)listeners[i+1]).casePostOpened(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected synchronized void fireCaseClosed(String caseRoot, String caseName) - { - // Create event object. - CaseStatusEvent evt = new CaseStatusEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseStatusListener.class) - { - ((CaseStatusListener)listeners[i+1]).caseClosed(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected synchronized void fireCaseDeleted - ( - String caseRoot, - String caseName - ) - { - // Create event object. - CaseStatusEvent evt = new CaseStatusEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseStatusListener.class) - { - ((CaseStatusListener)listeners[i+1]).caseDeleted(evt); - } - } - } - - - //-------------------------------------------------------------------------- - //---- CaseSelectionListener Event Source Methods - //-------------------------------------------------------------------------- - - public synchronized void addCaseSelectionListener(CaseSelectionListener l) - { - listenerList_.add(CaseSelectionListener.class, l); - } - - //-------------------------------------------------------------------------- - - public synchronized void removeCaseSelectionListener(CaseSelectionListener l) - { - listenerList_.remove(CaseSelectionListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected synchronized void fireCaseSelected - ( - String hostName, - String caseRoot, - String caseName, - ICaseBrowser caseBrowser - ) - { - // Create event object. - CaseSelectionEvent evt = - new CaseSelectionEvent - ( - this, - hostName, - caseRoot, - caseName, - caseBrowser - ); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseSelectionListener.class) - { - ((CaseSelectionListener)listeners[i+1]).caseSelected(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected synchronized void fireRootSelected - ( - String hostName, - String caseRoot, - ICaseBrowser caseBrowser - ) - { - // Create event object. - CaseSelectionEvent evt = - new CaseSelectionEvent - ( - this, - hostName, - caseRoot, - null, - caseBrowser - ); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseSelectionListener.class) - { - ((CaseSelectionListener)listeners[i+1]).rootSelected(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected synchronized void fireHostSelected(String hostName) - { - // Create event object. - CaseSelectionEvent evt = - new CaseSelectionEvent - ( - this, - hostName, - null, - null, - null - ); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseSelectionListener.class) - { - ((CaseSelectionListener)listeners[i+1]).hostSelected(evt); - } - } - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - contextMenu_ = new javax.swing.JPopupMenu(); - scrollPane_ = new javax.swing.JScrollPane(); - tree_ = new javax.swing.JTree(); - - contextMenu_.setFont(new java.awt.Font("Dialog", 0, 10)); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - tree_.setFont(new java.awt.Font("Dialog", 0, 10)); - tree_.setShowsRootHandles(true); - tree_.addMouseListener(new java.awt.event.MouseAdapter() - { - public void mouseClicked(java.awt.event.MouseEvent evt) - { - OnMouseClicked(evt); - } - }); - - tree_.addTreeExpansionListener(new javax.swing.event.TreeExpansionListener() - { - public void treeExpanded(javax.swing.event.TreeExpansionEvent evt) - { - OnTreeExpand(evt); - } - public void treeCollapsed(javax.swing.event.TreeExpansionEvent evt) - { - } - }); - - tree_.addTreeWillExpandListener(new javax.swing.event.TreeWillExpandListener() - { - public void treeWillExpand(javax.swing.event.TreeExpansionEvent evt) - throws javax.swing.tree.ExpandVetoException - { - OnTreeWillExpand(evt); - } - public void treeWillCollapse(javax.swing.event.TreeExpansionEvent evt) - throws javax.swing.tree.ExpandVetoException - { - } - }); - - scrollPane_.setViewportView(tree_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.SOUTHWEST; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(scrollPane_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnTreeWillExpand(javax.swing.event.TreeExpansionEvent evt) - {//GEN-FIRST:event_OnTreeWillExpand - // Add your handling code here: - }//GEN-LAST:event_OnTreeWillExpand - - //-------------------------------------------------------------------------- - - private void OnTreeExpand(javax.swing.event.TreeExpansionEvent evt) - {//GEN-FIRST:event_OnTreeExpand - // Add your handling code here: - // Get the node object for the current selection. -// TreePath tp = evt.getPath(); -// if (tp != null) -// { -// // Make sure the node is selected. -// tree_.getSelectionModel().clearSelection(); -// tree_.getSelectionModel().setSelectionPath(tp); -// -// DefaultMutableTreeNode node = -// (DefaultMutableTreeNode)tp.getLastPathComponent(); -// ContextInfo context = (ContextInfo)node.getUserObject(); -// -// if (context.isCaseRoot()) -// { -// -// System.out.println("OnTreeExpand root:" + context.getCaseRoot()); -// -// DefaultMutableTreeNode parentNode = -// (DefaultMutableTreeNode) -// tp.getParentPath().getLastPathComponent(); -// ContextInfo parentContext = -// (ContextInfo)parentNode.getUserObject(); -// -// System.out.println("OnTreeExpand host:" + parentContext.getText()); -// -// if (parentContext.isHost()) -// { -// String rootDir = context.getCaseRoot(); -// String hostName = parentContext.getText(); -// refreshRoot(hostName, rootDir); -// -// tree_.expandPath(tp); -// } -// } -// } - }//GEN-LAST:event_OnTreeExpand - - //-------------------------------------------------------------------------- - - private void OnMouseClicked (java.awt.event.MouseEvent evt) - {//GEN-FIRST:event_OnMouseClicked - if (selectionMode_ == OPEN_CASE_MODE) - { - handleMouseOpen(evt); - } - else if - ( - (selectionMode_ == SELECT_HOST_MODE) - || (selectionMode_ == SELECT_ROOT_MODE) - || (selectionMode_ == SELECT_CASE_MODE) - ) - { - handleMouseSelection(evt); - } - else - { - System.out.println("ILLEGAL:CaseBrowserPanel::OnMouseClicked"); - } - }//GEN-LAST:event_OnMouseClicked - - - //-------------------------------------------------------------------------- - - - private void handleMouseOpen(java.awt.event.MouseEvent evt) - { - try - { - // Get the node object for the current selection. - TreePath tp = tree_.getPathForLocation(evt.getX(), evt.getY()); - if (tp != null) - { - // Make sure the node is selected. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp); - - DefaultMutableTreeNode node = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)node.getUserObject(); - - // Check for popup menu trigger. - //if (evt.isPopupTrigger()) - // Check explicitly for right mouse button. - if (evt.getModifiers() == evt.BUTTON3_MASK) - { - // Construct an appropriate context menu, - contextMenu_.removeAll(); - java.awt.Font font = contextMenu_.getFont(); - - if (context == null) - { - // Do not have a licence manager reference. - // Can only refresh the tree. - contextMenu_.add(refreshAction_).setFont(font); - } - else if (context.isRootContext()) - { - // Can only refresh or expand/collapse the tree. - contextMenu_.add(refreshAction_).setFont(font); - contextMenu_.add(expandAllAction_).setFont(font); - contextMenu_.add(collapseAllAction_).setFont(font); - } - else if (context.isHost()) - { - // Host node - if (context.getCaseBrowser() == null) - { - // Allow start caseBrowser if non running - contextMenu_.add(startCaseBrowserAction_).setFont - ( - font - ); - } - else - { - // Allow various and utilities invocation - contextMenu_.add(stopCaseBrowserAction_).setFont - ( - font - ); - contextMenu_.add(createCaseAction_).setFont(font); - //contextMenu_.add(importCaseAction_).setFont(font); - contextMenu_.add(startProcessEditorAction_).setFont - ( - font - ); - contextMenu_.add(editFoamControlDictAction_).setFont - ( - font - ); - // Allow invoke utilities - buildUtilsMenu(contextMenu_, context); - } - } - else if (context.isCaseRoot()) - { - // caseroot: open directory, create/import cases - contextMenu_.add(openRootAction_).setFont(font); - contextMenu_.add(createCaseAction_).setFont(font); - //contextMenu_.add(importCaseAction_).setFont(font); - - // Allow processEditing on rootDir - contextMenu_.add(startProcessEditorAction_).setFont - ( - font - ); - contextMenu_.add(editFoamControlDictAction_).setFont - ( - font - ); - // Allow invoke utilities - buildUtilsMenu(contextMenu_, context); - } - else if (context.isCaseName()) - { - // Can open, delete or unlock specific cases. - contextMenu_.add(openCaseAction_).setFont(font); - //contextMenu_.add(openCasePostAction_).setFont(font); - contextMenu_.add(deleteCaseAction_).setFont(font); - contextMenu_.add(cloneCaseAction_).setFont(font); - //contextMenu_.add(importCaseAction_).setFont(font); - contextMenu_.add(unlockCaseAction_).setFont(font); - - // caseName: allow processEditing - contextMenu_.add(startProcessEditorAction_).setFont - ( - font - ); - // Allow invoke utilities - buildUtilsMenu(contextMenu_, context); - } - - // Show context menu. - contextMenu_.show(tree_, evt.getX(), evt.getY()); - } - else if (evt.getClickCount() >= 2) - { - // Start a case browser if double clicking on a host node. - if (context.isHost() && context.getCaseBrowser() == null) - { - startCaseBrowserAction_.actionPerformed(null); - } - // Invoke the open case action if the user - // has double clicked on a case. - else if (context.isCaseName()) - { - openCaseAction_.actionPerformed(null); - } - // Invoke the open root action if the user - // has double clicked on a root. - else if (context.isCaseRoot()) - { - openRootAction_.actionPerformed(null); - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** Handle mouse clicks if in selection mode. */ - private void handleMouseSelection(java.awt.event.MouseEvent evt) - { - try - { - // Get the node object for the current selection. - TreePath tp = tree_.getPathForLocation(evt.getX(), evt.getY()); - if (tp != null) - { - // Make sure the node is selected. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp); - - DefaultMutableTreeNode node = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)node.getUserObject(); - - // Check explicitly for right mouse button. - if (evt.getModifiers() == evt.BUTTON3_MASK) - { - // Construct an appropriate context menu, - contextMenu_.removeAll(); - java.awt.Font font = contextMenu_.getFont(); - - if (context == null) - { - // Do not have a licence manager reference. - // Can only refresh the tree. - contextMenu_.add(refreshAction_).setFont(font); - } - else if (context.isRootContext()) - { - // Can only refresh or expand/collapse the tree. - contextMenu_.add(refreshAction_).setFont(font); - contextMenu_.add(expandAllAction_).setFont(font); - contextMenu_.add(collapseAllAction_).setFont(font); - } - else if (context.isHost()) - { - if (selectionMode_ == SELECT_HOST_MODE) - { - contextMenu_.add(selectHostAction_).setFont(font); - } - else if (context.getCaseBrowser() == null) - { - // Can start a case browser. - contextMenu_.add(startCaseBrowserAction_).setFont - ( - font - ); - } - else - { - // Can stop a case browser. - contextMenu_.add(stopCaseBrowserAction_).setFont - ( - font - ); - } - } - else if (context.isCaseRoot()) - { - if (selectionMode_ == SELECT_ROOT_MODE) - { - contextMenu_.add(selectRootAction_).setFont(font); - } - else if (selectionMode_ == SELECT_CASE_MODE) - { - contextMenu_.add(openRootAction_).setFont(font); - } - } - else if (context.isCaseName()) - { - if (selectionMode_ == SELECT_CASE_MODE) - { - contextMenu_.add(selectCaseAction_).setFont(font); - } - } - - // Show context menu. - contextMenu_.show(tree_, evt.getX(), evt.getY()); - } - else if (evt.getClickCount()>= 2) - { - if (selectionMode_ == SELECT_HOST_MODE) - { - selectHostAction_.actionPerformed(null); - } - else if - ( - context.isHost() && context.getCaseBrowser() == null - ) - { - // Start a case browser if double clicking on a host - // node. - startCaseBrowserAction_.actionPerformed(null); - } - // Invoke the root/case selection if the user - // has double clicked on a root/case. - else if (context.isCaseRoot()) - { - if (selectionMode_ == SELECT_ROOT_MODE) - { - selectRootAction_.actionPerformed(null); - } - else if (selectionMode_ == SELECT_CASE_MODE) - { - openRootAction_.actionPerformed(null); - } - } - else if (context.isCaseName()) - { - if (selectionMode_ == SELECT_CASE_MODE) - { - selectCaseAction_.actionPerformed(null); - } - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - protected void OnTreeSelectionChanged(TreeSelectionEvent evt) - { - try - { - // Get the node object for the current selection. - // Has the new node been added to the selection? - if (evt.isAddedPath()) - { - TreePath tp = evt.getPath(); - if (tp != null) - { - setActions(); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPopupMenu contextMenu_; - private javax.swing.JScrollPane scrollPane_; - private javax.swing.JTree tree_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //---- Action Classes. CaseBrowser specific - //-------------------------------------------------------------------------- - - private class StartCaseBrowserAction - extends AbstractAction - { - StartCaseBrowserAction() - { - putValue - ( - Action.SMALL_ICON, App.getResources().getIcon - ( - "CaseBrowser.StartBrowserImage" - ) - ); - putValue(Action.NAME, "Open Case Browser"); - putValue(Action.SHORT_DESCRIPTION, "Open Case Browser"); - putValue(Action.LONG_DESCRIPTION, "Open Case Browser"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - //BusyCursor busyCursor = new BusyCursor(CaseBrowserPanel.this); - BusyCursor cursor = new BusyCursor(App.getRootFrame()); - - try - { - // Get currently selected node. - TreePath tp = tree_.getSelectionModel().getSelectionPath(); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode hostNode = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)hostNode.getUserObject(); - - // Check node type. - if - ( - context.isHost() - && context.getCaseBrowser() == null - && model_.startCaseBrowser(context.getText()) - ) - { - // Expand the host node. - tree_.expandPath(tp); - tree_.updateUI(); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class StopCaseBrowserAction - extends AbstractAction - { - StopCaseBrowserAction() - { - putValue - ( - Action.SMALL_ICON, App.getResources().getIcon - ( - "CaseBrowser.StopBrowserImage" - ) - ); - putValue(Action.NAME, "Close Case Browser"); - putValue(Action.SHORT_DESCRIPTION, "Close Case Browser"); - putValue(Action.LONG_DESCRIPTION, "Close Case Browser"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(CaseBrowserPanel.this); - - try - { - // Get currently selected node. - TreePath tp = tree_.getSelectionModel().getSelectionPath(); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode hostNode = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)hostNode.getUserObject(); - - // Check node type. - if (context.isHost() && context.getCaseBrowser() != null) - { - model_.stopCaseBrowser(context.getText()); - tree_.updateUI(); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - - //-------------------------------------------------------------------------- - - private class StartProcessEditorAction - extends AbstractAction - { - StartProcessEditorAction() - { - putValue - ( - Action.SMALL_ICON, App.getResources().getIcon - ( - "CaseBrowser.StartProcessEditorImage" - ) - ); - putValue(Action.NAME, "Start Process Editor"); - putValue(Action.SHORT_DESCRIPTION, "Start Process Editor"); - putValue(Action.LONG_DESCRIPTION, "Start Process Editor"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(CaseBrowserPanel.this); - - try - { - // Get currently selected node. - TreePath tp = tree_.getSelectionModel().getSelectionPath(); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode hostNode = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)hostNode.getUserObject(); - - // Check node type. - if (context.getCaseBrowser() != null) - { - // Start process editor as free standing window. - ProcessEditor processEditor = - new ProcessEditor - ( - null, - context.getCaseBrowser() - ); - processEditor.setVisible(true); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class EditFoamControlDictAction - extends AbstractAction - { - EditFoamControlDictAction() - { - putValue - ( - Action.SMALL_ICON, App.getResources().getIcon - ( - "CaseBrowser.EditFoamControlDictImage" - ) - ); - putValue(Action.NAME, "Edit OpenFOAM controlDict"); - putValue(Action.SHORT_DESCRIPTION, "Edit OpenFOAM controlDict"); - putValue(Action.LONG_DESCRIPTION, "Edit OpenFOAM controlDict"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(CaseBrowserPanel.this); - - try - { - // Get currently selected node. - TreePath tp = tree_.getSelectionModel().getSelectionPath(); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode hostNode = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - ContextInfo context = (ContextInfo)hostNode.getUserObject(); - - // Check node type. - if (context.getCaseBrowser() != null) - { - // We have a case browser. Load the system controlDict - // and start editor on it. - ICaseBrowser caseBrowser = context.getCaseBrowser(); - - IDictionaryEntryHolder dictHolder = - new IDictionaryEntryHolder(); - caseBrowser.foamProperties().getFoamControlDict - ( - dictHolder - ); - - if (dictHolder.value == null) - { - throw new FoamXException - ( - "Could not find OpenFOAM controlDict" - ); - } - - CompoundEditor compoundEditor = - new CompoundEditor - ( - App.getRootFrame(), - dictHolder.value - ); - compoundEditor.setTitle("OpenFOAM Dictionary"); - compoundEditor.setVisible(true); - - if (dictHolder.value.modified()) - { - System.out.println - ( - "Saving modified OpenFOAM Dictionary" - ); - dictHolder.value.save(); - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - // Connects to existing/starts new caseServer. Returns true if started. - static private void getCaseServerReference - ( - String caseRoot, - String caseName, - CaseDescriptor caseDescriptor, - ICaseBrowser caseBrowser, - ICaseServerHolder caseHolder - ) throws FoamXException, FoamXSYSError, FoamXError, FoamXIOError - { - boolean caseOK = false; - - // First try to connect to already running server - caseOK = caseBrowser.getCaseServerReference - ( - caseRoot, - caseName, - caseHolder - ); - if (caseOK) - { - //ICaseServer caseServer = caseHolder.value; - String[] options = { "Use", "Cancel" }; - int ret = - JOptionPane.showOptionDialog - ( - App.getRootFrame(), - "Found running Case Server" - + "\nUse it ?", - "Case Server", - JOptionPane.DEFAULT_OPTION, - JOptionPane.QUESTION_MESSAGE, - null, - options, - options[0] - ); - if (ret == 0) return; - } - - // Start case server - if (caseDescriptor != null) - { - caseBrowser.openCase(caseDescriptor); - } - - // Go into loop to detect when it has registered. - int sleep = Integer.parseInt - ( - App.getOptions().getProperty("FoamX.Sleep", "500") - ); - int nRetries = Integer.parseInt - ( - App.getOptions().getProperty("FoamX.NRetries", "20") - ); - - for (;;) - { - for (int i=0; i - -
- - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseManager.java deleted file mode 100644 index 6ee519e143..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseManager.java +++ /dev/null @@ -1,990 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import java.util.Hashtable; -import java.util.Enumeration; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; - -import FoamX.App; -import FoamX.TaskManagement.Task; -import FoamX.ToolbarManagement.Toolbar; -import FoamX.Util.BusyCursor; -import FoamX.Exceptions.FoamXException; -import FoamX.Exceptions.CaseBrowserIOException; - -import FoamXServer.*; -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.CasePostServer.ICasePostServer; - -public class CaseManager - extends javax.swing.JPanel - implements CaseStatusListener, ChangeListener -{ - //-------------------------------------------------------------------------- - - // Case browser panel object. - protected CaseBrowserPanel caseBrowserPanel_; - // Map of CasePanel objects. - protected Hashtable caseMap_; - // Map of CasePostPanel objects. - protected Hashtable casePostMap_; - // Objects interested in case manager events. - protected EventListenerList listenerList_; - protected Toolbar toolBar_; - //protected SaveCurrentCaseAction saveCurrentCaseAction_; - //protected CloseCurrentCaseAction closeCurrentCaseAction_; - //protected SaveAllCasesAction saveAllCasesAction_; - //protected CloseAllCasesAction closeAllCasesAction_; - - //-------------------------------------------------------------------------- - /** CaseManager constructor. */ - public CaseManager() - { - try - { - // Initialise the GUI components. - initComponents(); - - // Create case map. - caseMap_ = new Hashtable(); - casePostMap_ = new Hashtable(); - - // Create listener list. - listenerList_ = new EventListenerList(); - - // Initialise actions and toolbar. - //saveCurrentCaseAction_ = new SaveCurrentCaseAction(); - //closeCurrentCaseAction_ = new CloseCurrentCaseAction(); - //saveAllCasesAction_ = new SaveAllCasesAction(); - //closeAllCasesAction_ = new CloseAllCasesAction(); - - //saveCurrentCaseAction_.setEnabled(false); - //closeCurrentCaseAction_.setEnabled(false); - //saveAllCasesAction_.setEnabled(false); - //closeAllCasesAction_.setEnabled(false); - - - // Add case browser tab. Have it start a new model. - caseBrowserPanel_ = - new CaseBrowserPanel(null, CaseBrowserPanel.OPEN_CASE_MODE); - tabbedPanel_.addTab("Case Browser", caseBrowserPanel_); - - // Initialise toolbar with my actions - //toolBar_ = - // App.getToolbarManager().addToolbar - // ( - // "CaseManager", - // "Case Manager" - // ); - //addToolbarButton(saveCurrentCaseAction_); - //addToolbarButton(saveAllCasesAction_); - //toolBar_.addSeparator(); - //addToolbarButton(closeCurrentCaseAction_); - //addToolbarButton(closeAllCasesAction_); - - // Register this object as a tab selection changed listener. - tabbedPanel_.getModel().addChangeListener(this); - - // Register this object as a CaseStatusListener. - caseBrowserPanel_.addCaseStatusListener(this); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Close all open cases. */ - public void closeAllCases() - { - try - { - // Create a task object to keep track of progress. - Task task = App.getTaskManager().createTask - ( - "Closing All Cases", - 0, - caseMap_.size() - ); - int caseNo = 0; - - // Close all cases. - Enumeration iter = caseMap_.elements(); - while (iter.hasMoreElements()) - { - // Get next case. - CasePanel casePanel = (CasePanel)iter.nextElement(); - - // Give option of saving if modified - casePanel.checkAndSave - ( - false, - "Case has been changed. Save before closing?", - "Save Case" - ); - - // Do exactly if 'close case' on casePanel was pressed - caseClosed - ( - new CaseStatusEvent - ( - this, - casePanel.getCaseRoot(), - casePanel.getCaseName() - ) - ); - - // Update the progress info. - task.setProgress(caseNo++); - } - - - //// Close all post processing in a similar way - //task = App.getTaskManager().createTask - // ( - // "Closing All Postprocessing", - // 0, - // caseMap_.size() - // ); - //caseNo = 0; - //// Close all cases. - //iter = casePostMap_.elements(); - //while (iter.hasMoreElements()) - //{ - // // Get next case. - // CasePostPanel casePostPanel = (CasePostPanel)iter.nextElement(); - // - // // Do exactly if 'close case' on casePostPanel was pressed - // casePostClosed - // ( - // new CaseStatusEvent - // ( - // this, - // casePanel.getCaseRoot(), - // casePanel.getCaseName() - // ) - // ); - // - // // Update the progress info. - // task.setProgress(caseNo++); - //} - - - // Refresh the case browser panel - caseBrowserPanel_.refreshCaseBrowser(false); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - finally - { - App.getTaskManager().endTask(); - } - } - - //-------------------------------------------------------------------------- - /** Save open case. Ask first. */ - public void saveCaseNice(String caseRoot, String caseName) - { - CasePanel casePanel = getCasePanel(caseRoot, caseName); - - if (casePanel != null) - { - // Give option of saving if modified - casePanel.checkAndSave - ( - false, - "Case " + caseName - + " has been changed. Save before invoking utility?", - "Save Case" - ); - - } - } - - - //-------------------------------------------------------------------------- - /** Shut down the CaseManager object and close all open cases. */ - public void shutdown() - { - try - { - // Close all cases. - closeAllCases(); - - // Unregister as a CaseStatusListener. - caseBrowserPanel_.removeCaseStatusListener(this); - - // Shutdown the case browser. - caseBrowserPanel_.shutdown(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public CaseBrowserPanel getCaseBrowser() - { - return caseBrowserPanel_; - } - - //-------------------------------------------------------------------------- - - public CasePanel getCasePanel(String caseRoot, String caseName) - { - CasePanel casePanel = null; - - String rootAndCase = caseRoot + "/" + caseName; - - if (caseMap_.containsKey(rootAndCase)) - { - // Create a new case panel object to manage the case. - casePanel = (CasePanel)caseMap_.get(rootAndCase); - } - - return casePanel; - } - - //-------------------------------------------------------------------------- - - protected void addToolbarButton(AbstractAction action) - { - // Add new button to the toolbar using the action object. - javax.swing.JButton button = toolBar_.add(action); - - // Set the tooltip text. - button.setToolTipText((String)action.getValue - ( - Action.SHORT_DESCRIPTION) - ); - button.setText(""); - button.setFont(toolBar_.getFont()); // Use same font as toolbar. - } - - //-------------------------------------------------------------------------- - //---- CaseManagerListener Interface - //-------------------------------------------------------------------------- - - public void addCaseManagerListener(CaseManagerListener l) - { - listenerList_.add(CaseManagerListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCaseManagerListener(CaseManagerListener l) - { - listenerList_.remove(CaseManagerListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireOpenCase - ( - String caseRoot, - String caseName, - ICaseServer caseServer - ) - { - // Create event object. - CaseManagerEvent evt = new CaseManagerEvent - ( - this, - caseRoot, - caseName, - caseServer - ); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseManagerListener.class) - { - ((CaseManagerListener)listeners[i+1]).caseOpened(evt); - } - } - } - - - //-------------------------------------------------------------------------- - - protected void fireOpenPostCase - ( - String caseRoot, - String caseName, - ICasePostServer casePostServer - ) - { - // Create event object. - CaseManagerEvent evt = new CaseManagerEvent - ( - this, - caseRoot, - caseName, - casePostServer - ); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseManagerListener.class) - { - ((CaseManagerListener)listeners[i+1]).casePostOpened(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireCloseCase(String caseRoot, String caseName) - { - // Create event object. - CaseManagerEvent evt = new CaseManagerEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseManagerListener.class) - { - ((CaseManagerListener)listeners[i+1]).caseClosed(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireClosePostCase(String caseRoot, String caseName) - { - // Create event object. - CaseManagerEvent evt = new CaseManagerEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseManagerListener.class) - { - ((CaseManagerListener)listeners[i+1]).casePostClosed(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireDeleteCase(String caseRoot, String caseName) - { - // Create event object. - CaseManagerEvent evt = new CaseManagerEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseManagerListener.class) - { - ((CaseManagerListener)listeners[i+1]).caseDeleted(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireCasePanelSelected(String caseRoot, String caseName) - { - // Create event object. - CaseManagerEvent evt = new CaseManagerEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseManagerListener.class) - { - ((CaseManagerListener)listeners[i+1]).casePanelSelected(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireCaseBrowserSelected() - { - // Create event object. - CaseManagerEvent evt = new CaseManagerEvent(this); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseManagerListener.class) - { - ((CaseManagerListener)listeners[i+1]).caseBrowserSelected(evt); - } - } - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - tabbedPanel_ = new javax.swing.JTabbedPane(); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - tabbedPanel_.setTabPlacement(javax.swing.JTabbedPane.BOTTOM); - tabbedPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(tabbedPanel_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTabbedPane tabbedPanel_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //---- CaseStatusListener Interface - //-------------------------------------------------------------------------- - - public void caseOpened(CaseStatusEvent evt) - { - try - { - // Make sure the event object has a case server reference. - if (evt.caseServer() != null) - { - // See if we already have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - - if (!caseMap_.containsKey(key)) - { - // Create a new case panel object to manage the case. - // Note: will throw exception if case in error. - CasePanel casePanel = new CasePanel - ( - evt.caseBrowser(), - evt.caseServer() - ); - - // Register this object as a CaseStatusListener. - casePanel.addCaseStatusListener(this); - - - // Add new tab. - tabbedPanel_.addTab(evt.caseName(), casePanel); - caseMap_.put(key, casePanel); - - // Pop the new tab to the front. - tabbedPanel_.setSelectedComponent(casePanel); - - // Inform case manager listeners. - fireOpenCase - ( - evt.caseRoot(), - evt.caseName(), - evt.caseServer() - ); - } - } - } - catch (FoamXIOError ioErr) - { - // io error. Add caseBrowser information - if (evt.caseBrowser() != null) - { - // Add caseBrowser info - App.handleAllExceptions - ( - new CaseBrowserIOException - ( - ioErr, - evt.caseBrowser() - ) - ); - } - else - { - App.handleAllExceptions(ioErr); - } - } - catch (Exception ex) - { -// caseBrowserPanel_.refreshCaseNode -// ( -// evt.caseRoot(), -// evt.caseName() -// ); - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void casePostOpened(CaseStatusEvent evt) - { - try - { - // Make sure the event object has a case server reference. - if (evt.casePostServer() == null) - { - return; - } - - // See if we already have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - - if (casePostMap_.containsKey(key)) - { - System.out.println("Already postprocessing case " + key); - } - else - { - System.out.println("Starting postprocessing case " + key); - } - - //PostApp pp = - // new PostApp - // ( - // evt.casePostServer(), - // evt.caseRoot(), - // evt.caseName() - // ); - ////MainFrame mf = new MainFrame(pp, 300, 600); - // - //// Register this object as a CaseStatusListener. - //pp.getPostWindow().addCaseStatusListener(this); - // - //casePostMap_.put(key, pp); - - // Inform case manager listeners. - fireOpenPostCase - ( - evt.caseRoot(), - evt.caseName(), - evt.casePostServer() - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void caseClosed(CaseStatusEvent evt) - { - try - { - // See if we have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - - if (caseMap_.containsKey(key)) - { - // Get CasePanel object for this case. - CasePanel casePanel = (CasePanel)caseMap_.get(key); - - // Unregister as a CaseStatusListener. - casePanel.removeCaseStatusListener(this); - - // Close the case. - casePanel.closeCase(CasePanel.KILL_SERVER); - - // Remove tab. - tabbedPanel_.remove(casePanel); - caseMap_.remove(key); - - // Pop the case browser tab to the front. - tabbedPanel_.setSelectedComponent(caseBrowserPanel_); - - // Refresh the case browser panel - caseBrowserPanel_.refreshCaseNode - ( - evt.caseRoot(), - evt.caseName() - ); - - // Inform case manager listeners. - fireCloseCase(evt.caseRoot(), evt.caseName()); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void casePostClosed(CaseStatusEvent evt) - { - try - { - //// See if we have this case. - //String key = evt.caseRoot() + "/" + evt.caseName(); - // - //if (casePostMap_.containsKey(key)) - //{ - // System.out.println - // ( - // "CaseManager:casePostClosed for " + evt.caseName() - // ); - // - // PostApp pp = (PostApp)casePostMap_.get(key); - // - // PostWindow ps = pp.getPostWindow(); - // - // // Unregister as a CaseStatusListener. - // ps.removeCaseStatusListener(this); - // - // pp.destroy(); - // - // casePostMap_.remove(key); - // - // // Inform case manager listeners. - // fireClosePostCase(evt.caseRoot(), evt.caseName()); - //} - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void caseDeleted(CaseStatusEvent evt) - { - try - { - // See if we have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - if (caseMap_.containsKey(key)) - { - // Get CasePanel object for this case. - CasePanel casePanel = (CasePanel)caseMap_.get(key); - - // Unregister as a CaseStatusListener. - casePanel.removeCaseStatusListener(this); - - // Close the case. - casePanel.closeCase(CasePanel.KILL_SERVER); - - // Remove tab. - tabbedPanel_.remove(casePanel); - caseMap_.remove(key); - - // Pop the case browser tab to the front. - tabbedPanel_.setSelectedComponent(caseBrowserPanel_); - - // Refresh the case browser. - caseBrowserPanel_.deleteCaseNode - ( - evt.caseRoot(), - evt.caseName() - ); - - // Inform case manager listeners. - fireDeleteCase(evt.caseRoot(), evt.caseName()); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- ChangeEventListener Interface - //-------------------------------------------------------------------------- - - public void stateChanged(javax.swing.event.ChangeEvent evt) - { - try - { - // See which tab has been selected; - Component comp = tabbedPanel_.getSelectedComponent(); - if (comp instanceof CaseBrowserPanel) - { - // Tell the case browser tab that it's selected. - caseBrowserPanel_.tabSelected(); - - // Deselect all case tabs. - Component[] tabs = tabbedPanel_.getComponents(); - for (int i = 0; i - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CasePanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CasePanel.java deleted file mode 100644 index 8c7358bb03..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CasePanel.java +++ /dev/null @@ -1,1421 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import java.io.*; -import java.awt.*; -import java.awt.event.ActionEvent; -import java.awt.event.FocusListener; -import java.awt.event.FocusEvent; -import java.util.*; -import javax.swing.*; -import javax.swing.tree.*; -import javax.swing.event.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.CaseManagement.HostChooserDlg; -import FoamX.Reporting.ReportingWindow; -import FoamX.ToolbarManagement.Toolbar; -import FoamX.Tools.InvokeUtilityAction; -import FoamX.Util.BusyCursor; -import FoamX.Util.CollapseTreeAction; -import FoamX.Util.ExpandTreeAction; -import FoamX.Util.FoamXTreeRenderer; -import FoamX.Util.TabSelection; -import FoamX.Util.RunPanel; -import FoamX.Util.FileEvent; -import FoamX.WindowManagement.FoamXInternalFrame; - - -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.ApplicationDescriptor; - -public class CasePanel - extends javax.swing.JPanel - implements IModuleHost, TabSelection -{ - //-------------------------------------------------------------------------- - - public static final boolean KILL_SERVER = true; - public static final boolean KEEP_SERVER = false; - - - protected static final String TOOLBAR_NAME = "CaseToolbar"; - - protected ICaseServer caseServer_; - protected ICaseBrowser caseBrowser_; - protected EventListenerList listenerList_; - protected Hashtable moduleMap_; // Map of IModule objects. - protected Hashtable caseActionMap_; // Map of possible actions - protected DefaultTreeModel treeModel_; - protected DefaultMutableTreeNode rootNode_; - protected Toolbar toolBar_; - protected String toolBarKey_; - protected int moduleCount_; - protected int treeNodeCount_; - - // Case Panel actions. - CloseCaseAction closeCaseAction_; - SaveCaseAction saveCaseAction_; - StartCalculationAction startCalculationAction_; - RunCalculationAction runCalculationAction_; - StopCalculationAction stopCalculationAction_; - ExpandTreeAction expandAllAction_; - CollapseTreeAction collapseAllAction_; - InvokeUtilityAction invokeUtilityAction_; - - //-------------------------------------------------------------------------- - /** CasePanel constructor. */ - public CasePanel(ICaseBrowser caseBrowser, ICaseServer caseServer) - throws Exception - { - try - { - // Initialise the GUI components. - initComponents(); - - // Create listener list. - listenerList_ = new EventListenerList(); - - // Create module map. - moduleMap_ = new Hashtable(); - - // Create case action map - caseActionMap_ = new Hashtable(); - - // Store the primary reference to the case server. - caseServer_ = caseServer; - caseServer_.managed(true); // Mark this case as managed. - - // Store the primary reference to the case browser. - // (is used for invoking external actions e.g. running) - caseBrowser_ = caseBrowser; - - // Initialise the tree model. - Icon icon = App.getResources().getIcon("Case.CaseRootImage"); - TreeNodeInfo nodeInfo = - new TreeNodeInfo(caseServer_.caseName(), 0, icon); - rootNode_ = new DefaultMutableTreeNode(nodeInfo, true); - treeModel_ = new DefaultTreeModel(rootNode_); - treeNodeCount_ = 1; - - // Set the tree model and renderer. - tree_.setModel(treeModel_); - tree_.setCellRenderer(new FoamXTreeRenderer()); - tree_.putClientProperty - ( - "JTree.lineStyle", - App.getResources().getResourceString("Tree.LineStyle") - ); - - // Initialise actions. - closeCaseAction_ = new CloseCaseAction(); - saveCaseAction_ = new SaveCaseAction(); - runCalculationAction_ = new RunCalculationAction(); - startCalculationAction_ = new StartCalculationAction(); - stopCalculationAction_ = new StopCalculationAction(); - expandAllAction_ = new ExpandTreeAction(tree_); - collapseAllAction_ = new CollapseTreeAction(tree_); - invokeUtilityAction_ = - new InvokeUtilityAction - ( - caseBrowser_, - caseServer_.caseRoot(), - caseServer_.caseName() - ); - - // Initialise toolbar. Toolbar may already exist. - toolBarKey_ = - caseServer_.caseRoot() + '/' + caseServer_.caseName(); - toolBar_ = - App.getToolbarManager().addMultiToolbar - ( - TOOLBAR_NAME, - "Case Toolbar", - toolBarKey_ - ); - - addToolbarButton(closeCaseAction_); - addToolbarButton(saveCaseAction_); - toolBar_.addSeparator(); - addToolbarButton(runCalculationAction_); - addToolbarButton(startCalculationAction_); - addToolbarButton(stopCalculationAction_); - toolBar_.addSeparator(); - addToolbarButton(expandAllAction_); - addToolbarButton(collapseAllAction_); - - // Attach utilities context menu to root node. - buildUtilsMenu(); - - // Reset all actions. - resetActions(true); - - // Initialise and activate the modules for this case. - loadCaseModules(); - activateCaseModules(); - - // Listen out for selection events. - tree_.getSelectionModel().addTreeSelectionListener - ( - new TreeSelectionListener() - { - public void valueChanged(TreeSelectionEvent evt) - { - OnTreeSelectionChanged(evt); - } - } - ); - - // Expand the root node. - TreePath tp = new TreePath(treeModel_.getPathToRoot(rootNode_)); - if (tp != null) - { - tree_.expandPath(tp); - tree_.updateUI(); - } - - // Print success message to FoamX tab in reporting window - printAppMessage - ( - "Opened case " + caseServer_.caseName() + - " at database time " + caseServer_.getTime() - ); - - // Cannot print to case tab in reporting window since is not - // yet open! - } - catch (FoamXIOError ioErr) - { - // Problem: caseManager hasn't yet registered me so cannot use - // closeCaseAction_.actionPerformed(null) - // So close myself and throw up to caseManager. - caseServer_.managed(false); - closeCase(KEEP_SERVER); - // Handle at higher levels - throw ioErr; - } - catch (Exception ex) - { - App.handleException(ex); - } - } - - //-------------------------------------------------------------------------- - - public String getCaseRoot() - { - return caseServer_ == null ? "" : caseServer_.caseRoot(); - } - - //-------------------------------------------------------------------------- - - public String getCaseName() - { - return caseServer_ == null ? "" : caseServer_.caseName(); - } - - //-------------------------------------------------------------------------- - /** Close the case and release the case server object. - * Argument determines whether the caseServer gets killed. Is tricky. - * Is usually true, except when CasePanel fails to construct - * correctly and caseServer.managed(false) is used to signal - * the caseBrowserPanel that it failed. - * (the normal cleanup action through the - * status listeners does not function if CasePanel has not been - * constructed correctly) - */ - void closeCase(boolean killServer) - { - try - { - // Shutdown all case modules. - shutdownCaseModules(); - - // Close down the case server and unlock the case. - if (killServer && (caseServer_ != null)) - { - caseServer_.close(); - caseServer_ = null; - } - - // Remove toolbar. - App.getToolbarManager().removeMultiToolbar - ( - TOOLBAR_NAME, - toolBarKey_ - ); - toolBar_ = null; - toolBarKey_ = ""; - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - - //-------------------------------------------------------------------------- - /** Close the case but ask whether to save case beforehand */ - void closeCaseNice(boolean killServer) - { - try - { - // Check if should have been saved. - if (caseServer_ != null) - { - checkAndSave - ( - false, - caseServer_.caseName() + " : case has been changed." - + " Save before closing?", - "Save Case" - ); - } - - // Close case as normal - closeCase(killServer); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** - * helper function to save case dialog if needed - * @return false if cancel pressed, true otherwise - */ - protected boolean checkAndSave - ( - boolean allowCancel, - String msg, - String title - ) - { - boolean cancelled = false; - - if (caseServer_.modified()) - { - int option; - if (allowCancel) - { - option = JOptionPane.YES_NO_CANCEL_OPTION; - } - else - { - option = JOptionPane.YES_NO_OPTION; - } - - // Prompt the user to see if the case files are - // to be saved. - int ret = JOptionPane.showConfirmDialog - ( - App.getRootFrame(), - msg, - title, - option, - JOptionPane.QUESTION_MESSAGE - ); - if (ret == JOptionPane.OK_OPTION) - { - // Behave as if 'save' button pressed - saveCaseAction_.actionPerformed(null); - } - else if (ret == JOptionPane.CANCEL_OPTION) - { - cancelled = true; - } - } - return !cancelled; - } - - //-------------------------------------------------------------------------- - - protected void printAppMessage(String message) - { - // Get reporting window for Application. - ReportingWindow reportWin = - App.getReportingManager().getReportingWindow("FoamX"); - if (reportWin != null) - { - // Print message into main reporting window. - reportWin.printMessage(message); - } - } - - //-------------------------------------------------------------------------- - - protected void printCaseMessage(String message) - { - // Get reporting window for this case. - String reportWinName = getCaseRoot() + '/' + getCaseName(); - ReportingWindow reportWin = - App.getReportingManager().getReportingWindow(reportWinName); - if (reportWin != null) - { - // Print message into main reporting window. - reportWin.printMessage(message); - } - } - - //-------------------------------------------------------------------------- - - protected DefaultMutableTreeNode getNode(int nodeID) - { - DefaultMutableTreeNode node = null; - - try - { - // Find the specified node. - Enumeration nodeIter = rootNode_.depthFirstEnumeration(); - while (nodeIter.hasMoreElements()) - { - DefaultMutableTreeNode nodeItem = - (DefaultMutableTreeNode)nodeIter.nextElement(); - TreeNodeInfo fxNode = (TreeNodeInfo)nodeItem.getUserObject(); - if (fxNode.getNodeID() == nodeID) - { - node = nodeItem; - break; - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return node; - } - - //-------------------------------------------------------------------------- - - protected TreeNodeInfo getNodeInfo(int nodeID) - { - TreeNodeInfo fxNode = null; - - try - { - // Find the specified node. - DefaultMutableTreeNode node = getNode(nodeID); - if (node != null) - { - fxNode = (TreeNodeInfo)node.getUserObject(); - } - } - catch (Exception ex) - { - ex.printStackTrace(); - App.handleAllExceptions(ex); - } - - return fxNode; - } - - //-------------------------------------------------------------------------- - - protected void loadCaseModules() throws FoamXIOError - { - try - { - // Get the list of modules to load from the application class - // object. - String[] moduleNames = caseServer_.application().modules(); - - // Load and initialise all modules. - for (short i = 0; i 0) - ) - { - // Add all required sub-menus. - StringTokenizer tok = - new StringTokenizer(utilities[i].category, "/"); - String catKey = new String(); - while (tok.hasMoreTokens()) - { - String category = tok.nextToken(); - catKey = catKey + category; - if (utilMenuMap.containsKey(catKey)) - { - menu = (JMenu)utilMenuMap.get(catKey); - } - else - { - JMenu catMenu = new JMenu(category); - catMenu.setFont(contextMenu.getFont()); - menu.add(catMenu); - utilMenuMap.put(catKey, catMenu); - menu = catMenu; - } - } - } - - // Add a menu item for this utility. - JMenuItem utilItem = new JMenuItem(utilities[i].name); - utilItem.setFont(contextMenu.getFont()); - - // Hook up to invoke utility action. - utilItem.addActionListener(invokeUtilityAction_); - - // Specify which utility to invoke. - utilItem.putClientProperty - ( - "utilityDescriptor", - utilities[i] - ); - - // Add to menu. - menu.add(utilItem); - } - - // Attach context menu to root node. - TreeNodeInfo nodeInfo = (TreeNodeInfo)rootNode_.getUserObject(); - nodeInfo.setContextMenu(contextMenu); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- TabSelection Interface Methods - //-------------------------------------------------------------------------- - - public void tabSelected() - { - // Check to see if we still have a toolbar. - if (toolBar_ != null) - { - // Get the muti-action toolbar to direct the actions to this object. - toolBar_.selectClient(toolBarKey_); - setActions(); - } - } - - public void tabDeselected() - { - resetActions(false); - } - - //-------------------------------------------------------------------------- - //---- CaseStatusListener Methods - //-------------------------------------------------------------------------- - - public void addCaseStatusListener(CaseStatusListener l) - { - listenerList_.add(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCaseStatusListener(CaseStatusListener l) - { - listenerList_.remove(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireCloseCase(String caseRoot, String caseName) - { - // Create event object. - CaseStatusEvent evt = - new CaseStatusEvent(this, caseRoot, caseName, caseServer_); - - // Process the listeners last to first, notifying those that - // are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseStatusListener.class) - { - ((CaseStatusListener)listeners[i+1]).caseClosed(evt); - } - } - } - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - contextMenu_ = new javax.swing.JPopupMenu(); - scrollPanel_ = new javax.swing.JScrollPane(); - tree_ = new javax.swing.JTree(); - - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - tree_.setFont(new java.awt.Font("Dialog", 0, 10)); - tree_.setShowsRootHandles(true); - tree_.setToggleClickCount(3); - tree_.addMouseListener(new java.awt.event.MouseAdapter() - { - public void mouseClicked(java.awt.event.MouseEvent evt) - { - OnMouseClicked(evt); - } - }); - - scrollPanel_.setViewportView(tree_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.SOUTHWEST; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(scrollPanel_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnMouseClicked (java.awt.event.MouseEvent evt) - {//GEN-FIRST:event_OnMouseClicked - try - { - // Get the node object for the current selection. - TreePath tp = tree_.getPathForLocation(evt.getX(), evt.getY()); - if (tp != null) - { - // Make sure the node is selected. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp); - - DefaultMutableTreeNode nodeItem = - (DefaultMutableTreeNode)tp.getLastPathComponent(); - TreeNodeInfo fxNode = - (TreeNodeInfo)nodeItem.getUserObject(); - - // Check for popup menu trigger. - //else if (evt.isPopupTrigger()) - if (evt.getModifiers() == evt.BUTTON3_MASK) - { - if (fxNode.getContextMenu() != null) - { - fxNode.showPopupMenu - ( - (JComponent)evt.getSource(), - evt.getX(), - evt.getY() - ); - } - } - else if (evt.getClickCount() == 2) - { - // If there is a default command bound to this node, - // invoke it. - fxNode.invokeDefaultAction(); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnMouseClicked - - //-------------------------------------------------------------------------- - - public void OnTreeSelectionChanged(TreeSelectionEvent evt) - { - try - { - // Get the node object for the current selection. - - // Has the new node been added to the selection? - if (evt.isAddedPath()) - { - TreePath tp = evt.getPath(); - if (tp != null) - { - setActions(); - //DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - //TreeNodeInfo fxNode = (TreeNodeInfo)nodeItem.getUserObject(); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPopupMenu contextMenu_; - private javax.swing.JScrollPane scrollPanel_; - private javax.swing.JTree tree_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //---- IModuleHost Interface - //-------------------------------------------------------------------------- - - public JFrame getRootFrame() - { - // Return root frame object. - return App.getRootFrame(); - } - - //-------------------------------------------------------------------------- - - public ICaseServer getCaseServer() - { - // Return our case server reference. - return caseServer_; - } - - //-------------------------------------------------------------------------- - - public ICaseBrowser getCaseBrowser() - { - return caseBrowser_; - } - - //-------------------------------------------------------------------------- - - public void printMessage(String message) - { - // Get the window key for this case. - String windowKey = - caseServer_.caseRoot() + '/' + caseServer_.caseName(); - - // Get the ReportingWindow object for this case. - ReportingWindow reportingWindow = - App.getReportingManager().getReportingWindow(windowKey); - - if (reportingWindow != null) - { - reportingWindow.printMessage(message); - } - } - - //-------------------------------------------------------------------------- - - public void setRootLabel(String label) - { - // Set the label of the root node. - TreeNodeInfo fxNode = (TreeNodeInfo)rootNode_.getUserObject(); - fxNode.setNodeLabel(label); - treeModel_.nodeChanged(rootNode_); - } - - //-------------------------------------------------------------------------- - - public String getRootLabel() - { - // Set the label of the root node. - TreeNodeInfo fxNode = (TreeNodeInfo)rootNode_.getUserObject(); - return fxNode.getNodeLabel(); - } - - //-------------------------------------------------------------------------- - - public int addNode(int parentNodeID, String nodeLabel, Icon icon) - { - int nodeID = -1; - - try - { - if (icon == null) - { - throw new FoamXException("Null icon in addNode."); - } - - // Find the specified parent node. - DefaultMutableTreeNode parentNode = getNode(parentNodeID); - if (parentNode == null) - { - throw new FoamXException("Invalid parent node ID."); - } - - // Allocate a new node ID. - nodeID = treeNodeCount_++; - - // Create new node. - DefaultMutableTreeNode newNode = - new DefaultMutableTreeNode - ( - new TreeNodeInfo(nodeLabel, nodeID, icon) - ); - - // Insert node into tree. - treeModel_.insertNodeInto - ( - newNode, - parentNode, - parentNode.getChildCount() - ); - treeModel_.nodeChanged(parentNode); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - nodeID = -1; - } - - return nodeID; - } - - //-------------------------------------------------------------------------- - - public void removeNode(int nodeID) - { - try - { - // Find the specified node info object. - TreeNodeInfo fxNode = getNodeInfo(nodeID); - if (fxNode == null) - { - throw new Exception("Invalide node ID."); - } - // And clear it. - fxNode.clearActions(); - - // Find the specified node. - DefaultMutableTreeNode node = getNode(nodeID); - if (node == null) - { - throw new FoamXException("Invalid node ID."); - } - - // Remove node from tree. - treeModel_.removeNodeFromParent(node); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void addNodeAction(int nodeID, Action action, String context) - { - try - { - // Find the specified node info object. - TreeNodeInfo fxNode = getNodeInfo(nodeID); - if (fxNode == null) - { - throw new Exception("Invalide node ID."); - } - - // Store reference to action under its name - caseActionMap_.put(action.getValue(Action.NAME), action); - - // Attach the command to the node. - fxNode.addAction(action, context); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public Action getAction(String actionName) - { - // Return stored action - return (Action)caseActionMap_.get(actionName); - } - - //-------------------------------------------------------------------------- - - public int createWindow(javax.swing.JComponent component) - { - // Create a new window and return it's ID. - return App.getWindowManager().createWindow(component); - } - - //-------------------------------------------------------------------------- - - public FoamXInternalFrame getWindowFrame(int windowID) - { - // Get the window frame from the window manager and return. - return App.getWindowManager().getWindowFrame(windowID); - } - - //-------------------------------------------------------------------------- - - public void closeWindow(int windowID) - { - // Close the specified window. - App.getWindowManager().closeWindow(windowID); - } - - //-------------------------------------------------------------------------- - - public void showWindow(int windowID) - { - // Show the specified window. - App.getWindowManager().showWindow(windowID); - } - - //-------------------------------------------------------------------------- - - public void hideWindow(int windowID) - { - // Hide the specified window. - App.getWindowManager().hideWindow(windowID); - } - - //-------------------------------------------------------------------------- - //---- Action Classes - //-------------------------------------------------------------------------- - - private class CloseCaseAction - extends AbstractAction - { - CloseCaseAction() - { - putValue - ( - Action.SMALL_ICON, - App.getResources().getIcon("CloseCaseImage") - ); - putValue(Action.NAME, "Close Case"); - putValue(Action.SHORT_DESCRIPTION, "Close Case"); - putValue(Action.LONG_DESCRIPTION, "Close Case"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(App.getRootFrame()); - - try - { - if (caseServer_ != null) - { - boolean doClose = checkAndSave - ( - true, - caseServer_.caseName() + " : case has been changed." - + " Save before closing?", - "Save Case" - ); - if (doClose) - { - // Get the case manager to do all the work. - // Case is actually closed in the closeCase method. - fireCloseCase - ( - caseServer_.caseRoot(), - caseServer_.caseName() - ); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class SaveCaseAction - extends AbstractAction - { - SaveCaseAction() - { - putValue - ( - Action.SMALL_ICON, - App.getResources().getIcon("SaveCaseImage") - ); - putValue(Action.NAME, "Save Case"); - putValue(Action.SHORT_DESCRIPTION, "Save Case"); - putValue(Action.LONG_DESCRIPTION, "Save Case"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(App.getRootFrame()); - - try - { - if (caseServer_ != null) - { - // Temporarily have modules editing this case do nothing - deactivateCaseModules(); - - // Save the case. - caseServer_.save(); - - // Reactivate modules - activateCaseModules(); - - // Print success message. - printCaseMessage - ( - "Case " + toolBarKey_ + " saved successfully to time " - + caseServer_.getTime() - ); - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class RunCalculationAction - extends AbstractAction - { - RunCalculationAction() - { - putValue - ( - Action.SMALL_ICON, - App.getResources().getIcon("RunCalculationImage") - ); - putValue(Action.NAME, "Start Calculation"); - putValue(Action.SHORT_DESCRIPTION, "Start Calculation"); - putValue(Action.LONG_DESCRIPTION, "Start Calculation"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(App.getRootFrame()); - - try - { - if (caseServer_ != null) - { - boolean doRun = - checkAndSave - ( - true, - caseServer_.caseName() - + " : case has been changed." - + " Save before running?", - "Save Case" - ); - if (doRun) - { - RunPanel runPanel = new RunPanel - ( - App.getRootFrame(), - caseBrowser_, - caseServer_.caseRoot(), - caseServer_.caseName(), - caseServer_.application().name(), - true, // Is application - "controlDict", - null - ); - runPanel.setVisible(true); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - //-------------------------------------------------------------------------- - - // Not used anymore. Use runPanel always. - private class StartCalculationAction - extends AbstractAction - { - StartCalculationAction() - { - putValue - ( - Action.SMALL_ICON, - App.getResources().getIcon("StartCalculationImage") - ); - putValue(Action.NAME, "Start Calculation Now"); - putValue(Action.SHORT_DESCRIPTION, "Start Calculation Now"); - putValue(Action.LONG_DESCRIPTION, "Start Calculation Now"); - } - - public void actionPerformed(ActionEvent e) - { - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(App.getRootFrame()); - - try - { - if (caseServer_ != null) - { - boolean doRun = checkAndSave - ( - true, - caseServer_.caseName() + " : case has been changed." - + " Save before running?", - "Save Case" - ); - if (doRun) - { - // Start calculation. - int pid = caseServer_.runCase(""); - - System.out.println - ("Application started with pid " + pid); - } - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class StopCalculationAction - extends AbstractAction - { - StopCalculationAction() - { - putValue - ( - Action.SMALL_ICON, - App.getResources().getIcon("StopCalculationImage") - ); - putValue(Action.NAME, "Stop Calculation"); - putValue(Action.SHORT_DESCRIPTION, "Stop Calculation"); - putValue(Action.LONG_DESCRIPTION, "Stop Calculation"); - } - - public void actionPerformed(ActionEvent e) - { - - // Show busy cursor. - BusyCursor busyCursor = new BusyCursor(App.getRootFrame()); - - try - { - if (caseServer_ != null) - { - // Stop a calculation. - caseServer_.killCase(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionEvent.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionEvent.java deleted file mode 100644 index abad276a3f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionEvent.java +++ /dev/null @@ -1,85 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.CaseBrowser.ICaseBrowser; - -public class CaseSelectionEvent - extends java.util.EventObject -{ - protected String hostName_; - protected String caseRoot_; - protected String caseName_; - protected ICaseBrowser caseBrowser_; - - /** CaseSelectionEvent constructor. */ - public CaseSelectionEvent - ( - Object source, - String hostName, - String caseRoot, - String caseName, - ICaseBrowser caseBrowser - ) - { - super(source); - hostName_ = hostName; - caseRoot_ = caseRoot; - caseName_ = caseName; - caseBrowser_ = caseBrowser; - } - - public String toString() - { - return - "CaseSelectionEvent : " + hostName_ + ":" + caseRoot_ - + " " + caseName_; - } - - public String hostName() - { - return hostName_; - } - - public String caseRoot() - { - return caseRoot_; - } - - public String caseName() - { - return caseName_; - } - - public ICaseBrowser caseBrowser() - { - return caseBrowser_; - } -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionListener.java deleted file mode 100644 index 5cb5d67fb5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseSelectionListener.java +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -public interface CaseSelectionListener - extends java.util.EventListener -{ - public abstract void hostSelected(CaseSelectionEvent evt); - public abstract void rootSelected(CaseSelectionEvent evt); - public abstract void caseSelected(CaseSelectionEvent evt); -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusEvent.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusEvent.java deleted file mode 100644 index c380890966..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusEvent.java +++ /dev/null @@ -1,125 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.CasePostServer.ICasePostServer; -import FoamXServer.CaseBrowser.ICaseBrowser; - -public class CaseStatusEvent - extends java.util.EventObject -{ - protected String caseRoot_; - protected String caseName_; - protected ICaseServer caseServer_; - protected ICasePostServer casePostServer_; - protected ICaseBrowser caseBrowser_; - - /** CaseStatusEvent constructor. */ - public CaseStatusEvent - ( - Object source, - String caseRoot, - String caseName, - ICaseServer caseServer, - ICasePostServer casePostServer, - ICaseBrowser caseBrowser - ) - { - super(source); - caseRoot_ = caseRoot; - caseName_ = caseName; - caseServer_ = caseServer; - casePostServer_ = casePostServer; - caseBrowser_ = caseBrowser; - } - - /** CaseStatusEvent constructor. */ - public CaseStatusEvent - ( - Object source, - String caseRoot, - String caseName, - ICaseServer caseServer - ) - { - this(source, caseRoot, caseName, caseServer, null, null); - } - - public CaseStatusEvent - ( - Object source, - String caseRoot, - String caseName, - ICasePostServer casePostServer - ) - { - this(source, caseRoot, caseName, null, casePostServer, null); - } - - public CaseStatusEvent - ( - Object source, - String caseRoot, - String caseName - ) - { - this(source, caseRoot, caseName, null, null, null); - } - - public String toString() - { - return "CaseStatusEvent : " + caseRoot_ + " " + caseName_; - } - - public String caseRoot() - { - return caseRoot_; - } - - public String caseName() - { - return caseName_; - } - - public ICaseServer caseServer() - { - return caseServer_; - } - - public ICasePostServer casePostServer() - { - return casePostServer_; - } - - public ICaseBrowser caseBrowser() - { - return caseBrowser_; - } -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusListener.java deleted file mode 100644 index 51953a6cef..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CaseStatusListener.java +++ /dev/null @@ -1,41 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -public interface CaseStatusListener - extends java.util.EventListener -{ - public abstract void caseOpened(CaseStatusEvent evt); - public abstract void caseClosed(CaseStatusEvent evt); - public abstract void caseDeleted(CaseStatusEvent evt); - - public abstract void casePostOpened(CaseStatusEvent evt); - public abstract void casePostClosed(CaseStatusEvent evt); -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CloneCaseDialog.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CloneCaseDialog.form deleted file mode 100644 index 9a5dfb5185..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CloneCaseDialog.form +++ /dev/null @@ -1,221 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/ContextInfo.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/ContextInfo.java deleted file mode 100644 index cb129c160a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/ContextInfo.java +++ /dev/null @@ -1,267 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import javax.swing.Icon; - -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.CaseDescriptor; - -import FoamX.App; - -public class ContextInfo - implements FoamX.Util.FoamXTreeRenderer.FoamXTreeItem -{ - //-------------------------------------------------------------------------- - // Symbolic constants for icon indexes. - protected static final int ROOTCONTEXT = 0; - protected static final int HOST = 1; - protected static final int HOSTOFFLINE = 2; - protected static final int CASEROOT = 3; - protected static final int CASENAME = 4; - protected static final int LOCKEDCASE = 5; - protected static final int MANAGEDCASE = 6; - protected static final int ERRORCASE = 7; - protected static final int INVALID_REF = 8; - - protected int type_ = ROOTCONTEXT; - protected String name_ = ""; - protected ICaseBrowser caseBrowser_ = null; - protected CaseDescriptor caseDescriptor_ = null; - protected String caseRoot_ = ""; - protected String caseName_ = ""; - protected String app_ = ""; - protected String statusText_ = ""; - protected boolean caseLocked_ = false; - protected boolean caseManaged_ = false; - protected boolean caseError_ = false; - - protected static Icon[] icons_; - - //-------------------------------------------------------------------------- - - static - { - try - { - // Load icons. - icons_ = new Icon[9]; - icons_[ROOTCONTEXT] = - App.getResources().getIcon("CaseBrowser.RootContextImage"); - icons_[HOST] = - App.getResources().getIcon("CaseBrowser.HostImage"); - icons_[HOSTOFFLINE] = - App.getResources().getIcon("CaseBrowser.HostOfflineImage"); - icons_[CASEROOT] = - App.getResources().getIcon("CaseBrowser.CaseRootImage"); - icons_[CASENAME] = - App.getResources().getIcon("CaseBrowser.CaseNameImage"); - icons_[LOCKEDCASE] = - App.getResources().getIcon("CaseBrowser.LockedCaseImage"); - icons_[MANAGEDCASE] = - App.getResources().getIcon("CaseBrowser.ManagedCaseImage"); - icons_[ERRORCASE] = - App.getResources().getIcon("CaseBrowser.InvalidRefImage"); - icons_[INVALID_REF] = - App.getResources().getIcon("CaseBrowser.InvalidRefImage"); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** ContextInfo constructor. */ - public ContextInfo(String name, int type) - { - name_ = name; - type_ = type; - } - - public ContextInfo - ( - ICaseBrowser caseBrowser, - String caseRoot, - String displayCaseRoot - ) - { - name_ = displayCaseRoot; - type_ = CASEROOT; - caseBrowser_ = caseBrowser; - caseRoot_ = caseRoot; - } - - public ContextInfo(ICaseBrowser caseBrowser, CaseDescriptor caseDescriptor) - { - caseBrowser_ = caseBrowser; - caseDescriptor_ = caseDescriptor; - - name_ = caseDescriptor_.caseName; - type_ = CASENAME; - caseRoot_ = caseDescriptor_.rootDir; - caseName_ = caseDescriptor_.caseName; - app_ = caseDescriptor_.app; - caseLocked_ = caseDescriptor_.locked; - caseManaged_ = caseDescriptor_.managed; - caseError_ = caseDescriptor_.error; - } - - //-------------------------------------------------------------------------- - // FoamXTreeItem interface functions. - - public Icon getIcon() - { - // See if this case is in error, locked or unmanaged. - if (type_ == CASENAME && caseError_) - { - return icons_[ERRORCASE]; - } - else if (type_ == CASENAME && caseLocked_) - { - return icons_[LOCKEDCASE]; - } - else if (type_ == CASENAME && caseManaged_) - { - return icons_[MANAGEDCASE]; - } - return icons_[type_]; - } - - public String getText() - { - return toString(); - } - - //-------------------------------------------------------------------------- - - public String toString() - { - return name_; - } - - public int getType() - { - return type_; - } - public void setType(int type) - { - type_ = type; - } - - public ICaseBrowser getCaseBrowser() - { - return caseBrowser_; - } - public void setCaseBrowser(ICaseBrowser caseBrowser) - { - caseBrowser_ = caseBrowser; - } - - public CaseDescriptor getCaseDescriptor() - { - return caseDescriptor_; - } - public void setCaseDescriptor(CaseDescriptor caseDescriptor) - { - caseDescriptor_ = caseDescriptor; - } - - public String getCaseRoot() - { - return caseRoot_; - } - public String getCaseName() - { - return caseName_; - } - public String getAppClass() - { - return app_; - } - - public String getStatusText() - { - return statusText_; - } - public void setStatusText(String text) - { - statusText_ = text; - } - - public boolean isCaseLocked() - { - return caseLocked_; - } - public void setCaseLocked(boolean locked) - { - caseLocked_ = locked; - } - - public boolean isCaseError() - { - return caseError_; - } - public void setCaseError(boolean error) - { - caseError_ = error; - } - - public boolean isCaseManaged() - { - return caseManaged_; - } - public void setCaseManaged(boolean managed) - { - caseManaged_ = managed; - } - - public boolean isRootContext() - { - return type_ == ROOTCONTEXT; - } - public boolean isHost() - { - return (type_ == HOST || type_ == HOSTOFFLINE); - } - public boolean isCaseRoot() - { - return type_ == CASEROOT; - } - public boolean isCaseName() - { - return type_ == CASENAME; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.form deleted file mode 100644 index 629ec96657..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.form +++ /dev/null @@ -1,180 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.java deleted file mode 100644 index a155101ed4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/CreateCaseDialog.java +++ /dev/null @@ -1,422 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import java.util.*; -import javax.swing.*; - -import FoamX.App; -import FoamXServer.ApplicationDescriptor; - -public class CreateCaseDialog - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - protected boolean wasCancelled_; - protected String caseClass_; - protected String caseRoot_; - protected ApplicationDescriptor[] applicationes_; - - //-------------------------------------------------------------------------- - /** CreateCaseDialog constructor. */ - public CreateCaseDialog - ( - java.awt.Frame parent, - ApplicationDescriptor[] applicationes, - String[] caseRoots - ) - { - super(parent, true); // Modal. - - wasCancelled_ = false; - applicationes_ = applicationes; - - // Initialise the default GUI. - initComponents(); - - // Initialise the application class combo box. - for (int i = 0; i 0)) -// { -// // Has category. Build hierarchical submenus by splitting -// // category at '/' -// // Set menu to be submenu. -// StringTokenizer tok = -// new StringTokenizer(appCat, "/"); -// -// String catKey = new String(); -// -// while (tok.hasMoreTokens()) -// { -// String category = tok.nextToken(); -// catKey = catKey + category; -// if (appsMenuMap.containsKey(catKey)) -// { -// // Menu already exists for this category -// menu = (JComboBox)appsMenuMap.get(catKey); -// } -// else -// { -// // No menu yet for this category -// JComboBox catMenu = new JComboBox(category); -// catMenu.setFont(appsMenu.getFont()); -// menu.add(catMenu); -// appsMenuMap.put(catKey, catMenu); -// menu = catMenu; -// } -// } -// } -// -// // Handle item itself -// -// // Add a menu item for this utility. -// JComboItem comboItem = new JComboItem(appName); -// comboItem.setFont(appsMenu.getFont()); -// -// // Add to menu (is either toplevel or category menu) -// menu.add(comboItem); -// } -// -// } - - //-------------------------------------------------------------------------- - - public boolean wasCancelled() - { - return wasCancelled_; - } - - //-------------------------------------------------------------------------- - - public String getCaseClass() - { - return caseClass_; - } - public void setCaseClass(String app) - { - // Update the application class combo box. - appCombo_.setSelectedItem(app); - } - - //-------------------------------------------------------------------------- - - public String getCaseRoot() - { - return caseRoot_; - } - public void setCaseRoot(String root) - { - // Update the root combo box. - rootCombo_.setSelectedItem(root); - } - - //-------------------------------------------------------------------------- - - public String getCaseName() - { - return caseNameTextField_.getText(); - } - public void setCaseName(String name) - { - caseNameTextField_.setText(name); - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - mainPanel_ = new javax.swing.JPanel(); - label1_ = new javax.swing.JLabel(); - appCombo_ = new javax.swing.JComboBox(); - label2_ = new javax.swing.JLabel(); - rootCombo_ = new javax.swing.JComboBox(); - label3_ = new javax.swing.JLabel(); - caseNameTextField_ = new javax.swing.JTextField(); - buttonPanel_ = new javax.swing.JPanel(); - buttonOK_ = new javax.swing.JButton(); - buttonCancel_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setTitle("Create New Case"); - setModal(true); - addWindowListener(new java.awt.event.WindowAdapter() { - public void windowClosing(java.awt.event.WindowEvent evt) { - closeDialog(evt); - } - }); - - mainPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - mainPanel_.setPreferredSize(new java.awt.Dimension(350, 100)); - label1_.setText("Class"); - label1_.setForeground(java.awt.Color.black); - label1_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(10, 10, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - mainPanel_.add(label1_, gridBagConstraints2); - - appCombo_.setFont(new java.awt.Font("Dialog", 0, 10)); - appCombo_.addItemListener(new java.awt.event.ItemListener() { - public void itemStateChanged(java.awt.event.ItemEvent evt) { - OnAppClassComboChanged(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(10, 5, 5, 10); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints2.weightx = 1.0; - mainPanel_.add(appCombo_, gridBagConstraints2); - - label2_.setText("Case Root"); - label2_.setForeground(java.awt.Color.black); - label2_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 1; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(5, 10, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - mainPanel_.add(label2_, gridBagConstraints2); - - rootCombo_.setFont(new java.awt.Font("Dialog", 0, 10)); - rootCombo_.addItemListener(new java.awt.event.ItemListener() { - public void itemStateChanged(java.awt.event.ItemEvent evt) { - OnRootComboChanged(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 1; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 10); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints2.weightx = 1.0; - mainPanel_.add(rootCombo_, gridBagConstraints2); - - label3_.setText("Case Name"); - label3_.setForeground(java.awt.Color.black); - label3_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 2; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(5, 10, 10, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - mainPanel_.add(label3_, gridBagConstraints2); - - caseNameTextField_.setFont(new java.awt.Font("Default", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 2; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 10, 10); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints2.weightx = 1.0; - mainPanel_.add(caseNameTextField_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(mainPanel_, gridBagConstraints1); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - buttonOK_.setFont(new java.awt.Font("Dialog", 0, 10)); - buttonOK_.setText("OK"); - buttonOK_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - OnOK(evt); - } - }); - - buttonPanel_.add(buttonOK_); - - buttonCancel_.setFont(new java.awt.Font("Dialog", 0, 10)); - buttonCancel_.setText("Cancel"); - buttonCancel_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - OnCancel(evt); - } - }); - - buttonPanel_.add(buttonCancel_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.SOUTH; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(400, 300)); - setLocation((screenSize.width-400)/2,(screenSize.height-300)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnRootComboChanged (java.awt.event.ItemEvent evt) - {//GEN-FIRST:event_OnRootComboChanged - // Get the selected case root. - if (evt.getStateChange() == java.awt.event.ItemEvent.SELECTED) - { - caseRoot_ = (String)evt.getItem(); - } - }//GEN-LAST:event_OnRootComboChanged - - //-------------------------------------------------------------------------- - - private void OnAppClassComboChanged (java.awt.event.ItemEvent evt) - {//GEN-FIRST:event_OnAppClassComboChanged - // Get the selected application class. - if (evt.getStateChange() == java.awt.event.ItemEvent.SELECTED) - { - caseClass_ = (String)evt.getItem(); - } - }//GEN-LAST:event_OnAppClassComboChanged - - //-------------------------------------------------------------------------- - - private void OnCancel (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnCancel - wasCancelled_ = true; - setVisible(false); - dispose(); - }//GEN-LAST:event_OnCancel - - //-------------------------------------------------------------------------- - - private void OnOK (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnOK - - //JTextField edit = (JTextField)rootCombo_.getEditor().getEditorComponent(); - //edit.setText(caseRoot_); - - // Only close if we have a case name entered. - if (getCaseName().trim().length()> 0) - { - wasCancelled_ = false; - setVisible(false); - dispose(); - } - else - { - App.getRootFrame().getToolkit().getDefaultToolkit().beep(); - } - - }//GEN-LAST:event_OnOK - - //-------------------------------------------------------------------------- - - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - wasCancelled_ = true; - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel mainPanel_; - private javax.swing.JLabel label1_; - private javax.swing.JComboBox appCombo_; - private javax.swing.JLabel label2_; - private javax.swing.JComboBox rootCombo_; - private javax.swing.JLabel label3_; - private javax.swing.JTextField caseNameTextField_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton buttonOK_; - private javax.swing.JButton buttonCancel_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/HostChooserDlg.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/HostChooserDlg.java deleted file mode 100644 index 06f68f27a1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/HostChooserDlg.java +++ /dev/null @@ -1,180 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.CaseManagement.CaseBrowserPanel; - -import FoamXServer.CaseBrowser.ICaseBrowser; - -public class HostChooserDlg - extends javax.swing.JDialog - implements CaseSelectionListener -{ - //-------------------------------------------------------------------------- - - protected CaseBrowserPanel caseBrowserPanel_; - - protected String hostName_; - - private static final int DEFAULT_WIDTH = 300; - private static final int DEFAULT_HEIGHT = 400; - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - /** HostChooserDlg constructor. */ - public HostChooserDlg(java.awt.Frame parent) - { - super(parent, "Select Host", true); - - try - { - - // Get current caseBrowserModel from existing caseBrowserPanel - CaseManager caseManager = App.getCaseManager(); - - if (caseManager == null) - { - throw new FoamXException - ( - "No caseManager in top-level App." - ); - } - CaseBrowserModel model = - caseManager.getCaseBrowser().getModel(); - - // Open new caseBrowserPanel with existing model in - // case-selection mode. - caseBrowserPanel_ = - new CaseBrowserPanel(model, CaseBrowserPanel.SELECT_HOST_MODE); - - initComponents(); - - // Get warned of any selection - caseBrowserPanel_.addCaseSelectionListener(this); - } - catch (FoamXException ex) - { - App.handleAllExceptions(ex); - } - } - - - - /** GUI initialisation */ - private void initComponents() - { - getContentPane().add(caseBrowserPanel_); - - addWindowListener - ( - new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - } - ); - - caseBrowserPanel_.setPreferredSize - ( - new java.awt.Dimension(DEFAULT_WIDTH, DEFAULT_HEIGHT) - ); - pack(); - - java.awt.Dimension screenSize = - java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setLocation - ( - (screenSize.width-getSize().width)/2, - (screenSize.height-getSize().height)/2 - ); - } - - private void closeDialog(java.awt.event.WindowEvent evt) - { - clearSelection(); - exitWindow(); - } - - private void clearSelection() - { - hostName_ = null; - } - - private void exitWindow() - { - //caseBrowserPanel_.shutdown(); - setVisible(false); - dispose(); - } - - //-------------------------------------------------------------------------- - //---- public accessors - //-------------------------------------------------------------------------- - - /** get selected root */ - public String getHostName() - { - return hostName_; - } - - //-------------------------------------------------------------------------- - //---- CaseSelectionListener Interface - //-------------------------------------------------------------------------- - - - public void hostSelected(CaseSelectionEvent evt) - { - hostName_ = evt.hostName(); - exitWindow(); - } - - public void rootSelected(CaseSelectionEvent evt) - { - } - - public void caseSelected(CaseSelectionEvent evt) - { - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModule.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModule.java deleted file mode 100644 index 6dd8f72c41..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModule.java +++ /dev/null @@ -1,46 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import FoamXServer.*; - -public interface IModule - extends java.beans.Visibility -{ - public int getModuleID(); - public String getModuleName(); - public String getModuleDescription(); - public boolean initialiseModule - ( - IModuleHost moduleHost, - int moduleID - ) throws Exception; - public boolean shutdownModule(); - - // Tell module not to do any actions (e.g. listen to file changes) - public boolean deactivate(); - public boolean activate(); -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModuleHost.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModuleHost.java deleted file mode 100644 index 8beeecf7b3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/IModuleHost.java +++ /dev/null @@ -1,66 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import javax.swing.Action; -import javax.swing.Icon; -import javax.swing.JFrame; - -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.CaseBrowser.ICaseBrowser; - -import FoamX.WindowManagement.FoamXInternalFrame; - -public interface IModuleHost -{ - // Miscellaneous methods. - public JFrame getRootFrame(); - public ICaseServer getCaseServer(); - public ICaseBrowser getCaseBrowser(); - - // Reporting methods. - public void printMessage(String message); - - // Tree management methods. - public void setRootLabel(String label); - public String getRootLabel(); - public int addNode(int parentNodeID, String nodeLabel, Icon icon); - public void removeNode(int nodeID); - - // Add action as popup to treeNode - public void addNodeAction(int nodeID, Action action, String context); - // Retrieve stored action - public Action getAction(String actionName); - - // Window management methods. - public int createWindow(javax.swing.JComponent component); - public FoamXInternalFrame getWindowFrame(int windowID); - public void closeWindow(int windowID); - public void showWindow(int windowID); - public void hideWindow(int windowID); -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/TreeNodeInfo.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/TreeNodeInfo.java deleted file mode 100644 index 82f7fb95b7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/TreeNodeInfo.java +++ /dev/null @@ -1,199 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.CaseManagement; - -import java.awt.event.*; -import javax.swing.*; -import javax.swing.tree.DefaultMutableTreeNode; - -import FoamX.App; -import FoamX.Util.MenuItemActionChangedListener; - -class TreeNodeInfo - implements FoamX.Util.FoamXTreeRenderer.FoamXTreeItem -{ - //-------------------------------------------------------------------------- - - protected String nodeLabel_; - protected int nodeID_; - protected JPopupMenu popupMenu_; - protected Action defaultAction_; - protected String defaultContext_; - protected Icon icon_; - - //-------------------------------------------------------------------------- - /** ModuleTreeNode constructor. */ - TreeNodeInfo(String nodeLabel, int nodeID, Icon icon) - { - nodeLabel_ = nodeLabel; - nodeID_ = nodeID; - popupMenu_ = null; - defaultAction_ = null; - icon_ = icon; - } - - //-------------------------------------------------------------------------- - - public String toString() - { - return nodeLabel_; - } - - String getNodeLabel() - { - return nodeLabel_; - } - void setNodeLabel(String label) - { - nodeLabel_ = label; - } - - int getNodeID() - { - return nodeID_; - } - - JPopupMenu getContextMenu() - { - return popupMenu_; - } - void setContextMenu(JPopupMenu contextMenu) - { - popupMenu_ = contextMenu; - } - - //-------------------------------------------------------------------------- - - void addAction(Action action, String context) - { - try - { - // Create the popup menu if required. - if (popupMenu_ == null) - { - popupMenu_ = new JPopupMenu(); - popupMenu_.setFont(new java.awt.Font("Dialog", 0, 10)); - - // First action is the default action. - defaultAction_ = action; - defaultContext_ = context; - } - - // Add new menu item. - JMenuItem menuItem = popupMenu_.add(action); - menuItem.setFont(popupMenu_.getFont()); - - // Set action command and link up action listener object. - menuItem.setActionCommand(context); - action.addPropertyChangeListener - ( - new MenuItemActionChangedListener(menuItem) - ); - menuItem.setEnabled(action.isEnabled()); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - void clearActions() - { - popupMenu_ = null; - defaultAction_ = null; - defaultContext_ = null; - } -// -// //-------------------------------------------------------------------------- -// -// Action getAction(String actionName) -// { -// if (popupMenu_ != null) -// { -// MenuElement[] menuElements = popupMenu_.getSubElements(); -// for (int i = 0; i < menuElements.length; i++) -// { -// JMenuItem menuItem = menuElements[i].getComponent(); -// } -// } -// } -// - - //-------------------------------------------------------------------------- - - void invokeDefaultAction() - { - try - { - if (defaultAction_ != null) - { - ActionEvent evt = new ActionEvent - ( - this, - nodeID_, - defaultContext_ - ); - defaultAction_.actionPerformed(evt); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - void showPopupMenu(JComponent parent, int x, int y) - { - // Show the popup menu if we have one. - if (popupMenu_ != null) - { - popupMenu_.show(parent, x, y); - } - } - - //-------------------------------------------------------------------------- - //----- FoamXTreeRenderer.FoamXTreeItem Interface - //-------------------------------------------------------------------------- - - public String getText() - { - return nodeLabel_; - } - public Icon getIcon() - { - return icon_; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/CaseManagement/filesystem.attributes deleted file mode 100644 index f7fe29e0d508a3e1b9417b70860a602314bf0567..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4060 zcmeHKO>7%Q6drHl)IbCYN*e?MK`}@zbf?MzkRl|KI3|vq)T(npjSwAs$M&Y$lmik%LgIjWDiSJEsKkXgqLOgiJ4JE&WQUsmgAU3ZqY6J)OUr z8QYsgs3p<#7TG3lsD0+H5Y<>CLHgKF-+p)E;`d|7$)o$3AYPtSwU7mLpKeI18iIMP zK%?VJMA1blb`+Is!lTSJp)|?>c)$qYN%U-zn+5TOyIxr%QZ)!;)H_$%qE*d)xc=xD zpIp1`Ag6%F8^B`|Wkh9bu?^fqB3cs*P+1TiDL zjyvZu-wJ??Yshe_E0l2MHiZ|0wrtAXRd9&Ig0LXsm6vZ!rOr0BgHi=F0YcPN+G8t0 ztW$$FmLr<1gL1MR)D^-#MmKNVaZ~R+?!vw+a3a z+)smEi+88*)RDfA^gT@9_JvZgdWUxjG@2Em^oaHjub&Y;`S#_%KI+PJ^+=}wn>PIP z&^DYL0PeL38o5b(GjPUMG~2gDuoYz z{`1xSQb_OIT`3$p>e&BH$1ZRf&3y0L*Z8wrSuzt%Bq3uXCX#X9okt`(Ic)ri$DS0P zYG1za)}EbKHF~L2Ii2RKa9J>zKm;!lX@(#eLkBEH@|!(qY@gVXVff7QLN8*@w?j3N z?dY2VA6SX-P7Ho<2;5vRT#4vv1HO=a?wft$zWWGjX3+9K1Byv5dp>+VCAQO9=%hLV zdaU0(@$?Y9=;Y3mo&Fejz*-`%Mo)}37zX?=j@M?EoIE&AztVeH185$)w|i~!!!~W0 pKChA6%gprm=zQbLM2?LYw!_Vmr0`8_jB-9 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/.nbattrs deleted file mode 100644 index 734d097af1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/.nbattrs +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.form deleted file mode 100644 index 52d4f209a4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.form +++ /dev/null @@ -1,209 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.java deleted file mode 100644 index 68d0e24945..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationDetailsTab.java +++ /dev/null @@ -1,329 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors.ApplicationEditor; - -import java.util.Vector; -import javax.swing.DefaultListModel; -import javax.swing.JOptionPane; - -public class ApplicationDetailsTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private ApplicationModel appModel_; - private DefaultListModel listModel_; - - //-------------------------------------------------------------------------- - /** Creates a new AppClassPanel form. */ - public ApplicationDetailsTab(ApplicationModel appModel) - { - appModel_ = appModel; - listModel_ = new DefaultListModel(); - - // Initialise the gui. - initComponents(); - - // Initialise the argument list. - Vector argVec = appModel_.getAppParameters(); - for (int i=0; i = minIndex; i--) - { - listModel_.removeElementAt(i); - } - } - }//GEN-LAST:event_removeButtonActionPerformed_ - - //-------------------------------------------------------------------------- - -private void addButtonActionPerformed_ (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_addButtonActionPerformed_ - // Add a new program argument. - String arg = (String)JOptionPane.showInputDialog(this, - "Enter Application Argument", - "FoamX...", - JOptionPane.PLAIN_MESSAGE, null, null, null); - if (arg != null && arg.trim().length()> 0) - { - listModel_.addElement(arg); - } - -}//GEN-LAST:event_addButtonActionPerformed_ - - //-------------------------------------------------------------------------- - -// Variables declaration - do not modify//GEN-BEGIN:variables -private javax.swing.JPanel subPanel_; -private javax.swing.JLabel classNameLabel_; -private javax.swing.JTextField appNameEdit_; -private javax.swing.JLabel appDescriptionLabel_; -private javax.swing.JTextField appDescriptionEdit_; -private javax.swing.JLabel appNameLabel_; -private javax.swing.JTextField appNameEdit_; -private javax.swing.JLabel argumentListLabel_; -private javax.swing.JPanel argPanel_; -private javax.swing.JScrollPane argListScroll_; -private javax.swing.JList argumentList_; -private javax.swing.JPanel argButtonPanel_; -private javax.swing.JButton addButton_; -private javax.swing.JButton removeButton_; -// End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.form deleted file mode 100644 index cc36d18eae..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.form +++ /dev/null @@ -1,80 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.java deleted file mode 100644 index 2efa0ccdc5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationEditorDlg.java +++ /dev/null @@ -1,300 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.awt.*; -import java.util.Hashtable; -import javax.swing.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamX.Editors.TypeEditor.TypeEditorPanel; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.BusyCursor; -import FoamXServer.CaseServer.IFoamProperties; - -public class ApplicationEditorDlg - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private ApplicationModel appModel_; - private Hashtable tabMap_; - private ApplicationDetailsTab appDetailsTab_; - private FieldsTab fieldsTab_; - private TypeEditorPanel dictionariesTab_; - private PatchPhysicalTypesTab patchPhysicalTypesTab_; - private ModulesTab modulesTab_; - private boolean cancelled_; - private boolean readOnly_; - - //-------------------------------------------------------------------------- - /** Creates a new ApplicationEditor dialog based on the specified application class object. */ - public ApplicationEditorDlg(IFoamProperties foamSys, String appName, boolean readOnly) throws FoamXException - { - super(new javax.swing.JFrame(), true); // Modal. - - try - { - // Set readonly flag. - readOnly_ = readOnly; - - App.printMessage("Constructing Model..."); - // Create application class model. - appModel_ = new ApplicationModel(foamSys); - - App.printMessage("Loading Model..."); - // Initialise the model object from the application class object. - appModel_.loadApplication(appName); - - // Create tabs. - App.printMessage("Constructing App Details Tab..."); - appDetailsTab_ = new ApplicationDetailsTab(appModel_); - App.printMessage("Constructing Field Tab..."); - fieldsTab_ = new FieldsTab(appModel_); - App.printMessage("Constructing Boundary Types Tab..."); - patchPhysicalTypesTab_ = new PatchPhysicalTypesTab(appModel_); - App.printMessage("Constructing Type Editor Tab..."); - dictionariesTab_ = new TypeEditorPanel(appModel_.getAppClassDescriptor()); - App.printMessage("Constructing Modules Tab..."); - modulesTab_ = new ModulesTab(appModel_); - - // Initialise components and add tabs. - initComponents(); - tabbedPane.addTab("General", appDetailsTab_); - tabbedPane.addTab("Fields", fieldsTab_); - tabbedPane.addTab("Boundary Types", patchPhysicalTypesTab_); - tabbedPane.addTab("Dictionaries", dictionariesTab_); - tabbedPane.addTab("Modules", modulesTab_); - - // Initialise tab map. - tabMap_ = new Hashtable(5); - tabMap_.put("General", appDetailsTab_); - tabMap_.put("Fields", fieldsTab_); - tabMap_.put("Boundary Types", patchPhysicalTypesTab_); - tabMap_.put("Dictionaries", dictionariesTab_); - tabMap_.put("Modules", modulesTab_); - - cancelled_ = true; - - App.printMessage("Fin..."); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - throw new FoamXException("Failed to construct ApplicationEditorDlg for class " + appName); - } - } - - //-------------------------------------------------------------------------- - - public boolean wasCancelled() - { - return cancelled_; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - tabbedPane = new javax.swing.JTabbedPane(); - buttonPanel = new javax.swing.JPanel(); - closeButton_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setTitle("Application Class Editor"); - setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); - setName(""); - setModal(true); - setFont(new java.awt.Font("Dialog", 0, 10)); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - OnWindowClosing(evt); - } - }); - - tabbedPane.setFont(new java.awt.Font("Dialog", 0, 10)); - tabbedPane.setAutoscrolls(true); - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(tabbedPane, gridBagConstraints1); - - buttonPanel.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel.setBorder(new javax.swing.border.EtchedBorder(javax.swing.border.EtchedBorder.RAISED)); - closeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - closeButton_.setLabel("Close"); - closeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnClose(evt); - } - }); - - buttonPanel.add(closeButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.SOUTH; - getContentPane().add(buttonPanel, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(650, 450)); - setLocation((screenSize.width-650)/2,(screenSize.height-450)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnClose(java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnClose - - closeWindow(); - - }//GEN-LAST:event_OnClose - - //-------------------------------------------------------------------------- - - /** Event handler for window closing event. */ - private void OnWindowClosing (java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_OnWindowClosing - - closeWindow(); - - }//GEN-LAST:event_OnWindowClosing - - //-------------------------------------------------------------------------- - - private void closeWindow() - { - try - { - if (!readOnly_) - { - int ret = JOptionPane.showConfirmDialog(this, - "Save changes to application class data?", - "FoamX...", - JOptionPane.YES_NO_CANCEL_OPTION, - JOptionPane.QUESTION_MESSAGE); - if (ret == JOptionPane.YES_OPTION) - { - if (!checkAndSaveData()) return; - } - else if (ret == JOptionPane.CANCEL_OPTION) - { - return; - } - } - - setVisible(false); - dispose(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - private boolean checkAndSaveData() - { - // Show busy cursor. - BusyCursor cursor = new BusyCursor(this); - - // Get each tab to update the model. - appDetailsTab_.updateModel(); - fieldsTab_.updateModel(); - dictionariesTab_.updateModel(); - patchPhysicalTypesTab_.updateModel(); - modulesTab_.updateModel(); - - // Validate the model and see if it's happy. - try - { - appModel_.validate(); - } - catch (ApplicationExeption ex) - { - JOptionPane.showMessageDialog(this, - "Error : " + ex.getMessage(), - "FoamX...", - JOptionPane.ERROR_MESSAGE); - - // Select offending tab. - String tabName = ex.getTabName(); - if (tabMap_.containsKey(tabName)) - { - Component tab = (Component)tabMap_.get(tabName); - tabbedPane.setSelectedComponent(tab); - } - return false; - } - - // Get model to serialise itself. - appModel_.saveApplication(); - - // Indicate that we have committed the data. - cancelled_ = false; - - return true; - } - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTabbedPane tabbedPane; - private javax.swing.JPanel buttonPanel; - private javax.swing.JButton closeButton_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationExeption.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationExeption.java deleted file mode 100644 index 54f9fd45a5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationExeption.java +++ /dev/null @@ -1,50 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -public class ApplicationExeption - extends java.lang.Exception -{ - private String tabName_; - - /** - * Constructs an ApplicationExeption with the specified detail message. - * @param msg the detail message. - */ - public ApplicationExeption(String tabName, String message) - { - super(message); - tabName_ = tabName; - } - - - public String getTabName() - { - return tabName_; - } -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationModel.java deleted file mode 100644 index 9bc5fb30bb..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ApplicationModel.java +++ /dev/null @@ -1,415 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.util.Vector; -import java.util.Hashtable; - -import FoamX.App; -import FoamX.FoamXException.*; -import FoamXServer.CaseServer.IApplication; -import FoamXServer.CaseServer.IApplicationHolder; -import FoamXServer.CaseServer.IFoamProperties; -import FoamXServer.CaseServer.IGeometryDescriptor; -import FoamXServer.CaseServer.IGeometryDescriptorHolder; -import FoamXServer.CaseServer.IPatchDescriptor; -import FoamXServer.CaseServer.IPatchDescriptorHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.ITypeDescriptor; -import FoamXServer.ITypeDescriptorHolder; -import FoamXServer.ValidationError; - -class ApplicationModel -{ - //-------------------------------------------------------------------------- - - private IFoamProperties foamSys_; - private IApplication app_; - private boolean modified_; - - // Simple application class properties. - private String appName_; - private String appDescription_; - private String appExeName_; - private Vector appParameters_; - private Vector appModules_; - - private FieldDefinitionModel fieldModel_; - private BoundaryDefinitionModel boundaryModel_; - - // Field, Geometry, Patch and PatchField type information, - private Hashtable fieldTypeMap_; // Map of ITypeDescriptor objects. - private Hashtable geometryTypeMap_; // Map of IGeometryDescriptor objects. - private Hashtable patchTypeMap_; // Map of IPatchDescriptor objects. - private Hashtable patchFieldTypeMap_; // Map of ITypeDescriptor objects. - - // Simple lists of global FoamX type names. - private String[] availableModules_; // Available FoamX modules. - private String[] foamTypes_; // Field type names. - private String[] geometryTypes_; // Geometry type names. - private String[] patchTypes_; // Defined patch types. - private String[] patchFieldTypes_; // Defined patch field types. - - //-------------------------------------------------------------------------- - - ApplicationModel(IFoamProperties foamSys) - { - try - { - // Extract FoamX global data. - foamSys_ = foamSys; - - // Initialise available module list. - availableModules_ = foamSys_.availableModules(); - - // Initialise patch types - wall, patch, symmetry, etc. - patchTypeMap_ = new java.util.Hashtable(); - patchTypes_ = foamSys_.patchTypes(); - for (int i = 0; i 0 && !boundaryDefMap_.containsKey(nodeInfo.getParentType())) - { - throw new FoamXException("Invalid super type in boundary definition in BoundaryDefinitionModel::initialisePatchPhysicalTypes."); - } - - // Get the parent node. - DefaultMutableTreeNode parentNode = null; - if (nodeInfo.getParentType().length()> 0) - { - // Sub-type boundary definition. - parentNode = (DefaultMutableTreeNode)boundaryDefMap_.get(nodeInfo.getParentType()); - } - else - { - // Top-level boundary definition. - parentNode = (DefaultMutableTreeNode)patchNodeMap_.get(nodeInfo.getPatchType()); - } - - // Add new node to tree. - treeModel_.insertNodeInto(node, parentNode, 0); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- FieldModelListener Interface - //-------------------------------------------------------------------------- - - public void fieldAdded(FieldModelEvent evt) - { - try - { - Enumeration enum = boundaryDefMap_.elements(); - while (enum.hasMoreElements()) - { - DefaultMutableTreeNode node = (DefaultMutableTreeNode)enum.nextElement(); - BoundaryDefinitionModelItem nodeInfo = (BoundaryDefinitionModelItem)node.getUserObject(); - - // Set default patch field type. - String[] patchFieldTypes = getAppClassModel().getPatchFieldTypes(); - nodeInfo.addField(evt.getFieldName(), patchFieldTypes[0]); - } - // When the field table model changes, so does this one. - fireTableDataChanged(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void fieldRemoved(FieldModelEvent evt) - { - try - { - Enumeration enum = boundaryDefMap_.elements(); - while (enum.hasMoreElements()) - { - DefaultMutableTreeNode node = (DefaultMutableTreeNode)enum.nextElement(); - BoundaryDefinitionModelItem nodeInfo = (BoundaryDefinitionModelItem)node.getUserObject(); - nodeInfo.deleteField(evt.getFieldName()); - } - // When the field table model changes, so does this one. - fireTableDataChanged(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void fieldRenamed(FieldModelEvent evt) - { - try - { - Enumeration enum = boundaryDefMap_.elements(); - while (enum.hasMoreElements()) - { - DefaultMutableTreeNode node = (DefaultMutableTreeNode)enum.nextElement(); - BoundaryDefinitionModelItem nodeInfo = (BoundaryDefinitionModelItem)node.getUserObject(); - //nodeInfo.renameField(evt.getOldFieldName(), evt.getFieldName()); - } - // When the field table model changes, so does this one. - fireTableDataChanged(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- AbstractTableModel methods - //-------------------------------------------------------------------------- - - public int getRowCount() - { - // If we are not displaying a boundary definition, show no rows. - if (currentboundaryDef_ != null && currentboundaryDef_.isBoundaryDefinition()) - { - return getAppClassModel().getFieldDefinitionModel().getRowCount(); - } - else - { - return 0; - } - } - - //-------------------------------------------------------------------------- - - public int getColumnCount() - { - return ColumnNames.length; - } - - //-------------------------------------------------------------------------- - - public String getColumnName(int columnIndex) - { - return ColumnNames[columnIndex]; - } - - //-------------------------------------------------------------------------- - - public Class getColumnClass(int columnIndex) - { - // Everything is of type String. - return String.class; - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(int rowIndex, int columnIndex) - { - // Patch field type column is editable. - return (columnIndex == FIELD_NAME_INDEX) ? false : true; - } - - //-------------------------------------------------------------------------- - - public Object getValueAt(int rowIndex, int columnIndex) - { - // Get field details. - FieldDescriptorCache fieldDesc = getAppClassModel().getFieldDefinitionModel().getFieldDescriptor(rowIndex); - - switch (columnIndex) - { - case FIELD_NAME_INDEX: - return fieldDesc.getFieldName(); - case PATCH_FIELD_TYPE_INDEX: - // Return the patch field type for this field. - if (currentboundaryDef_ != null && currentboundaryDef_.isBoundaryDefinition()) - { - // Convert from true patch field type to display name. - String patchFieldType = currentboundaryDef_.getPatchFieldType(fieldDesc.getFieldName()); - return (String)patchFieldTypeNameMap_.get(patchFieldType); - } - break; - default: - // Buggeration. - break; - } - - return null; - } - - //-------------------------------------------------------------------------- - - public void setValueAt(Object aValue, int rowIndex, int columnIndex) - { - // Get field details. - FieldDescriptorCache fieldDesc = getAppClassModel().getFieldDefinitionModel().getFieldDescriptor(rowIndex); - - switch (columnIndex) - { - case FIELD_NAME_INDEX: - break; - case PATCH_FIELD_TYPE_INDEX: - if (currentboundaryDef_ != null && currentboundaryDef_.isBoundaryDefinition()) - { - // Set the patch field type for the current BoundaryDefinition object. - String displayName = (String)aValue; - - // Convert from display name to true patch field type. - String patchFieldType = (String)patchFieldTypeNameMap_.get(displayName); - currentboundaryDef_.setPatchFieldType(fieldDesc.getFieldName(), patchFieldType); - } - break; - default: - // Buggeration. - break; - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionModelItem.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionModelItem.java deleted file mode 100644 index 2a68b2d87b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionModelItem.java +++ /dev/null @@ -1,343 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import javax.swing.Icon; -import java.util.Enumeration; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamXServer.CaseServer.IPatchPhysicalTypeDescriptor; -import FoamXServer.CaseServer.IPatchDescriptor; -import FoamXServer.StringPair; - -public class BoundaryDefinitionModelItem - implements FoamX.Util.FoamXTreeRenderer.FoamXTreeItem -{ - //-------------------------------------------------------------------------- - - private static final int NODE_TYPE_ROOT = 0; - private static final int NODE_TYPE_PATCHTYPE = 1; - private static final int NODE_TYPE_BOUNDARYDEF = 2; - private static Icon[] icons_; - - private IPatchPhysicalTypeDescriptor patchPhysicalTypeDesc_; - private int type_; // Type of this node - Root, Patch or BoundaryDefinition. - private String name_; - private String displayName_; - private String description_; - private String parentType_; - private String patchType_; - private java.util.Hashtable patchFieldTypeMap_; // Map between field names and patch field types. - - //-------------------------------------------------------------------------- - - static - { - try - { - icons_ = new Icon[3]; - icons_[NODE_TYPE_ROOT] = App.getResources().getIcon("PatchRootImage"); - icons_[NODE_TYPE_PATCHTYPE] = App.getResources().getIcon("PatchTypeImage"); - icons_[NODE_TYPE_BOUNDARYDEF] = App.getResources().getIcon("BoundaryDefinitionImage"); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Constructor for Root BoundaryDefinitionModelItem object. */ - public BoundaryDefinitionModelItem() - { - type_ = NODE_TYPE_ROOT; - name_ = "Patch Types"; - displayName_ = "Patch Types"; - } - - //-------------------------------------------------------------------------- - /** Constructor for Patch Type BoundaryDefinitionModelItem object. */ - public BoundaryDefinitionModelItem(IPatchDescriptor patchType) - { - try - { - type_ = NODE_TYPE_PATCHTYPE; - name_ = patchType.name(); - displayName_ = patchType.displayName(); - description_ = patchType.description(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Constructor for Boundary Definition Type BoundaryDefinitionModelItem object. */ - public BoundaryDefinitionModelItem(IPatchPhysicalTypeDescriptor patchPhysicalType) - { - try - { - patchPhysicalTypeDesc_ = patchPhysicalType; - type_ = NODE_TYPE_BOUNDARYDEF; - name_ = patchPhysicalType.name(); - displayName_ = patchPhysicalType.displayName(); - description_ = patchPhysicalType.description(); - parentType_ = patchPhysicalType.parentType(); - patchType_ = patchPhysicalType.patchType(); - patchFieldTypeMap_ = new java.util.Hashtable(); - - // Get the patch field types. - StringPair[] patchFieldTypes = patchPhysicalType.patchFieldTypes(); - for (int j=0; j - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionPanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionPanel.java deleted file mode 100644 index c5be693d13..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BoundaryDefinitionPanel.java +++ /dev/null @@ -1,402 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import javax.swing.table.*; -import javax.swing.*; -import javax.swing.event.*; - -import FoamX.App; -import FoamXServer.CaseServer.IPatchDescriptor; -import FoamXServer.ITypeDescriptor; -//import FoamXServer.CaseServer.IPatchFieldDescriptor; - -public class BoundaryDefinitionPanel - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_WIDTH = 100; - - private ApplicationModel appModel_; - private BoundaryDefinitionModel tableModel_; - private DefaultCellEditor patchFieldTypeEditor_; - private JComboBox patchFieldTypeCombo_; - - //-------------------------------------------------------------------------- - /** Constructor for BoundaryDefinitionPanel. */ - public BoundaryDefinitionPanel(ApplicationModel appModel) - { - try - { - appModel_ = appModel; - tableModel_ = appModel_.getBoundaryDefinitionModel(); - - // Initialise the gui. - initComponents(); - - // Resize table to show the defined rows only. - int height = (table_.getRowHeight() + table_.getRowMargin()) * - (tableModel_.getRowCount() + 1); // Add an extra row to account for the header control. - table_.setPreferredScrollableViewportSize(new java.awt.Dimension(DEFAULT_WIDTH, height)); - - // Initialise the patch field type editor. - patchFieldTypeCombo_ = new JComboBox(); - String[] patchFieldTypes = appModel_.getPatchFieldTypes(); - for (int i = 0; i - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.form deleted file mode 100644 index 977404cf2a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.form +++ /dev/null @@ -1,186 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.java deleted file mode 100644 index 0143b43418..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/BrowseApplicationesDlg.java +++ /dev/null @@ -1,735 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.awt.*; -import javax.swing.*; -import javax.swing.event.ListSelectionEvent; -import javax.swing.event.ListSelectionListener; - -import FoamX.App; -import FoamX.Util.BusyCursor; - -import FoamXServer.ApplicationDescriptor; -import FoamXServer.CaseServer.IApplicationHolder; -import FoamXServer.CaseServer.IFoamProperties; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; - -public class BrowseApplicationesDlg - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private IFoamProperties foamSys_; - private DefaultListModel listModel_; - private boolean modified_; - - //-------------------------------------------------------------------------- - /** BrowseApplicationesDlg constructor. */ - public BrowseApplicationesDlg(IFoamProperties foamSys) - { - super(new javax.swing.JFrame(), true); - - try - { - modified_ = false; - - // Take a reference to the foam properties object. - foamSys_ = foamSys; - - // Initialise the list of defined application classes. - listModel_ = new DefaultListModel(); - initialiseAppClassList(); - - // Initialise gui. - initComponents(); - - // Listen out for selection events. - appList_.getSelectionModel().addListSelectionListener - ( - new ListSelectionListener() - { - public void valueChanged(ListSelectionEvent evt) - { - OnSelectionChanged(evt); - } - } - ); - - // Set the list renderer. - appList_.setCellRenderer(new FoamX.Util.FoamXListRenderer()); - - // Select first item. - if (listModel_.getSize()> 0) - { - appList_.getSelectionModel().setLeadSelectionIndex(0); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public boolean getModified() - { - return modified_; - } - - //-------------------------------------------------------------------------- - - private void initialiseAppClassList() - { - try - { - listModel_.clear(); - ApplicationDescriptor[] appes = foamSys_.applicationes(); - - // Add an entry for all defined application classes. - for (int i = 0; i 0) - { - try - { - // Create a new application class object by cloning the selected one. - IApplicationHolder appHolder = new IApplicationHolder(); - foamSys_.cloneApplication(name, appName, appHolder); - } - catch (Exception ex) - { - Toolkit.getDefaultToolkit().beep(); - JOptionPane.showMessageDialog(this, - "Application class clone operation failed.", - "FoamX...", - JOptionPane.ERROR_MESSAGE); - return; - } - - // Show the application class editor dialog for the new class. - ApplicationEditorDlg dlg = new ApplicationEditorDlg(foamSys_, appName, false); - dlg.show(); - - // If dialog was cancelled, tidy up. - if (dlg.wasCancelled()) - { - // Delete application class. - foamSys_.deleteApplication(appName); - } - else - { - // Add name to list. - AppClassListItem app = new AppClassListItem(appName); - listModel_.addElement(app); - } - - // Set modified flag. - modified_ = true; - - // Save user properties. - foamSys_.saveUserProperties(); - } - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnCloneApplication - - //-------------------------------------------------------------------------- - - private void OnAppClassListMouseClicked (java.awt.event.MouseEvent evt) - {//GEN-FIRST:event_OnAppClassListMouseClicked - - try - { - // Show busy cursor. - BusyCursor cursor = new BusyCursor(this); - - // Check for double click on a list item. - if (evt.getClickCount() == 2) - { - if (!appList_.getSelectionModel().isSelectionEmpty()) - { - // Get name of application class to be edited. - int index = appList_.getSelectionModel().getLeadSelectionIndex(); - AppClassListItem item = (AppClassListItem)listModel_.getElementAt(index); - - // Show the application class editor dialog for this class. - ApplicationEditorDlg dlg = new ApplicationEditorDlg(foamSys_, item.getText(), item.isSystemClass()); - dlg.show(); - - // Set modified flag. - modified_ = !dlg.wasCancelled(); - - // Save user properties. - foamSys_.saveUserProperties(); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnAppClassListMouseClicked - - //-------------------------------------------------------------------------- - - private void OnDeleteApplication (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnDeleteApplication - - try - { - // Show busy cursor. - BusyCursor cursor = new BusyCursor(this); - - // Remove the selected application classes. - if (!appList_.getSelectionModel().isSelectionEmpty()) - { - int minIndex = appList_.getSelectionModel().getMinSelectionIndex(); - int maxIndex = appList_.getSelectionModel().getMaxSelectionIndex(); - // Need to remove from the top so that it doesn't get its knickers in a twist. - for (int i=maxIndex; i>= minIndex; i--) - { - int index = appList_.getSelectionModel().getLeadSelectionIndex(); - AppClassListItem item = (AppClassListItem)listModel_.getElementAt(index); - - // Check whether this is a system class. - if (item.isSystemClass()) - { - JOptionPane.showMessageDialog(this, - "Can't delete system application class '" + item.getText() + ".", - "FoamX...", - JOptionPane.ERROR_MESSAGE); - } - else - { - if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(this, - "Are you sure you wish to delete user application class '" + item.getText() + "'?", - "FoamX...", - JOptionPane.YES_NO_OPTION, - JOptionPane.QUESTION_MESSAGE)) - { - // Remove from kernel. - foamSys_.deleteApplication(item.getText()); - - // Remove from list. - listModel_.removeElementAt(i); - - // Set modified flag. - modified_ = true; - } - } - } - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnDeleteApplication - - //-------------------------------------------------------------------------- - - private void OnNewApplication (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnNewApplication - - try - { - // Show busy cursor. - BusyCursor cursor = new BusyCursor(this); - - String appName = getNewAppClassName(); - if (appName != null && appName.trim().length()> 0) - { - try - { - // Create a new application class object. - IApplicationHolder appHolder = new IApplicationHolder(); - foamSys_.addApplication(appName, appHolder); - } - catch (Exception ex) - { - Toolkit.getDefaultToolkit().beep(); - JOptionPane.showMessageDialog(this, - "Application class create operation failed.", - "FoamX...", - JOptionPane.ERROR_MESSAGE); - return; - } - - // Show the application class editor dialog for this class. - ApplicationEditorDlg dlg = new ApplicationEditorDlg(foamSys_, appName, false); - dlg.show(); - - // If dialog was cancelled, tidy up. - if (dlg.wasCancelled()) - { - // Delete application class. - foamSys_.deleteApplication(appName); - } - else - { - // Add name to list. - AppClassListItem app = new AppClassListItem(appName); - listModel_.addElement(app); - } - - // Set modified flag. - modified_ = !dlg.wasCancelled(); - - // Save user properties. - foamSys_.saveUserProperties(); - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnNewApplication - - //-------------------------------------------------------------------------- - - private void OnEditApplicationsClass (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnEditApplicationsClass - - try - { - // Show busy cursor. - BusyCursor cursor = new BusyCursor(this); - - // Edit the selected application class. - if (!appList_.getSelectionModel().isSelectionEmpty()) - { - // Get name of application class to be edited. - int index = appList_.getSelectionModel().getLeadSelectionIndex(); - AppClassListItem item = (AppClassListItem)listModel_.getElementAt(index); - - // Show the application class editor dialog for this class. - ApplicationEditorDlg dlg = new ApplicationEditorDlg(foamSys_, item.getText(), item.isSystemClass()); - dlg.show(); - - // Set modified flag. - modified_ = !dlg.wasCancelled(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnEditApplicationsClass - - //-------------------------------------------------------------------------- - - private void OnOK (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnOK - - try - { - if (modified_) - { - foamSys_.saveUserProperties(); - } - - setVisible(false); - dispose(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - }//GEN-LAST:event_OnOK - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - - try - { - if (modified_) - { - foamSys_.saveUserProperties(); - } - - setVisible(false); - dispose(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel appListPanel_; - private javax.swing.JScrollPane scrollPane_; - private javax.swing.JList appList_; - private javax.swing.JPanel appButtonPanel_; - private javax.swing.JButton openAppClassButton_; - private javax.swing.JButton newAppClassButton_; - private javax.swing.JButton cloneAppClassButton_; - private javax.swing.JButton delAppClassButton_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton buttonOK_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - static private class AppClassListItem - implements FoamX.Util.FoamXListRenderer.FoamXListItem - { - //----------------------------------------------------------------------------------------- - - protected String appName_; - protected boolean systemClass_; - protected static Icon[] icons_; - - //-------------------------------------------------------------------------- - - static - { - try - { - // Load icons. - icons_ = new Icon[3]; - icons_[0] = App.getResources().getIcon("SystemAppClassImage"); - icons_[1] = App.getResources().getIcon("UserAppClassImage"); - icons_[2] = App.getResources().getIcon("OverridenAppClassImage"); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //----------------------------------------------------------------------------------------- - - public AppClassListItem(ApplicationDescriptor desc) - { - appName_ = desc.name; - systemClass_ = desc.systemClass; - } - - //----------------------------------------------------------------------------------------- - - public AppClassListItem(String appName) - { - appName_ = appName; - systemClass_ = false; - } - - //----------------------------------------------------------------------------------------- - - public Icon getIcon() - { - return systemClass_ ? icons_[0] : icons_[1]; - } - - //----------------------------------------------------------------------------------------- - - public String getText() - { - return appName_; - } - - //----------------------------------------------------------------------------------------- - - public boolean isSystemClass() - { - return systemClass_; - } - - //----------------------------------------------------------------------------------------- - } - - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDefinitionModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDefinitionModel.java deleted file mode 100644 index f01b49ab48..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDefinitionModel.java +++ /dev/null @@ -1,465 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.lang.ref.WeakReference; -import java.util.Vector; -import java.util.Hashtable; -import java.util.Enumeration; -import javax.swing.table.*; -import javax.swing.event.*; - -import FoamX.App; -import FoamXServer.CaseServer.IApplication; -import FoamXServer.CaseServer.IGeometricFieldDescriptor; -import FoamXServer.CaseServer.IGeometricFieldDescriptorHolder; -import FoamXServer.CaseServer.IGeometryDescriptor; -import FoamXServer.DimensionSet; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.ITypeDescriptor; - -class FieldDefinitionModel - extends AbstractTableModel -{ - //-------------------------------------------------------------------------- - - public static final int FIELDNAME_INDEX = 0; - public static final int FIELDDESC_INDEX = 1; - public static final int FIELDTYPE_INDEX = 2; - public static final int GEOMTYPE_INDEX = 3; - public static final int DIMENSION_INDEX = 4; - public static final String FIELDNAME_COLUMN = "Name"; - public static final String FIELDDESC_COLUMN = "Description"; - public static final String FIELDTYPE_COLUMN = "Type"; - public static final String GEOMTYPE_COLUMN = "Geometry Type"; - public static final String DIMENSION_COLUMN = "Dimension"; - private static final String[] s_columnNames = { - FIELDNAME_COLUMN, FIELDDESC_COLUMN, FIELDTYPE_COLUMN, GEOMTYPE_COLUMN, DIMENSION_COLUMN }; - - private WeakReference appModel_; // Weak reference to the application class model object. - private EventListenerList listenerList_; - private java.util.Vector fieldDefList_; // List of FieldDescriptorCache objects. - private java.util.Hashtable fieldDefMap_; // Map of FieldDescriptorCache objects. - private java.util.Hashtable fieldTypeNameMap_; // Map between true and display field type names. - private java.util.Hashtable geomTypeNameMap_; // Map between true and display geometry type names. - - //-------------------------------------------------------------------------- - - FieldDefinitionModel(ApplicationModel appModel) - { - try - { - appModel_ = new java.lang.ref.WeakReference(appModel); - fieldDefList_ = new java.util.Vector(5); - fieldDefMap_ = new java.util.Hashtable(); - fieldTypeNameMap_ = new java.util.Hashtable(); - geomTypeNameMap_ = new java.util.Hashtable(); - - // Create listener list. - listenerList_ = new EventListenerList(); - - // Initialise the field model. - String[] fieldList = getAppClassModel().getAppClassDescriptor().fields(); - for (int i = 0; i = 0; i-=2) - { - if (listeners[i] == FieldModelListener.class) - { - ((FieldModelListener)listeners[i+1]).fieldAdded(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireFieldRemoved(String fieldName) - { - // Create event object. - FieldModelEvent evt = new FieldModelEvent(this, fieldName); - - // Process the listeners last to first, notifying those that are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FieldModelListener.class) - { - ((FieldModelListener)listeners[i+1]).fieldRemoved(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireFieldRenamed(String newName, String oldName) - { - // Create event object. - FieldModelEvent evt = new FieldModelEvent(this, newName, oldName); - - // Process the listeners last to first, notifying those that are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FieldModelListener.class) - { - ((FieldModelListener)listeners[i+1]).fieldRenamed(evt); - } - } - } - - //-------------------------------------------------------------------------- - //---- AbstractTableModel methods - //-------------------------------------------------------------------------- - - public int getRowCount() - { - return fieldDefList_.size(); - } - - //-------------------------------------------------------------------------- - - public int getColumnCount() - { - return s_columnNames.length; - } - - //-------------------------------------------------------------------------- - - public String getColumnName(int columnIndex) - { - return s_columnNames[columnIndex]; - } - - //-------------------------------------------------------------------------- - - public Class getColumnClass(int columnIndex) - { - // Check for dimension column. - if (columnIndex == DIMENSION_INDEX) - { - return DimensionSet.class; - } - - // Everything else is of type String. - return String.class; - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(int rowIndex, int columnIndex) - { - // All columns are editable - return true; - } - - //-------------------------------------------------------------------------- - - public Object getValueAt(int rowIndex, int columnIndex) - { - FieldDescriptorCache fieldDesc = (FieldDescriptorCache)fieldDefList_.get(rowIndex); - switch (columnIndex) - { - case FIELDNAME_INDEX: - return fieldDesc.getFieldName(); - case FIELDDESC_INDEX: - return fieldDesc.getFieldDescription(); - case FIELDTYPE_INDEX: - // Convert from the true type name to the display type name. - String typeName = (String)fieldTypeNameMap_.get(fieldDesc.getFoamTypeName()); - return typeName; - case GEOMTYPE_INDEX: - // Convert from the true geometry name to the display geometry name. - String geomName = (String)geomTypeNameMap_.get(fieldDesc.getGeometryTypeName()); - return geomName; - case DIMENSION_INDEX: - return fieldDesc.getFieldDimensions(); - default: - // Bugger and damnation. - break; - } - - return null; - } - - //-------------------------------------------------------------------------- - - public void setValueAt(Object aValue, int rowIndex, int columnIndex) - { - FieldDescriptorCache fieldDesc = (FieldDescriptorCache)fieldDefList_.get(rowIndex); - switch (columnIndex) - { - case FIELDNAME_INDEX: - String oldName = fieldDesc.getFieldName(); - String newName = (String)aValue; - if (!oldName.equals(newName)) - { - fireFieldRenamed(newName, oldName); - } - fieldDesc.setFieldName((String)aValue); // Change name. - fireTableDataChanged(); - break; - case FIELDDESC_INDEX: - fieldDesc.setFieldDescription((String)aValue); - fireTableDataChanged(); - break; - case FIELDTYPE_INDEX: - // Convert from the display type name to the true type name. - String typeName = (String)fieldTypeNameMap_.get((String)aValue); - fieldDesc.setFieldTypeName(typeName); - fireTableDataChanged(); - break; - case GEOMTYPE_INDEX: - // Convert from the display geometry name to the true geometry name. - String geomName = (String)geomTypeNameMap_.get((String)aValue); - fieldDesc.setGeometryTypeName(geomName); - fireTableDataChanged(); - break; - case DIMENSION_INDEX: - fieldDesc.setFieldDimensions((DimensionSet)aValue); - fireTableDataChanged(); - break; - default: - // Bugger. - break; - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDescriptorCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDescriptorCache.java deleted file mode 100644 index a813c6efc8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDescriptorCache.java +++ /dev/null @@ -1,136 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import FoamX.App; -import FoamXServer.CaseServer.IGeometricFieldDescriptor; -import FoamXServer.DimensionSet; - -public class FieldDescriptorCache - extends Object -{ - //-------------------------------------------------------------------------- - - private IGeometricFieldDescriptor fieldDescriptor_; - private String fieldName_; - private String fieldDescription_; - private String fieldTypeName_; - private String geometryTypeName_; - private DimensionSet fieldDimension_; - - //-------------------------------------------------------------------------- - /** FieldDescriptorCache constructor. */ - public FieldDescriptorCache(IGeometricFieldDescriptor fieldDescriptor) - { - try - { - fieldDescriptor_ = fieldDescriptor; - fieldName_ = fieldDescriptor_.name(); - fieldDescription_ = fieldDescriptor_.description(); - fieldTypeName_ = fieldDescriptor_.fieldTypeName(); // True field type name. - geometryTypeName_ = fieldDescriptor_.geometryTypeName(); // True geometry type name. - fieldDimension_ = fieldDescriptor_.dimensions(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public String getFieldName() - { - return fieldName_; - } - public String getFieldDescription() - { - return fieldDescription_; - } - public String getFoamTypeName() - { - return fieldTypeName_; - } - public String getGeometryTypeName() - { - return geometryTypeName_; - } - public DimensionSet getFieldDimensions() - { - return fieldDimension_; - } - - public void setFieldName(String fieldName) - { - fieldName_ = fieldName.trim(); - } - public void setFieldDescription(String fieldDescription) - { - fieldDescription_ = fieldDescription.trim(); - } - public void setFieldTypeName(String fieldTypeName) - { - fieldTypeName_ = fieldTypeName.trim(); - } - public void setGeometryTypeName(String geometryTypeName) - { - geometryTypeName_ = geometryTypeName.trim(); - } - public void setFieldDimensions(DimensionSet fieldDimension) - { - fieldDimension_ = fieldDimension; - } - - //-------------------------------------------------------------------------- - /** - * Update the cached IGeometricFieldDescriptor object. - */ - public void updateFieldDescriptor() - { - try - { - // Update the IGeometricFieldDescriptor object. - fieldDescriptor_.name(fieldName_); - fieldDescriptor_.description(fieldDescription_); - fieldDescriptor_.fieldTypeName(fieldTypeName_); - fieldDescriptor_.geometryTypeName(geometryTypeName_); - fieldDescriptor_.dimensions(fieldDimension_); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellEditor.java deleted file mode 100644 index 88a435415b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellEditor.java +++ /dev/null @@ -1,285 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.awt.Component; -import java.awt.event.*; -import java.awt.AWTEvent; -import java.text.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; -import java.util.EventObject; - -import FoamX.App; -import FoamX.Util.FoamXAny; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundPanel; -import FoamX.Editors.DimensionSetEditor; - -import FoamXServer.DimensionSet; - -public class FieldDimensionCellEditor - implements TableCellEditor -{ - //-------------------------------------------------------------------------- - - protected DimensionSet dimensionSet_; // DimensionSet object being edited. - protected DictionaryEntryCompoundPanel panel_; - protected EventListenerList listenerList_; - transient protected ChangeEvent changeEvent_; - transient protected ActionEvent actionEvent_; - - //-------------------------------------------------------------------------- - - /** FieldDimensionCellEditor constructor. */ - public FieldDimensionCellEditor() - { - dimensionSet_ = null; - panel_ = new DictionaryEntryCompoundPanel(); - listenerList_ = new EventListenerList(); - - // Subscribe to the edit button's action event so that we can forward - // the event to the action event listeners of this object. - panel_.EditButton().addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - editButtonActionPerformed(evt); - } - } - ); - } - - //-------------------------------------------------------------------------- - // TableCellEditor interface functions. - //-------------------------------------------------------------------------- - /** Implementation of TableCellEditor interface's getTableCellEditorComponent function. */ - public Component getTableCellEditorComponent - ( - JTable table, - Object value, - boolean isSelected, - int row, - int column - ) - { - try - { - dimensionSet_ = (DimensionSet)value; - - // Set the panel text. - setPanelText(); - - // Make sure the label is rendered properly. - if (isSelected) - { - panel_.Label().setForeground(table.getSelectionForeground()); - panel_.Label().setBackground(table.getSelectionBackground()); - } else { - panel_.Label().setForeground(table.getForeground()); - panel_.Label().setBackground(table.getBackground()); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return panel_; - } - - //-------------------------------------------------------------------------- - - private void setPanelText() - { - if (dimensionSet_ != null) - { - // Set the panel text. - panel_.Label().setText(FoamXAny.format(dimensionSet_)); - } - } - - //-------------------------------------------------------------------------- - // CellEditor interface functions. - //-------------------------------------------------------------------------- - - public Object getCellEditorValue() - { - return dimensionSet_; - } - - //-------------------------------------------------------------------------- - - public boolean stopCellEditing() - { - fireEditingStopped(); - return true; - } - - //-------------------------------------------------------------------------- - - public void cancelCellEditing() - { - fireEditingCanceled(); - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(EventObject anEvent) - { - return true; - } - - //-------------------------------------------------------------------------- - - public boolean shouldSelectCell(EventObject anEvent) - { - if (panel_ != null && anEvent instanceof MouseEvent && - ((MouseEvent)anEvent).getID() == MouseEvent.MOUSE_PRESSED) - { - Component dispatchComponent = SwingUtilities.getDeepestComponentAt(panel_, 3, 3); - MouseEvent e = (MouseEvent)anEvent; - MouseEvent e2 = new MouseEvent(dispatchComponent, MouseEvent.MOUSE_RELEASED, - e.getWhen() + 100000, e.getModifiers(), 3, 3, e.getClickCount(), - e.isPopupTrigger()); - dispatchComponent.dispatchEvent(e2); - e2 = new MouseEvent(dispatchComponent, MouseEvent.MOUSE_CLICKED, - e.getWhen() + 100001, e.getModifiers(), 3, 3, 1, - e.isPopupTrigger()); - dispatchComponent.dispatchEvent(e2); - } - return false; - } - - //-------------------------------------------------------------------------- - - public void addCellEditorListener(CellEditorListener l) - { - listenerList_.add(CellEditorListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCellEditorListener(CellEditorListener l) - { - listenerList_.remove(CellEditorListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireEditingStopped() - { - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are interested in this event. - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CellEditorListener.class) - { - // Lazily create the event: - if (changeEvent_ == null) - { - changeEvent_ = new ChangeEvent(this); - } - ((CellEditorListener)listeners[i+1]).editingStopped(changeEvent_); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireEditingCanceled() - { - // Guaranteed to return a non-null array - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are interested in this event. - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CellEditorListener.class) - { - // Lazily create the event: - if (changeEvent_ == null) - { - changeEvent_ = new ChangeEvent(this); - } - ((CellEditorListener)listeners[i+1]).editingCanceled(changeEvent_); - } - } - } - - //-------------------------------------------------------------------------- - - public void addActionListener(ActionListener l) - { - listenerList_.add(ActionListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeActionListener(ActionListener l) - { - listenerList_.remove(ActionListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireEditActionEvent() - { - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are interested in this event. - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == ActionListener.class) - { - // Lazily create the event: - if (actionEvent_ == null) - { - actionEvent_ = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, ""); - } - // Fire the event. - ((ActionListener)listeners[i+1]).actionPerformed(actionEvent_); - } - } - } - - //-------------------------------------------------------------------------- - - private void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // Show the DimensionSet editor dialog. - DimensionSetEditor dlg = new DimensionSetEditor(null, dimensionSet_); - dlg.show(); - // Update the panel text. - setPanelText(); - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellRenderer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellRenderer.java deleted file mode 100644 index bff3518f8f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldDimensionCellRenderer.java +++ /dev/null @@ -1,85 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.text.*; -import java.awt.Component; -import javax.swing.JTable; -import javax.swing.table.*; - -import FoamX.App; -import FoamX.Util.FoamXAny; - -import FoamXServer.DimensionSet; - -public class FieldDimensionCellRenderer - extends DefaultTableCellRenderer -{ - //-------------------------------------------------------------------------- - - /** FieldDimensionCellRenderer constructor. */ - public FieldDimensionCellRenderer() - {} - - //-------------------------------------------------------------------------- - - public Component getTableCellRendererComponent - ( - JTable table, - Object value, - boolean isSelected, - boolean hasFocus, - int row, - int column - ) - { - Component comp = null; - - try - { - comp = super.getTableCellRendererComponent - ( - table, - FoamXAny.format((DimensionSet)value), - isSelected, - hasFocus, - row, - column - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return comp; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelEvent.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelEvent.java deleted file mode 100644 index 5f6f2f50d3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelEvent.java +++ /dev/null @@ -1,66 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -public class FieldModelEvent - extends java.util.EventObject -{ - protected String fieldName_; - protected String oldFieldName_; - - /** FieldModelEvent constructor. */ - public FieldModelEvent(Object source, String fieldName) - { - super(source); - fieldName_ = fieldName; - oldFieldName_ = ""; - } - - public FieldModelEvent(Object source, String fieldName, String oldFieldName) - { - super(source); - fieldName_ = fieldName; - oldFieldName_ = oldFieldName; - } - - public String toString() - { - return "FieldModelEvent : " + fieldName_; - } - - public String getFieldName() - { - return fieldName_; - } - - public String getOldFieldName() - { - return oldFieldName_; - } -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelListener.java deleted file mode 100644 index 9865e58cb0..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldModelListener.java +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -public interface FieldModelListener - extends java.util.EventListener -{ - public abstract void fieldAdded(FieldModelEvent evt); - public abstract void fieldRemoved(FieldModelEvent evt); - public abstract void fieldRenamed(FieldModelEvent evt); -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.form deleted file mode 100644 index 5fbdde8a99..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.form +++ /dev/null @@ -1,76 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.java deleted file mode 100644 index ed1fa1d85f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/FieldsTab.java +++ /dev/null @@ -1,294 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.table.*; -import javax.swing.event.ListSelectionListener; -import javax.swing.event.ListSelectionEvent; - -import FoamX.App; - -import FoamXServer.CaseServer.IGeometryDescriptor; -import FoamXServer.ITypeDescriptor; - -public class FieldsTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_WIDTH = 400; - - private ApplicationModel appModel_; - private DefaultCellEditor stringEditor_; - private DefaultCellEditor fieldTypeEditor_; - private DefaultCellEditor geometryTypeEditor_; - private FieldDimensionCellEditor dimensionEditor_; - private FieldDimensionCellRenderer dimensionRenderer_; - private AddFieldAction addFieldAction_; - private DeleteFieldAction deleteFieldAction_; - - //-------------------------------------------------------------------------- - /** Constructor for PatchPhysicalTypePanel. */ - public FieldsTab(ApplicationModel appModel) - { - try - { - appModel_ = appModel; - - // Initialise the gui. - initComponents(); - - // Resize table to show the defined rows only. - int height = (table_.getRowHeight() + table_.getRowMargin()) * - (appModel_.getFieldDefinitionModel().getRowCount() + 1); // Add an extra row to account for the header control. - table_.setPreferredScrollableViewportSize(new java.awt.Dimension(DEFAULT_WIDTH, height)); - - // Initialise the field type, geometry type and dimension editors. - JComboBox fieldTypeCombo = new JComboBox(); - fieldTypeCombo.setFont(table_.getFont()); // Use same font as table. - String[] foamTypes = appModel_.getFoamTypes(); - for (int i = 0; i = minIndex; i--) - { - appModel_.getFieldDefinitionModel().removeField(i); - } - table_.getSelectionModel().clearSelection(); - deleteFieldAction_.setEnabled(false); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.form deleted file mode 100644 index 66e59021aa..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.form +++ /dev/null @@ -1,182 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.java deleted file mode 100644 index 0bc919bad1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/ModulesTab.java +++ /dev/null @@ -1,400 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors.ApplicationEditor; - -import java.util.Vector; -import javax.swing.event.ListSelectionEvent; -import javax.swing.event.ListSelectionListener; -import javax.swing.DefaultListModel; - -import FoamX.App; - - -public class ModulesTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private ApplicationModel appModel_; - private DefaultListModel availableModulesListModel_; - private DefaultListModel selectedModulesListModel_; - - //-------------------------------------------------------------------------- - /** Constructor for ModulesTab. */ - - public ModulesTab(ApplicationModel appModel) - { - try - { - appModel_ = appModel; - availableModulesListModel_ = new DefaultListModel(); - selectedModulesListModel_ = new DefaultListModel(); - - // Initialise the list of selected modules. - Vector appModules = appModel_.getAppModules(); - for (int i=0; i 0); - removeAllModulesButton_.setEnabled(selectedModulesListModel_.size()> 0); - } - - //-------------------------------------------------------------------------- - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - availableModulesPanel_ = new javax.swing.JPanel(); - leftScrollPane_ = new javax.swing.JScrollPane(); - availableModulesList_ = new javax.swing.JList(); - buttonPanel_ = new javax.swing.JPanel(); - addModuleButton_ = new javax.swing.JButton(); - addAllModulesButton_ = new javax.swing.JButton(); - removeModuleButton_ = new javax.swing.JButton(); - removeAllModulesButton_ = new javax.swing.JButton(); - selectedModulesPanel_ = new javax.swing.JPanel(); - rightScrollPane_ = new javax.swing.JScrollPane(); - selectedModulesList_ = new javax.swing.JList(); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setFont(new java.awt.Font("Dialog", 0, 10)); - availableModulesPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - availableModulesPanel_.setBorder(new javax.swing.border.TitledBorder(null, "Available Modules", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 10), java.awt.Color.black)); - availableModulesList_.setModel(availableModulesListModel_); - availableModulesList_.setFont(new java.awt.Font("Dialog", 0, 10)); - leftScrollPane_.setViewportView(availableModulesList_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - availableModulesPanel_.add(leftScrollPane_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(10, 10, 10, 10); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(availableModulesPanel_, gridBagConstraints1); - - buttonPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints3; - - addModuleButton_.setToolTipText("Add module"); - addModuleButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - addModuleButton_.setText(">"); - addModuleButton_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - addModuleButtonActionPerformed_(evt); - } - }); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(10, 10, 5, 10); - buttonPanel_.add(addModuleButton_, gridBagConstraints3); - - addAllModulesButton_.setToolTipText("Add all modules"); - addAllModulesButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - addAllModulesButton_.setText(">>"); - addAllModulesButton_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - addAllModulesButtonActionPerformed_(evt); - } - }); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 1; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(5, 10, 5, 10); - buttonPanel_.add(addAllModulesButton_, gridBagConstraints3); - - removeModuleButton_.setToolTipText("Remove module"); - removeModuleButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - removeModuleButton_.setText("<"); - removeModuleButton_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - removeModuleButtonActionPerformed_(evt); - } - }); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 2; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(25, 10, 5, 10); - buttonPanel_.add(removeModuleButton_, gridBagConstraints3); - - removeAllModulesButton_.setToolTipText("Remove all modules"); - removeAllModulesButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - removeAllModulesButton_.setText("<<"); - removeAllModulesButton_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - removeAllModulesButtonActionPerformed_(evt); - } - }); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 3; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(5, 10, 10, 10); - buttonPanel_.add(removeAllModulesButton_, gridBagConstraints3); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 1; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.insets = new java.awt.Insets(10, 0, 10, 0); - add(buttonPanel_, gridBagConstraints1); - - selectedModulesPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints4; - - selectedModulesPanel_.setBorder(new javax.swing.border.TitledBorder(null, "Required Modules", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 10), java.awt.Color.black)); - selectedModulesList_.setModel(selectedModulesListModel_); - selectedModulesList_.setFont(new java.awt.Font("Dialog", 0, 10)); - rightScrollPane_.setViewportView(selectedModulesList_); - - gridBagConstraints4 = new java.awt.GridBagConstraints(); - gridBagConstraints4.gridx = 0; - gridBagConstraints4.gridy = 0; - gridBagConstraints4.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints4.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints4.weightx = 1.0; - gridBagConstraints4.weighty = 1.0; - selectedModulesPanel_.add(rightScrollPane_, gridBagConstraints4); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 2; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(10, 10, 10, 10); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.EAST; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(selectedModulesPanel_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void removeAllModulesButtonActionPerformed_ (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_removeAllModulesButtonActionPerformed_ - // Remove all modules. - for (int i = 0; i = minIndex; i--) - { - ModuleDescriptor moduleDesc = (ModuleDescriptor)selectedModulesListModel_.getElementAt(i); - selectedModulesListModel_.removeElementAt(i); - availableModulesListModel_.addElement(moduleDesc); - } - } - selectedModulesList_.getSelectionModel().clearSelection(); - updateButtons(); - }//GEN-LAST:event_removeModuleButtonActionPerformed_ - - //-------------------------------------------------------------------------- - - private void addAllModulesButtonActionPerformed_ (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_addAllModulesButtonActionPerformed_ - // Add all modules. - for (int i = 0; i = minIndex; i--) - { - ModuleDescriptor moduleDesc = (ModuleDescriptor)availableModulesListModel_.getElementAt(i); - availableModulesListModel_.removeElementAt(i); - selectedModulesListModel_.addElement(moduleDesc); - } - } - availableModulesList_.getSelectionModel().clearSelection(); - updateButtons(); - }//GEN-LAST:event_addModuleButtonActionPerformed_ - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel availableModulesPanel_; - private javax.swing.JScrollPane leftScrollPane_; - private javax.swing.JList availableModulesList_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton addModuleButton_; - private javax.swing.JButton addAllModulesButton_; - private javax.swing.JButton removeModuleButton_; - private javax.swing.JButton removeAllModulesButton_; - private javax.swing.JPanel selectedModulesPanel_; - private javax.swing.JScrollPane rightScrollPane_; - private javax.swing.JList selectedModulesList_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - - private class ModuleDescriptor - { - private String moduleName_; - - public ModuleDescriptor(String moduleName) - { - moduleName_ = moduleName; - } - - public String toString() - { - return moduleName_; - } - - public String getModuleName() - { - return moduleName_; - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/PatchPhysicalTypesTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/PatchPhysicalTypesTab.java deleted file mode 100644 index 3b35cfa168..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/PatchPhysicalTypesTab.java +++ /dev/null @@ -1,417 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.ApplicationEditor; - -import java.net.URL; -import java.util.Hashtable; -import java.awt.Component; -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.tree.*; -import javax.swing.event.TreeSelectionEvent; -import javax.swing.event.TreeSelectionListener; - -import FoamX.App; -import FoamX.Util.FoamXTreeRenderer; - -public class PatchPhysicalTypesTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private BoundaryDefinitionModel boundaryDefinitionModel_; - private BoundaryDefinitionPanel boundaryDefinitionPanel_; - private AddPatchPhysicalTypeAction addPatchPhysicalTypeAction_; - private DeletePatchPhysicalTypeAction deletePatchPhysicalTypeAction_; - - //-------------------------------------------------------------------------- - /** Constructor for DictionaryPanel. */ - public PatchPhysicalTypesTab(ApplicationModel appModel) - { - try - { - boundaryDefinitionModel_ = appModel.getBoundaryDefinitionModel(); - boundaryDefinitionPanel_ = new BoundaryDefinitionPanel(appModel); - - // Initialise the gui. - initComponents(); - - // Set tree renderer. - tree_.setCellRenderer(new FoamXTreeRenderer()); - tree_.putClientProperty("JTree.lineStyle", "Angled"); - - // Set single selection mode. - tree_.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); - - // Listen out for tree node selection events. - tree_.getSelectionModel().addTreeSelectionListener - ( - new TreeSelectionListener() - { - public void valueChanged(TreeSelectionEvent evt) - { - OnSelectionChanged(evt); - } - } - ); - - // Make sure the tree is displayed properly. - tree_.updateUI(); - - // Initialise the toolbar. Create a button for each action. - addPatchPhysicalTypeAction_ = new AddPatchPhysicalTypeAction(); - deletePatchPhysicalTypeAction_ = new DeletePatchPhysicalTypeAction(); - addToolbarButton(addPatchPhysicalTypeAction_); - addToolbarButton(deletePatchPhysicalTypeAction_); - - // Initialise actions - addPatchPhysicalTypeAction_.setEnabled(false); - deletePatchPhysicalTypeAction_.setEnabled(false); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - private void addToolbarButton(Action action) - { - // Add new button to the toolbar using the action object. - javax.swing.JButton button = toolbar_.add(action); - - // Set the tooltip text. - button.setToolTipText((String)action.getValue(Action.SHORT_DESCRIPTION)); - button.setText(""); - button.setFont(toolbar_.getFont()); // Use same font as toolbar. - } - - //-------------------------------------------------------------------------- - - public void updateModel() - { - } - - //-------------------------------------------------------------------------- - - private String getNewBoundaryDefinitionName() - { - // Prompt user for a new Boundary Definition name. - return (String)JOptionPane.showInputDialog(this, - "Enter New Boundary Definition Name", - "Boundary Definition Name", - JOptionPane.PLAIN_MESSAGE, null, null, null); - } - - //-------------------------------------------------------------------------- - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - contextMenu_ = new javax.swing.JPopupMenu(); - subPanel_ = new javax.swing.JPanel(); - splitPane_ = new javax.swing.JSplitPane(); - scrollPaneRight_ = new javax.swing.JScrollPane(); - leftPanel_ = new javax.swing.JPanel(); - buttonPanel_ = new javax.swing.JPanel(); - toolbar_ = new javax.swing.JToolBar(); - scrollPaneTree_ = new javax.swing.JScrollPane(); - tree_ = new javax.swing.JTree(); - - contextMenu_.setFont(new java.awt.Font("Dialog", 0, 10)); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - subPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - splitPane_.setDividerLocation(200); - splitPane_.setLastDividerLocation(200); - scrollPaneRight_.setAutoscrolls(true); - scrollPaneRight_.setViewportView( boundaryDefinitionPanel_ ); - - splitPane_.setRightComponent(scrollPaneRight_); - - leftPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints3; - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - toolbar_.setFloatable(false); - toolbar_.setFont(new java.awt.Font("Dialog", 0, 8)); - buttonPanel_.add(toolbar_); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints3.weightx = 1.0; - leftPanel_.add(buttonPanel_, gridBagConstraints3); - - scrollPaneTree_.setAutoscrolls(true); - tree_.setFont(new java.awt.Font("Dialog", 0, 10)); - tree_.setShowsRootHandles(true); - tree_.setModel( boundaryDefinitionModel_.getTreeModel() ); - tree_.setAutoscrolls(true); - tree_.addMouseListener(new java.awt.event.MouseAdapter() { - public void mouseClicked(java.awt.event.MouseEvent evt) { - OnTreeMouseClicked(evt); - } - }); - - scrollPaneTree_.setViewportView(tree_); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 1; - gridBagConstraints3.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints3.anchor = java.awt.GridBagConstraints.SOUTH; - gridBagConstraints3.weightx = 1.0; - gridBagConstraints3.weighty = 1.0; - leftPanel_.add(scrollPaneTree_, gridBagConstraints3); - - splitPane_.setLeftComponent(leftPanel_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - subPanel_.add(splitPane_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(10, 10, 10, 10); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(subPanel_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnTreeMouseClicked (java.awt.event.MouseEvent evt) - {//GEN-FIRST:event_OnTreeMouseClicked - try - { - // Get the node object for the current selection. - TreePath tp = tree_.getPathForLocation(evt.getX(), evt.getY()); - if (tp != null) - { - // Check for popup menu trigger. - //if (evt.isPopupTrigger()) - if (evt.getModifiers() == evt.BUTTON3_MASK) // Check explicitly for right mouse click. - { - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - BoundaryDefinitionModelItem nodeInfo = (BoundaryDefinitionModelItem)nodeItem.getUserObject(); - - // Construct an appropriate context menu, - contextMenu_.removeAll(); - java.awt.Font font = contextMenu_.getFont(); - - if (nodeInfo.isPatchType()) - { - contextMenu_.add(addPatchPhysicalTypeAction_).setFont(font); - } - else if (nodeInfo.isBoundaryDefinition()) - { - contextMenu_.add(addPatchPhysicalTypeAction_).setFont(font); - contextMenu_.add(deletePatchPhysicalTypeAction_).setFont(font); - } - - // Show context menu. - contextMenu_.show(tree_, evt.getX(), evt.getY()); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnTreeMouseClicked - - //-------------------------------------------------------------------------- - - public void OnSelectionChanged(TreeSelectionEvent evt) - { - try - { - // Get the node object for the current selection. - if (evt.isAddedPath()) // Has the new node been added to the selection? - { - TreePath tp = evt.getPath(); - if (tp != null) - { - // Select this node in the model. - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - BoundaryDefinitionModelItem nodeInfo = (BoundaryDefinitionModelItem)nodeItem.getUserObject(); - - // Set the action enabled/disabled status. - addPatchPhysicalTypeAction_.setEnabled(nodeInfo.isPatchType() || nodeInfo.isBoundaryDefinition()); - deletePatchPhysicalTypeAction_.setEnabled(nodeInfo.isBoundaryDefinition() && nodeItem.getChildCount() == 0); // Can't delete anything with a child, yet. - - boundaryDefinitionModel_.select(nodeItem); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPopupMenu contextMenu_; - private javax.swing.JPanel subPanel_; - private javax.swing.JSplitPane splitPane_; - private javax.swing.JScrollPane scrollPaneRight_; - private javax.swing.JPanel leftPanel_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JToolBar toolbar_; - private javax.swing.JScrollPane scrollPaneTree_; - private javax.swing.JTree tree_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - - class AddPatchPhysicalTypeAction - extends AbstractAction - { - AddPatchPhysicalTypeAction() - { - putValue(Action.SMALL_ICON, App.getResources().getIcon("NewPatchPhysicalTypeImage")); - putValue(Action.NAME, "Add Boundary Type"); - putValue(Action.SHORT_DESCRIPTION, "Add Boundary Type"); - putValue(Action.LONG_DESCRIPTION, "Add Boundary Type"); - } - - public void actionPerformed(ActionEvent e) - { - // Add a new boundary type to the current selection. - try - { - // Get currently selected node. - TreePath tp = tree_.getSelectionModel().getSelectionPath(); - if (tp != null) - { - // See if this is a patch node or a boundary definition node. - DefaultMutableTreeNode parentNode = (DefaultMutableTreeNode)tp.getLastPathComponent(); - BoundaryDefinitionModelItem nodeInfo = (BoundaryDefinitionModelItem)parentNode.getUserObject(); - // Make sure the selected node is not the root node. - if (!nodeInfo.isRoot()) - { - String name = getNewBoundaryDefinitionName(); - if (name != null && name.length()> 0) - { - DefaultMutableTreeNode newNode = boundaryDefinitionModel_.addBoundaryDefinitionNode(name, parentNode); - if (newNode != null) - { - // If addition successful, select the new child node. - tree_.expandPath(tp); - TreePath childTP = new TreePath(newNode.getPath()); - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(childTP); - } - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - class DeletePatchPhysicalTypeAction - extends AbstractAction - { - DeletePatchPhysicalTypeAction() - { - putValue(Action.SMALL_ICON, App.getResources().getIcon("DelPatchPhysicalTypeImage")); - putValue(Action.NAME, "Delete Boundary Type"); - putValue(Action.SHORT_DESCRIPTION, "Delete Boundary Type"); - putValue(Action.LONG_DESCRIPTION, "Delete Boundary Type"); - } - - public void actionPerformed(ActionEvent e) - { - // Delete the selected boundary definition. - try - { - // Get currently selected node. - TreePath tp = tree_.getSelectionModel().getSelectionPath(); - if (tp != null) - { - // See if this is a patch node or a boundary definition node with children. - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - BoundaryDefinitionModelItem nodeInfo = (BoundaryDefinitionModelItem)nodeItem.getUserObject(); - // Make sure the selected node is a boundary type node. - if (nodeInfo.isBoundaryDefinition()) - { - if (boundaryDefinitionModel_.deleteBoundaryDefinitionNode(nodeItem)) - { - // If deletion successful, select the parent node. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp.getParentPath()); - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ApplicationEditor/filesystem.attributes deleted file mode 100644 index 764553ed3bad100ff409fdb9965b9153ec6629d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1028 zcmZvbKWI}y9LIlsX=2oZR@8z}P>Dh-eOJ0T6o)iTXiCxs+d(X1FL{^brI)+&?p{q6 z!A)Hq97S9#)J1S}P+T4AAc&KLxCx?Aij%*4sV4qe-rxIuf8XEtKDYe^l12lOy5UR3 zL>Mr?9&%>7#HWqh^4Y0n%%eD;pUO!gP#9gA8*mGfPw)Tu z9BHSt{e5gNm0tbmVGJnhJ=^ZZdAuJ;DHIzlaOxuyE7um+@0?Az#W#o1gNIX14o>BQ zV%qrqjw_K;Qrk?0hB|ru-tO1M+4neE35IP~F$)(;SWotMj?|>w2$>=M`ds`avxg(V^+K z^R)Pd>nT5wx`c2Kx=H^s`lCHPY9w$XsR!RgK-1k6wIwe&%5uXxh~*(e_{QtRVQJ zf!U?%#{G2!j5u`96(nt6AvtPTnF`uqZ6@r%>o1ZnlBR4k5~wDrXz2(wq>iOC{xqR| z`VDbNlb)yxJ7&#`uPJ1u5gK)NJpv8PX(uC*#H0l diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.form deleted file mode 100644 index 2518c2e66d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.form +++ /dev/null @@ -1,99 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.java deleted file mode 100644 index 7a03d13a02..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/CompoundEditor.java +++ /dev/null @@ -1,226 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors; - -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; -import javax.swing.event.ListSelectionListener; -import javax.swing.event.ListSelectionEvent; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellEditor; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryNameCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryTableModel; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.IDictionaryEntry; - -public class CompoundEditor - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_HEIGHT = 400; - - private DictionaryEntryTableModel tableModel_; - - //-------------------------------------------------------------------------- - /** Creates new form CompoundEditor */ - public CompoundEditor(java.awt.Frame parent, IDictionaryEntry entry) - { - super(parent, "Compound Editor", true); - - // Initialise the table model. - tableModel_ = new DictionaryEntryTableModel(entry); - tableModel_.setNameColumnTitle("Item"); - - initComponents(); - - // Set cell renderer for name column. - table_.getColumn - ( - tableModel_.getNameColumnTitle() - ).setCellRenderer(new DictionaryNameCellRenderer()); - - // Set cell renderer and editor for value column. - table_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellRenderer(new DictionaryEntryCellRenderer()); - table_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellEditor(new DictionaryEntryCellEditor()); - - // Resize to show the defined rows only. - // Calculate size: table + panel + extra(=1 row height) - int height = - table_.getRowHeight() * (tableModel_.getRowCount() + 1) - + (int)getMinimumSize().height; // panel size - height = Math.min(height, DEFAULT_HEIGHT); - setSize(new java.awt.Dimension(getSize().width, height)); - } - - //-------------------------------------------------------------------------- - /** Access to underlying model */ - public DictionaryEntryTableModel getModel() - { - return tableModel_; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - buttonPanel_ = new javax.swing.JPanel(); - closeButton_ = new javax.swing.JButton(); - mainPanel_ = new javax.swing.JPanel(); - tableScrollPane_ = new javax.swing.JScrollPane(); - table_ = new javax.swing.JTable(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setName("Shape Editor"); - setModal(true); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - closeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - closeButton_.setText("Close"); - closeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - closeButtonActionPerformed_(evt); - } - }); - - buttonPanel_.add(closeButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.weightx = 1.0; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - mainPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - mainPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - table_.setModel(tableModel_); - table_.setFont(new java.awt.Font("Dialog", 0, 10)); - tableScrollPane_.setViewportView(table_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - mainPanel_.add(tableScrollPane_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(mainPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(350, 300)); - setLocation((screenSize.width-350)/2,(screenSize.height-300)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void shapeTypeComboActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_shapeTypeComboActionPerformed - }//GEN-LAST:event_shapeTypeComboActionPerformed - - //-------------------------------------------------------------------------- - - private void closeButtonActionPerformed_ (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_closeButtonActionPerformed_ - // Update the dictionary entry and close the dialog. - - // Commit any pending edits. - table_.editingStopped(new ChangeEvent(this)); - - // Close this dialog. - setVisible(false); - dispose(); - }//GEN-LAST:event_closeButtonActionPerformed_ - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton closeButton_; - private javax.swing.JPanel mainPanel_; - private javax.swing.JScrollPane tableScrollPane_; - private javax.swing.JTable table_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/.nbattrs deleted file mode 100644 index d929cb5e9f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/.nbattrs +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryEvent.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryEvent.java deleted file mode 100644 index d66706f061..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryEvent.java +++ /dev/null @@ -1,58 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -import FoamX.App; - -public class CompoundEntryEvent - extends java.util.EventObject -{ - public static final int TYPE_PATCH = 0; - public static final int TYPE_DICTIONARY = 1; - - protected int type_; - protected String name_; - - /** CompoundEntryEvent constructor. */ - public CompoundEntryEvent(Object source, int type, String name) - { - - super(source); - type_ = type; - name_ = name; - } - - public int getType() - { - return type_; - } - - public String getName() - { - return name_; - } -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryListener.java deleted file mode 100644 index 5a5f86d225..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/CompoundEntryListener.java +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -public interface CompoundEntryListener - extends java.util.EventListener -{ - public boolean openSubDictionary(CompoundEntryEvent evt); -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.form deleted file mode 100644 index e86e26909b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.form +++ /dev/null @@ -1,87 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.java deleted file mode 100644 index 6fa93c1a61..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEditorPanel.java +++ /dev/null @@ -1,282 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors.DictionaryEntryEditor; - -import javax.swing.table.*; -import javax.swing.event.*; -import java.awt.event.*; - -import FoamX.App; -import FoamXServer.IDictionaryEntry; -import FoamXServer.ITypeDescriptor; -import FoamXServer.FoamXType; - -public class DictionaryEditorPanel - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - protected static final int DEFAULT_WIDTH = 400; - protected DictionaryEntryTableModel tableModel_; - protected String tableName_; - - //-------------------------------------------------------------------------- - /** Creates a new DictionaryEditorPanel object. */ - public DictionaryEditorPanel(IDictionaryEntry compoundEntry, String key) - { - try - { - // Initialise the table model. - tableModel_ = new DictionaryEntryTableModel(compoundEntry); - - IDictionaryEntry[] subEntries = compoundEntry.subElements(); - - //tableName_ = compoundEntry.typeDescriptor().name(); - tableName_ = key; - int type = compoundEntry.typeDescriptor().type().value(); - - tableModel_.setDictionaryKey(key); - - // Initialise the table. - initComponents(); - - // Set single area selection mode. - parameterTable_.setSelectionMode(0); - - // Use 'standard' renderer for name - parameterTable_.getColumn - ( - tableModel_.getNameColumnTitle() - ).setCellRenderer(new DictionaryNameCellRenderer()); - - // Set cell renderer and editor for value column. - parameterTable_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellRenderer(new DictionaryEntryCellRenderer()); - parameterTable_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellEditor(new DictionaryEntryCellEditor()); - - // Subscribe to the list selection model event. - parameterTable_.getSelectionModel().addListSelectionListener - ( - new ListSelectionListener() - { - public void valueChanged(ListSelectionEvent evt) - { - listSelectionChanged(evt); - } - } - ); - - // Select the first entry. - parameterTable_.clearSelection(); - parameterTable_.getSelectionModel().setLeadSelectionIndex(0); - - // Resize to show the defined rows only. - // Calculate size: table + panel + extra(=1 row height) - int height = - parameterTable_.getRowHeight() - * (tableModel_.getRowCount() + 2) - + (int)getMinimumSize().getHeight(); // panel size - - setPreferredSize(new java.awt.Dimension(DEFAULT_WIDTH, height)); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Provide access to the table model object. */ - public DictionaryEntryTableModel getTableModel() - { - return tableModel_; - } - - //-------------------------------------------------------------------------- - /** Used to set the title of the host internal frame window. */ - public String toString() - { - return tableName_; - } - - //-------------------------------------------------------------------------- - - protected void listSelectionChanged(ListSelectionEvent evt) - { - // Update the entry status label. - if (!evt.getValueIsAdjusting()) - { - // Reset the entry status label. - statusLabel_.setText(""); - - int nSel = - parameterTable_.getSelectionModel().getMinSelectionIndex(); - if (nSel = 0) - { - // Get the currently selected entry. - DictionaryEntry entry = - (DictionaryEntry)tableModel_.getValueAt - ( - nSel, - DictionaryEntryTableModel.VALUE_COLUMN_INDEX - ); - if (entry != null) - { - statusLabel_.setText(entry.getEntryDescription()); - } - } - } - } - - //-------------------------------------------------------------------------- - - public void selectEntry(String entryName) - { - try - { - // Get index of specified entry. - int index = tableModel_.getIndexOfEntry(entryName); - - // Give table the focus. - parameterTable_.requestFocus(); - - // Set the specified entry. - parameterTable_.clearSelection(); - parameterTable_.getSelectionModel().setLeadSelectionIndex(index); - parameterTable_.getSelectionModel().setSelectionInterval(index, index); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - scrollPane_ = new javax.swing.JScrollPane(); - parameterTable_ = new javax.swing.JTable(); - statusPanel_ = new javax.swing.JPanel(); - statusLabel_ = new javax.swing.JLabel(); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - setFont(new java.awt.Font("Dialog", 0, 10)); - setAutoscrolls(true); - scrollPane_.setAutoscrolls(true); - parameterTable_.setModel(tableModel_); - parameterTable_.setFont(new java.awt.Font("Dialog", 0, 10)); - parameterTable_.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_ALL_COLUMNS); - parameterTable_.addKeyListener(new java.awt.event.KeyAdapter() - { - public void keyPressed(java.awt.event.KeyEvent evt) - { - OnKeyPressed(evt); - } - }); - - scrollPane_.setViewportView(parameterTable_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(scrollPane_, gridBagConstraints1); - - statusPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - statusPanel_.setBorder(new javax.swing.border.EtchedBorder()); - statusPanel_.setMinimumSize(new java.awt.Dimension(10, 25)); - statusLabel_.setText(" "); - statusLabel_.setForeground(java.awt.Color.black); - statusLabel_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints2.weightx = 1.0; - statusPanel_.add(statusLabel_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - add(statusPanel_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnKeyPressed(java.awt.event.KeyEvent evt) - {//GEN-FIRST:event_OnKeyPressed - // Add your handling code here: - if (evt.getKeyCode() == KeyEvent.VK_TAB) - { - int nSel = - parameterTable_.getSelectionModel().getMinSelectionIndex(); - if (nSel = 0) - { - boolean b = parameterTable_.editCellAt(0, 1); - if (b) App.printMessage("editCellAt true"); - } - } - }//GEN-LAST:event_OnKeyPressed - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JScrollPane scrollPane_; - private javax.swing.JTable parameterTable_; - private javax.swing.JPanel statusPanel_; - private javax.swing.JLabel statusLabel_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntry.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntry.java deleted file mode 100644 index 0eee74c454..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntry.java +++ /dev/null @@ -1,47 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -import javax.swing.table.*; - -public interface DictionaryEntry -{ - public String getEntryName(); - public String getEntryDescription(); - public String getEntryValueString(); - public boolean isEditable(); - public boolean isCurrent(); // selected entry (e.g. in TYPE_SELECTION) - - // Custom renderer and editor methods. - public TableCellRenderer getRenderer(); - public TableCellEditor getEditor(); - public boolean updateValue(Object value); - - // Support for compound entry editing. - public void addCompoundEntryListener(CompoundEntryListener l); - public void removeCompoundEntryListener(CompoundEntryListener l); -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellEditor.java deleted file mode 100644 index 2b6420fe83..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellEditor.java +++ /dev/null @@ -1,226 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -import java.awt.Component; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; -import java.util.EventObject; - -import FoamX.App; - -public class DictionaryEntryCellEditor - implements TableCellEditor -{ - //-------------------------------------------------------------------------- - - // DictionaryEntry object being edited. - private DictionaryEntry dictEntry_; - // Editor being used to edit the current value. - private TableCellEditor currEditor_; - // Default cell editor object. - private DefaultCellEditor defaultEditor_; - - //-------------------------------------------------------------------------- - /** DictionaryEntryCellEditor constructor. */ - public DictionaryEntryCellEditor() - { - - dictEntry_ = null; - currEditor_ = null; - defaultEditor_ = null; - } - - //-------------------------------------------------------------------------- - //---- TableCellEditor Interface Methods - //-------------------------------------------------------------------------- - /** Implementation of TableCellEditor interface's - * getTableCellEditorComponent function. - */ - public Component getTableCellEditorComponent - ( - JTable table, - Object value, - boolean isSelected, - int row, - int column - ) - { - Component comp = null; - - try - { - // Incoming object must support the DictionaryEntry interface. - dictEntry_ = (DictionaryEntry)value; - - // See if the DictionaryEntry has a custom editor. - if (dictEntry_.getEditor() != null) - { - currEditor_ = dictEntry_.getEditor(); - } - else - { - // This item does not have a custom editor so use the - // string-based default. - if (defaultEditor_ == null) - { - // Create on demand. - defaultEditor_ = - new DefaultCellEditor(new JTextField()); - } - currEditor_ = defaultEditor_; - } - - comp = currEditor_.getTableCellEditorComponent - ( - table, - value, - isSelected, - row, - column - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return comp; - } - - //-------------------------------------------------------------------------- - // CellEditor interface functions. - //-------------------------------------------------------------------------- - - public Object getCellEditorValue() - { - // Intercept the "value" object from the editor. - // Of class String for DefaultCellEditor (JTextField) class. - // May be null for other editors. - - try - { - Object objValue = currEditor_.getCellEditorValue(); - - // Update the DictionaryEntry object's value. - dictEntry_.updateValue(objValue); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - - // Return the DictionaryEntry object being edited. - // This is the value that gets sent to the model. - return dictEntry_; - } - - //-------------------------------------------------------------------------- - - public boolean stopCellEditing() - { - if (currEditor_ != null) - { - return currEditor_.stopCellEditing(); - } - return true; - } - - //-------------------------------------------------------------------------- - - public void cancelCellEditing() - { - if (currEditor_ != null) - { - currEditor_.cancelCellEditing(); - } - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(EventObject anEvent) - { - // For mouse events, only initiate the editing process is the user - // has double clicked. - //if (anEvent instanceof MouseEvent) - //{ - // MouseEvent evt = (MouseEvent)anEvent; - // return (evt.getID() - // == MouseEvent.MOUSE_PRESSED && evt.getClickCount()>= 2); - //} - return true; - } - - //-------------------------------------------------------------------------- - - public boolean shouldSelectCell(EventObject anEvent) - { - // Called at the start of the editing process. - if (currEditor_ != null) - { - return currEditor_.shouldSelectCell(anEvent); - } - return true; - } - - //-------------------------------------------------------------------------- - - public void addCellEditorListener(CellEditorListener l) - { - if (currEditor_ != null) - { - currEditor_.addCellEditorListener(l); - } - } - - //-------------------------------------------------------------------------- - - public void removeCellEditorListener(CellEditorListener l) - { - if (currEditor_ != null) - { - currEditor_.removeCellEditorListener(l); - } - - // Editing has finished. Reset the references. - currEditor_ = null; - dictEntry_ = null; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellRenderer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellRenderer.java deleted file mode 100644 index a5c327581b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCellRenderer.java +++ /dev/null @@ -1,139 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors.DictionaryEntryEditor; - -import javax.swing.JTable; -import javax.swing.table.*; -import java.awt.Component; - -import FoamX.App; - -public class DictionaryEntryCellRenderer - extends DefaultTableCellRenderer -{ - //-------------------------------------------------------------------------- - - protected java.awt.Font selectedFont_; - protected java.awt.Color selectedColor_; - - //-------------------------------------------------------------------------- - /** DictionaryEntryCellRenderer constructor. */ - public DictionaryEntryCellRenderer() - { - selectedFont_= new java.awt.Font("Dialog", java.awt.Font.BOLD, 10); - selectedColor_= new java.awt.Color(173, 255, 47); - } - - //-------------------------------------------------------------------------- - - public Component getTableCellRendererComponent - ( - JTable table, - Object value, - boolean isSelected, - boolean hasFocus, - int row, - int column - ) - { - Component comp = null; - - // Incoming object must support the DictionaryEntry interface. - DictionaryEntry dictEntry = (DictionaryEntry)value; - - // See if the DictionaryEntry has a custom renderer. - if (dictEntry.getRenderer() != null) - { - comp = - dictEntry.getRenderer().getTableCellRendererComponent - ( - table, - value, - isSelected, - hasFocus, - row, - column - ); - } - else - { - // This item does not have a custom renderer. Use the - // DictionaryEntry object - // to generate a string representation of the current value - // via the toString method. - comp = - super.getTableCellRendererComponent - ( - table, - value, - isSelected, - hasFocus, - row, - column - ); - } - - // If this entry is read-only, grey it out. - if (!dictEntry.isEditable()) - { - setForeground(java.awt.Color.gray); - } - else - { - setForeground(java.awt.Color.black); - } - -// // Currently selected entry -// if (dictEntry.isCurrent()) -// { -// //comp.setFont(selectedFont_); -// comp.setBackground(selectedColor_); -// } -// else -// { -// comp.setBackground(java.awt.Color.white); -// } - if (isSelected) - { - //comp.setFont(selectedFont_); - comp.setBackground(selectedColor_); - } - else - { - comp.setBackground(java.awt.Color.white); - } - - return comp; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundEditor.java deleted file mode 100644 index bd386b2b17..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundEditor.java +++ /dev/null @@ -1,297 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -import java.awt.Component; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.TableCellEditor; -import java.util.EventObject; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.*; - -public class DictionaryEntryCompoundEditor - implements TableCellEditor -{ - //-------------------------------------------------------------------------- - - protected DictionaryEntryCompoundPanel panel_; - protected EventListenerList listenerList_; - protected boolean bAcceptEdit_; - transient protected ChangeEvent changeEvent_; - transient protected ActionEvent actionEvent_; - - //-------------------------------------------------------------------------- - /** DictionaryEntryCellEditor constructor. */ - public DictionaryEntryCompoundEditor() - { - panel_ = new DictionaryEntryCompoundPanel(); - listenerList_ = new EventListenerList(); - bAcceptEdit_ = false; - - // Subscribe to the edit button's action event so that we can forward - // the event to the action event listeners of this object. - panel_.EditButton().addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. Inform any interested - // parties. - if (bAcceptEdit_) fireEditActionEvent(); - bAcceptEdit_ = true; - } - } - ); - } - - //-------------------------------------------------------------------------- - //---- TableCellEditor Interface methods - //-------------------------------------------------------------------------- - /** Implementation of TableCellEditor interface's - * getTableCellEditorComponent method. - */ - public Component getTableCellEditorComponent - ( - JTable table, - Object value, - boolean isSelected, - int row, - int column - ) - { - try - { - // Incoming object must support the DictionaryEntry interface. - if (value instanceof DictionaryEntry) - { - DictionaryEntry dictEntry = (DictionaryEntry)value; - - // Set the panel text. - panel_.Label().setText(dictEntry.getEntryValueString()); - } - else - { - // Set the panel text. - panel_.Label().setText(value.toString()); - } - - // Make sure the label is rendered properly. - if (isSelected) - { - panel_.Label().setForeground(table.getSelectionForeground()); - panel_.Label().setBackground(table.getSelectionBackground()); - } - else - { - panel_.Label().setForeground(table.getForeground()); - panel_.Label().setBackground(table.getBackground()); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return panel_; - } - - //-------------------------------------------------------------------------- - //---- CellEditor Interface Methods - //-------------------------------------------------------------------------- - - public Object getCellEditorValue() - { - return null; - } - - //-------------------------------------------------------------------------- - - public boolean stopCellEditing() - { - fireEditingStopped(); - return true; - } - - //-------------------------------------------------------------------------- - - public void cancelCellEditing() - { - fireEditingCanceled(); - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(EventObject anEvent) - { - // Always editable. - return true; - } - - //-------------------------------------------------------------------------- - - public boolean shouldSelectCell(EventObject anEvent) - { - // Called at the start of the editing process. - /* - if (anEvent instanceof MouseEvent) - { - MouseEvent mevt = (MouseEvent)anEvent; - if - ( - mevt.getID() == MouseEvent.MOUSE_PRESSED - && mevt.getClickCount()>= 2 - ) - { - bAcceptEdit_ = false; - } - } - */ - bAcceptEdit_ = true; - - // Make sure the panel is repainted. Don't know why - // but sometimes the panel is not rendererd properly - // despite the table being in edit mode!! - panel_.repaint(); - - return true; - } - - //-------------------------------------------------------------------------- - - public void addCellEditorListener(CellEditorListener l) - { - listenerList_.add(CellEditorListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCellEditorListener(CellEditorListener l) - { - listenerList_.remove(CellEditorListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireEditingStopped() - { - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are - // interested in this event. - for (int i = listeners.length - 2; i>= 0; i -= 2) - { - if (listeners[i] == CellEditorListener.class) - { - // Lazily create the event: - if (changeEvent_ == null) - { - changeEvent_ = new ChangeEvent(this); - } - ((CellEditorListener)listeners[i+1]).editingStopped - ( - changeEvent_ - ); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireEditingCanceled() - { - // Guaranteed to return a non-null array - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are - // interested in this event. - for (int i = listeners.length - 2; i>= 0; i -= 2) - { - if (listeners[i] == CellEditorListener.class) - { - // Lazily create the event: - if (changeEvent_ == null) - { - changeEvent_ = new ChangeEvent(this); - } - ((CellEditorListener)listeners[i+1]).editingCanceled - ( - changeEvent_ - ); - } - } - } - - //-------------------------------------------------------------------------- - - public void addActionListener(ActionListener l) - { - listenerList_.add(ActionListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeActionListener(ActionListener l) - { - listenerList_.remove(ActionListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireEditActionEvent() - { - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are - // interested in this event. - for (int i = listeners.length - 2; i>= 0; i -= 2) - { - if (listeners[i] == ActionListener.class) - { - // Lazily create the event: - if (actionEvent_ == null) - { - actionEvent_ = new ActionEvent - ( - this, - ActionEvent.ACTION_PERFORMED, - "" - ); - } - // Fire the event. - ((ActionListener)listeners[i+1]).actionPerformed(actionEvent_); - } - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.form deleted file mode 100644 index e7ba0c0cda..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.form +++ /dev/null @@ -1,36 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.java deleted file mode 100644 index 9fc5180cad..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryCompoundPanel.java +++ /dev/null @@ -1,89 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -import javax.swing.*; -import FoamX.App; - -public class DictionaryEntryCompoundPanel - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - /** Creates new form DictionaryEntryCompoundPanel */ - - public DictionaryEntryCompoundPanel() - { - initComponents(); - } - - //-------------------------------------------------------------------------- - - public JLabel Label() - { - return label; - } - public JButton EditButton() - { - return editButton; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - label = new javax.swing.JLabel(); - editButton = new javax.swing.JButton(); - - setLayout(new java.awt.BorderLayout()); - - label.setFont(new java.awt.Font("Dialog", 0, 10)); - label.setOpaque(true); - add(label, java.awt.BorderLayout.CENTER); - - editButton.setFont(new java.awt.Font("Dialog", 0, 10)); - editButton.setText("..."); - add(editButton, java.awt.BorderLayout.EAST); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JLabel label; - private javax.swing.JButton editButton; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryTableModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryTableModel.java deleted file mode 100644 index b4a7dd81c4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryEntryTableModel.java +++ /dev/null @@ -1,372 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -import java.util.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; - -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.IDictionaryEntry; - -public class DictionaryEntryTableModel - extends AbstractTableModel - implements CompoundEntryListener -{ - //-------------------------------------------------------------------------- - - public static final int NAME_COLUMN_INDEX = 0; - public static final int VALUE_COLUMN_INDEX = 1; - - // Root DictionaryEntry object for this table. - protected DictionaryEntryCache rootEntry_; - - protected String dictionaryKey_; - - // List of DictionaryEntry objects (so can be extended by e.g. ListEditor) - protected java.util.List dictEntryList_; - - // Map of DictionaryEntry objects. - protected java.util.Hashtable dictEntryMap_; - protected EventListenerList listenerList_; - protected String[] columnNames_ = { "Name", "Value" }; - - //-------------------------------------------------------------------------- - /** DictionaryEntryTableModel default constructor for derived classes.. - */ - protected DictionaryEntryTableModel() - { - rootEntry_ = null; - dictionaryKey_ = ""; - dictEntryList_ = new Vector(10); - dictEntryMap_ = new Hashtable(); - listenerList_ = new EventListenerList(); - } - - //-------------------------------------------------------------------------- - /** - * DictionaryEntryTableModel constructor for compound types. - * @param compoundEntry Reference to the compound entry object. - */ - public DictionaryEntryTableModel(IDictionaryEntry compoundEntry) - { - // Default construction. - this(); - - try - { - // Store reference to DictionaryEntryCache for this compound entry. - rootEntry_ = DictionaryEntryCache.New(compoundEntry); - - // Default dictionary key. - dictionaryKey_ = rootEntry_.getTypeDescriptor().getName(); - - // Initialise event listener list. - listenerList_ = new EventListenerList(); - - // Create a DictionaryEntryCache object for each sub-entry. - DictionaryEntryCache[] subEntries = rootEntry_.getSubElements(); - - dictEntryList_ = new Vector(subEntries.length); - for (int i=0; i= 0; i -= 2) - { - if (listeners[i] == CompoundEntryListener.class) - { - return - ( - (CompoundEntryListener)listeners[i+1] - ).openSubDictionary(event); - } - } - } - else - { - App.printMessage - ( - "DictionaryEntryTableModel.fireOpenSubDictionaryEvent" - + "(CompoundEntryEvent evt)" - + " : cannot fire event" - ); - } - - return false; - } - - //-------------------------------------------------------------------------- - //--- CompoundEntryListener Interface Methods - //-------------------------------------------------------------------------- - - public boolean openSubDictionary(CompoundEntryEvent evt) - { - // Bounce the openSubDictionary event to any listeneres. - return fireOpenSubDictionaryEvent(evt); - } - - //-------------------------------------------------------------------------- - //--- Abstract AbststractTableModel Methods - //-------------------------------------------------------------------------- - - public int getRowCount() - { - return dictEntryList_.size(); - } - - //-------------------------------------------------------------------------- - - public int getColumnCount() - { - return columnNames_.length; - } - - //-------------------------------------------------------------------------- - - public Object getValueAt(int rowIndex, int columnIndex) - { - Object obj = null; - - try - { - // Check for valid row index. - if (rowIndex>= dictEntryList_.size()) - { - throw new Exception("Invalid row index"); - } - - // Get DictionaryEntry object for this row. - DictionaryEntry dictEntry = - (DictionaryEntry)dictEntryList_.get(rowIndex); - - if (columnIndex == NAME_COLUMN_INDEX) - { - // Return the DictionaryEntry display name. - obj = dictEntry.getEntryName(); - } - else - { - // Return the DictionaryEntry object for this entry. - obj = dictEntry; - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return obj; - } - - //-------------------------------------------------------------------------- - //--- Overriden AbststractTableModel Methods - //-------------------------------------------------------------------------- - - public String getColumnName(int columnIndex) - { - return columnNames_[columnIndex]; - } - - //-------------------------------------------------------------------------- - - public Class getColumnClass(int columnIndex) - { - // Value column is of type DictionaryEntry. - if (columnIndex == VALUE_COLUMN_INDEX) - { - return DictionaryEntry.class; - } - - // Name column is of type String. - return String.class; - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(int rowIndex, int columnIndex) - { - boolean bEditable = false; - - try - { - if (columnIndex == VALUE_COLUMN_INDEX) - { - // Get DictionaryEntry object for this row. - DictionaryEntry dictEntry = - (DictionaryEntry)dictEntryList_.get(rowIndex); - - // Return the editable flag. - bEditable = dictEntry.isEditable(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bEditable; - } - - //-------------------------------------------------------------------------- - - public void setValueAt(Object aValue, int rowIndex, int columnIndex) - { - // Ignore any incoming DictionaryEntry objects. - fireTableCellUpdated(rowIndex, columnIndex); - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryNameCellRenderer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryNameCellRenderer.java deleted file mode 100644 index 964f241296..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/DictionaryNameCellRenderer.java +++ /dev/null @@ -1,93 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors.DictionaryEntryEditor; - -import javax.swing.JTable; -import javax.swing.table.*; -import java.awt.Component; - -import FoamX.App; - -public class DictionaryNameCellRenderer - extends DefaultTableCellRenderer -{ - //-------------------------------------------------------------------------- - - protected java.awt.Font selectedFont_; - protected java.awt.Color selectedColor_; - - //-------------------------------------------------------------------------- - /** DictionaryNameCellRenderer constructor. */ - public DictionaryNameCellRenderer() - { - selectedFont_= new java.awt.Font("Dialog", java.awt.Font.BOLD, 10); - selectedColor_= new java.awt.Color(173, 255, 47); - } - - //-------------------------------------------------------------------------- - - public Component getTableCellRendererComponent - ( - JTable table, - Object value, - boolean isSelected, - boolean hasFocus, - int row, - int column - ) - { - Component comp = super.getTableCellRendererComponent - ( - table, - value, - isSelected, - hasFocus, - row, - column - ); - - if (isSelected) - { - //comp.setFont(selectedFont_); - comp.setBackground(selectedColor_); - } - else - { - comp.setBackground(java.awt.Color.white); - } - - - return comp; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/BooleanCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/BooleanCache.java deleted file mode 100644 index a237abde87..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/BooleanCache.java +++ /dev/null @@ -1,158 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class BooleanCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** BooleanCache constructor. */ - public BooleanCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** BooleanCache constructor. */ - public BooleanCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** BooleanCache constructor. */ - public BooleanCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Use a true/false combo box. - JComboBox combo = new JComboBox(); - combo.setFont(new java.awt.Font("Dialog", 0, 10)); - combo.addItem("True"); - combo.addItem("False"); - editor_ = new DefaultCellEditor(combo); - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - - // Incoming value object is a string. - String strValue = (String)value; - - try - { - if (value != null) - { - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (NumberFormatException ex) - { - App.handleAllExceptions - ( - new FoamXException - ( - "Number " + strValue + " not of correct type." - ) - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CaseNameCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CaseNameCache.java deleted file mode 100644 index 41b78bc30d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CaseNameCache.java +++ /dev/null @@ -1,136 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; -import FoamX.CaseManagement.CaseChooserDlg; -import FoamX.CaseManagement.CaseBrowserPanel; - -public class CaseNameCache - extends RootAndCaseCache -{ - - //-------------------------------------------------------------------------- - /** CaseNameCache constructor. */ - public CaseNameCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** CaseNameCache constructor. */ - public CaseNameCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** CaseNameCache constructor. */ - public CaseNameCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Pop up case chooser panel - CaseChooserDlg caseChooser = - new CaseChooserDlg - ( - App.getRootFrame(), - CaseBrowserPanel.SELECT_CASE_MODE - ); - caseChooser.setVisible(true); - - if - ( - (caseChooser.getCaseRoot() != null) - && (caseChooser.getCaseName() != null) - && (caseChooser.getCaseBrowser() != null) - ) - { - updateValue(caseChooser.getCaseName()); - - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CharCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CharCache.java deleted file mode 100644 index 9e529e1657..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CharCache.java +++ /dev/null @@ -1,142 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class CharCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** CharCache constructor. */ - public CharCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** CharCache constructor. */ - public CharCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** CharCache constructor. */ - public CharCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Give dictionaryEntryCache opportunity to install combo editor - super.initialiseEditor(); - - if (editor_ == null) - { - // No custom editor - use string-based - // DefaultCellEditor. - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CompoundCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CompoundCache.java deleted file mode 100644 index d663fbeae7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/CompoundCache.java +++ /dev/null @@ -1,286 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Editors.CompoundEditor; -import FoamX.Editors.SelectionEditor; -import FoamX.Editors.DimensionSetEditor; -import FoamX.Editors.ListEditor; -import FoamX.Editors.FixedListEditor; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; -import FoamX.Editors.DictionaryEntryEditor.*; - -public class CompoundCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - /** CompoundCache constructor. */ - public CompoundCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - - if (dictEntry_.subElements().length == 0) - { - editable_ = false; - } - } - - //-------------------------------------------------------------------------- - /** CompoundCache constructor. */ - public CompoundCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** CompoundCache constructor. */ - public CompoundCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - public String toString() - { - // Initialise if required. - if (displayValue_.length() == 0) - { - displayValue_ = getCompoundDisplayString(3); - } - return displayValue_; - } - - //-------------------------------------------------------------------------- - /** - * Variant of toString which appends compound entries. - * Used to convert argument dictionary to argument string. - */ - public void toStringRaw(Vector argListVector) - { - getCompoundValueString(argListVector); - } - - //-------------------------------------------------------------------------- - - // Update cached value from IDictionaryEntry - protected void getEntryValue() - {} - - //-------------------------------------------------------------------------- - - // Update IDictionaryEntry value from cached value - protected void setEntryValue() - {} - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Use compound editor. - DictionaryEntryCompoundEditor compEdit = - new DictionaryEntryCompoundEditor(); - - // Subscribe to the edit button's action event so - // that we can invoke the appropriate edit action for - // the compound types. - compEdit.addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed - ( - java.awt.event.ActionEvent evt - ) - { - editButtonActionPerformed(evt); - } - } - ); - editor_ = compEdit; - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Show modal compound editor dialog. - CompoundEditor editor = new CompoundEditor - ( - App.getRootFrame(), - dictEntry_ - ); - editor.setTitle(displayName_); - - editor.setVisible(true); - // Update the cached display string. - displayValue_ = getCompoundDisplayString(3); - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - /* render compound by adding first maxEntries values, separated by ',' */ - protected String getCompoundDisplayString(int maxEntries) - { - String vecString = ""; - - try - { - // Loop over sub-entries and generate a string representation of - // the vector. - IDictionaryEntry[] subEntries = dictEntry_.subElements(); - for (int i=0; i = 0; i -= 2) - { - if (listeners[i] == CompoundEntryListener.class) - { - return - ( - (CompoundEntryListener)listeners[i+1]) - .openSubDictionary(event); - } - } - - return false; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/DictionaryEntryCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/DictionaryEntryCache.java deleted file mode 100644 index f2d08e3b98..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/DictionaryEntryCache.java +++ /dev/null @@ -1,595 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Editors.CompoundEditor; -import FoamX.Editors.SelectionEditor; -import FoamX.Editors.DimensionSetEditor; -import FoamX.Editors.ListEditor; -import FoamX.Editors.FixedListEditor; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.SelectionEntryCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryListener; -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryEvent; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; - -public class DictionaryEntryCache - implements DictionaryEntry -{ - //-------------------------------------------------------------------------- - - // Reference to the dict entry object for this item. - protected IDictionaryEntry dictEntry_; - - // Cached type descriptor for this entry. - protected TypeDescriptorCache typeDescriptor_; - // Cached value - protected FoamXAny value_; - // Cached type of type descriptor - protected int typeValue_; - - // Name of this entry. Defaults to the display name specified by the - // type descriptor. - protected String displayName_; - - // Cached String representation of the current value of this entry. - protected String displayValue_; - - protected boolean editable_; - protected boolean current_; - protected boolean modified_; - - // Custom renderer object. - protected TableCellRenderer renderer_; - - // Custom editor object. - protected TableCellEditor editor_; - - // Listeners for open sub dictionary events - protected EventListenerList listenerList_; - - - //-------------------------------------------------------------------------- - - /** DictionaryEntryCache constructor. */ - public DictionaryEntryCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - try - { - // Store IDictionaryEntry reference. - dictEntry_ = dictEntry; - - // Get TypeDescriptor information. - typeDescriptor_ = typeDescriptor; - FoamXType type = typeDescriptor_.getType(); - typeValue_ = type.value(); - displayName_ = typeDescriptor_.getDisplayName(); - displayValue_ = ""; - - // Make sure that we have a name to display. - if (displayName_ == null || displayName_.length() == 0) - { - displayName_ = typeDescriptor_.getName(); - } - - // Initialise event listener list. - listenerList_ = new EventListenerList(); - - // Get current value if we have one. Need a value before we - // initialise the Renderer and Editor objects. - getEntryValue(); - - // Editable if typeDescriptor says so - editable_ = typeDescriptor_.isEditable(); - - // Now, initialise rest of member variables. - current_ = false; - modified_ = dictEntry.modified(); - - // Initialise the renderer and editor for this entry. - initialiseRenderer(); - initialiseEditor(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** DictionaryEntryCache constructor. */ - public DictionaryEntryCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** DictionaryEntryCache constructor. */ - public DictionaryEntryCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - /** DictionaryEntryCache factory. */ - static public DictionaryEntryCache New - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - try - { - int typeValue = typeDescriptor.getType().value(); - - switch (typeValue) - { - case FoamXType._Type_Boolean: - return new BooleanCache(dictEntry, typeDescriptor); - case FoamXType._Type_Label: - return new LabelCache(dictEntry, typeDescriptor); - case FoamXType._Type_Scalar: - return new ScalarCache(dictEntry, typeDescriptor); - case FoamXType._Type_Char: - return new CharCache(dictEntry, typeDescriptor); - case FoamXType._Type_Word: - return new WordCache(dictEntry, typeDescriptor); - case FoamXType._Type_String: - return new StringCache(dictEntry, typeDescriptor); - - case FoamXType._Type_RootDir: - return new RootDirCache(dictEntry, typeDescriptor); - case FoamXType._Type_RootAndCase: - return new RootAndCaseCache(dictEntry, typeDescriptor); - case FoamXType._Type_CaseName: - return new CaseNameCache(dictEntry, typeDescriptor); - case FoamXType._Type_HostName: - return new HostNameCache(dictEntry, typeDescriptor); - case FoamXType._Type_File: - return new StringCache(dictEntry, typeDescriptor); - case FoamXType._Type_Directory: - return new StringCache(dictEntry, typeDescriptor); - case FoamXType._Type_Time: - return new TimeCache(dictEntry, typeDescriptor); - - case FoamXType._Type_DimensionSet: - return new DimensionSetCache(dictEntry, typeDescriptor); - case FoamXType._Type_FixedList: - return new FixedListCache(dictEntry, typeDescriptor); - case FoamXType._Type_List: - return new ListCache(dictEntry, typeDescriptor); - case FoamXType._Type_Selection: - if (dictEntry.subElements().length == 1) - { - // Selection with one entry. - App.printMessage - ( - App.DEBUGLEVEL_DEBUG, - "Skipping single element Selection " + dictEntry - ); - - return New - ( - dictEntry.subElements()[0], - new TypeDescriptorCache - ( - typeDescriptor.TypeDescriptor().subTypes()[0], - false - ) - ); - } - else - { - return new SelectionCache(dictEntry, typeDescriptor); - } - case FoamXType._Type_Dictionary: - return new DictionaryCache(dictEntry, typeDescriptor); - case FoamXType._Type_Compound: - return new CompoundCache(dictEntry, typeDescriptor); - default: - throw new Exception - ( - "Invalid type in DictionaryEntryCache::New." - ); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - return null; - } - - //-------------------------------------------------------------------------- - /** DictionaryEntryCache factory. */ - static public DictionaryEntryCache New(IDictionaryEntry dictEntry) - { - // Invoke the other factory. - return New - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** DictionaryEntryCache constructor. */ - static public DictionaryEntryCache New - ( - IDictionaryEntry dictEntry, - String displayName - ) - { - // Invoke the other constructor. - DictionaryEntryCache entry = New(dictEntry); - - // Use the given display name. - entry.setEntryName(displayName); - - return entry; - } - - //-------------------------------------------------------------------------- - - public IDictionaryEntry getDictEntry() - { - return dictEntry_; - } - public TypeDescriptorCache getTypeDescriptor() - { - return typeDescriptor_; - } - public void setEditable(boolean editable) - { - editable_ = editable; - } - public void setCurrent(boolean current) - { - current_ = current; - } - public boolean isModified() - { - return modified_; - } - - public void setEntryName(String displayName) - { - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - /** - * Get array of sub elements - */ - public DictionaryEntryCache[] getSubElements() - { - IDictionaryEntry[] subEntries = dictEntry_.subElements(); - - DictionaryEntryCache[] cachedElems = - new DictionaryEntryCache[subEntries.length]; - - for (int i=0; i 0) - { - String[] valueList = typeDescriptor_.getValueList(); - JComboBox combo = new JComboBox(); - combo.setFont(new java.awt.Font("Dialog", 0, 10)); - for (int i=0; i 0) - { - argString += " "; - } - argString += (String)subArgs.elementAt(i); - } - - argString += ")"; - - // Add as single argument - argListVector.addElement(argString); - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Show modal vector space editor dialog. - FixedListEditor editor = new FixedListEditor - ( - App.getRootFrame(), - dictEntry_, - typeDescriptor_ - ); - editor.setTitle(displayName_); - editor.setVisible(true); - // Update the cached display string. - displayValue_ = getCompoundDisplayString(3); - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/HostNameCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/HostNameCache.java deleted file mode 100644 index 90f68f4353..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/HostNameCache.java +++ /dev/null @@ -1,195 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; -import FoamX.CaseManagement.HostChooserDlg; - -public class HostNameCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** HostNameCache constructor. */ - public HostNameCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** HostNameCache constructor. */ - public HostNameCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** HostNameCache constructor. */ - public HostNameCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Use compound editor. - DictionaryEntryCompoundEditor compEdit = - new DictionaryEntryCompoundEditor(); - - // Subscribe to the edit button's action event so - // that we can invoke the appropriate edit action for - // the compound types. - compEdit.addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed - ( - java.awt.event.ActionEvent evt - ) - { - editButtonActionPerformed(evt); - } - } - ); - editor_ = compEdit; - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Pop up host chooser panel - HostChooserDlg hostChooser = - new HostChooserDlg(App.getRootFrame()); - hostChooser.setVisible(true); - - if (hostChooser.getHostName() != null) - { - // Update the cached display string. - displayValue_ = hostChooser.getHostName(); - - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/LabelCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/LabelCache.java deleted file mode 100644 index 42adf800d0..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/LabelCache.java +++ /dev/null @@ -1,193 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class LabelCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** LabelCache constructor. */ - public LabelCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** LabelCache constructor. */ - public LabelCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** LabelCache constructor. */ - public LabelCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Give dictionaryEntryCache opportunity to install combo editor - super.initialiseEditor(); - - if (editor_ == null) - { - // No custom editor - use string-based - // DefaultCellEditor. - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue = ""; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Check against type min and max if available - FoamXAny minVal = typeDescriptor_.getMinValue(); - FoamXAny maxVal = typeDescriptor_.getMaxValue(); - if - ( - ( - minVal.getAny().type.value() - == FoamXType._Type_Label - ) - && - ( - maxVal.getAny().type.value() - == FoamXType._Type_Label - ) - ) - { - int intValue = Integer.parseInt(strValue); - int minValue = Integer.parseInt(minVal.toString()); - int maxValue = Integer.parseInt(maxVal.toString()); - - if ((intValue < minValue) || (intValue > maxValue)) - { - throw new FoamXException - ( - "Label " + intValue + " out of range [" - + minValue + " , " + maxValue + "]" - ); - } - } - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (NumberFormatException ex) - { - App.handleAllExceptions - ( - new FoamXException - ( - "Number " + strValue + " not of correct type." - ) - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ListCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ListCache.java deleted file mode 100644 index ec0560a822..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ListCache.java +++ /dev/null @@ -1,273 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Editors.CompoundEditor; -import FoamX.Editors.SelectionEditor; -import FoamX.Editors.DimensionSetEditor; -import FoamX.Editors.ListEditor; -import FoamX.Editors.FixedListEditor; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.SelectionEntryCellRenderer; - -public class ListCache - extends CompoundCache -// implements DictionaryEntry -{ - //-------------------------------------------------------------------------- - - // Length of list before confirming edit. - public static final int MAX_EDIT_LENGTH = 100; - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - /** ListCache constructor. */ - public ListCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - - // Reset editable. CompoundCache set it to false for zero element lists. - editable_ = typeDescriptor_.isEditable(); - } - - //-------------------------------------------------------------------------- - /** ListCache constructor. */ - public ListCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** ListCache constructor. */ - public ListCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - public String toString() - { - // Initialise if required. - if (displayValue_.length() == 0) - { - displayValue_ = "List..."; - } - - return displayValue_; - } - - //-------------------------------------------------------------------------- - /** - * Variant of toString which appends compound entries. - * Used to convert command line arguments dictionary to argument string. - * Note that now a List will become one argument string. - */ - public void toStringRaw(Vector argListVector) - { - // Collect arguments into vector (only so we can reuse - // CompoundCache.toStringRaw functionality) - Vector subArgs = new Vector(); - super.toStringRaw(subArgs); - - // Compose single string out of arguments. Enclose in brackets. - - String argString = "("; - - for (int i = 0; i < subArgs.size(); i++) - { - if (i > 0) - { - argString += " "; - } - argString += (String)subArgs.elementAt(i); - } - - argString += ")"; - - // Add as single argument - argListVector.addElement(argString); - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Check n elems and ask before editing. - boolean doEdit = true; - - int nSubElements = dictEntry_.nSubElements(); - if (nSubElements > MAX_EDIT_LENGTH) - { - if - ( - JOptionPane.showConfirmDialog - ( - App.getRootFrame(), - "List is large (" + nSubElements - + " elements).\n" - + "Are you sure you want to edit it?", - "Confirm Edit List", - JOptionPane.YES_NO_OPTION, - JOptionPane.QUESTION_MESSAGE - ) - != - JOptionPane.OK_OPTION - ) - { - doEdit = false; - } - } - - // Start editing - if (doEdit) - { - // Show modal list editor dialog. - ListEditor editor = new ListEditor - ( - App.getRootFrame(), - dictEntry_ - ); - editor.setTitle(displayName_); - - editor.setVisible(true); - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public DictionaryEntryCache addListElement() - { - DictionaryEntryCache listElement = null; - - try - { - // Add a new element to the list. - IDictionaryEntryHolder listElementHolder = - new IDictionaryEntryHolder(); - dictEntry_.addElement(listElementHolder); - - // If successful, create a new DictionaryEntryCache wrapper - // object and return it. - listElement = DictionaryEntryCache.New(listElementHolder.value); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return listElement; - } - - //-------------------------------------------------------------------------- - - public boolean removeElement(DictionaryEntryCache listElement) - { - boolean bRet = false; - - try - { - // Remove the specified sub-type. - dictEntry_.removeElement(listElement.getDictEntry()); - - // Return success. - bRet = true; - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - bRet = false; - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - bRet = false; - } - - return bRet; - } - - - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootAndCaseCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootAndCaseCache.java deleted file mode 100644 index 816ece6e61..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootAndCaseCache.java +++ /dev/null @@ -1,267 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; -import FoamX.CaseManagement.CaseChooserDlg; -import FoamX.CaseManagement.CaseBrowserPanel; - -public class RootAndCaseCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** RootAndCaseCache constructor. */ - public RootAndCaseCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** RootAndCaseCache constructor. */ - public RootAndCaseCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** RootAndCaseCache constructor. */ - public RootAndCaseCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - - /** - * Display as , - */ - public String toString() - { - try - { - displayValue_ = value_.toString(); - - if (displayValue_.length() != 0) - { - int lastSlash = displayValue_.lastIndexOf('/'); - - if (lastSlash == -1) - { - throw new FoamXException - ( - "RootAndCase " + displayValue_ + " cannot be split " - + " into root directory and case name" - ); - - } - displayValue_ = - displayValue_.substring(lastSlash+1) - + ',' - + displayValue_.substring(0, lastSlash); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return displayValue_; - } - - //-------------------------------------------------------------------------- - /** - * For argument strings rootAndCase becomes space separated - */ - public void toStringRaw(Vector argListVector) - { - try - { - String rootAndCase = value_.toString(); - - if (rootAndCase.length() != 0) - { - argListVector.addElement("-case"); - argListVector.addElement(rootAndCase); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Use compound editor. - DictionaryEntryCompoundEditor compEdit = - new DictionaryEntryCompoundEditor(); - - // Subscribe to the edit button's action event so - // that we can invoke the appropriate edit action for - // the compound types. - compEdit.addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed - ( - java.awt.event.ActionEvent evt - ) - { - editButtonActionPerformed(evt); - } - } - ); - editor_ = compEdit; - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Pop up case chooser panel - CaseChooserDlg caseChooser = - new CaseChooserDlg - ( - App.getRootFrame(), - CaseBrowserPanel.SELECT_CASE_MODE - ); - caseChooser.setVisible(true); - - if - ( - (caseChooser.getCaseRoot() != null) - && (caseChooser.getCaseName() != null) - && (caseChooser.getCaseBrowser() != null) - ) - { - updateValue - ( - caseChooser.getCaseRoot() - + '/' - + caseChooser.getCaseName() - ); - - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootDirCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootDirCache.java deleted file mode 100644 index 7a67be983e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/RootDirCache.java +++ /dev/null @@ -1,203 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; -import FoamX.CaseManagement.CaseChooserDlg; -import FoamX.CaseManagement.CaseBrowserPanel; - -public class RootDirCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** RootDirCache constructor. */ - public RootDirCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** RootDirCache constructor. */ - public RootDirCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** RootDirCache constructor. */ - public RootDirCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Use compound editor. - DictionaryEntryCompoundEditor compEdit = - new DictionaryEntryCompoundEditor(); - - // Subscribe to the edit button's action event so - // that we can invoke the appropriate edit action for - // the compound types. - compEdit.addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed - ( - java.awt.event.ActionEvent evt - ) - { - editButtonActionPerformed(evt); - } - } - ); - editor_ = compEdit; - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Pop up case chooser panel - CaseChooserDlg caseChooser = - new CaseChooserDlg - ( - App.getRootFrame(), - CaseBrowserPanel.SELECT_ROOT_MODE - ); - caseChooser.setVisible(true); - - if - ( - (caseChooser.getCaseRoot() != null) - && (caseChooser.getCaseBrowser() != null) - ) - { - updateValue(caseChooser.getCaseRoot()); - - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ScalarCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ScalarCache.java deleted file mode 100644 index a4913b6509..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/ScalarCache.java +++ /dev/null @@ -1,199 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class ScalarCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** ScalarCache constructor. */ - public ScalarCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** ScalarCache constructor. */ - public ScalarCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** ScalarCache constructor. */ - public ScalarCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Give dictionaryEntryCache opportunity to install combo editor - super.initialiseEditor(); - - if (editor_ == null) - { - // No custom editor - use string-based - // DefaultCellEditor. - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue = ""; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Check against type min and max if available - FoamXAny minVal = typeDescriptor_.getMinValue(); - FoamXAny maxVal = typeDescriptor_.getMaxValue(); - if - ( - ( - minVal.getAny().type.value() - == FoamXType._Type_Scalar - ) - && ( - maxVal.getAny().type.value() - == FoamXType._Type_Scalar - ) - ) - { - double doubleValue = - Double.valueOf(strValue).doubleValue(); - double minValue = - Double.valueOf(minVal.toString()).doubleValue(); - double maxValue = - Double.valueOf(maxVal.toString()).doubleValue(); - - if - ( - (doubleValue < minValue) - || (doubleValue > maxValue) - ) - { - throw new FoamXException - ( - "Scalar " + doubleValue + " out of range [" - + minValue + " , " + maxValue + "]" - ); - } - } - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (NumberFormatException ex) - { - App.handleAllExceptions - ( - new FoamXException - ( - "Number " + strValue + " not of correct type." - ) - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/SelectionCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/SelectionCache.java deleted file mode 100644 index c50179685e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/SelectionCache.java +++ /dev/null @@ -1,195 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Editors.CompoundEditor; -import FoamX.Editors.SelectionEditor; -import FoamX.Editors.DimensionSetEditor; -import FoamX.Editors.ListEditor; -import FoamX.Editors.FixedListEditor; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; -import FoamX.Editors.DictionaryEntryEditor.SelectionEntryCellRenderer; - -public class SelectionCache - extends CompoundCache -// implements DictionaryEntry -{ - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - /** SelectionCache constructor. */ - public SelectionCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** SelectionCache constructor. */ - public SelectionCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** SelectionCache constructor. */ - public SelectionCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - public String toString() - { - // Initialise if required. - if (displayValue_.length() == 0) - { - displayValue_ = getSelectionDisplayString() + " ..."; - } - return displayValue_; - } - - //-------------------------------------------------------------------------- - - public void toStringRaw(Vector argListVector) - { - getSelectionValueString(argListVector); - } - - //-------------------------------------------------------------------------- - - protected void editButtonActionPerformed(java.awt.event.ActionEvent evt) - { - // The edit button has been pressed. The user wants to edit this entry. - try - { - // Show modal selection editor dialog. - // Differs from compoundEditor only in tableModel used - SelectionEditor editor = new SelectionEditor - ( - App.getRootFrame(), - dictEntry_ - ); - editor.setTitle(displayName_); - - editor.setVisible(true); - // Update the cached display string. - displayValue_ = getSelectionDisplayString(); - // Signal that editing has stopped. - editor_.stopCellEditing(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - //-------------------------------------------------------------------------- - - /* render selection by returning name of selected entry */ - protected String getSelectionDisplayString() - { - String renderedValue = ""; - - try - { - int i = dictEntry_.selection(); - - IDictionaryEntry subEntry = dictEntry_.subElements()[i]; - renderedValue = subEntry.typeDescriptor().name(); - subEntry = null; - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - return renderedValue; - } - - //-------------------------------------------------------------------------- - - /* render selection by adding value to vector */ - protected void getSelectionValueString(Vector argListVector) - { - try - { - int i = dictEntry_.selection(); - - DictionaryEntryCache dictEntryCache = - DictionaryEntryCache.New(dictEntry_.subElements()[i]); - - dictEntryCache.toStringRaw(argListVector); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/StringCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/StringCache.java deleted file mode 100644 index 39ddbfffe7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/StringCache.java +++ /dev/null @@ -1,153 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class StringCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** StringCache constructor. */ - public StringCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** StringCache constructor. */ - public StringCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** StringCache constructor. */ - public StringCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Give dictionaryEntryCache opportunity to install combo editor - super.initialiseEditor(); - - if (editor_ == null) - { - // No custom editor - use string-based - // DefaultCellEditor. - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/TimeCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/TimeCache.java deleted file mode 100644 index 95ca3011c1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/TimeCache.java +++ /dev/null @@ -1,145 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class TimeCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** TimeCache constructor. */ - public TimeCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** TimeCache constructor. */ - public TimeCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** TimeCache constructor. */ - public TimeCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Give dictionaryEntryCache opportunity to install combo editor - super.initialiseEditor(); - - if (editor_ == null) - { - // No custom editor - use string-based - // DefaultCellEditor. - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/WordCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/WordCache.java deleted file mode 100644 index 9444e6252b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/EntryCache/WordCache.java +++ /dev/null @@ -1,153 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor.EntryCache; - -import java.text.*; -import java.awt.Frame; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamXServer.CaseServer.*; -import FoamXServer.IDictionaryEntry; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class WordCache - extends DictionaryEntryCache -// implements DictionaryEntry -{ - - //-------------------------------------------------------------------------- - /** WordCache constructor. */ - public WordCache - ( - IDictionaryEntry dictEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(dictEntry, typeDescriptor); - } - - //-------------------------------------------------------------------------- - /** WordCache constructor. */ - public WordCache(IDictionaryEntry dictEntry) - { - // Invoke the other constructor. - this - ( - dictEntry, - new TypeDescriptorCache(dictEntry.typeDescriptor(), false) - ); - } - - //-------------------------------------------------------------------------- - /** WordCache constructor. */ - public WordCache(IDictionaryEntry dictEntry, String displayName) - { - // Invoke the other constructor. - this(dictEntry); - - // Use the given display name. - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - protected void initialiseEditor() - { - // Give dictionaryEntryCache opportunity to install combo editor - super.initialiseEditor(); - - if (editor_ == null) - { - // No custom editor - use string-based - // DefaultCellEditor. - } - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - * Will not be called by editors for compound types since e.g. - * dictionary elements cannot be added/removed in FoamX. - */ - public boolean updateValue(Object value) - { - boolean bRet = false; - String strValue; - - try - { - if (value != null) - { - // Incoming value object is a string. - strValue = (String)value; - - // Update the Any object. - value_.setValue(strValue); - // Send the Any object to the dictionary entry object. - setEntryValue(); - - bRet = true; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bRet; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionEntryCellRenderer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionEntryCellRenderer.java deleted file mode 100644 index dbf2e71c58..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionEntryCellRenderer.java +++ /dev/null @@ -1,100 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors.DictionaryEntryEditor; - -import javax.swing.JTable; -import javax.swing.table.*; -import java.awt.Component; - -import FoamX.App; - -public class SelectionEntryCellRenderer - extends DictionaryEntryCellRenderer -{ - //-------------------------------------------------------------------------- - - protected java.awt.Color selectedColor_; - - //-------------------------------------------------------------------------- - /** SelectionEntryCellRenderer constructor. */ - public SelectionEntryCellRenderer() - { - selectedColor_= new java.awt.Color(173, 255, 47); - } - - //-------------------------------------------------------------------------- - - public Component getTableCellRendererComponent - ( - JTable table, - Object value, - boolean isSelected, - boolean hasFocus, - int row, - int column - ) - { - Component comp = null; - - try - { - // Use DictionaryEntryCellRenderer(handles read-only) - comp = super.getTableCellRendererComponent - ( - table, - value, - isSelected, - hasFocus, - row, - column - ); - - if (isSelected) - { - //comp.setFont(selectedFont_); - comp.setBackground(selectedColor_); - } - else - { - comp.setBackground(java.awt.Color.white); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return comp; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionTableModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionTableModel.java deleted file mode 100644 index 4c466fc8bf..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/SelectionTableModel.java +++ /dev/null @@ -1,402 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.DictionaryEntryEditor; - -import java.util.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.IDictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; -public class SelectionTableModel - extends AbstractTableModel - implements CompoundEntryListener -{ - //-------------------------------------------------------------------------- - - public static final int NAME_COLUMN_INDEX = 0; - public static final int VALUE_COLUMN_INDEX = 1; - - // Root DictionaryEntry object for this table. - protected DictionaryEntryCache rootEntry_; - protected String dictionaryKey_; - - // List of DictionaryEntry objects. - protected java.util.List dictEntryList_; - - // Map of DictionaryEntry objects. - protected java.util.Hashtable dictEntryMap_; - protected EventListenerList listenerList_; - protected String[] columnNames_ = { "Name", "Value"}; - - //-------------------------------------------------------------------------- - /** SelectionTableModel default constructor for derived classes.. - */ - protected SelectionTableModel() - { - try - { - rootEntry_ = null; - dictionaryKey_ = ""; - dictEntryList_ = new Vector(10); - dictEntryMap_ = new Hashtable(); - listenerList_ = new EventListenerList(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** - * SelectionTableModel constructor for compound types. - * @param compoundEntry Reference to the compound entry object. - */ - public SelectionTableModel(IDictionaryEntry compoundEntry) - { - // Default construction. - this(); - - try - { - // Store reference to IDictionaryEntry for this compound entry. - rootEntry_ = DictionaryEntryCache.New(compoundEntry); - // Default dictionary key. - dictionaryKey_ = rootEntry_.getTypeDescriptor().getName(); - - // Initialise event listener list. - listenerList_ = new EventListenerList(); - - // Create a DictionaryEntryCache object for each sub-entry. - IDictionaryEntry[] subEntries = compoundEntry.subElements(); - - dictEntryList_ = new Vector(subEntries.length); - for (int i=0; i = 0; i -= 2) - { - if (listeners[i] == CompoundEntryListener.class) - { - return - ( - (CompoundEntryListener)listeners[i+1] - ).openSubDictionary(event); - } - } - } - else - { - App.printMessage - ( - "SelectionTableModel.fireOpenSubDictionaryEvent" - + "(CompoundEntryEvent evt)" - + " : cannot fire event" - ); - } - - return false; - } - - //-------------------------------------------------------------------------- - //--- CompoundEntryListener Interface Methods - //-------------------------------------------------------------------------- - - public boolean openSubDictionary(CompoundEntryEvent evt) - { - // Bounce the openSubDictionary event to any listeners. - return fireOpenSubDictionaryEvent(evt); - } - - //-------------------------------------------------------------------------- - //--- Abstract AbststractTableModel Methods - //-------------------------------------------------------------------------- - - public int getRowCount() - { - return dictEntryList_.size(); - } - - //-------------------------------------------------------------------------- - - public int getColumnCount() - { - return columnNames_.length; - } - - //-------------------------------------------------------------------------- - - public Object getValueAt(int rowIndex, int columnIndex) - { - Object obj = null; - - try - { - // Check for valid row index. - if (rowIndex>= dictEntryList_.size()) - { - throw new Exception("Invalid row index"); - } - - // Get DictionaryEntry object for this row. - DictionaryEntryCache dictEntry = - (DictionaryEntryCache)dictEntryList_.get(rowIndex); - - if (columnIndex == NAME_COLUMN_INDEX) - { - // Return the DictionaryEntry display name. - obj = dictEntry.getEntryName(); - } - else if (columnIndex == VALUE_COLUMN_INDEX) - { - obj = dictEntry; - } - else - { - throw new Exception("Invalid column index"); - } - - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return obj; - } - - //-------------------------------------------------------------------------- - //--- Overriden AbststractTableModel Methods - //-------------------------------------------------------------------------- - - public String getColumnName(int columnIndex) - { - return columnNames_[columnIndex]; - } - - //-------------------------------------------------------------------------- - - public Class getColumnClass(int columnIndex) - { - // Render according to value of row 0 ( so 0=string, 1=bool) - return getValueAt(0, columnIndex).getClass(); - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(int rowIndex, int columnIndex) - { - boolean bEditable = false; - - try - { - if (columnIndex == VALUE_COLUMN_INDEX) - { - // Get DictionaryEntry object for this row. - DictionaryEntry dictEntry = - (DictionaryEntry)dictEntryList_.get(rowIndex); - - // Return the editable flag. - bEditable = dictEntry.isEditable(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return bEditable; - } - - //-------------------------------------------------------------------------- - - public void setValueAt(Object aValue, int rowIndex, int columnIndex) - { - try - { - if (columnIndex == NAME_COLUMN_INDEX) - { - } - else if (columnIndex == VALUE_COLUMN_INDEX) - { - // No need to change current selection here - // (Current-selection set by selection changes, not by editing) - - // Ignore any incoming DictionaryEntry objects. - fireTableCellUpdated(rowIndex, columnIndex); - } - else - { - throw new Exception("Invalid column index"); - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DictionaryEntryEditor/filesystem.attributes deleted file mode 100644 index b7b1a00ea88db6c18056f45df3121dd562c21711..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2083 zcmeHIL19#hksr^Z|L{o0YjZtwUHB1-hX@j%l_fAyq6>?ks z04)WFR_Ge_QxkLl9M#b@P4XW+`Q_Kc7ar!otH41nX;`6wk*W#@Or)5OBoAAOfx*c* zFtHR=wadb&wr?{TC}8b`Q!J-oq??+n5lerjF-?_@DCaDkZLF}s@JGKL`R>-n-yV2X z=#7xZA{1m}WulE)40wwZtporLVbM>@<0oga*Xm^XWJwBvXr!ROg)5N%`S)uhsj}hg z{|vq8E6o4lVT*|Lept^&HP~sk7K>FD)?#h?N9Vqox^QhcXM->HVj&NypXjD;hrpEf zI~C{BB$3J#>oivR^EbBsni_kI^lQ*-+6go8c@6Podn+W6ay4d}bnqqjq&SbkV>QUH zQJx~|~a<~@*#aG(v z5*?|a0C%VZ);rx@uPf3YZ)l@XSsg_2D~8Gm*mZgLr$6t1dfN@OU@H&dd-Lg3Y6~0$$o=?s4$A%S zp#R1}Re`4@4mTc - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DimensionSetEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DimensionSetEditor.java deleted file mode 100644 index f9d053aefe..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/DimensionSetEditor.java +++ /dev/null @@ -1,324 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors; - -import java.awt.*; -import javax.swing.*; -import javax.swing.event.*; -import java.text.*; - -import FoamX.App; -import FoamXServer.DimensionSet; -import FoamXServer.DimensionSetHelper; -import FoamXServer.IDictionaryEntry; - -public class DimensionSetEditor - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - protected static final int MASS = 0; - protected static final int LENGTH = 1; - protected static final int TIME = 2; - protected static final int TEMPERATURE = 3; - protected static final int MOLES = 4; - protected static final int CURRENT = 5; - protected static final int LUMINOUSINTENSITY = 6; - - private javax.swing.JLabel[] labels_ = new javax.swing.JLabel[7]; - private javax.swing.JTextField[] textfields_ = new javax.swing.JTextField[7]; - private IDictionaryEntry entry_; - private DimensionSet dimensionSet_; - - //-------------------------------------------------------------------------- - /** Constructor for DimensionSetEditor given a non-compound dictionary entry. */ - - public DimensionSetEditor(java.awt.Frame parent, IDictionaryEntry entry) - { - - super(parent, "DimensionSet Editor", true); // Modal. - - // Get the dimension set values from the entry. - entry_ = entry; - dimensionSet_ = DimensionSetHelper.extract(entry_.value().value); - - // Common initialisation. - initialise(); - - // Set default dialog position to centre of parent frame. - if (parent != null) - { - setLocation(parent.getLocation().x + (parent.getSize().width - getSize().width)/2, - parent.getLocation().y + (parent.getSize().height - getSize().height)/2); - } - else - { - Dimension screen = getToolkit().getScreenSize(); - setLocation((screen.getSize().width - getSize().width)/2, - (screen.getSize().height - getSize().height)/2); - } - } - - //-------------------------------------------------------------------------- - - public DimensionSet getDimensionSet() - { - return dimensionSet_; - } - - //-------------------------------------------------------------------------- - /** Constructor for DimensionSetEditor given a DimensionSet. */ - - public DimensionSetEditor(java.awt.Frame parent, DimensionSet dimensionSet) - { - super(parent, "DimensionSet Editor", true); - - dimensionSet_ = dimensionSet; - - // Common initialisation. - initialise(); - - // Set default dialog position to centre of parent frame. - if (parent != null) - { - setLocation(parent.getLocation().x + (parent.getSize().width - getSize().width)/2, - parent.getLocation().y + (parent.getSize().height - getSize().height)/2); - } - else - { - Dimension screen = getToolkit().getScreenSize(); - setLocation((screen.getSize().width - getSize().width)/2, - (screen.getSize().height - getSize().height)/2); - } - } - - //-------------------------------------------------------------------------- - /** Common initialisation. */ - public void initialise() - { - initComponents(); - - // Construct Format object. - DecimalFormat format = new DecimalFormat(); - format.setGroupingUsed(false); - format.setMaximumFractionDigits(6); - - // Initialise the dimension edit controls. - labels_[0] = new javax.swing.JLabel("Mass"); - labels_[1] = new javax.swing.JLabel("Length"); - labels_[2] = new javax.swing.JLabel("Time"); - labels_[3] = new javax.swing.JLabel("Temperature"); - labels_[4] = new javax.swing.JLabel("Moles"); - labels_[5] = new javax.swing.JLabel("Current"); - labels_[6] = new javax.swing.JLabel("Luminous Intensity"); - - textfields_[MASS] = new javax.swing.JTextField(); - textfields_[MASS].setText(format.format(dimensionSet_.mass)); - textfields_[LENGTH] = new javax.swing.JTextField(); - textfields_[LENGTH].setText(format.format(dimensionSet_.length)); - textfields_[TIME] = new javax.swing.JTextField(); - textfields_[TIME].setText(format.format(dimensionSet_.time)); - textfields_[TEMPERATURE] = new javax.swing.JTextField(); - textfields_[TEMPERATURE].setText(format.format(dimensionSet_.temperature)); - textfields_[MOLES] = new javax.swing.JTextField(); - textfields_[MOLES].setText(format.format(dimensionSet_.moles)); - textfields_[CURRENT] = new javax.swing.JTextField(); - textfields_[CURRENT].setText(format.format(dimensionSet_.current)); - textfields_[LUMINOUSINTENSITY] = new javax.swing.JTextField(); - textfields_[LUMINOUSINTENSITY].setText(format.format(dimensionSet_.luminousIntensity)); - - for (int i=0; i <7; i++) - { - labels_[i].setFont(getFont()); - labels_[i].setForeground(java.awt.Color.black); - textfields_[i].setFont(getFont()); - dimensionPanel_.add(labels_[i]); - dimensionPanel_.add(textfields_[i]); - } - - // Resize dialog. - //pack(); - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - buttonPanel_ = new javax.swing.JPanel(); - btnOK = new javax.swing.JButton(); - btnCancel = new javax.swing.JButton(); - dimensionPanel_ = new javax.swing.JPanel(); - - setName("Dimension Set Editor"); - setModal(true); - setFont(new java.awt.Font("Dialog", 0, 10)); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT, 10, 10)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - buttonPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnOK.setFont(new java.awt.Font("Dialog", 0, 10)); - btnOK.setText("OK"); - btnOK.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - btnOKActionPerformed(evt); - } - }); - - buttonPanel_.add(btnOK); - - btnCancel.setFont(new java.awt.Font("Dialog", 0, 10)); - btnCancel.setText("Cancel"); - btnCancel.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - btnCancelActionPerformed(evt); - } - }); - - buttonPanel_.add(btnCancel); - - getContentPane().add(buttonPanel_, java.awt.BorderLayout.SOUTH); - - dimensionPanel_.setLayout(new java.awt.GridLayout(7, 2, 2, 2)); - - dimensionPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - dimensionPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - getContentPane().add(dimensionPanel_, java.awt.BorderLayout.CENTER); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(300, 250)); - setLocation((screenSize.width-300)/2,(screenSize.height-250)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - /** - */ - private void btnCancelActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_btnCancelActionPerformed - // Shutdown the dialog and return. - setVisible(false); - dispose(); - }//GEN-LAST:event_btnCancelActionPerformed - - //-------------------------------------------------------------------------- - private double toDouble(int dimi) - { - try - { - return Double.parseDouble(textfields_[dimi].getText()); - } - catch (NumberFormatException ex) - { - throw new IllegalArgumentException - ( - textfields_[dimi].getText() - + " is not a number for dimension " - + labels_[dimi].getText() - ); - } - } - - //-------------------------------------------------------------------------- - /** - */ - private void btnOKActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_btnOKActionPerformed - - try - { - // Get the values from the text controls and update the dimension set object. - dimensionSet_.mass = toDouble(MASS); - dimensionSet_.length = toDouble(LENGTH); - dimensionSet_.time = toDouble(TIME); - dimensionSet_.temperature = toDouble(TEMPERATURE); - dimensionSet_.current = toDouble(CURRENT); - dimensionSet_.moles = toDouble(MOLES); - dimensionSet_.luminousIntensity = toDouble(LUMINOUSINTENSITY); - - if (entry_ != null) - { - // Insert the value into the Any object: - FoamXServer.FoamXAny value = entry_.value(); - DimensionSetHelper.insert(value.value, dimensionSet_); - - // Update the dictionary entry object. - entry_.value(value); - } - - // Close this dialog down. - setVisible(false); - dispose(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_btnOKActionPerformed - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - // Shutdown the dialog and return. - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton btnOK; - private javax.swing.JButton btnCancel; - private javax.swing.JPanel dimensionPanel_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/FixedListEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/FixedListEditor.java deleted file mode 100644 index cc186ef999..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/FixedListEditor.java +++ /dev/null @@ -1,292 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors; - -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellEditor; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryNameCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryTableModel; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.IDictionaryEntry; - -public class FixedListEditor - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_WIDTH = 400; - - private VectorTableModel tableModel_; - - //-------------------------------------------------------------------------- - /** FixedListEditor constructor. */ - public FixedListEditor - ( - java.awt.Frame parent, - IDictionaryEntry entry, - TypeDescriptorCache typeDescriptor - ) - { - super(parent, "Vector Editor", true); // Modal. - - // Initialise the table model. - tableModel_ = new VectorTableModel(entry, typeDescriptor); - - initComponents(); - - // Use 'standard' renderer for name - elementTable_.getColumn - ( - tableModel_.getNameColumnTitle() - ).setCellRenderer(new DictionaryNameCellRenderer()); - - // Set cell renderer and editor for value column. - elementTable_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellRenderer(new DictionaryEntryCellRenderer()); - elementTable_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellEditor(new DictionaryEntryCellEditor()); - - // Resize to show the defined rows only. - // Calculate size: table + some extra (= 1 row height) or - // space needed for panel itself (so with empty table) - int height = - elementTable_.getRowHeight() * (tableModel_.getRowCount() + 2) - + (int)getMinimumSize().getHeight(); - - setSize(new java.awt.Dimension(DEFAULT_WIDTH, height)); - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - tablePanel_ = new javax.swing.JPanel(); - tableScrollPane_ = new javax.swing.JScrollPane(); - elementTable_ = new javax.swing.JTable(); - buttonPanel_ = new javax.swing.JPanel(); - btnOK_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setName("Vector Space Editor"); - setModal(true); - setFont(new java.awt.Font("Dialog", 0, 10)); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - tablePanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - tablePanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - tableScrollPane_.setFont(new java.awt.Font("Dialog", 0, 10)); - elementTable_.setModel(tableModel_); - elementTable_.setFont(new java.awt.Font("Dialog", 0, 10)); - elementTable_.setPreferredScrollableViewportSize(new java.awt.Dimension(200, 50)); - elementTable_.setMinimumSize(new java.awt.Dimension(100, 100)); - tableScrollPane_.setViewportView(elementTable_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - tablePanel_.add(tableScrollPane_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(tablePanel_, gridBagConstraints1); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - btnOK_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnOK_.setText("Close"); - btnOK_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnClose(evt); - } - }); - - buttonPanel_.add(btnOK_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.SOUTH; - gridBagConstraints1.weightx = 1.0; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(350, 300)); - setLocation((screenSize.width-350)/2,(screenSize.height-300)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void shapeTypeComboActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_shapeTypeComboActionPerformed - // Update the table to reflect the new shape type. - }//GEN-LAST:event_shapeTypeComboActionPerformed - - //-------------------------------------------------------------------------- - - private void OnClose (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnClose - - // Commit any pending edits. - elementTable_.editingStopped(new ChangeEvent(this)); - - setVisible(false); - dispose(); - }//GEN-LAST:event_OnClose - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel tablePanel_; - private javax.swing.JScrollPane tableScrollPane_; - private javax.swing.JTable elementTable_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton btnOK_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - private class VectorTableModel - extends DictionaryEntryTableModel - { - //-------------------------------------------------------------------------- - - private TypeDescriptorCache typeDescriptor_; - - //-------------------------------------------------------------------------- - /** VectorTableModel constructor for fixedList types. - * @param compoundEntry Reference to the fixedList entry object. - */ - public VectorTableModel - ( - IDictionaryEntry compoundEntry, - TypeDescriptorCache typeDescriptor - ) - { - super(compoundEntry); - setNameColumnTitle("Component"); - typeDescriptor_ = typeDescriptor; - } - - //-------------------------------------------------------------------------- - - public java.lang.Object getValueAt(int rowIndex, int columnIndex) - { - java.lang.Object obj = null; - - try - { - // Check for valid row index. - if (rowIndex>= getRowCount()) throw new Exception("Invalid row index"); - - if (columnIndex == NAME_COLUMN_INDEX) - { - // Return a new string containing the component name. - obj = typeDescriptor_.getElementLabels()[rowIndex]; - } - else - { - // Return the DictionaryEntry object for this entry. - DictionaryEntry dictEntry = (DictionaryEntry)dictEntryList_.get(rowIndex); - obj = dictEntry; - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return obj; - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.form deleted file mode 100644 index f433e3163a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.form +++ /dev/null @@ -1,176 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.java deleted file mode 100644 index 4fbf35effd..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ListEditor.java +++ /dev/null @@ -1,506 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors; - -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; -import javax.swing.event.ListSelectionListener; -import javax.swing.event.ListSelectionEvent; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.ListCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellEditor; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryNameCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryTableModel; -import FoamX.Util.ButtonActionChangedListener; - -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.IDictionaryEntry; - -public class ListEditor - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_HEIGHT = 400; - private static final int DEFAULT_WIDTH = 400; - - - private ListEntryModel tableModel_; - private AddElementAction addElementAction_; - private DeleteElementAction deleteElementAction_; - - //-------------------------------------------------------------------------- - /** Creates new form ListEditor */ - public ListEditor(java.awt.Frame parent, IDictionaryEntry entry) - { - - super(parent, "List Editor", true); // Modal. - - // Initialise the table model. - tableModel_ = new ListEntryModel(entry); - tableModel_.setNameColumnTitle("Item"); - - initComponents(); - - // Initialise actions and hookup to buttons. - addElementAction_ = new AddElementAction(); - deleteElementAction_ = new DeleteElementAction(); - - btnInsertElement_.addActionListener(addElementAction_); - addElementAction_.addPropertyChangeListener - ( - new ButtonActionChangedListener(btnInsertElement_) - ); - - btnDeleteElement_.addActionListener(deleteElementAction_); - deleteElementAction_.addPropertyChangeListener - ( - new ButtonActionChangedListener(btnDeleteElement_) - ); - - - // Listen out for selection events and enable the appropriate actions. - listTable_.getSelectionModel().addListSelectionListener - ( - new ListSelectionListener() - { - public void valueChanged(ListSelectionEvent evt) - { - // Enabled if selection is not empty. - deleteElementAction_.setEnabled - ( - !listTable_.getSelectionModel().isSelectionEmpty() - ); - } - } - ); - - // Set cell renderer for name column. - listTable_.getColumn - ( - tableModel_.getNameColumnTitle() - ).setCellRenderer(new DictionaryNameCellRenderer()); - - // Set cell renderer and editor for value column. - listTable_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellRenderer(new DictionaryEntryCellRenderer()); - listTable_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellEditor(new DictionaryEntryCellEditor()); - - // Resize to show the defined rows only. - // Calculate size: table + some extra (= 1 row height) or - // space needed for panel itself (so with empty table) - int height = - ( - listTable_.getRowHeight() * (tableModel_.getRowCount() + 1) - + (int)getMinimumSize().getHeight() - ); // panel size - - height = Math.min(height, DEFAULT_HEIGHT); - - setSize(new java.awt.Dimension(DEFAULT_WIDTH, height)); - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - mainPanel_ = new javax.swing.JPanel(); - tableScrollPane_ = new javax.swing.JScrollPane(); - listTable_ = new javax.swing.JTable(); - listButtonPanel_ = new java.awt.Panel(); - btnInsertElement_ = new javax.swing.JButton(); - btnDeleteElement_ = new javax.swing.JButton(); - btnMoveElementUp_ = new javax.swing.JButton(); - btnMoveElementDown_ = new javax.swing.JButton(); - buttonPanel_ = new javax.swing.JPanel(); - closeButton_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setName("List Editor"); - setModal(true); - setFont(new java.awt.Font("Dialog", 0, 10)); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - mainPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - mainPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - listTable_.setModel(tableModel_); - listTable_.setFont(new java.awt.Font("Dialog", 0, 10)); - tableScrollPane_.setViewportView(listTable_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHWEST; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - mainPanel_.add(tableScrollPane_, gridBagConstraints2); - - listButtonPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints3; - - listButtonPanel_.setFont(new java.awt.Font("Dialog", 0, 11)); - listButtonPanel_.setBackground(new java.awt.Color(204, 204, 204)); - listButtonPanel_.setForeground(java.awt.Color.black); - btnInsertElement_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnInsertElement_.setText("Insert..."); - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(5, 5, 5, 5); - listButtonPanel_.add(btnInsertElement_, gridBagConstraints3); - - btnDeleteElement_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnDeleteElement_.setText("Delete..."); - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 1; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(0, 5, 5, 5); - listButtonPanel_.add(btnDeleteElement_, gridBagConstraints3); - - btnMoveElementUp_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnMoveElementUp_.setText("Move Up"); - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 2; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(0, 5, 5, 5); - listButtonPanel_.add(btnMoveElementUp_, gridBagConstraints3); - - btnMoveElementDown_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnMoveElementDown_.setText("Move Down"); - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 3; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(0, 5, 5, 5); - listButtonPanel_.add(btnMoveElementDown_, gridBagConstraints3); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHEAST; - mainPanel_.add(listButtonPanel_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(mainPanel_, gridBagConstraints1); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - closeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - closeButton_.setText("Close"); - closeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnClose(evt); - } - }); - - buttonPanel_.add(closeButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.weightx = 1.0; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(350, 300)); - setLocation((screenSize.width-350)/2,(screenSize.height-300)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void shapeTypeComboActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_shapeTypeComboActionPerformed - }//GEN-LAST:event_shapeTypeComboActionPerformed - - //-------------------------------------------------------------------------- - - private void OnClose (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnClose - - // Commit any pending edits. - listTable_.editingStopped(new ChangeEvent(this)); - - // Close the dialog. - setVisible(false); - dispose(); - }//GEN-LAST:event_OnClose - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel mainPanel_; - private javax.swing.JScrollPane tableScrollPane_; - private javax.swing.JTable listTable_; - private java.awt.Panel listButtonPanel_; - private javax.swing.JButton btnInsertElement_; - private javax.swing.JButton btnDeleteElement_; - private javax.swing.JButton btnMoveElementUp_; - private javax.swing.JButton btnMoveElementDown_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton closeButton_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - private class ListEntryModel - extends DictionaryEntryTableModel - { - //-------------------------------------------------------------------------- - /** ListEntryModel constructor for list types. - * @param dictionaryEntry Reference to the dictionary entry object. - */ - public ListEntryModel(IDictionaryEntry compoundEntry) - { - super(compoundEntry); - } - - //-------------------------------------------------------------------------- - - public java.lang.Object getValueAt(int rowIndex, int columnIndex) - { - java.lang.Object obj = null; - - try - { - // Check for valid row index. - if (rowIndex>= getRowCount()) - { - throw new Exception("Invalid row index"); - } - - if (columnIndex == NAME_COLUMN_INDEX) - { - // Return the row index as a string. - obj = Integer.toString(rowIndex); - } - else - { - // Return the DictionaryEntry object for this entry. - DictionaryEntry dictEntry = - (DictionaryEntry)dictEntryList_.get(rowIndex); - obj = dictEntry; - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return obj; - } - - //-------------------------------------------------------------------------- - - public void addElement() - { - try - { - // Add new element to the list. - DictionaryEntryCache dictEntry = - ((ListCache)rootEntry_).addListElement(); - - // Add to model. - dictEntryList_.add(dictEntry); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void removeElement(int index) - { - try - { - // Check for valid row index. - if - ( - index>= getRowCount() - ) - { - throw new Exception("Invalid row index"); - } - - // Remove this entry from the model. - DictionaryEntryCache dictEntryCache - = (DictionaryEntryCache)dictEntryList_.get(index); - - ListCache listRoot = (ListCache)rootEntry_; - - listRoot.removeElement(dictEntryCache); - dictEntryList_.remove(index); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - class AddElementAction - extends AbstractAction - { - public AddElementAction() - { - super("AddElement"); - putValue(Action.NAME, "Add Element"); - putValue(Action.SHORT_DESCRIPTION, "Add Element"); - putValue(Action.LONG_DESCRIPTION, "Add Element"); - } - - public void actionPerformed(ActionEvent e) - { - try - { - tableModel_.addElement(); - listTable_.updateUI(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - class DeleteElementAction - extends AbstractAction - { - public DeleteElementAction() - { - super("DeleteElement"); - putValue(Action.NAME, "Delete Element"); - putValue(Action.SHORT_DESCRIPTION, "Delete Element"); - putValue(Action.LONG_DESCRIPTION, "Delete Element"); - } - - public void actionPerformed(ActionEvent e) - { - try - { - // Remove the selected elements. - if (!listTable_.getSelectionModel().isSelectionEmpty()) - { - int minIndex = - listTable_.getSelectionModel().getMinSelectionIndex(); - int maxIndex = - listTable_.getSelectionModel().getMaxSelectionIndex(); - - // Need to remove from the top so that it doesn't get its - // knickers in a twist. - for (int i=maxIndex; i>= minIndex; i--) - { - tableModel_.removeElement(i); - } - listTable_.getSelectionModel().clearSelection(); - deleteElementAction_.setEnabled(false); - } - listTable_.updateUI(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.form deleted file mode 100644 index 2518c2e66d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.form +++ /dev/null @@ -1,99 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.java deleted file mode 100644 index 2a3374a036..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/SelectionEditor.java +++ /dev/null @@ -1,324 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Editors; - -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; -import javax.swing.event.ListSelectionListener; -import javax.swing.event.ListSelectionEvent; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellEditor; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryNameCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.SelectionEntryCellRenderer; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryTableModel; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.IDictionaryEntry; - -public class SelectionEditor extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_HEIGHT = 400; - - //-------------------------------------------------------------------------- - - private DictionaryEntryTableModel tableModel_; - private IDictionaryEntry dictEntry_; - - //-------------------------------------------------------------------------- - /** Creates new form SelectionEditor */ - - public SelectionEditor(java.awt.Frame parent, IDictionaryEntry entry) - { - super(parent, "Selection Editor", true); - - dictEntry_ = entry; - - // Initialise the table model. - tableModel_ = new DictionaryEntryTableModel(entry); - - initComponents(); - - // Use 'standard' renderer for name - table_.getColumn - ( - tableModel_.getNameColumnTitle() - ).setCellRenderer(new DictionaryNameCellRenderer()); - - // Use specialized renderer for selection entry - table_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellRenderer(new SelectionEntryCellRenderer()); - - // Use standard dictionaryEntry editor - table_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellEditor(new DictionaryEntryCellEditor()); - - - // Highlight current selection - int selectedRow = dictEntry_.selection(); - - table_.getSelectionModel().setLeadSelectionIndex(selectedRow); - table_.getSelectionModel().setSelectionInterval - ( - selectedRow, - selectedRow - ); - // Mark selected dictionaryEntry itself - DictionaryEntryCache subEntry = - (DictionaryEntryCache)tableModel_.getValueAt - ( - selectedRow, - DictionaryEntryTableModel.VALUE_COLUMN_INDEX - ); - subEntry.setCurrent(true); - - - // Subscribe to the list selection model event to track changes - // to current selection - table_.getSelectionModel().addListSelectionListener - ( - new ListSelectionListener() - { - public void valueChanged(ListSelectionEvent evt) - { - listSelectionChanged(evt); - } - } - ); - - // Resize to show the defined rows only. - // Calculate size: table + panel + extra(=1 row height) - int height = - table_.getRowHeight() * (tableModel_.getRowCount() + 1) - + (int)getMinimumSize().height; // panel size - - height = Math.min(height, DEFAULT_HEIGHT); - - setSize(new java.awt.Dimension(getSize().width, height)); - } - - - //-------------------------------------------------------------------------- - - protected void listSelectionChanged(ListSelectionEvent evt) - { - // Update the entry status label. - if (!evt.getValueIsAdjusting()) - { - int oldRow = dictEntry_.selection(); - int selRow = table_.getSelectionModel().getMinSelectionIndex(); - - if (selRow != oldRow) - { - // Unset old selected entry. - DictionaryEntryCache subEntry = - (DictionaryEntryCache)tableModel_.getValueAt - ( - oldRow, - DictionaryEntryTableModel.VALUE_COLUMN_INDEX - ); - subEntry.setCurrent(false); - - // Set the currently selected subEntry. - subEntry = - (DictionaryEntryCache)tableModel_.getValueAt - ( - selRow, - DictionaryEntryTableModel.VALUE_COLUMN_INDEX - ); - subEntry.setCurrent(true); - - // Mark selected row on this level. - dictEntry_.selection(selRow); - -// if (entry != null) -// { -// TypeDescriptorCache typeDescriptor = -// entry.getTypeDescriptor(); -// System.out.println -// ( -// "even got a description:" -// + typeDescriptor.toString() -// ); -// System.out.println -// ( -// "num sub elements" -// + entry.getDictEntry().subElements().length -// ); -// TypeDescriptorCache typeDescriptor = -// entry.getTypeDescriptor(); -// if -// ( -// typeDescriptor.isCompound() -// && entry.subElements().length == 1) -// } - } - } - } - - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - buttonPanel_ = new javax.swing.JPanel(); - closeButton_ = new javax.swing.JButton(); - mainPanel_ = new javax.swing.JPanel(); - tableScrollPane_ = new javax.swing.JScrollPane(); - table_ = new javax.swing.JTable(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setName("Shape Editor"); - setModal(true); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - closeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - closeButton_.setText("Close"); - closeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - closeButtonActionPerformed_(evt); - } - }); - - buttonPanel_.add(closeButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.weightx = 1.0; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - mainPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - mainPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - table_.setModel(tableModel_); - table_.setFont(new java.awt.Font("Dialog", 0, 10)); - tableScrollPane_.setViewportView(table_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - mainPanel_.add(tableScrollPane_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(mainPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(350, 300)); - setLocation((screenSize.width-350)/2,(screenSize.height-300)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void shapeTypeComboActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_shapeTypeComboActionPerformed - }//GEN-LAST:event_shapeTypeComboActionPerformed - - //-------------------------------------------------------------------------- - - private void closeButtonActionPerformed_ (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_closeButtonActionPerformed_ - // Update the dictionary entry and close the dialog. - - // Commit any pending edits. - table_.editingStopped(new ChangeEvent(this)); - - // Close this dialog. - setVisible(false); - dispose(); - }//GEN-LAST:event_closeButtonActionPerformed_ - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton closeButton_; - private javax.swing.JPanel mainPanel_; - private javax.swing.JScrollPane tableScrollPane_; - private javax.swing.JTable table_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ShapeEditor.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ShapeEditor.form deleted file mode 100644 index 643caf4eea..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/ShapeEditor.form +++ /dev/null @@ -1,173 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.form deleted file mode 100644 index 299ce9e586..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.form +++ /dev/null @@ -1,162 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.java deleted file mode 100644 index f482c2b7d1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/StringListEditor.java +++ /dev/null @@ -1,589 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors; - -import java.util.*; -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; -import javax.swing.event.ListSelectionListener; -import javax.swing.event.ListSelectionEvent; - -import FoamX.App; - -public class StringListEditor - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_HEIGHT = 400; - - //-------------------------------------------------------------------------- - - private ListEntryModel tableModel_; - private AddElementAction addElementAction_; - private DeleteElementAction deleteElementAction_; - private Vector values_; - private Vector labels_; - private boolean wasCancelled_; - - //-------------------------------------------------------------------------- - /** StringListEditor constructor */ - public StringListEditor(java.awt.Frame parent, java.util.Vector values) - { - - super(parent, "List Editor", true); // Modal. - - labels_ = null; - values_ = values; - - // Initialise the table model. - tableModel_ = new ListEntryModel(values_); - - // Initialise. - init(); - } - - //-------------------------------------------------------------------------- - /** StringListEditor constructor */ - public StringListEditor - ( - java.awt.Frame parent, - String title, - java.util.Vector labels, - java.util.Vector values - ) - { - super(parent, title, true); // Modal. - - labels_ = labels; - values_ = values; - - // Initialise the table model. - tableModel_ = new ListEntryModel(labels_, values_); - - // Initialise. - init(); - - // Disable add/remove buttons. - btnInsertElement_.setVisible(false); - btnDeleteElement_.setVisible(false); - } - - //-------------------------------------------------------------------------- - - private void init() - { - initComponents(); - - // Resize to show the defined rows only. - // Calculate size: table + some extra (= 1 row height) or - // space needed for panel itself (so with empty table) - int height = - ( - listTable_.getRowHeight() * (tableModel_.getRowCount() + 1) - + (int)getMinimumSize().getHeight() - ); // panel size - height = Math.min(height, DEFAULT_HEIGHT); - - setSize(new java.awt.Dimension(getWidth(), height)); - - // Initialise actions and hookup to buttons. - addElementAction_ = new AddElementAction(); - deleteElementAction_ = new DeleteElementAction(); - - btnInsertElement_.addActionListener(addElementAction_); - //? addElementAction_.addPropertyChangeListener - //? (new ButtonActionChangedListener(btnInsertElement_)); - - btnDeleteElement_.addActionListener(deleteElementAction_); - //? deleteElementAction_.addPropertyChangeListener - //? (new ButtonActionChangedListener(btnDeleteElement_)); - - // Listen out for selection events and enable the appropriate actions. - listTable_.getSelectionModel().addListSelectionListener - ( - new ListSelectionListener() - { - public void valueChanged(ListSelectionEvent evt) - { - // Enabled if selection is not empty. - deleteElementAction_.setEnabled - ( - !listTable_.getSelectionModel().isSelectionEmpty() - ); - } - } - ); - - wasCancelled_ = true; - // Set cell renderer and editor for value column. - //listTable_.getColumn - // ( - // tableModel_.getValueColumnTitle() - // ).setCellRenderer(new DictionaryEntryCellRenderer()); - //listTable_.getColumn - // ( - // tableModel_.getValueColumnTitle() - // ).setCellEditor(new DictionaryEntryCellEditor()); - } - - //-------------------------------------------------------------------------- - - public boolean wasCancelled() - { - return wasCancelled_; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - mainPanel_ = new javax.swing.JPanel(); - tableScrollPane_ = new javax.swing.JScrollPane(); - listTable_ = new javax.swing.JTable(); - listButtonPanel_ = new java.awt.Panel(); - btnInsertElement_ = new javax.swing.JButton(); - btnDeleteElement_ = new javax.swing.JButton(); - buttonPanel_ = new javax.swing.JPanel(); - cancelButton_ = new javax.swing.JButton(); - closeButton_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setName("List Editor"); - setModal(true); - setFont(new java.awt.Font("Dialog", 0, 10)); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - mainPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - mainPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - listTable_.setModel(tableModel_); - listTable_.setFont(new java.awt.Font("Dialog", 0, 10)); - tableScrollPane_.setViewportView(listTable_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHWEST; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - mainPanel_.add(tableScrollPane_, gridBagConstraints2); - - listButtonPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints3; - - listButtonPanel_.setFont(new java.awt.Font("Dialog", 0, 11)); - listButtonPanel_.setBackground(new java.awt.Color(204, 204, 204)); - listButtonPanel_.setForeground(java.awt.Color.black); - btnInsertElement_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnInsertElement_.setText("Insert..."); - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(0, 0, 5, 0); - listButtonPanel_.add(btnInsertElement_, gridBagConstraints3); - - btnDeleteElement_.setFont(new java.awt.Font("Dialog", 0, 10)); - btnDeleteElement_.setText("Delete..."); - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 1; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints3.insets = new java.awt.Insets(0, 0, 5, 0); - listButtonPanel_.add(btnDeleteElement_, gridBagConstraints3); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHEAST; - mainPanel_.add(listButtonPanel_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(mainPanel_, gridBagConstraints1); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - cancelButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - cancelButton_.setText("Cancel"); - cancelButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnCancel(evt); - } - }); - - buttonPanel_.add(cancelButton_); - - closeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - closeButton_.setText("OK"); - closeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnClose(evt); - } - }); - - buttonPanel_.add(closeButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.weightx = 1.0; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(350, 300)); - setLocation((screenSize.width-350)/2,(screenSize.height-300)/2); - }//GEN-END:initComponents - - private void OnCancel(java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnCancel - - // Set cancelled flag. - wasCancelled_ = true; - - // Close dialog. - setVisible(false); - dispose(); - - }//GEN-LAST:event_OnCancel - - //-------------------------------------------------------------------------- - - private void shapeTypeComboActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_shapeTypeComboActionPerformed - }//GEN-LAST:event_shapeTypeComboActionPerformed - - //-------------------------------------------------------------------------- - - private void OnClose (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnClose - - // Set cancelled flag. - wasCancelled_ = false; - - // Commit any pending edits. - listTable_.editingStopped(new ChangeEvent(this)); - - // Close dialog. - setVisible(false); - dispose(); - - }//GEN-LAST:event_OnClose - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - - wasCancelled_ = true; - - setVisible(false); - dispose(); - - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel mainPanel_; - private javax.swing.JScrollPane tableScrollPane_; - private javax.swing.JTable listTable_; - private java.awt.Panel listButtonPanel_; - private javax.swing.JButton btnInsertElement_; - private javax.swing.JButton btnDeleteElement_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton cancelButton_; - private javax.swing.JButton closeButton_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - private static class ListEntryModel - extends AbstractTableModel - { - //---------------------------------------------------------------------- - - static final int PARAMETERNAME_INDEX = 0; - static final int PARAMETERVALUE_INDEX = 1; - static final String PARAMETERNAME_TEXT = "Parameter"; - static final String PARAMETERVALUE_TEXT = "Value"; - static final String[] s_columnNames = { - PARAMETERNAME_TEXT, PARAMETERVALUE_TEXT }; - - java.util.Vector labelVector_; - java.util.Vector valueVector_; - - //---------------------------------------------------------------------- - /** ListEntryModel constructor for list types. */ - ListEntryModel(java.util.Vector valueVector) - { - labelVector_ = null; - valueVector_ = valueVector; - } - - //---------------------------------------------------------------------- - /** ListEntryModel constructor for list types. */ - ListEntryModel - ( - java.util.Vector labelVector, - java.util.Vector valueVector - ) - { - labelVector_ = labelVector; - valueVector_ = valueVector; - } - - //---------------------------------------------------------------------- - //---- AbstractTableModel methods - //---------------------------------------------------------------------- - - public int getRowCount() - { - return valueVector_.size(); - } - - //---------------------------------------------------------------------- - - public int getColumnCount() - { - return s_columnNames.length; - } - - //---------------------------------------------------------------------- - - public String getColumnName(int columnIndex) - { - return s_columnNames[columnIndex]; - } - - //---------------------------------------------------------------------- - - public Class getColumnClass(int columnIndex) - { - // Everything is of type String. - return String.class; - } - - //---------------------------------------------------------------------- - - public boolean isCellEditable(int rowIndex, int columnIndex) - { - // Check for value column. - return (columnIndex == PARAMETERVALUE_INDEX); - } - - //---------------------------------------------------------------------- - - public Object getValueAt(int rowIndex, int columnIndex) - { - String value = ""; - - switch (columnIndex) - { - case PARAMETERNAME_INDEX: - if (labelVector_ != null) - { - value = labelVector_.get(rowIndex).toString(); - } - else - { - // Return row number. - value = Integer.toString(rowIndex); - } - break; - case PARAMETERVALUE_INDEX: - value = valueVector_.get(rowIndex).toString(); - break; - default: - // Bugger and damnation. - break; - } - - return value; - } - - //---------------------------------------------------------------------- - - public void setValueAt(Object aValue, int rowIndex, int columnIndex) - { - switch (columnIndex) - { - case PARAMETERVALUE_INDEX: - String value = (String)aValue; - valueVector_.set(rowIndex, value); - break; - case PARAMETERNAME_INDEX: - default: - // Bugger. - break; - } - } - - //---------------------------------------------------------------------- - //---------------------------------------------------------------------- - //---------------------------------------------------------------------- - - void addElement(String value) - { - try - { - // Add new elememt to the list. - valueVector_.addElement(value); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //---------------------------------------------------------------------- - - void removeElement(int index) - { - try - { - // Check for valid row index. - if (index = minIndex; i--) - { - tableModel_.removeElement(i); - } - listTable_.getSelectionModel().clearSelection(); - deleteElementAction_.setEnabled(false); - } - listTable_.updateUI(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/.nbattrs deleted file mode 100644 index 6af413bd2d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/.nbattrs +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeDescriptorCache.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeDescriptorCache.java deleted file mode 100644 index 7e57daf4e9..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeDescriptorCache.java +++ /dev/null @@ -1,666 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.TypeEditor; - -import java.text.DecimalFormat; -import java.util.Vector; -import java.net.URL; -import javax.swing.Icon; - -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; -import FoamXServer.FoamXType; -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.ITypeDescriptor; -import FoamXServer.ITypeDescriptorHolder; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXAny; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; - -public class TypeDescriptorCache -{ - //-------------------------------------------------------------------------- - - // Reference to the ITypeDescriptor object. - private ITypeDescriptor typeDesc_; - - // Common properties. - private FoamXType type_; // The type of this parameter. Read only. - private boolean compound_; // Compound type flag. Read only. - private String path_; // Path of this parameter relative to root - // dictionary. Read only. - - private String name_; // Foam parameter name. - private String displayName_; // Short display name. - private String description_; // Long descriptive name. - private String comment_; // Dictionary comment. - private String category_; // GUI category. - private String helpURL_; // URL to relevant help file. - private String iconURL_; // URL to a nice icon for this entry. - private boolean optional_; // Flag indicating whether this parameter - // is optional. Defaults to false. - private boolean visible_; // Flag indicating whether this parameter is - // visible within FoamX. Defaults to true. - - // Properties for non-compound types. - private boolean editable_; // Flag indicating whether this parameter - // is editable within FoamX. (Default:true) - private FoamXAny minValue_; // Minimum value for this parameter. - private FoamXAny maxValue_; // Maximum value for this parameter. - - - private DictionaryEntryCache defaultValue_; // Default value for this - // parameter. - - private String lookupDict_; // Name of dictionary to use as a lookup - // table. - private Vector valueList_; // List of permissible values for this - // parameter. - - // Properties for compound types. - private String dictionaryPath_; // Top-level dictionary location - // relative to case root. - private int numElements_; // Number of elements in vector space - // or list. - private String[] elementLabels_; // Labels of list or vector space - // elements (eg, x, y, z). - private Vector subTypes_; // List of sub-types for compound types. - - //-------------------------------------------------------------------------- - /** Construct a TypeDescriptorCache from a ITypeDescriptor reference. */ - public TypeDescriptorCache(ITypeDescriptor typeDesc, boolean addSubTypes) - { - try - { - // Store ITypeDescriptor reference. - typeDesc_ = typeDesc; - - // Get type attributes from ITypeDescriptor object. - type_ = typeDesc_.type(); - compound_ = typeDesc_.isCompoundType(); - path_ = typeDesc_.path(); - - name_ = typeDesc_.name(); - displayName_ = typeDesc_.displayName(); - description_ = typeDesc_.description(); - comment_ = typeDesc_.comment(); - category_ = typeDesc_.category(); - helpURL_ = typeDesc_.helpURL(); - iconURL_ = typeDesc_.iconURL(); - optional_ = typeDesc_.optional(); - visible_ = typeDesc_.visible(); - editable_ = typeDesc_.editable(); - - if (!compound_) - { - minValue_ = new FoamXAny(typeDesc_.minValue()); - maxValue_ = new FoamXAny(typeDesc_.maxValue()); - - IDictionaryEntryHolder dictEntryHolder = - new IDictionaryEntryHolder(); - typeDesc_.getDefaultValue(dictEntryHolder); - - lookupDict_ = typeDesc_.lookupDict(); - - // Construct constrained value list. - FoamXServer.FoamXAny[] valueList = typeDesc_.valueList(); - valueList_ = new Vector(valueList.length); - for (int i = 0; i = subTypes_.size()) - { - throw new FoamXException("Invalid sub-type index."); - } - - // Return the sub-type specified by the index. - subType = (TypeDescriptorCache)subTypes_.get(index); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return subType; - } - - //-------------------------------------------------------------------------- - - public TypeDescriptorCache addSubType(FoamXType type) - { - TypeDescriptorCache subType = null; - - try - { - if (!compound_) - { - throw new FoamXException - ( - "No sub-types on non-compound type descriptors." - ); - } - - // Create a new TypeDescriptor sub object. - ITypeDescriptorHolder typeDescHolder = new ITypeDescriptorHolder(); - typeDesc_.addSubType(type, typeDescHolder); - - // If successful, create a new TypeDescriptorCache wrapper - // object and add to collection. - subType = new TypeDescriptorCache(typeDescHolder.value, false); - subTypes_.addElement(subType); - - //? numElements_ = typeDesc_.numElements(); - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return subType; - } - - //-------------------------------------------------------------------------- - - public boolean removeSubType(TypeDescriptorCache subType) - { - boolean bRet = false; - - try - { - if (!compound_) - { - throw new FoamXException - ( - "No sub-types on non-compound type descriptors." - ); - } - - // Remove the specified sub-type. - typeDesc_.removeSubType(subType.TypeDescriptor()); - - // If successful, remove from sub-type list. - subTypes_.remove(subType); - - //? numElements_ = typeDesc_.numElements(); - - // Return success. - bRet = true; - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - bRet = false; - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - bRet = false; - } - - return bRet; - } - - //-------------------------------------------------------------------------- - /** Return an appropriate string representation of this type. */ - public String toString() - { - return FoamXTypeEx.toDisplayString(type_); - } - - //-------------------------------------------------------------------------- - /** Return an appropriate icon for the given typeDescriptor. */ - public static Icon getIcon(ITypeDescriptor typeDescriptor) - { - Icon icon; - - String iconURL = typeDescriptor.iconURL(); - - if (iconURL.length() > 0) - { - URL url = typeDescriptor.getClass().getResource(iconURL); - - // Check that this Url is valid. - if (url == null) - { - App.printMessage("Cannot resolve URL from " + iconURL); - - // Return default icon for this type. - icon = FoamXTypeEx.getIcon(typeDescriptor.type()); - } - else - { - // Return icon specified by the URL. - icon = App.getResources().getIcon(url); - } - } - else - { - // Return default icon for this type. - icon = FoamXTypeEx.getIcon(typeDescriptor.type()); - } - - return icon; - } - - //-------------------------------------------------------------------------- - /** Return an appropriate icon for this type. */ - public Icon getIcon() - { - Icon icon; - - if (iconURL_ != null && iconURL_.length() > 0) - { - URL url = getClass().getResource(iconURL_); - - // Check that this Url is valid. - if (url == null) - { - App.printMessage("Cannot resolve URL from " + iconURL_); - - // Return default icon for this type. - icon = FoamXTypeEx.getIcon(type_); - } - else - { - // Return icon specified by the URL. - icon = App.getResources().getIcon(url); - } - } - else - { - // Return default icon for this type. - icon = FoamXTypeEx.getIcon(type_); - } - - return icon; - } - - //-------------------------------------------------------------------------- - /** - * Update the cached ITypeDescriptor object. - */ - public void updateTypeDescriptor(boolean updateSubTypes) - { - try - { - // Update the TypeDescriptor object - typeDesc_.name(name_); - typeDesc_.displayName(displayName_); - typeDesc_.description(description_); - typeDesc_.comment(comment_); - typeDesc_.category(category_); - typeDesc_.helpURL(helpURL_); - typeDesc_.iconURL(iconURL_); - typeDesc_.optional(optional_); - typeDesc_.visible(visible_); - typeDesc_.editable(editable_); - - if (!compound_) - { - typeDesc_.minValue(minValue_.getAny()); - typeDesc_.maxValue(maxValue_.getAny()); - //***HGW typeDesc_.setDefaultValue(defaultValue_); - typeDesc_.lookupDict(lookupDict_); - - // Update the constrained value list. - FoamXServer.FoamXAny[] valueList = - new FoamXServer.FoamXAny[valueList_.size()]; - for (int i = 0; i 0) - { - addSubTypeActions_[actionIndex].actionPerformed(null); - } - - // Reselect the title item. - addSubTypeCombo_.setSelectedIndex(0); - } - - //-------------------------------------------------------------------------- - - void OnTreeSelectionChanged(TreeSelectionEvent evt) - { - try - { - // Cancel any pending edit. - typeParameterEditor_.cancelCellEditing(); - - // Get the node object for the current selection. - if (evt.isAddedPath()) // Has the new node been added to the selection? - { - TreePath tp = evt.getPath(); - if (tp != null) - { - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - TypeNodeInfo nodeInfo = (TypeNodeInfo)nodeItem.getUserObject(); - - // Update the action enabled/disabled status. - addDictionaryAction_.setEnabled(nodeInfo.isRootNode()); - deleteDictionaryAction_.setEnabled(nodeInfo.isTopLevelType()); - deleteSubTypeAction_.setEnabled(!nodeInfo.isRootNode() && !nodeInfo.isTopLevelType()); - - boolean canAddSubtype = !nodeInfo.isRootNode() && nodeInfo.isCompound(); - - // If this is a list or a fixedList type, then only one sub-type is allowed. - if (canAddSubtype && - (nodeInfo.getTypeDescriptorCache().getType().value() == FoamXType._Type_List || - nodeInfo.getTypeDescriptorCache().getType().value() == FoamXType._Type_FixedList)) - { - canAddSubtype = (nodeInfo.getTypeDescriptorCache().getNumElements() == 0); - } - - // Set the add sub type action status. - Enumeration enum = FoamXTypeEx.EnumerateTypes(); - while (enum.hasMoreElements()) - { - FoamXType type = (FoamXType)enum.nextElement(); - int index = type.value(); // Use type code as index. - addSubTypeActions_[index].setEnabled(canAddSubtype); - } - - // Set the combo box status. - addSubTypeCombo_.setEnabled(canAddSubtype); - - // Commit the changes to the previous type, if applicable. - if (currentType_ != null && !currentType_.isRootNode()) - { - currentType_.updateTypeDescriptor(); - } - - // Take a reference to the new type. - currentType_ = nodeInfo; - - // Update the type parameter list. - updateParameters(); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - void initialiseContextMenu(DefaultMutableTreeNode typeNode, JPopupMenu contextMenu) - { - try - { - TypeNodeInfo nodeInfo = (TypeNodeInfo)typeNode.getUserObject(); - - // Construct an appropriate context menu, - contextMenu.removeAll(); - java.awt.Font font = contextMenu.getFont(); - - if (nodeInfo.isRootNode()) - { - contextMenu.add(addDictionaryAction_).setFont(font); - } - else if (nodeInfo.isCompound()) - { - // Construct sub-menu for adding entries of a specific type. - JMenu subMenu = new JMenu("Add Sub Type"); - contextMenu.add(subMenu); - subMenu.setFont(contextMenu.getFont()); - Enumeration enum = FoamXTypeEx.EnumerateTypes(); - while (enum.hasMoreElements()) - { - FoamXType type = (FoamXType)enum.nextElement(); - int index = type.value(); // Use type code as index. - subMenu.add(addSubTypeActions_[index]).setFont(font); - } - } - - if (nodeInfo.isTopLevelType()) - { - contextMenu.add(deleteDictionaryAction_).setFont(font); - } - else if (!nodeInfo.isRootNode()) - { - contextMenu.add(deleteSubTypeAction_).setFont(font); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - private String getNewDictionaryKey() - { - String dictKey; - int i = dictionaryMap_.size() + 1; - - do - { - dictKey = "Dictionary" + Integer.toString(i++); - } - while (dictionaryMap_.containsKey(dictKey)); - - return dictKey; - } - - //-------------------------------------------------------------------------- - - private void initialiseDictionaries() - { - try - { - // Get list of dictionary keys from the application class and build the tree. - String[] dictKeys = app_.dictionaries(); - for (int i=0; i 0 && !dictionaryMap_.containsKey(dictKey)) - { - // Create a new top level dictionary type descriptor object. - ITypeDescriptorHolder dictTypeDescHolder = new ITypeDescriptorHolder(); - app_.addDictionary(dictKey, dictTypeDescHolder); - - // Add new node to model. - DefaultMutableTreeNode nodeItem = addType(dictTypeDescHolder.value); - - // Add to map. - dictionaryMap_.put(dictKey, nodeItem); - - // If addition successful, select the new node. - TreePath childTP = new TreePath(nodeItem.getPath()); - getTree().expandPath(childTP); - getTree().getSelectionModel().clearSelection(); - getTree().getSelectionModel().setSelectionPath(childTP); - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class DeleteDictionaryAction - extends AbstractAction - { - DeleteDictionaryAction() - { - putValue(Action.SMALL_ICON, App.getResources().getIcon("DelDictionaryImage")); - putValue(Action.NAME, "Delete Dictionary"); - putValue(Action.SHORT_DESCRIPTION, "Delete Dictionary"); - putValue(Action.LONG_DESCRIPTION, "Delete Dictionary"); - } - - public void actionPerformed(ActionEvent e) - { - try - { - // Get currently selected node. - TreePath tp = getTree().getSelectionModel().getSelectionPath(); - if (tp != null) - { - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - TypeNodeInfo nodeInfo = (TypeNodeInfo)nodeItem.getUserObject(); - - // Make sure this node is a top-level dictionary and is in the map. - if (nodeInfo.isTopLevelType() && dictionaryMap_.containsKey(nodeInfo.getName())) - { - // Delete the top level dictionary type descriptor object. - app_.deleteDictionary(nodeInfo.getName()); - - // Remove from map. - dictionaryMap_.remove(nodeInfo.getName()); - - // Remove node from tree. - treeModel_.removeNodeFromParent(nodeItem); - } - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class AddSubTypeAction - extends AbstractAction - { - private FoamXType dictEntryType_; - - AddSubTypeAction(FoamXType dictEntryType) - { - dictEntryType_ = dictEntryType; - - putValue(Action.SMALL_ICON, FoamXTypeEx.getIcon(dictEntryType_)); - putValue(Action.NAME, "Add " + FoamXTypeEx.toDisplayString(dictEntryType_)); - putValue(Action.SHORT_DESCRIPTION, "Add " + FoamXTypeEx.toDisplayString(dictEntryType_)); - putValue(Action.LONG_DESCRIPTION, "Add " + FoamXTypeEx.toDisplayString(dictEntryType_)); - } - - public void actionPerformed(ActionEvent e) - { - try - { - // Get currently selected node. - TreePath tp = getTree().getSelectionModel().getSelectionPath(); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - TypeNodeInfo nodeInfo = (TypeNodeInfo)nodeItem.getUserObject(); - - // Make sure this node is a compound dictionary entry. - if (!nodeInfo.isRootNode() && nodeInfo.isCompound()) - { - // Add a new sub-type through the TypeDescriptorCache object, - TypeDescriptorCache parentCache = nodeInfo.getTypeDescriptorCache(); - TypeDescriptorCache entryCache = parentCache.addSubType(dictEntryType_); - - // If successful, create node for this dictionary entry. - if (entryCache != null) - { - TypeNodeInfo subNodeInfo = new TypeNodeInfo(entryCache, false); - DefaultMutableTreeNode subNodeItem = new DefaultMutableTreeNode(subNodeInfo); - - // Add new node to tree. - treeModel_.insertNodeInto(subNodeItem, nodeItem, nodeItem.getChildCount()); - - // If addition successful, select the new node. - TreePath childTP = new TreePath(subNodeItem.getPath()); - getTree().expandPath(childTP); - getTree().getSelectionModel().clearSelection(); - getTree().getSelectionModel().setSelectionPath(childTP); - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - private class DeleteSubTypeAction - extends AbstractAction - { - DeleteSubTypeAction() - { - putValue(Action.SMALL_ICON, App.getResources().getIcon("DelDictionaryEntryImage")); - putValue(Action.NAME, "Delete Sub Type"); - putValue(Action.SHORT_DESCRIPTION, "Delete Sub Type"); - putValue(Action.LONG_DESCRIPTION, "Delete Sub Type"); - } - - public void actionPerformed(ActionEvent e) - { - try - { - // Get currently selected node. - TreePath tp = getTree().getSelectionModel().getSelectionPath(); - if (tp != null) - { - // Get node info. - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - TypeNodeInfo nodeInfo = (TypeNodeInfo)nodeItem.getUserObject(); - TypeDescriptorCache entryCache = nodeInfo.getTypeDescriptorCache(); - - // Make sure this node is a dictionary entry. - if (!nodeInfo.isRootNode() && !nodeInfo.isTopLevelType()) - { - // Get the parent node info. - DefaultMutableTreeNode parentNodeItem = (DefaultMutableTreeNode)nodeItem.getParent(); - TypeNodeInfo parentNodeInfo = (TypeNodeInfo)parentNodeItem.getUserObject(); - TypeDescriptorCache parentEntryCache = parentNodeInfo.getTypeDescriptorCache(); - - // Remove this sub-type from the parent TypeDescriptorCache. - if (parentEntryCache.removeSubType(entryCache)) - { - // Remove node from tree. - treeModel_.removeNodeFromParent(nodeItem); - - // If deletion successful, select the parent node. - getTree().getSelectionModel().clearSelection(); - getTree().getSelectionModel().setSelectionPath(tp.getParentPath()); - } - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.form deleted file mode 100644 index 8b816aca94..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.form +++ /dev/null @@ -1,138 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.java deleted file mode 100644 index 851c9f7855..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeEditorPanel.java +++ /dev/null @@ -1,230 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.TypeEditor; - -import javax.swing.table.*; -import javax.swing.event.*; -import javax.swing.tree.*; - -import FoamXServer.CaseServer.IApplication; - -import FoamX.App; - -public class TypeEditorPanel - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private TypeEditorModel typeModel_; - - //-------------------------------------------------------------------------- - /** Creates a new TypeEditorPanel object for manipulating the application class dictionaries. - */ - public TypeEditorPanel(IApplication app) - { - try - { - // Initialise the user interface. - initComponents(); - tree_.putClientProperty("JTree.lineStyle", "Angled"); - - // Initialise the type model. - typeModel_ = new TypeEditorModel(app, tree_, table_); - - // Get the mode to initialise the toolbar. - typeModel_.initialiseToolbar(toolBar_); - - // Make sure the tree is displayed properly. - tree_.updateUI(); - table_.updateUI(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - contextMenu_ = new javax.swing.JPopupMenu(); - splitPane_ = new javax.swing.JSplitPane(); - treePanel_ = new javax.swing.JPanel(); - buttonPanel_ = new javax.swing.JPanel(); - toolBar_ = new javax.swing.JToolBar(); - treeScrollPane_ = new javax.swing.JScrollPane(); - tree_ = new javax.swing.JTree(); - tablePanel_ = new javax.swing.JPanel(); - tableScrollPane_ = new javax.swing.JScrollPane(); - table_ = new javax.swing.JTable(); - - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setFont(new java.awt.Font("Dialog", 0, 10)); - splitPane_.setDividerLocation(200); - splitPane_.setLastDividerLocation(200); - treePanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - toolBar_.setFloatable(false); - toolBar_.setFont(new java.awt.Font("Dialog", 0, 8)); - buttonPanel_.add(toolBar_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints2.weightx = 1.0; - treePanel_.add(buttonPanel_, gridBagConstraints2); - - treeScrollPane_.setAutoscrolls(true); - tree_.setFont(new java.awt.Font("Dialog", 0, 10)); - tree_.setShowsRootHandles(true); - tree_.setLargeModel(true); - tree_.setAutoscrolls(true); - tree_.addMouseListener(new java.awt.event.MouseAdapter() { - public void mouseClicked(java.awt.event.MouseEvent evt) { - OnTreeMouseClicked(evt); - } - }); - - treeScrollPane_.setViewportView(tree_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 1; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.anchor = java.awt.GridBagConstraints.SOUTH; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - treePanel_.add(treeScrollPane_, gridBagConstraints2); - - splitPane_.setLeftComponent(treePanel_); - - tablePanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints3; - - tableScrollPane_.setAutoscrolls(true); - table_.setFont(new java.awt.Font("Dialog", 0, 10)); - table_.setPreferredScrollableViewportSize(new java.awt.Dimension(0, 0)); - tableScrollPane_.setViewportView(table_); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints3.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints3.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints3.weightx = 1.0; - gridBagConstraints3.weighty = 1.0; - tablePanel_.add(tableScrollPane_, gridBagConstraints3); - - splitPane_.setRightComponent(tablePanel_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(10, 10, 10, 10); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(splitPane_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnTreeMouseClicked (java.awt.event.MouseEvent evt) - {//GEN-FIRST:event_OnTreeMouseClicked - try - { - // Get the node object for the current selection. - TreePath tp = tree_.getPathForLocation(evt.getX(), evt.getY()); - if (tp != null) - { - // Make sure the node is selected. - tree_.getSelectionModel().clearSelection(); - tree_.getSelectionModel().setSelectionPath(tp); - - // Check for popup menu trigger. - //if (evt.isPopupTrigger()) // Why doesn't this fucking work! - if (evt.getModifiers() == evt.BUTTON3_MASK) // Check explicitly for right mouse click. - { - // Construct an appropriate context menu, - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - typeModel_.initialiseContextMenu(nodeItem, contextMenu_); - - // Show context menu. - contextMenu_.show(tree_, evt.getX(), evt.getY()); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - }//GEN-LAST:event_OnTreeMouseClicked - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPopupMenu contextMenu_; - private javax.swing.JSplitPane splitPane_; - private javax.swing.JPanel treePanel_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JToolBar toolBar_; - private javax.swing.JScrollPane treeScrollPane_; - private javax.swing.JTree tree_; - private javax.swing.JPanel tablePanel_; - private javax.swing.JScrollPane tableScrollPane_; - private javax.swing.JTable table_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - - public void updateModel() - { - typeModel_.updateModel(); - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameter.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameter.java deleted file mode 100644 index 4581a6e582..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameter.java +++ /dev/null @@ -1,527 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.TypeEditor; - -import java.awt.Toolkit; -import javax.swing.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamX.Util.FoamXTypeEx; -import FoamX.Editors.StringListEditor; - -class TypeParameter -{ - //-------------------------------------------------------------------------- - - // Common properties. - public static final int PARAM_TYPE = 0; - public static final int PARAM_PATH = 1; - public static final int PARAM_NAME = 2; - public static final int PARAM_DISPLAYNAME = 3; - public static final int PARAM_DESCRIPTION = 4; - public static final int PARAM_COMMENT = 5; - public static final int PARAM_CATEGORY = 6; - public static final int PARAM_HELPURL = 7; - public static final int PARAM_ICONURL = 8; - public static final int PARAM_OPTIONAL = 9; - public static final int PARAM_VISIBLE = 10; - - // Properties for non-compound types. - public static final int PARAM_EDITABLE = 11; - public static final int PARAM_MINVALUE = 12; - public static final int PARAM_MAXVALUE = 13; - public static final int PARAM_DEFAULTVALUE = 14; - public static final int PARAM_LOOKUPDICT = 15; - public static final int PARAM_VALUELIST = 16; - - // Properties for compound types. - public static final int PARAM_DICTIONARYPATH = 17; - public static final int PARAM_NUMELEMENTS = 18; - public static final int PARAM_ELEMENTLABELS = 19; - - private static final String[] parameterNames_ = - { - "Type", - "Path", - "Foam Name", - "Display Name", - "Description", - "Comment", - "Category", - "Help Url", - "Icon Url", - "Optional", - "Visible", - "Editable", - "Minimum Value", - "Maximum Value", - "Default Value", - "Value Lookup Dictionary", - "Constrained Values", - "Dictionary Path", - "Vector Size", - "Vector Element Labels" - }; - - //-------------------------------------------------------------------------- - - private TypeDescriptorCache typeDescriptor_; - private int parameterID_; - private TableCellEditor customEditor_; - private TableCellEditor entryEditor_; - private boolean editable_; - - //-------------------------------------------------------------------------- - /** TypeParameter constructor. */ - TypeParameter(TypeDescriptorCache typeDescriptor, int parameterID) - { - try - { - typeDescriptor_ = typeDescriptor; - parameterID_ = parameterID; - customEditor_ = null; - entryEditor_ = null; - editable_ = true; - - // See if this parameter needs a custom editor. - if (parameterID_ == PARAM_DEFAULTVALUE) - { - entryEditor_ = typeDescriptor_.getDefaultValue().getEditor(); - } - else if - ( - parameterID_ == PARAM_VALUELIST - || parameterID_ == PARAM_ELEMENTLABELS - ) - { - TypeParameterCustomEditor editor = - new TypeParameterCustomEditor(); - - // Subscribe to the edit button's action event. - editor.addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed - ( - java.awt.event.ActionEvent evt - ) - { - showEditDialog(); - } - } - ); - customEditor_ = editor; - } - else if - ( - parameterID_ == PARAM_OPTIONAL - || parameterID_ == PARAM_VISIBLE - || parameterID_ == PARAM_EDITABLE - ) - { - JComboBox combo = new JComboBox(); - combo.addItem("True"); - combo.addItem("False"); - combo.setFont(new java.awt.Font("Dialog", 0, 10)); - customEditor_ = new DefaultCellEditor(combo) - { - // Hook into getCellEditorValue to intercept the - // string value. - public Object getCellEditorValue() - { - String objValue = (String)super.getCellEditorValue(); - updateValue(objValue); - - // Model expects a TypeParameter object. - return TypeParameter.this; - } - }; - } - - // See if this parameter is read only. - if - ( - parameterID_ == PARAM_TYPE || - parameterID_ == PARAM_PATH - ) - { - editable_ = false; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - String getName() - { - return parameterNames_[parameterID_]; - } - - //-------------------------------------------------------------------------- - - String getValueString() - { - String strValue = ""; - - switch (parameterID_) - { - case PARAM_TYPE: - // Read-only. - strValue = - FoamXTypeEx.toDisplayString(typeDescriptor_.getType()); - break; - case PARAM_PATH: - // Read-only. - strValue = typeDescriptor_.getPath(); - break; - case PARAM_NAME: - strValue = typeDescriptor_.getName(); - break; - case PARAM_DISPLAYNAME: - strValue = typeDescriptor_.getDisplayName(); - break; - case PARAM_DESCRIPTION: - strValue = typeDescriptor_.getDescription(); - break; - case PARAM_COMMENT: - strValue = typeDescriptor_.getComment(); - break; - case PARAM_CATEGORY: - strValue = typeDescriptor_.getCategory(); - break; - case PARAM_HELPURL: - strValue = typeDescriptor_.getHelpURL(); - break; - case PARAM_ICONURL: - strValue = typeDescriptor_.getIconURL(); - break; - case PARAM_OPTIONAL: - strValue = typeDescriptor_.isOptional() ? "True" : "False"; - break; - case PARAM_VISIBLE: - strValue = typeDescriptor_.isVisible() ? "True" : "False"; - break; - case PARAM_EDITABLE: - strValue = typeDescriptor_.isEditable() ? "True" : "False"; - break; - case PARAM_MINVALUE: - strValue = typeDescriptor_.getMinValueStr(); - break; - case PARAM_MAXVALUE: - strValue = typeDescriptor_.getMaxValueStr(); - break; - case PARAM_DEFAULTVALUE: - strValue = typeDescriptor_.getDefaultValueStr(); - break; - case PARAM_LOOKUPDICT: - strValue = typeDescriptor_.getLookupDict(); - break; - case PARAM_VALUELIST: - // Return a string containing an indication of the value list. - strValue = listDisplayString(typeDescriptor_.getValueList(), 3); - break; - case PARAM_DICTIONARYPATH: - strValue = typeDescriptor_.getDictionaryPath(); - break; - case PARAM_NUMELEMENTS: - strValue = Integer.toString(typeDescriptor_.getNumElements()); - break; - case PARAM_ELEMENTLABELS: - // Return a string containing an indication of the - // element label list. - strValue = listDisplayString - ( - typeDescriptor_.getElementLabels(), 3 - ); - break; - default: - break; - } - - return strValue; - } - - //-------------------------------------------------------------------------- - - boolean updateValue(String newValue) - { - boolean bRet = true; - - try - { - switch (parameterID_) - { - case PARAM_NAME: - typeDescriptor_.setName(newValue); - break; - - case PARAM_DISPLAYNAME: - typeDescriptor_.setDisplayName(newValue); - break; - - case PARAM_DESCRIPTION: - typeDescriptor_.setDescription(newValue); - break; - - case PARAM_COMMENT: - typeDescriptor_.setComment(newValue); - break; - - case PARAM_CATEGORY: - typeDescriptor_.setCategory(newValue); - break; - - case PARAM_HELPURL: - typeDescriptor_.setHelpURL(newValue); - break; - - case PARAM_ICONURL: - typeDescriptor_.setIconURL(newValue); - break; - - case PARAM_OPTIONAL: - boolean opt = newValue.equalsIgnoreCase("True"); - typeDescriptor_.setOptional(opt); - break; - - case PARAM_VISIBLE: - boolean vis = newValue.equalsIgnoreCase("True"); - typeDescriptor_.setVisible(vis); - break; - - case PARAM_EDITABLE: - boolean edit = newValue.equalsIgnoreCase("True"); - typeDescriptor_.setEditable(edit); - break; - - case PARAM_MINVALUE: - typeDescriptor_.setMinValue(newValue); - break; - - case PARAM_MAXVALUE: - typeDescriptor_.setMaxValue(newValue); - break; - - case PARAM_DEFAULTVALUE: - // This only does something if defaultValue is a primitive - // Otherwise the update is handles by the custom editor - typeDescriptor_.getDefaultValue().updateValue(newValue); - break; - - case PARAM_LOOKUPDICT: - typeDescriptor_.setLookupDict(newValue); - break; - - case PARAM_DICTIONARYPATH: - typeDescriptor_.setDictionaryPath(newValue); - break; - - case PARAM_NUMELEMENTS: - typeDescriptor_.setNumElements(Integer.parseInt(newValue)); - break; - - case PARAM_TYPE: // Read only parameters. - case PARAM_VALUELIST: // Custom edit parameter. - case PARAM_ELEMENTLABELS: // Custom edit parameter. - default: - break; - } - } - catch (IllegalArgumentException ex) - { - // Aaaarrrgghhh! - Toolkit.getDefaultToolkit().beep(); - //App.handleAllExceptions(ex); - bRet = false; - } - - return bRet; - } - - //-------------------------------------------------------------------------- - - public Object getValue() - { - return typeDescriptor_.getDefaultValue(); - } - - TableCellEditor entryEditor() - { - return entryEditor_; - } - - TableCellEditor customEditor() - { - return customEditor_; - } - - //-------------------------------------------------------------------------- - - boolean isEditable() - { - // Type and key parameters not editable. - return editable_; - } - - //-------------------------------------------------------------------------- - - void showEditDialog() - { - try - { - switch (parameterID_) - { - case PARAM_DEFAULTVALUE: - { - - } - break; - - case PARAM_VALUELIST: - { - // Show string list editor. - java.util.Vector values = new java.util.Vector - ( - typeDescriptor_.getValueList().length - ); - for - ( - int i=0; - i < typeDescriptor_.getValueList().length; - i++ - ) - { - values.addElement - ( - typeDescriptor_.getValueList()[i] - ); - } - StringListEditor dlg = new StringListEditor - ( - App.getRootFrame(), - values - ); - dlg.show(); - if (!dlg.wasCancelled()) - { - String[] valArray = new String[values.size()]; - for (int i = 0; i = 2) - { - bAcceptEdit_ = false; - select = true; - } - } - - // Make sure the panel is repainted. Don't know why - // but sometimes the panel is not rendererd properly - // despite the table being in edit mode!! - panel_.repaint(); - - return select; -/* - if (panel_ != null && anEvent instanceof MouseEvent && - ((MouseEvent)anEvent).getID() == MouseEvent.MOUSE_PRESSED) - { - Component dispatchComponent = SwingUtilities.getDeepestComponentAt(panel_, 3, 3); - MouseEvent e = (MouseEvent)anEvent; - MouseEvent e2 = new MouseEvent(dispatchComponent, MouseEvent.MOUSE_RELEASED, - e.getWhen() + 100000, e.getModifiers(), 3, 3, e.getClickCount(), - e.isPopupTrigger()); - dispatchComponent.dispatchEvent(e2); - e2 = new MouseEvent(dispatchComponent, MouseEvent.MOUSE_CLICKED, - e.getWhen() + 100001, e.getModifiers(), 3, 3, 1, - e.isPopupTrigger()); - dispatchComponent.dispatchEvent(e2); - } - return false; -*/ - } - - //-------------------------------------------------------------------------- - - public void addCellEditorListener(CellEditorListener l) - { - listenerList_.add(CellEditorListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCellEditorListener(CellEditorListener l) - { - listenerList_.remove(CellEditorListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireEditingStopped() - { - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are interested in this event. - for (int i = listeners.length - 2; i>= 0; i -= 2) - { - if (listeners[i] == CellEditorListener.class) - { - // Lazily create the event: - if (changeEvent_ == null) - { - changeEvent_ = new ChangeEvent(this); - } - ((CellEditorListener)listeners[i+1]).editingStopped(changeEvent_); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireEditingCanceled() - { - // Guaranteed to return a non-null array. - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are interested in this event. - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CellEditorListener.class) - { - // Lazily create the event: - if (changeEvent_ == null) - { - changeEvent_ = new ChangeEvent(this); - } - ((CellEditorListener)listeners[i+1]).editingCanceled(changeEvent_); - } - } - } - - //-------------------------------------------------------------------------- - - public void addActionListener(ActionListener l) - { - listenerList_.add(ActionListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeActionListener(ActionListener l) - { - listenerList_.remove(ActionListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireEditActionEvent() - { - Object[] listeners = listenerList_.getListenerList(); - // Process the listeners last to first, notifying those that are interested in this event. - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == ActionListener.class) - { - // Lazily create the event: - if (actionEvent_ == null) - { - actionEvent_ = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, ""); - } - // Fire the event. - ((ActionListener)listeners[i+1]).actionPerformed(actionEvent_); - } - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterEditor.java deleted file mode 100644 index 4190bc5c77..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterEditor.java +++ /dev/null @@ -1,116 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.TypeEditor; - -import java.awt.Component; -import javax.swing.*; -import javax.swing.table.*; - -class TypeParameterEditor - extends DefaultCellEditor -{ - //-------------------------------------------------------------------------- - - private TypeParameter typeParam_ = null; - private TableCellEditor customEditor_ = null; - - //-------------------------------------------------------------------------- - /** TypeParameterEditor constructor. */ - public TypeParameterEditor() - { - super(new JTextField()); - } - - //-------------------------------------------------------------------------- - /** Implementation of TableCellEditor interface's getTableCellEditorComponent function. */ - - public Component getTableCellEditorComponent - ( - JTable table, - Object value, - boolean isSelected, - int row, - int column - ) - { - typeParam_ = (TypeParameter)value; - - // Delegate to custom editor if required. - if (typeParam_.customEditor() != null) - { - customEditor_ = typeParam_.customEditor(); - return customEditor_.getTableCellEditorComponent(table, value, isSelected, row, column); - } - else if (typeParam_.entryEditor() != null) - { - customEditor_ = typeParam_.entryEditor(); - return customEditor_.getTableCellEditorComponent - ( - table, typeParam_.getValue(), isSelected, row, column - ); - } - - // Otherwise, return the default editor component and edit the value string. - return super.getTableCellEditorComponent - ( - table, typeParam_.getValueString(), isSelected, row, column - ); - } - - //-------------------------------------------------------------------------- - - public Object getCellEditorValue() - { - if (customEditor_ != null) - { - // Delegate to custom editor. - Object objValue = customEditor_.getCellEditorValue(); - } - else - { - // Intercept the "value" object from this editor. - // Of class String for DefaultCellEditor (JTextField) class. - String objValue = (String)super.getCellEditorValue(); - - // Update the TypeParameter object's value. - typeParam_.updateValue(objValue); - } - - // Return the TypeParameter object being edited. - // This is the value that gets sent to the model. - return typeParam_; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterRenderer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterRenderer.java deleted file mode 100644 index ba4b201921..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/TypeParameterRenderer.java +++ /dev/null @@ -1,75 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Editors.TypeEditor; - -import javax.swing.JTable; -import javax.swing.table.*; -import java.awt.Component; - -class TypeParameterRenderer - extends DefaultTableCellRenderer -{ - - //-------------------------------------------------------------------------- - - /** TypeParameterRenderer constructor. */ - public TypeParameterRenderer() - {} - - //-------------------------------------------------------------------------- - - public Component getTableCellRendererComponent - ( - JTable table, - Object value, - boolean isSelected, - boolean hasFocus, - int row, - int column - ) - { - TypeParameter typeParam = (TypeParameter)value; - - // Use the value to render this cell. - String valueText = typeParam.getValueString(); - Component comp = super.getTableCellRendererComponent(table, valueText, isSelected, hasFocus, row, column); - - // If this parameter is read-only, grey it out. - if (!typeParam.isEditable()) - { - comp.setForeground(java.awt.Color.gray); - } else { - comp.setForeground(java.awt.Color.black); - } - - return comp; - } - - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/TypeEditor/filesystem.attributes deleted file mode 100644 index bd754e043165f66b9f2f7ff6e02b815dd90acab8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 465 zcmYk3u}&L75QZlQ1QVqRQizmD$OTE^VqHh6Vl2x>wn4%j4Rd#6-&yP3&F-9aZje%- zJVG9T3dK*5CPB1rDAJ_L3#0)FQL>Abh;F6b+5h{$ng4|~XQ8g`NN7VUPe}}ONp9wt zCQdYIh=t^j%r=h;Cbu)dSW@-8);h1O+&%{=ExZ`x6h*-KbN$GM>{#v{~`}*@bf~W(lnI}AgijK#PneW389W_dG z`u_Wm!iMww=GEQP%HU7rs~G_JHeV{*ejIj4cA6&?=y%$vQlEvj#g{jqE530THWG=> z^+PMz?1ol#iE30o^cL0VLl;(+zxxCy@FZAx*+R#A{#8<4mPF3A;^kHpaU5ibiB1c@ Rm - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/alias b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/alias deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Editors/filesystem.attributes deleted file mode 100644 index d2d9e86ec6dcebd7e0d65f5687eff057b2f26b61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 468 zcmYk3y-piJ5XUFSmx*W+36MZS6eI=3x{gv|hy}o;f1C$%8mg4sl& z_Z=J%!^c)>RadBc^-B0_3nq2=JAxnZZX84tJ@1C9WVMn+mPT`R7)>0PVTgfA^KhGS PNaD5Qe<~$PVQujbYxkzv diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/CaseBrowserIOException.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/CaseBrowserIOException.java deleted file mode 100644 index ce4a06e705..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/CaseBrowserIOException.java +++ /dev/null @@ -1,65 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Exceptions; - -import FoamXServer.*; -import FoamXServer.CaseBrowser.ICaseBrowser; - - -public class CaseBrowserIOException - extends Exception -{ - //-------------------------------------------------------------------------- - - ICaseBrowser CaseBrowser_; - FoamXIOError ioErr_; - - //-------------------------------------------------------------------------- - /** - * Constructs a CaseBrowserIOException. - */ - public CaseBrowserIOException(FoamXIOError ioErr, ICaseBrowser caseBrowser) - { - ioErr_ = ioErr; - CaseBrowser_ = caseBrowser; - } - - public ICaseBrowser getCaseBrower() - { - return CaseBrowser_; - } - - public FoamXIOError getIoErr() - { - return ioErr_; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXCancel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXCancel.java deleted file mode 100644 index 9d9a6527c2..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXCancel.java +++ /dev/null @@ -1,47 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Exceptions; - -public class FoamXCancel - extends Exception -{ - //-------------------------------------------------------------------------- - /** - * Constructs a FoamXCancel with the - * specified error message. - * @param msg The error message. - */ - public FoamXCancel(String msg) - { - super(msg); - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXException.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXException.java deleted file mode 100644 index 686d0deef0..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Exceptions/FoamXException.java +++ /dev/null @@ -1,47 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Exceptions; - -public class FoamXException - extends Exception -{ - //-------------------------------------------------------------------------- - /** - * Constructs a FoamXException with the - * specified error message. - * @param msg The error message. - */ - public FoamXException(String msg) - { - super(msg); - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/.nbattrs deleted file mode 100644 index 8d159ad428..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/.nbattrs +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/BoundaryTypeSelectorDlg.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/BoundaryTypeSelectorDlg.form deleted file mode 100644 index 1dade382b6..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/BoundaryTypeSelectorDlg.form +++ /dev/null @@ -1,108 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/CaseEditorModule.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/CaseEditorModule.java deleted file mode 100644 index 8d5c01e23c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/CaseEditorModule.java +++ /dev/null @@ -1,2332 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Modules.CaseEditor; - -import java.util.*; -import java.net.*; -import java.io.*; -import java.beans.*; -import javax.swing.*; -import javax.swing.filechooser.*; -import java.awt.event.*; - -import org.omg.CORBA.StringHolder; - -import FoamXServer.*; -import FoamXServer.CaseServer.*; -import FoamXServer.CaseBrowser.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.FoamXTypeEx; -import FoamX.Util.FileEditor; -import FoamX.Util.FileMonitor; -import FoamX.Util.FileListener; -import FoamX.Util.FileEvent; -import FoamX.CaseManagement.IModule; -import FoamX.CaseManagement.IModuleHost; -import FoamX.CaseManagement.CaseChooserDlg; -import FoamX.CaseManagement.CaseBrowserPanel; -import FoamX.Reporting.ReportingWindow; - -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryListener; -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryEvent; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEditorPanel; - -import FoamX.WindowManagement.FoamXInternalFrame; -import FoamX.Editors.ApplicationEditor.BoundaryDefinitionModelItem; -import FoamX.Editors.TypeEditor.TypeDescriptorCache; - -public class CaseEditorModule - extends Object - implements - IModule, // Can be loaded as module - PatchStatusListener, // Gets warned of editing of patch types - CompoundEntryListener, // Gets warned of editing of dictionaries - FileListener // Gets warned if file on disk changes -{ - //-------------------------------------------------------------------------- - - protected static final String MODULENAME = "CaseEditorModule"; - protected static final String MODULEDESCRIPTION = - "Generic Case Editor Module."; - - protected PropertyChangeSupport propertySupport_; - protected IModuleHost moduleHost_; - protected int moduleID_; - - // Map of dictionary name to DictionaryWindowHandler objects. - protected java.util.Hashtable dictionaryMap_; - // Map of entry name to DictionaryEntryWindowHandler objects. - protected java.util.Hashtable dictionaryEntryMap_; - // Map of field name to FieldWindowHandler objects. - protected java.util.Hashtable fieldWindowMap_; - // Map of patch name to PatchWindowHandler objects. - protected java.util.Hashtable patchWindowMap_; - // Map of field and patch name to DictionaryWindowHandler objects. - protected java.util.Hashtable patchfieldWindowMap_; - - // Listen for changes to dictionaries and fields - protected FileMonitor monitor_; - - protected int meshNode_; - protected int patchesNode_; - - //-------------------------------------------------------------------------- - // Module actions. - javax.swing.Action[] moduleActions_; - - OpenDictionaryAction openDictionaryAction_; - CloseDictionaryAction closeDictionaryAction_; - SaveDictionaryAction saveDictionaryAction_; - ReadMeshAction readMeshAction_; - ImportMeshAction importMeshAction_; - EditDictionaryEntryAction editDictionaryEntryAction_; - EditPatchAction editPatchAction_; - EditFieldAction editFieldAction_; - EditPatchFieldParametersAction editPatchFieldParametersAction_; - - //-------------------------------------------------------------------------- - /** DictionaryEditorModule constructor. */ - public CaseEditorModule() - { - try - { - propertySupport_ = new PropertyChangeSupport(this); - moduleHost_ = null; - moduleID_ = -1; - dictionaryMap_ = null; - dictionaryEntryMap_ = null; - fieldWindowMap_ = null; - patchfieldWindowMap_ = null; - monitor_ = null; - meshNode_ = -1; - patchesNode_ = -1; - - // Initialise the actions. - openDictionaryAction_ = new OpenDictionaryAction(); - closeDictionaryAction_ = new CloseDictionaryAction(); - saveDictionaryAction_ = new SaveDictionaryAction(); - readMeshAction_ = new ReadMeshAction(); - importMeshAction_ = new ImportMeshAction(); - editDictionaryEntryAction_ = new EditDictionaryEntryAction(); - editPatchAction_ = new EditPatchAction(); - editFieldAction_ = new EditFieldAction(); - editPatchFieldParametersAction_ = - new EditPatchFieldParametersAction(); - - moduleActions_ = new Action[8]; - moduleActions_[0] = openDictionaryAction_; - moduleActions_[1] = closeDictionaryAction_; - moduleActions_[2] = saveDictionaryAction_; - moduleActions_[3] = readMeshAction_; - moduleActions_[4] = importMeshAction_; - moduleActions_[5] = editDictionaryEntryAction_; - moduleActions_[6] = editPatchAction_; - moduleActions_[7] = editFieldAction_; - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Returns the name of this module. */ - public String toString() - { - return MODULENAME; - } - - //-------------------------------------------------------------------------- - //---- IModule Interface - //-------------------------------------------------------------------------- - - public int getModuleID() - { - return moduleID_; - } - - //-------------------------------------------------------------------------- - - public String getModuleName() - { - return MODULENAME; - } - - //-------------------------------------------------------------------------- - - public String getModuleDescription() - { - return MODULEDESCRIPTION; - } - - //-------------------------------------------------------------------------- - - public javax.swing.Action[] getActions() - { - return moduleActions_; - } - - //-------------------------------------------------------------------------- - - // Called by CasePanel to initialise. - public boolean initialiseModule(IModuleHost moduleHost, int moduleID) - throws FoamXIOError, FoamXError, Exception - { - boolean bRet = false; - - try - { - if (moduleID_ != -1) - { - throw new FoamXException("Multiple initialisation error."); - } - - Icon fieldIcon = App.getResources().getIcon("FieldImage"); - Icon meshIcon = App.getResources().getIcon("MeshImage"); - Icon patchesIcon = App.getResources().getIcon("PatchesImage"); - - // Store module Id and the reference to the module host. - moduleHost_ = moduleHost; - moduleID_ = moduleID; - - // Create map objects to hold window handler objects. - dictionaryMap_ = new Hashtable(); - dictionaryEntryMap_ = new Hashtable(); - fieldWindowMap_ = new Hashtable(); - patchWindowMap_ = new Hashtable(); - patchfieldWindowMap_ = new Hashtable(); - - // Get a temporary reference to the case server object. - ICaseServer caseServer = moduleHost_.getCaseServer(); - - //----------------------------------------------------------------- - // Get list of dictionaries from the case's application class - // object. - String[] dictList = caseServer.application().dictionaries(); - - // Add Dictionaries node to tree. - int dictRootNode = moduleHost_.addNode - ( - 0, - "Dictionaries", - FoamXTypeEx.getIcon(FoamXType.Type_Dictionary) - ); - - // Create sub-nodes for all top-level dictionaries. - for (int i = 0; i 0) - { - // Sub dictionary key names are constructed from the - // dictionary names delimited with "/". - String key = dictKey + "/" + subDictName; - - // Attach the Open and Close commands to this node. - moduleHost_.addNodeAction - ( - nodeID, - openDictionaryAction_, - key - ); - moduleHost_.addNodeAction - ( - nodeID, - closeDictionaryAction_, - key - ); - - // Create a window handler for this dictionary and add - // to map. - DictionaryWindowHandler windowHandler = - new DictionaryWindowHandler - ( - subDictName, - dictEntry - ); - dictionaryMap_.put(key, windowHandler); - - // Recursively add this dictionary's children to the - // tree. - AddChildren(nodeID, key, dictEntry); - } - } - else - { - // Dictionary entry key names are constructed from the - // dictionary name and the item name delimited with "::". - String key = dictKey + "::" + entryName; - - // Attach the Edit command to this node. - moduleHost_.addNodeAction - ( - nodeID, - editDictionaryEntryAction_, - key - ); - - IDictionaryEntry ncEntry = - IDictionaryEntryHelper.narrow(entry); - - // Create a window handler for this dictionary entry and - // add to map. - DictionaryEntryWindowHandler windowHandler = - new DictionaryEntryWindowHandler - ( - dictKey, - entryName, - ncEntry - ); - dictionaryEntryMap_.put(key, windowHandler); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - // Create window handlers for a dictionary and its subdictionaries. - private void initialiseDictionaryWindowHandler - ( - String dictPath, - int dictRootNode - ) - { - try - { - // Strip out the directory to get the name. - String dictName = dictPath; - int nIndex = dictPath.lastIndexOf("/"); - if (nIndex != -1) - { - dictName = dictPath.substring(nIndex + 1); - } - - ICaseServer caseServer = moduleHost_.getCaseServer(); - - // Get the DictionaryEntry reference for this dictionary. - IDictionaryEntryHolder holder = new IDictionaryEntryHolder(); - caseServer.getDictionary(dictPath, false, holder); - IDictionaryEntry dictRoot = holder.value; - - // Create a window handler object for this dictionary and add - // to map. - DictionaryWindowHandler windowHandler - = new DictionaryWindowHandler(dictName, dictRoot); - dictionaryMap_.put(dictName, windowHandler); - - // Add node for this dictionary. - int nodeID = moduleHost_.addNode - ( - dictRootNode, - dictName, - TypeDescriptorCache.getIcon(dictRoot.typeDescriptor()) - ); - - // Attach the Open, Close, Save commands to this - // node. - moduleHost_.addNodeAction - ( - nodeID, - openDictionaryAction_, - dictName - ); - moduleHost_.addNodeAction - ( - nodeID, - closeDictionaryAction_, - dictName - ); - moduleHost_.addNodeAction - ( - nodeID, - saveDictionaryAction_, - dictName - ); - - // Recursively add this dictionary's children to the tree. - AddChildren(nodeID, dictName, dictRoot); - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - } - - //-------------------------------------------------------------------------- - - // Create window handlers for all patches of all fields. - private void initialisePatchFieldWindowHandlers() - { - try - { - // Clear all patch field parameter data. - patchfieldWindowMap_.clear(); - - // Get a temporary reference to the case server object. - ICaseServer caseServer = moduleHost_.getCaseServer(); - - // Loop over all fields and check whether parameters are required - // for this patch. - String[] fieldNameList = caseServer.application().fields(); - for (int nField = 0; nField - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/FieldPropertiesWindow.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/FieldPropertiesWindow.java deleted file mode 100644 index 2d51ed3779..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/FieldPropertiesWindow.java +++ /dev/null @@ -1,427 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Modules.CaseEditor; - -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import org.omg.CORBA.StringHolder; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryEvent; -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryListener; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellEditor; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCellRenderer; -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.CaseServer.IGeometricField; -import FoamXServer.CaseServer.IGeometricFieldHolder; -import FoamXServer.IDictionaryEntryHolder; - -public class FieldPropertiesWindow - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_WIDTH = 400; - - private FieldPropertiesTableModel tableModel_; - private String fieldName_; - - //-------------------------------------------------------------------------- - /** FieldPropertiesWindow constructor. */ - public FieldPropertiesWindow(ICaseServer caseServer, String fieldName) - { - // Initialise the table model. - tableModel_ = new FieldPropertiesTableModel(caseServer, fieldName); - fieldName_ = fieldName; - - // Initialise the table. - initComponents(); - - - // Set cell renderer and editor for value column. - table_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellRenderer(new DictionaryEntryCellRenderer()); - table_.getColumn - ( - tableModel_.getValueColumnTitle() - ).setCellEditor(new DictionaryEntryCellEditor()); - - // Resize to show the defined rows only. - // Calculate size: table + panel + some extra (= 1 row height) - int height = - table_.getRowHeight() * (tableModel_.getRowCount() + 2) - + (int)getMinimumSize().getHeight(); // panel size - - setPreferredSize(new java.awt.Dimension(DEFAULT_WIDTH, height)); - - } - - //-------------------------------------------------------------------------- - - public String toString() - { - // Used to set the title of the host internal frame window. - //return "Field : " + fieldName_; - return fieldName_; - } - - //-------------------------------------------------------------------------- - - public void refresh() - { - // The boundary type may have changed for this field. - // Update the table model. - tableModel_.refresh(); - setSize(new java.awt.Dimension(DEFAULT_WIDTH, 200)); - table_.updateUI(); - } - - //-------------------------------------------------------------------------- - /** Provide access to the table model object. */ - public FieldPropertiesTableModel getTableModel() - { - return tableModel_; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - java.awt.GridBagConstraints gridBagConstraints; - - tableScrollPane_ = new javax.swing.JScrollPane(); - table_ = new javax.swing.JTable(); - - setLayout(new java.awt.GridBagLayout()); - - setFont(new java.awt.Font("Dialog", 0, 10)); - table_.setFont(new java.awt.Font("Dialog", 0, 10)); - table_.setModel(tableModel_); - tableScrollPane_.setViewportView(table_); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 0; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.weightx = 1.0; - gridBagConstraints.weighty = 1.0; - gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); - add(tableScrollPane_, gridBagConstraints); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JScrollPane tableScrollPane_; - private javax.swing.JTable table_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - static class FieldPropertiesTableModel - extends FoamX.Editors.DictionaryEntryEditor.DictionaryEntryTableModel - { - //---------------------------------------------------------------------- - - protected ICaseServer caseServer_; - protected String fieldName_; - - //---------------------------------------------------------------------- - /** - * FieldPropertiesTableModel constructor. Construct the table model from - * the specified field values object in the current case server. - */ - public FieldPropertiesTableModel - ( - ICaseServer caseServer, - String fieldName - ) - { - try - { - caseServer_ = caseServer; - fieldName_ = fieldName; - - // Get field values object for the specified field. - IGeometricFieldHolder holder = new IGeometricFieldHolder(); - caseServer.getFieldValues(fieldName_, holder); - IGeometricField fieldValObject = holder.value; - - IDictionaryEntryHolder dictEntryHolder = - new IDictionaryEntryHolder(); - - //-------------------------------------------------------------- - // Get internal field value dictionary entry object. - fieldValObject.getInternalFieldValue(dictEntryHolder); - DictionaryEntry dictEntry1 = - DictionaryEntryCache.New - ( - dictEntryHolder.value, - "Internal Field Value" - ); - dictEntryList_.add(0, dictEntry1); - dictEntryMap_.put("Internal Field Value", dictEntry1); - -// //-------------------------------------------------------------- -// // Get reference level dictionary entry object. -// fieldValObject.getReferenceLevelValue(dictEntryHolder); -// DictionaryEntry dictEntry2 = -// DictionaryEntryCache.New -// ( -// dictEntryHolder.value, -// "Reference Level" -// ); -// dictEntryList_.add(1, dictEntry2); -// dictEntryMap_.put("Reference Level", dictEntry2); - - //-------------------------------------------------------------- - // Add entries for each patch that requires a value for this - // field. - String[] patchNames = caseServer.patchNames(); - for (int nPatch = 0; nPatch = 0; i -= 2) - { - if (listeners[i] == CompoundEntryListener.class) - { - return - ( - (CompoundEntryListener)listeners[i+1] - ).openSubDictionary(event); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return false; - } - - //---------------------------------------------------------------------- - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorModel.java deleted file mode 100644 index bcb17533ec..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorModel.java +++ /dev/null @@ -1,408 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Modules.CaseEditor; - -import javax.swing.tree.*; -import javax.swing.table.*; -import java.util.*; - -import org.omg.CORBA.StringHolder; - -import FoamX.App; -import FoamX.Editors.ApplicationEditor.BoundaryDefinitionModelItem; -import FoamX.Exceptions.FoamXException; - -import FoamXServer.CaseServer.IPatchPhysicalTypeDescriptor; -import FoamXServer.CaseServer.IPatchPhysicalTypeDescriptorHolder; -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.ITypeDescriptorHolder; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; - -public class PatchEditorModel - extends AbstractTableModel -{ - //-------------------------------------------------------------------------- - - public static final int FIELDNAME_INDEX = 0; - public static final int PATCHFIELD_INDEX = 1; - public static final String FIELDNAME_COLUMN = "Field"; - public static final String PATCHFIELD_COLUMN = "Patch Field Type"; - private static final String[] s_columnNames = - { - FIELDNAME_COLUMN, PATCHFIELD_COLUMN - }; - - private String patchName_; - private ICaseServer caseServer_; // Reference to case object. - private CaseEditorModule module_; // Reference to parent module. - private String[] fields_; // List of field names. - private int numFields_; // Number of field in the table. - // Map of field name to patch field type names. - private java.util.Hashtable patchFieldMap_; - - // Tree model used to populate the boundary type selector dialog. - private DefaultTreeModel treeModel_; - // Tree root node. - private DefaultMutableTreeNode rootNode_; - // Map of DefaultMutableTreeNode objects, one for each boundary type. - private java.util.Hashtable boundaryDefMap_; - - // Currently selected boundary type. - private BoundaryDefinitionModelItem currentBoundaryDef_; - - //-------------------------------------------------------------------------- - - public PatchEditorModel(ICaseServer caseServer, String patchName) - { - try - { - // Store patch name and reference to the case server. - caseServer_ = caseServer; - patchName_ = patchName; - fields_ = caseServer_.application().fields(); - numFields_ = fields_.length; - patchFieldMap_ = new Hashtable(); - - // Initialise the boundary types tree strcuture. - initialisePatchPhysicalTypes(); - - // Initialise the patch parameter table. - refreshPatchTable(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public DefaultTreeModel getTreeModel() - { - return treeModel_; - } - - //-------------------------------------------------------------------------- - - BoundaryDefinitionModelItem getBoundaryDefinition() - { - return currentBoundaryDef_; - } - - //-------------------------------------------------------------------------- - - void setBoundaryDefinition(BoundaryDefinitionModelItem boundaryDef) - { - try - { - // Store reference to the selected boundary type. - currentBoundaryDef_ = boundaryDef; - - // Update the boundary type in the case server. - caseServer_.setPatchPhysicalType - ( - patchName_, - currentBoundaryDef_.getName() - ); - - // Update the table. - refreshPatchTable(); - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - private void initialisePatchPhysicalTypes() - { - try - { - // Initialise the tree model. We need to built the map of all boundary definitions - // to make sure that all super types can be resolved before we build the tree. - rootNode_ = new DefaultMutableTreeNode - ( - new BoundaryDefinitionModelItem(), - true - ); - treeModel_ = new DefaultTreeModel(rootNode_); - boundaryDefMap_ = new Hashtable(); - currentBoundaryDef_ = null; - - // Get defined boundary type names from the application class object. - String[] patchPhysicalTypes = - caseServer_.application().patchPhysicalTypes(); - for (int i=0; i = numFields_) - { - throw new Exception("Invalid row index"); - } - - if (columnIndex == FIELDNAME_INDEX) - { - // Return a new string containing the field name. - obj = fields_[rowIndex]; - } - else if (columnIndex == PATCHFIELD_INDEX) - { - obj = (String)patchFieldMap_.get(fields_[rowIndex]); - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (FoamXException fxEx) - { - App.handleException(fxEx); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return obj; - } - - //-------------------------------------------------------------------------- - - public void setValueAt(Object aValue, int rowIndex, int columnIndex) - { - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.form deleted file mode 100644 index 6021a99525..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.form +++ /dev/null @@ -1,103 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.java deleted file mode 100644 index c57243bc87..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEditorWindow.java +++ /dev/null @@ -1,245 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Modules.CaseEditor; - -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamXServer.CaseServer.ICaseServer; - -public class PatchEditorWindow - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_WIDTH = 400; - - protected EventListenerList listenerList_; - protected PatchEditorModel patchModel_; - protected String patchName_; - - //-------------------------------------------------------------------------- - /** Creates a new PatchEditorWindow object. */ - public PatchEditorWindow(ICaseServer caseServer, String patchName) - { - try - { - patchName_ = patchName; - patchModel_ = new PatchEditorModel(caseServer, patchName); - - // Create listener list. - listenerList_ = new EventListenerList(); - - // Initialise the GUI. - initComponents(); - - // Resize to show the defined rows only. - // Calculate size: table + panel + extra(=1 row height) - int height = - table_.getRowHeight() * (patchModel_.getRowCount() + 2) - + (int)getMinimumSize().getHeight(); // panel size - - table_.setPreferredScrollableViewportSize - ( - new java.awt.Dimension(DEFAULT_WIDTH, height) - ); - - // Initialise the boundary type edit box. - patchPhysicalTypeEdit_.setText - ( - patchModel_.getBoundaryDefinition().getDisplayName() - ); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public String toString() - { - // Used to set the title of the host internal frame window. - return "Patch : " + patchName_; - } - - //-------------------------------------------------------------------------- - - public void addPatchStatusListener(PatchStatusListener l) - { - listenerList_.add(PatchStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removePatchStatusListener(PatchStatusListener l) - { - listenerList_.remove(PatchStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void firePatchPhysicalTypeChanged() - { - String patchPhysicalTypeName = patchModel_.getBoundaryDefinition().getName(); - - // Create event object. - PatchStatusEvent evt = new PatchStatusEvent(this, patchName_, patchPhysicalTypeName); - - // Process the listeners last to first, notifying those that are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i = listeners.length - 2; i>= 0; i -= 2) - { - if (listeners[i] == PatchStatusListener.class) - { - ((PatchStatusListener)listeners[i + 1]).patchPhysicalTypeChanged(evt); - } - } - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - comboPanel_ = new javax.swing.JPanel(); - patchPhysicalTypeLabel_ = new javax.swing.JLabel(); - patchPhysicalTypeEdit_ = new javax.swing.JTextField(); - selectPatchPhysicalTypeButton_ = new javax.swing.JButton(); - scrollPane_ = new javax.swing.JScrollPane(); - table_ = new javax.swing.JTable(); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - setFont(new java.awt.Font("Dialog", 0, 10)); - comboPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - comboPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - patchPhysicalTypeLabel_.setText("Boundary Type"); - patchPhysicalTypeLabel_.setForeground(java.awt.Color.black); - patchPhysicalTypeLabel_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - comboPanel_.add(patchPhysicalTypeLabel_, gridBagConstraints2); - - patchPhysicalTypeEdit_.setEditable(false); - patchPhysicalTypeEdit_.setFont(new java.awt.Font("SansSerif", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.ipady = 5; - gridBagConstraints2.insets = new java.awt.Insets(0, 5, 0, 5); - gridBagConstraints2.weightx = 1.0; - comboPanel_.add(patchPhysicalTypeEdit_, gridBagConstraints2); - - selectPatchPhysicalTypeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - selectPatchPhysicalTypeButton_.setText("..."); - selectPatchPhysicalTypeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnSelectPatchPhysicalType(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 2; - gridBagConstraints2.gridy = 0; - comboPanel_.add(selectPatchPhysicalTypeButton_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - add(comboPanel_, gridBagConstraints1); - - table_.setModel(patchModel_); - table_.setFont(new java.awt.Font("Dialog", 0, 10)); - scrollPane_.setViewportView(table_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(scrollPane_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnSelectPatchPhysicalType (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnSelectPatchPhysicalType - - // Initialise and show the boundary type selector dialog. - PatchPhysicalTypeSelectorDlg dlg = new PatchPhysicalTypeSelectorDlg(null, patchModel_); - dlg.setVisible(true); - - // If the dialog wasn't cancelled, update the boundary type name. - if (!dlg.wasCancelled()) - { - patchPhysicalTypeEdit_.setText(patchModel_.getBoundaryDefinition().getDisplayName()); - table_.updateUI(); - firePatchPhysicalTypeChanged(); - } - }//GEN-LAST:event_OnSelectPatchPhysicalType - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel comboPanel_; - private javax.swing.JLabel patchPhysicalTypeLabel_; - private javax.swing.JTextField patchPhysicalTypeEdit_; - private javax.swing.JButton selectPatchPhysicalTypeButton_; - private javax.swing.JScrollPane scrollPane_; - private javax.swing.JTable table_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEntry.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEntry.java deleted file mode 100644 index dfb72402a6..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchEntry.java +++ /dev/null @@ -1,205 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Modules.CaseEditor; - -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryEvent; -import FoamX.Editors.DictionaryEntryEditor.CompoundEntryListener; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntry; -import FoamX.Editors.DictionaryEntryEditor.DictionaryEntryCompoundEditor; -import FoamX.Exceptions.FoamXException; - -import FoamXServer.FoamXType; -import FoamXServer.IDictionaryEntry; - -public class PatchEntry - implements DictionaryEntry -{ - //-------------------------------------------------------------------------- - - protected String patchName_; - protected IDictionaryEntry dictEntry_; - protected EventListenerList listenerList_; - protected DictionaryEntryCompoundEditor compEdit_; - - //-------------------------------------------------------------------------- - /** PatchEntry constructor. */ - public PatchEntry(String patchName, IDictionaryEntry dictEntry) - { - try - { - // Store IDictionaryEntry reference and patch name. - dictEntry_ = dictEntry; - patchName_ = patchName; - - // Make sure that the incoming dictionary entry is a dictionary. - FoamXType type = dictEntry_.typeDescriptor().type(); - if (type.value() != FoamXType._Type_Dictionary) - { - throw new FoamXException("Invalid type for PatchEntry object."); - } - - // Initialise event listener list. - listenerList_ = new EventListenerList(); - - // Initialise the editor. - compEdit_ = new DictionaryEntryCompoundEditor(); - - // Subscribe to the edit button's action event so that we can - // invoke the appropriate edit action for the compound types. - compEdit_.addActionListener - ( - new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - fireOpenSubDictionaryEvent(); - } - } - ); - - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - } - //-------------------------------------------------------------------------- - - protected boolean fireOpenSubDictionaryEvent() - { - // Send the patch name to the module. - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - - // Create the event object. - CompoundEntryEvent event = - new CompoundEntryEvent - ( - this, - CompoundEntryEvent.TYPE_PATCH, - patchName_ - ); - - // Fire the event. - for (int i = listeners.length - 2; i>= 0; i -= 2) - { - if (listeners[i] == CompoundEntryListener.class) - { - return - ( - (CompoundEntryListener)listeners[i+1] - ).openSubDictionary(event); - } - } - - return false; - } - - //-------------------------------------------------------------------------- - /** - * Return an appropriate string representation of the current value. - * Used by the default cell renderer to set the text for the label. - */ - public String toString() - { - return getEntryValueString(); - } - - //-------------------------------------------------------------------------- - //---- DictionaryEntry Interface Methods - //-------------------------------------------------------------------------- - - public String getEntryName() - { - return patchName_; - } - - public String getEntryDescription() - { - return patchName_; - } - - public String getEntryValueString() - { - return "Parameters..."; - } - - public boolean isEditable() - { - return dictEntry_.typeDescriptor().editable(); - } - - public boolean isCurrent() - { - return false; - } - - public TableCellRenderer getRenderer() - { - return null; - } - - public TableCellEditor getEditor() - { - return compEdit_; - } - - //-------------------------------------------------------------------------- - /** - * Called by the DictionaryCellEditor's getCellEditorValue - * method to update the value of this item after editing. - */ - public boolean updateValue(Object value) - { - return false; - } - - //-------------------------------------------------------------------------- - - public void addCompoundEntryListener(CompoundEntryListener l) - { - listenerList_.add(CompoundEntryListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCompoundEntryListener(CompoundEntryListener l) - { - listenerList_.remove(CompoundEntryListener.class, l); - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchPhysicalTypeSelectorDlg.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchPhysicalTypeSelectorDlg.java deleted file mode 100644 index a7000a5188..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchPhysicalTypeSelectorDlg.java +++ /dev/null @@ -1,265 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Modules.CaseEditor; - -import javax.swing.tree.*; -import java.awt.event.ActionEvent; -import javax.swing.event.TreeSelectionEvent; -import javax.swing.event.TreeSelectionListener; - -import FoamX.App; -import FoamX.Editors.ApplicationEditor.BoundaryDefinitionModelItem; -import FoamX.Util.FoamXTreeRenderer; - -public class PatchPhysicalTypeSelectorDlg - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private PatchEditorModel patchEditorModel_; - private boolean cancelled_; - private BoundaryDefinitionModelItem currentBoundaryDef_; - - //-------------------------------------------------------------------------- - /** PatchPhysicalTypeSelectorDlg constructor. */ - public PatchPhysicalTypeSelectorDlg(java.awt.Frame parent, PatchEditorModel patchEditorModel) - { - super(parent, "Boundary Type Selector", true); // Modal. - - patchEditorModel_ = patchEditorModel; - cancelled_ = false; - currentBoundaryDef_ = patchEditorModel_.getBoundaryDefinition(); - - initComponents(); - - // Set the tree model. - patchPhysicalTypeTree_.setModel(patchEditorModel_.getTreeModel()); - - // Set tree renderer. - patchPhysicalTypeTree_.setCellRenderer(new FoamXTreeRenderer()); - - // Set single selection. - patchPhysicalTypeTree_.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); - - // Listen out for tree selection events. - patchPhysicalTypeTree_.getSelectionModel().addTreeSelectionListener - ( - new TreeSelectionListener() - { - public void valueChanged(TreeSelectionEvent evt) - { - OnSelectionChanged(evt); - } - } - ); - - // Make sure the tree is displayed properly. - patchPhysicalTypeTree_.updateUI(); - } - - //-------------------------------------------------------------------------- - - public boolean wasCancelled() - { - return cancelled_; - } - - //-------------------------------------------------------------------------- - - public void OnSelectionChanged(TreeSelectionEvent evt) - { - try - { - // Get the node object for the current selection. - if (evt.isAddedPath()) // Has the new node been added to the selection? - { - TreePath tp = evt.getPath(); - if (tp != null) - { - // Set the current selection object. - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)tp.getLastPathComponent(); - currentBoundaryDef_ = (BoundaryDefinitionModelItem)nodeItem.getUserObject(); - } - } - } - catch (Exception ex) - { - App.printMessage("PatchPhysicalTypeSelectorDlg::OnSelectionChanged : " + ex.getMessage()); - } - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - buttonPanel_ = new javax.swing.JPanel(); - okButton_ = new javax.swing.JButton(); - cancelButton_ = new javax.swing.JButton(); - treeScrollPane_ = new javax.swing.JScrollPane(); - patchPhysicalTypeTree_ = new javax.swing.JTree(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setTitle("Select Boundary Type"); - setName("PatchPhysicalTypeSelectorDlg"); - setModal(true); - setFont(new java.awt.Font("Dialog", 0, 10)); - addWindowListener(new java.awt.event.WindowAdapter() { - public void windowClosing(java.awt.event.WindowEvent evt) { - closeDialog(evt); - } - }); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT, 10, 10)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - okButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - okButton_.setText("OK"); - okButton_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - OnOK(evt); - } - }); - - buttonPanel_.add(okButton_); - - cancelButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - cancelButton_.setText("Cancel"); - cancelButton_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - OnCancel(evt); - } - }); - - buttonPanel_.add(cancelButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - treeScrollPane_.setFont(new java.awt.Font("Dialog", 0, 10)); - patchPhysicalTypeTree_.setFont(new java.awt.Font("Dialog", 0, 10)); - patchPhysicalTypeTree_.setShowsRootHandles(true); - patchPhysicalTypeTree_.setVisibleRowCount(10); - patchPhysicalTypeTree_.setRootVisible(false); - patchPhysicalTypeTree_.addMouseListener(new java.awt.event.MouseAdapter() { - public void mouseClicked(java.awt.event.MouseEvent evt) { - OnMouseClicked(evt); - } - }); - - treeScrollPane_.setViewportView(patchPhysicalTypeTree_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(10, 10, 10, 10); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(treeScrollPane_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(300, 250)); - setLocation((screenSize.width-300)/2,(screenSize.height-250)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - private void OnMouseClicked (java.awt.event.MouseEvent evt) - {//GEN-FIRST:event_OnMouseClicked - // Check for double click event. - if (evt.getClickCount()>= 2) - { - // Set the selected boundary definition in the model. - patchEditorModel_.setBoundaryDefinition(currentBoundaryDef_); - - // Close the dialog. - cancelled_ = false; - setVisible(false); - dispose(); - } - }//GEN-LAST:event_OnMouseClicked - - //-------------------------------------------------------------------------- - - private void OnCancel (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnCancel - cancelled_ = true; - setVisible(false); - dispose(); - }//GEN-LAST:event_OnCancel - - private void OnOK (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnOK - - // Set the selected boundary definition in the model. - patchEditorModel_.setBoundaryDefinition(currentBoundaryDef_); - - cancelled_ = false; - setVisible(false); - dispose(); - }//GEN-LAST:event_OnOK - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - // Treat as cancel. - cancelled_ = true; - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton okButton_; - private javax.swing.JButton cancelButton_; - private javax.swing.JScrollPane treeScrollPane_; - private javax.swing.JTree patchPhysicalTypeTree_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusEvent.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusEvent.java deleted file mode 100644 index d5bd0dc8cc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusEvent.java +++ /dev/null @@ -1,50 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Modules.CaseEditor; - -public class PatchStatusEvent - extends java.util.EventObject -{ - protected String patchName_; - protected String patchPhysicalTypeName_; - - /** PatchStatusEvent constructor. */ - public PatchStatusEvent(Object source, String patchName, String patchPhysicalTypeName) - { - super(source); - patchName_ = patchName; - patchPhysicalTypeName_ = patchPhysicalTypeName; - } - - public String getPatchName() - { - return patchName_; - } - public String getPatchPhysicalTypeName() - { - return patchPhysicalTypeName_; - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusListener.java deleted file mode 100644 index 43e7114f1b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/PatchStatusListener.java +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Modules.CaseEditor; - -public interface PatchStatusListener - extends java.util.EventListener -{ - public void patchPhysicalTypeChanged(PatchStatusEvent evt); -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Modules/CaseEditor/filesystem.attributes deleted file mode 100644 index ea62272fb926959bf3275e35de5f0950625bac6b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1244 zcmaKsziSjh6vy9Pa`7TTjl>@)N|aMbB(ounMX*Tj2f1*U1TTUZ#LVqZ?lzg5S!ZU? zOCtmXfBXZMA~p%666`D#+Y}KI#LB|PLJ$Q>>6_jBIDe&Ec4yxA`#$gccKs`)v;s$} z8j%4LzQ@Rd&zWA~4(GiHqPtD#{!GfS(S^{)*U*3un6djMJrdKYPvlF;~^ zOi*1f(;#)==%G#;sQjHKEQonJ~nb zGLS~`fK${{aIxK6B;rdlRV`Dc>y&fmO;;D0Yxw((Q_mj1`ksVj5jyMWV-C`?x;Va! zRSYEO##;dZ^adzqkw!Om&Q%&Dxv&#X?OiL)r=sRma6qCqT7pi2->h)L0`4mc!<3-BKlVnA zFNJ|2t0W$PE$s|_YX~p`mg-*6js^nuh1XKI4!_nr)hNdx5#aw&MI-1Fas*5e_7`o^_OJF1h+kx41 zA#1WHQVD}VDwCO^zDnJC^z+-~=m(4ivN70=flDR4?`+52aiv`HnRfQ>XQMY6+d2YG zH7O7OpdF8Uv=yKk@_&{w$lczfimO*Pk0gd0CJBimbm6Yye4;eWV6B0FHD>cQh2hJ@ zs&OdhHn&J( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.form deleted file mode 100644 index 8dfbf1ef6b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.form +++ /dev/null @@ -1,92 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.java deleted file mode 100644 index bbf044a2c6..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/DocServerTab.java +++ /dev/null @@ -1,146 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -public class DocServerTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private OptionsManager optionsMgr_; - - //-------------------------------------------------------------------------- - /** DocServerTab Constructor. */ - public DocServerTab(OptionsManager optionsMgr) - { - optionsMgr_ = optionsMgr; - - initComponents(); - - if (optionsMgr_.containsKey("browser")) - { - browserField_.setText(optionsMgr_.getProperty("browser")); - } - } - - //-------------------------------------------------------------------------- - - public void updateModel() - { - if (browserField_.getText().trim().length()> 0) - { - optionsMgr_.put("browser", browserField_.getText()); - } - optionsMgr_ = null; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - browserPanel_ = new javax.swing.JPanel(); - externalBrowser_ = new javax.swing.JCheckBox(); - browserLabel_ = new javax.swing.JLabel(); - browserField_ = new javax.swing.JTextField(); - serverPanel_ = new javax.swing.JPanel(); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - browserPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - browserPanel_.setBorder(new javax.swing.border.TitledBorder(null, "Documentation Browser", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 10), java.awt.Color.black)); - externalBrowser_.setFont(new java.awt.Font("Dialog", 0, 10)); - externalBrowser_.setText("Use External Browser"); - externalBrowser_.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(4, 4, 2, 4); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - browserPanel_.add(externalBrowser_, gridBagConstraints2); - - browserLabel_.setText("External Browser Executable"); - browserLabel_.setForeground(java.awt.Color.black); - browserLabel_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 1; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(2, 4, 4, 4); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - browserPanel_.add(browserLabel_, gridBagConstraints2); - - browserField_.setFont(new java.awt.Font("SansSerif", 0, 10)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 1; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(2, 4, 4, 4); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints2.weightx = 1.0; - browserPanel_.add(browserField_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints1.weightx = 1.0; - add(browserPanel_, gridBagConstraints1); - - serverPanel_.setBorder(new javax.swing.border.TitledBorder(null, "Documentation Server", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 10), java.awt.Color.black)); - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(serverPanel_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel browserPanel_; - private javax.swing.JCheckBox externalBrowser_; - private javax.swing.JLabel browserLabel_; - private javax.swing.JTextField browserField_; - private javax.swing.JPanel serverPanel_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.form deleted file mode 100644 index 5ae8444bfe..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.form +++ /dev/null @@ -1,8 +0,0 @@ - - -
- - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.java deleted file mode 100644 index 447b1e6922..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/FieldTypesTab.java +++ /dev/null @@ -1,73 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -public class FieldTypesTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private OptionsManager optionsMgr_; - - //-------------------------------------------------------------------------- - /** Constructor for FieldTypesTab. */ - public FieldTypesTab(OptionsManager optionsMgr) - { - optionsMgr_ = optionsMgr; - initComponents(); - } - - //-------------------------------------------------------------------------- - - public void updateModel() - { - } - - //-------------------------------------------------------------------------- - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - - setLayout(new java.awt.BorderLayout()); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.form deleted file mode 100644 index 7974922d09..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.form +++ /dev/null @@ -1,46 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.java deleted file mode 100644 index e3979ec009..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/GeneralOptionsTab.java +++ /dev/null @@ -1,106 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -public class GeneralOptionsTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private OptionsManager optionsMgr_; - private OptionTableModel tableModel_; - - //-------------------------------------------------------------------------- - /** GeneralOptionsTab constructor. */ - public GeneralOptionsTab(OptionsManager optionsMgr) - { - optionsMgr_ = optionsMgr; - tableModel_ = new OptionTableModel(optionsMgr); - - // Initialise the table model. - //tableModel_.addParameter("Prompt for password at startup"); - - initComponents(); - } - - //-------------------------------------------------------------------------- - - public void updateModel() - { - } - - //-------------------------------------------------------------------------- - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - panel_ = new javax.swing.JPanel(); - scrollPane_ = new javax.swing.JScrollPane(); - table_ = new javax.swing.JTable(); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - panel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - panel_.setBorder(new javax.swing.border.EtchedBorder()); - table_.setModel(tableModel_); - scrollPane_.setViewportView(table_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - panel_.add(scrollPane_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(10, 10, 10, 10); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - add(panel_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel panel_; - private javax.swing.JScrollPane scrollPane_; - private javax.swing.JTable table_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.form deleted file mode 100644 index 5ae8444bfe..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.form +++ /dev/null @@ -1,8 +0,0 @@ - - -
- - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.java deleted file mode 100644 index 2a978236ad..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/HostsTab.java +++ /dev/null @@ -1,71 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -public class HostsTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private OptionsManager optionsMgr_; - - //-------------------------------------------------------------------------- - /** Constructor for HostsTab. */ - public HostsTab(OptionsManager optionsMgr) - { - optionsMgr_ = optionsMgr; - initComponents(); - } - - //-------------------------------------------------------------------------- - - public void updateModel() - { - } - - //-------------------------------------------------------------------------- - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - - setLayout(new java.awt.BorderLayout()); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} \ No newline at end of file diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionParameter.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionParameter.java deleted file mode 100644 index f3a652e6e4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionParameter.java +++ /dev/null @@ -1,61 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -public class OptionParameter - extends Object -{ - //-------------------------------------------------------------------------- - - protected String name_; - protected boolean editable_; - - //-------------------------------------------------------------------------- - /** OptionParameter constructor. */ - public OptionParameter(String name) - { - name_ = name; - editable_ = true; - } - - //-------------------------------------------------------------------------- - - public String getName() - { - return name_; - } - - public boolean isEditable() - { - return editable_; - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionTableModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionTableModel.java deleted file mode 100644 index a97295f78e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionTableModel.java +++ /dev/null @@ -1,200 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -import java.util.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; - -import FoamX.App; -import FoamXServer.FoamXError; -import FoamXServer.FoamXIOError; - -public class OptionTableModel - extends AbstractTableModel -{ - //-------------------------------------------------------------------------- - - public static final int NAME_COLUMN_INDEX = 0; - public static final int VALUE_COLUMN_INDEX = 1; - - protected OptionsManager optionsMgr_; // Reference to the global options manager object. - protected java.util.List paramList_; // List of OptionParameter objects. - protected java.util.Hashtable paramMap_; // Map of OptionParameter objects. - protected String[] columnNames_ = { "Option", "Value" }; - - //-------------------------------------------------------------------------- - /** - * DictionaryEntryTableModel constructor for compound types. - * @param compoundEntry Reference to the compound entry object. - */ - public OptionTableModel(OptionsManager optionsMgr) - { - try - { - optionsMgr_ = optionsMgr; - paramList_ = new Vector(10); - paramMap_ = new Hashtable(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void addParameter(String paramName) - { - OptionParameter param = new OptionParameter(paramName); - paramList_.add(param); - paramMap_.put(paramName, param); - } - - //-------------------------------------------------------------------------- - //--- Abstract AbststractTableModel Methods - //-------------------------------------------------------------------------- - - public int getRowCount() - { - return paramList_.size(); - } - - //-------------------------------------------------------------------------- - - public int getColumnCount() - { - return columnNames_.length; - } - - //-------------------------------------------------------------------------- - - public Object getValueAt(int rowIndex, int columnIndex) - { - Object obj = null; - - try - { - // Check for valid row index. - if (rowIndex>= paramList_.size()) - { - throw new Exception("Invalid row index"); - } - - // Get OptionParameter object for this row. - OptionParameter param = (OptionParameter)paramList_.get(rowIndex); - - if (columnIndex == NAME_COLUMN_INDEX) - { - // Return the OptionParameter display name. - obj = param.getName(); - } - else - { - // Return the OptionParameter object for this entry. - obj = param; - } - } - catch (FoamXIOError ioErr) - { - App.handleException(ioErr); - } - catch (FoamXError fxErr) - { - App.handleException(fxErr); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return obj; - } - - //-------------------------------------------------------------------------- - //--- Overriden AbststractTableModel Methods - //-------------------------------------------------------------------------- - - public String getColumnName(int columnIndex) - { - return columnNames_[columnIndex]; - } - - //-------------------------------------------------------------------------- - - public Class getColumnClass(int columnIndex) - { - // Value column is of type DictionaryEntry. - if (columnIndex == VALUE_COLUMN_INDEX) - { - return OptionParameter.class; - } - - // Name column is of type String. - return String.class; - } - - //-------------------------------------------------------------------------- - - public boolean isCellEditable(int rowIndex, int columnIndex) - { - boolean bEditable = false; - - try - { - if (columnIndex == VALUE_COLUMN_INDEX && rowIndex - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsDlg.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsDlg.java deleted file mode 100644 index eee75e09cd..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsDlg.java +++ /dev/null @@ -1,193 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -class OptionsDlg - extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - private OptionsManager optionsMgr_; - private boolean wasCancelled_; - - private GeneralOptionsTab generalTab_; - private DocServerTab docServerTab_; - private HostsTab hostsTab_; - private FieldTypesTab foamTypesTab_; - private PatchTypesTab patchTypesTab_; - private PatchFieldTypesTab patchFieldTypesTab_; - - //-------------------------------------------------------------------------- - /** Creates new form OptionsDlg */ - OptionsDlg(java.awt.Frame parent, OptionsManager optionsMgr) - { - super(parent, true); // Modal. - - optionsMgr_ = optionsMgr; - wasCancelled_ = false; - - // Create tabs. - generalTab_ = new GeneralOptionsTab(optionsMgr_); - docServerTab_ = new DocServerTab(optionsMgr_); - hostsTab_ = new HostsTab(optionsMgr_); - foamTypesTab_ = new FieldTypesTab(optionsMgr_); - patchTypesTab_ = new PatchTypesTab(optionsMgr_); - patchFieldTypesTab_ = new PatchFieldTypesTab(optionsMgr_); - - // Initialise components and add tabs. - initComponents(); - tabbedPane_.addTab("General", generalTab_); - tabbedPane_.addTab("Doc Server", docServerTab_); - tabbedPane_.addTab("Hosts", hostsTab_); - tabbedPane_.addTab("Field Types", foamTypesTab_); - tabbedPane_.addTab("Patch Types", patchTypesTab_); - tabbedPane_.addTab("Patch Field Types", patchFieldTypesTab_); - } - - //-------------------------------------------------------------------------- - - boolean wasCancelled() - { - return wasCancelled_; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - tabbedPane_ = new javax.swing.JTabbedPane(); - buttonPanel_ = new javax.swing.JPanel(); - buttonOK_ = new javax.swing.JButton(); - buttonCancel_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setTitle("FoamX Options..."); - setName("FoamX Options"); - addWindowListener(new java.awt.event.WindowAdapter() { - public void windowClosing(java.awt.event.WindowEvent evt) { - closeDialog(evt); - } - }); - - tabbedPane_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(tabbedPane_, gridBagConstraints1); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder(javax.swing.border.EtchedBorder.RAISED)); - buttonOK_.setFont(new java.awt.Font("Dialog", 0, 10)); - buttonOK_.setText("OK"); - buttonOK_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - buttonOKActionPerformed_(evt); - } - }); - - buttonPanel_.add(buttonOK_); - - buttonCancel_.setFont(new java.awt.Font("Dialog", 0, 10)); - buttonCancel_.setText("Cancel"); - buttonCancel_.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - buttonCancelActionPerformed_(evt); - } - }); - - buttonPanel_.add(buttonCancel_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.anchor = java.awt.GridBagConstraints.SOUTH; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(400, 350)); - setLocation((screenSize.width-400)/2,(screenSize.height-350)/2); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - -private void buttonCancelActionPerformed_ (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_buttonCancelActionPerformed_ - wasCancelled_ = true; - setVisible(false); - dispose(); - }//GEN-LAST:event_buttonCancelActionPerformed_ - - //-------------------------------------------------------------------------- - -private void buttonOKActionPerformed_ (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_buttonOKActionPerformed_ - wasCancelled_ = false; - - docServerTab_.updateModel(); - - setVisible(false); - dispose(); - }//GEN-LAST:event_buttonOKActionPerformed_ - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - wasCancelled_ = true; - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTabbedPane tabbedPane_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton buttonOK_; - private javax.swing.JButton buttonCancel_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsManager.java deleted file mode 100644 index 14ca243d68..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/OptionsManager.java +++ /dev/null @@ -1,194 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -import java.io.*; -import java.util.*; - -import FoamX.App; - -import FoamX.Exceptions.FoamXException; - -public class OptionsManager - extends java.util.Properties -{ - //-------------------------------------------------------------------------- - - private String foamXSystemPath_; - private String foamXSystemConfigPath_; - private String foamXUserConfigPath_; - - //-------------------------------------------------------------------------- - /** OptionsManager constructor. */ - public OptionsManager() - { - try - { - // Get the FoamX config path. - // To override default, use -DFoamX.ConfigPath=path on command line. - // Would really like to just pick up the FOAMX_USER_CONFIG - // environment variable. But, Java thinks that environment - // variables are not portable and does not allow access to them! - // Pile of crap that it is.... - - // See if it has been overridden on the command line. - foamXSystemPath_ = java.lang.System.getProperty - ( - "FoamX.SystemPath", foamXSystemPath_ - ); - - - // Set the default path. - foamXSystemConfigPath_ = - foamXSystemPath_ - + "applications/utilities/preProcessing/FoamX/config"; - - // See if it has been overridden on the command line. - foamXSystemConfigPath_ = java.lang.System.getProperty - ( - "FoamX.SystemConfigPath", foamXSystemConfigPath_ - ); - - - // Get user config path - foamXUserConfigPath_ = java.lang.System.getProperty - ( - "FoamX.UserConfigPath" - ); - if (foamXUserConfigPath_ == null) - { - throw new FoamXException - ( - "No FoamX.UserConfigPath property specified in arguments." - ); - } - - // Initialise the default properties. - Properties defProps = new Properties(); - - // TODO : Load default values from resource file. - //defProps.load(); - defaults = defProps; - - // See if we have a custom properties file and load it if we have. - loadFromFile(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public String foamXSystemPath() - { - return foamXSystemPath_; - } - - //-------------------------------------------------------------------------- - - public String foamXSystemConfigPath() - { - return foamXSystemConfigPath_; - } - - //-------------------------------------------------------------------------- - - public String foamXUserConfigPath() - { - return foamXUserConfigPath_; - } - - //-------------------------------------------------------------------------- - - public void loadFromFile() - { - try - { - // Load the properties object from file. - String propFileName = foamXUserConfigPath_ + "/FoamXClient.cfg"; - File propFile = new File(propFileName); - if (propFile.exists()) - { - load(new FileInputStream(propFileName)); - - // Add the config paths to the properties bundle. - put("FoamX.SystemConfigPath", foamXSystemConfigPath_); - put("FoamX.UserConfigPath", foamXUserConfigPath_); - } - else - { - throw new Exception - ( - "FoamX client properties file not found at '" - + propFileName + "'." - ); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - -// //-------------------------------------------------------------------------- -// -// public void saveToFile() -// { -// try -// { -// // Persist the properties object to file. -// String propFileName = foamXUserConfigPath_ + "/FoamXClient.cfg"; -// store -// ( -// new FileOutputStream(propFileName), -// " FoamX Client Configuration." -// ); -// } -// catch (Exception ex) -// { -// App.handleAllExceptions(ex); -// } -// } -// -// //-------------------------------------------------------------------------- -// -// public void showEditDialog(java.awt.Frame parent) -// { -// OptionsDlg dlg = new OptionsDlg(parent, this); -// dlg.show(); -// if (!dlg.wasCancelled()) -// { -// saveToFile(); -// } -// } -// - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.form deleted file mode 100644 index 5ae8444bfe..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.form +++ /dev/null @@ -1,8 +0,0 @@ - - -
- - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.java deleted file mode 100644 index a3fcab80e8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchFieldTypesTab.java +++ /dev/null @@ -1,74 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -public class PatchFieldTypesTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private OptionsManager optionsMgr_; - - //-------------------------------------------------------------------------- - /** Constructor for PatchFieldTypesTab. */ - public PatchFieldTypesTab(OptionsManager optionsMgr) - { - optionsMgr_ = optionsMgr; - initComponents(); - } - - //-------------------------------------------------------------------------- - - public void updateModel() - { - } - - //-------------------------------------------------------------------------- - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - - setLayout(new java.awt.BorderLayout()); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.form deleted file mode 100644 index 5ae8444bfe..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.form +++ /dev/null @@ -1,8 +0,0 @@ - - -
- - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.java deleted file mode 100644 index 93e0c5ca37..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/PatchTypesTab.java +++ /dev/null @@ -1,73 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -public class PatchTypesTab - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - private OptionsManager optionsMgr_; - - //-------------------------------------------------------------------------- - /** Constructor for PatchTypesTab. */ - public PatchTypesTab(OptionsManager optionsMgr) - { - optionsMgr_ = optionsMgr; - initComponents(); - } - - //-------------------------------------------------------------------------- - - public void updateModel() - { - } - - //-------------------------------------------------------------------------- - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - - setLayout(new java.awt.BorderLayout()); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Options/filesystem.attributes deleted file mode 100644 index ad1f76da1a86586bee94166685592464de91c919..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 459 zcmaivu}T9$6h$8!gR3aADhgH>Vqr0UgCQ(Q5fd<78sF}|WG75A zq1f73*!T}N7S?VQArc||<(zZx-=XR(oNGG}+R#`gB>Ga3D;(3vi8}Q$Q+&Z}Wt1_w zlP*Szj%R1#%&&ZI0pu2fAx=u--w2iGqZ@Iu&B8j}!X*0u>7oLX|J zR!MFc_S%M}9=jHfaX?ngK@5JWHVR9dh112dZ-vz2GHRi9DJn%tI~r2V>h<~PZu;=y zf!Bn!w5;fXucKkDC@BnHua+AC2uvy6ZfM7@{IR6Ffm^8l&h~%WI%si3{7>AU^=>Fh gCEdc%YI0E5@fFz#*_9E89ppG&X3yO_ZlS>BUy1>k2mk;8 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/ChoiceListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/ChoiceListener.java deleted file mode 100644 index f10cd2d8d8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/ChoiceListener.java +++ /dev/null @@ -1,13 +0,0 @@ -package FoamX.Post; - -import java.awt.event.*; - -public interface ChoiceListener - extends java.util.EventListener -{ - public abstract void actionPerformed(ActionEvent e); -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/.nbattrs deleted file mode 100644 index a5da3b329d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/.nbattrs +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AmbientLightNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AmbientLightNode.java deleted file mode 100644 index 2e2dddacb3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AmbientLightNode.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * LightNode.java - */ -package FoamX.Post.InteractiveNodes; - -import java.awt.*; -import java.awt.Font; - -import com.sun.j3d.utils.applet.MainFrame; -import com.sun.j3d.utils.geometry.Text2D; -import com.sun.j3d.utils.picking.PickResult; - - -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamX.Post.Util.Text; - -public class AmbientLightNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - AmbientLight light_; - boolean isShowing_; - - public AmbientLightNode - ( - final String myName, - final Color3f color, - final BoundingSphere bounds - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - // Create light - light_ = new AmbientLight(color); - light_.setInfluencingBounds(bounds); - - switch_.addChild(light_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("ERROR: LightNode Picked:"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("ERROR: LightNode unPicked:"); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("LightNode show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("LightNode hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("LightNode remove:" + this.name()); - - hide(); - light_ = null; - switch_ = null; - } -} // end of class LightNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ArrowsNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ArrowsNode.java deleted file mode 100644 index c8e2dae134..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ArrowsNode.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.Shapes.Arrows; -import FoamX.Post.Util.Colorizer; - -public class ArrowsNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - Arrows arrows_; - boolean isShowing_; - - public ArrowsNode - ( - final String myName, - final float[] sampleCoords, - final float[] vecValues, - final float sizeScale, - final float[] scalValues, - final Colorizer colorizer, - final float min, - final float max - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - arrows_ = - new Arrows - ( - sampleCoords, - vecValues, - sizeScale, - scalValues, - colorizer, - min, - max - ); - - switch_.addChild(arrows_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public Arrows getArrows() - { - return arrows_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("Picked ArrowsNode"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("UnPicked ArrowsNode"); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - hide(); - arrows_ = null; - switch_ = null; - } - -} // end of class ArrowsNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AxisNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AxisNode.java deleted file mode 100644 index 10f8ca6db1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/AxisNode.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * AxisNode.java - */ -package FoamX.Post.InteractiveNodes; - -import java.awt.*; -import java.awt.Font; - -import com.sun.j3d.utils.applet.MainFrame; -import com.sun.j3d.utils.geometry.Text2D; -import com.sun.j3d.utils.picking.PickResult; - - -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamX.Post.Shapes.AxisLines; -import FoamX.Post.Util.Text; - -public class AxisNode implements InteractiveNode -{ - String myName_; - Color3f color3f_; - Switch switch_; - BranchGroup branchGroup_; - AxisLines axisLines_; - boolean isShowing_; - - public AxisNode(String myName, Color3f color3f) - { - myName_ = myName; - color3f_ = color3f; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - // Axis lines - axisLines_ = new AxisLines(this, color3f_); - switch_.addChild(axisLines_); - - branchGroup_.addChild(switch_); - - // Axis text - //addText(switch_); // 2D text - - Text axisText = new Text(); - switch_.addChild - ( - axisText.createLabel("X", 1.1f, 0f, 0f, color3f_.get()) - ); - switch_.addChild - ( - axisText.createLabel("Y", 0f, 1.1f, 0f, color3f_.get()) - ); - switch_.addChild - ( - axisText.createLabel("Z", 0f, 0f, 1.1f, color3f_.get()) - ); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - // Utility function to create text objects. - private void addText(Group group) - { - Color3f axisColor = new Color3f(1f, 1f, 0); - Shape3D textObject = null; - Transform3D textTranslation = null; - TransformGroup textTranslationGroup = null; - - textObject = new Text2D - ( - "x", - axisColor, - "Serif", - 70, - Font.BOLD - ); - //textObject.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - - textTranslation = new Transform3D(); - textTranslation.setTranslation(new Vector3f(0.5f, 0f, 0f)); - textTranslationGroup = new TransformGroup(textTranslation); - textTranslationGroup.addChild(textObject); - group.addChild(textTranslationGroup); - - textObject = new Text2D - ( - "y", - axisColor, - "Serif", - 70, - Font.BOLD - ); - //textObject.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - - textTranslation = new Transform3D(); - textTranslation.setTranslation(new Vector3f(0f, 0.5f, 0f)); - textTranslationGroup = new TransformGroup(textTranslation); - textTranslationGroup.addChild(textObject); - group.addChild(textTranslationGroup); - - textObject = new Text2D - ( - "z", - axisColor, - "Serif", - 70, - Font.BOLD - ); - //textObject.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - - textTranslation = new Transform3D(); - textTranslation.setTranslation(new Vector3f(0f, 0f, 0.5f)); - textTranslationGroup = new TransformGroup(textTranslation); - textTranslationGroup.addChild(textObject); - group.addChild(textTranslationGroup); - } - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("ERROR: AxisNode Picked:"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("ERROR: AxisNode unPicked:"); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("AxisNode show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("AxisNode hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("AxisNode remove:" + this.name()); - hide(); - - axisLines_.remove(); - axisLines_ = null; - switch_ = null; - } -} // end of class AxisNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/BackgroundNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/BackgroundNode.java deleted file mode 100644 index 6a492b47f3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/BackgroundNode.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * BackgroundNode.java - */ -package FoamX.Post.InteractiveNodes; - -//import java.awt.*; -//import java.awt.Font; - -//import com.sun.j3d.utils.applet.MainFrame; -//import com.sun.j3d.utils.geometry.Text2D; -import com.sun.j3d.utils.picking.PickResult; - - -import javax.media.j3d.*; -import javax.vecmath.*; - -public class BackgroundNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - Background bg_; - boolean isShowing_; - - public BackgroundNode - ( - final String myName, - final Color3f color, - final BoundingSphere bounds - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - // Create background - bg_ = new Background(color); - bg_.setApplicationBounds(bounds); - - switch_.addChild(bg_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("ERROR: BackgroundNode Picked:"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("ERROR: BackGroundNode unPicked:"); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("BackgroundNode show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("BackgroundNode hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("BackgroundNode remove:" + this.name()); - hide(); - bg_ = null; - switch_ = null; - } -} // end of class BackgroundNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBar2DNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBar2DNode.java deleted file mode 100644 index 04779350ef..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBar2DNode.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import java.awt.*; -import java.awt.event.*; - -import FoamX.Post.Util.Colorizer; -import FoamX.Post.Util.Placement; -import FoamX.Post.Shapes2D.ColorBar2D; - -public class ColorBar2DNode - implements InteractiveNode, ComponentListener -{ - String myName_; - Canvas3D canvas_; - Placement placement_; - Dimension dimension_; - Colorizer colorizer_; - float min_, max_; - - Dimension topLeft_; - Switch switch_; - BranchGroup branchGroup_; - BranchGroup switchGroup_; - ColorBar2D colorBar2D_; - boolean isShowing_; - - public ColorBar2DNode - ( - final String myName, - final Canvas3D canvas, - final Placement placement, - final Dimension dimension, - final Colorizer ci, - final float min, - final float max - ) - { - myName_ = myName; - canvas_ = canvas; - placement_ = placement; - dimension_ = dimension; - colorizer_ = ci; - min_ = min; - max_ = max; - - topLeft_ = placement_.getTopLeft(canvas_, dimension_); - -//System.out.println("dimension_:" + dimension_); -//System.out.println("placement_:" + placement_.getSpacing() + " " + placement_.getCorner()); - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Switch.ALLOW_CHILDREN_EXTEND); - switch_.setCapability(Switch.ALLOW_CHILDREN_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - switchGroup_ = new BranchGroup(); - switchGroup_.setCapability(BranchGroup.ALLOW_DETACH); - switchGroup_.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE); - switch_.addChild(switchGroup_); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - colorBar2D_ = - new ColorBar2D - ( - canvas_, topLeft_.width, topLeft_.height, - dimension_.width, dimension_.height, - colorizer_, - min_, max_ - ); - colorBar2D_.repaint(); - colorBar2D_.setVisible(true); - switchGroup_.addChild(colorBar2D_.getRoot()); - - branchGroup_.addChild(switch_); - - canvas_.addComponentListener(this); - } - - //-------------------------------------------------------------------------- - - public BranchGroup getRoot() - { - return branchGroup_; - } - - //-------------------------------------------------------------------------- - - public ColorBar2D getColorBar2D() - { - return colorBar2D_; - } - - //-------------------------------------------------------------------------- - - public void move(Dimension newTopLeft) - { - if (newTopLeft.equals(topLeft_)) - { - return; - } - topLeft_ = newTopLeft; - - - boolean isLive = this.isShowing(); - if (isLive) - { - this.hide(); - } - - //switch_.removeAllChildren(); - colorBar2D_ = null; - switchGroup_.removeAllChildren(); - - colorBar2D_ = - new ColorBar2D - ( - canvas_, topLeft_.width, topLeft_.height, - dimension_.width, dimension_.height, - colorizer_, - min_, max_ - ); - - colorBar2D_.repaint(); - colorBar2D_.setVisible(true); - - switchGroup_.addChild(colorBar2D_.getRoot()); - //switch_.addChild(switchGroup_); - - if (isLive) - { - this.show(); - } - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("Picked ColorBar2DNode"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("UnPicked ColorBar2DNode"); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - - hide(); - colorBar2D_ = null; - switch_ = null; - } - - - //-------------------------------------------------------------------------- - //---- ComponentListener Interface - //-------------------------------------------------------------------------- - - public void componentMoved(ComponentEvent e) - { - System.out.println("componentMoved:" + this.name()); - } - - public void componentResized(ComponentEvent e) - { - System.out.println("componentResized:" + canvas_.getWidth() + " " + canvas_.getHeight()); - - if (placement_.getCorner() != Placement.TOPLEFT) - { - Dimension topLeft = placement_.getTopLeft(canvas_, dimension_); - this.move(topLeft); - } - } - - public void componentHidden(ComponentEvent e) - { - System.out.println("componentHidden:" + this.name()); - } - - public void componentShown(ComponentEvent e) - { - System.out.println("componentShown:" + this.name()); - } - -} // end of class ColorBar2DNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBarNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBarNode.java deleted file mode 100644 index 01feb1f038..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColorBarNode.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.Util.Colorizer; -import FoamX.Post.Shapes.ColorBar; - -public class ColorBarNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - ColorBar colorBar_; - boolean isShowing_; - - public ColorBarNode - ( - final String myName, - final Colorizer ci, - final float min, - final float max - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - colorBar_ = new ColorBar(this, ci, min, max); - - switch_.addChild(colorBar_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public ColorBar getColorBar() - { - return colorBar_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - colorBar_.picked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - colorBar_.unPicked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - hide(); - colorBar_.remove(); - colorBar_ = null; - switch_ = null; - } - -} // end of class ColorBarNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColoredSurfaceByRefNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColoredSurfaceByRefNode.java deleted file mode 100644 index 5f6ab4485a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/ColoredSurfaceByRefNode.java +++ /dev/null @@ -1,224 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.Shapes.ColoredSurfaceByRef; -//import FoamX.Post.Mesh.PrimitivePatch; -import FoamX.Post.Util.Colorizer; - -public class ColoredSurfaceByRefNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - ColoredSurfaceByRef coloredSurfaceByRef_; - boolean isShowing_; - - //- From unstripped file - public ColoredSurfaceByRefNode - ( - final String myName, - final double creaseAngle, - final boolean stripify, - final String pointsFileName, - final String facesFileName, - final String valuesFileName, - final Colorizer colorizer, - final float min, - final float max - ) - { - this - ( - myName, false, false, stripify, creaseAngle, - pointsFileName, null, facesFileName, valuesFileName, - colorizer, min, max - ); - } - - //- From file stripped or not stripped - public ColoredSurfaceByRefNode - ( - final String myName, - final boolean readTriStrip, - final boolean readNormals, - final boolean stripify, - final double creaseAngle, - final String pointsFileName, - final String normalsFileName, - final String facesFileName, - final String valuesFileName, - final Colorizer colorizer, - final float min, - final float max - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - coloredSurfaceByRef_ = - new ColoredSurfaceByRef - ( - this, - readTriStrip, - readNormals, - stripify, - creaseAngle, - pointsFileName, - normalsFileName, - facesFileName, - valuesFileName, - colorizer, - min, - max - ); - - switch_.addChild(coloredSurfaceByRef_); - - branchGroup_.addChild(switch_); - } - - - // From values - public ColoredSurfaceByRefNode - ( - final String myName, - final boolean readTriStrip, - final boolean stripify, - final double creaseAngle, - final float[] points, - final float[] normals, - final int[] triFaces, - final float[] values, - final Colorizer colorizer, - final float min, - final float max - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - coloredSurfaceByRef_ = - new ColoredSurfaceByRef - ( - this, - readTriStrip, - stripify, - creaseAngle, - points, - normals, - triFaces, - null, - values, - colorizer, - min, - max - ); - - switch_.addChild(coloredSurfaceByRef_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public ColoredSurfaceByRef getColoredSurfaceByRef() - { - return coloredSurfaceByRef_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - coloredSurfaceByRef_.picked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - coloredSurfaceByRef_.unPicked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - hide(); - coloredSurfaceByRef_.remove(); - coloredSurfaceByRef_ = null; - switch_ = null; - } - -} // end of class ColoredSurfaceByRefNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/DirectionalLightNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/DirectionalLightNode.java deleted file mode 100644 index cb8cc521de..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/DirectionalLightNode.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * LightNode.java - */ -package FoamX.Post.InteractiveNodes; - -import java.awt.*; -import java.awt.Font; - -import com.sun.j3d.utils.applet.MainFrame; -import com.sun.j3d.utils.geometry.Text2D; -import com.sun.j3d.utils.picking.PickResult; - - -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamX.Post.Util.Text; - -public class DirectionalLightNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - DirectionalLight light_; - boolean isShowing_; - - public DirectionalLightNode - ( - final String myName, - final Color3f color, - final Vector3f direction, - final BoundingSphere bounds - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - // Create light - light_ = new DirectionalLight(color, direction); - light_.setInfluencingBounds(bounds); - - switch_.addChild(light_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("ERROR: LightNode Picked:"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("ERROR: LightNode unPicked:"); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("LightNode show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("LightNode hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("LightNode remove:" + this.name()); - - hide(); - light_ = null; - switch_ = null; - } -} // end of class LightNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/FeatureLinesNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/FeatureLinesNode.java deleted file mode 100644 index ec5b09ab77..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/FeatureLinesNode.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - -//import java.awt.*; -//import java.awt.Font; - -//import com.sun.j3d.utils.applet.MainFrame; -//import com.sun.j3d.utils.geometry.Text2D; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.Shapes.FeatureLines; -import FoamX.Post.Mesh.PrimitivePatch; - -public class FeatureLinesNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - FeatureLines featureLines_; - boolean isShowing_; - - public FeatureLinesNode(String myName, PrimitivePatch patch) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - featureLines_ = new FeatureLines(this, patch); - - switch_.addChild(featureLines_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public FeatureLines getFeatureLines() - { - return featureLines_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - featureLines_.picked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - featureLines_.unPicked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - hide(); - featureLines_.remove(); - featureLines_ = null; - switch_ = null; - } - -} // end of class FeatureLinesNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNode.java deleted file mode 100644 index 3f01672f84..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNode.java +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Post.InteractiveNodes; - -import javax.media.j3d.*; -import com.sun.j3d.utils.picking.PickResult; - -public interface InteractiveNode -{ - public abstract String name(); - - // Picking - public abstract void picked(PickResult pickResult); - public abstract void unPicked(PickResult pickResult); - - // Enable/disable - public abstract void show(); - public abstract void hide(); - public abstract boolean isShowing(); - public abstract void remove(); -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNodeList.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNodeList.java deleted file mode 100644 index fe64b4be2e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/InteractiveNodeList.java +++ /dev/null @@ -1,266 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Post.InteractiveNodes; - -import javax.swing.table.*; -import javax.swing.event.TableModelListener; -import javax.swing.event.TableModelEvent; - -import java.util.*; - -public class InteractiveNodeList - extends AbstractTableModel - implements TableModelListener -{ - private boolean DEBUG = false; - - final String[] columnNames_ = {"Name", "Show"}; - - Vector shapes_; - - //-------------------------------------------------------------------------- - - public InteractiveNodeList() - { - shapes_ = new Vector(); - } - - - //-------------------------------------------------------------------------- - // Vector-like interface - //-------------------------------------------------------------------------- - - public void addElement(InteractiveNode shape) - { - shapes_.addElement(shape); - - int maxRow = this.getRowCount() - 1; - int nCols = this.getColumnCount(); - for(int i = 0; i < nCols; i++) - { - fireTableCellUpdated(maxRow, i); - } - } - - //-------------------------------------------------------------------------- - - public void removeElement(InteractiveNode shape) - { - int index = shapes_.indexOf(shape); - - this.removeElementAt(index); - } - - //-------------------------------------------------------------------------- - - public void removeElementAt(int index) - { - InteractiveNode shape = (InteractiveNode)shapes_.elementAt(index); - shape.hide(); - shape.remove(); - shapes_.removeElementAt(index); - } - - - //-------------------------------------------------------------------------- - // Shape specifics - //-------------------------------------------------------------------------- - - public InteractiveNode getByName(String name) - { - Enumeration enum = shapes_.elements(); - while (enum.hasMoreElements()) - { - InteractiveNode shape = (InteractiveNode)enum.nextElement(); - if (shape.name().equals(name)) - { - return shape; - } - } - return null; - } - - //-------------------------------------------------------------------------- - - public void show(String name) - { - InteractiveNode shape = this.getByName(name); - if (shape != null) - { - shape.show(); - } - } - - //-------------------------------------------------------------------------- - - public void hide(String name) - { - InteractiveNode shape = this.getByName(name); - if (shape != null) - { - shape.hide(); - } - } - - //-------------------------------------------------------------------------- - - public void showAll() - { - Enumeration enum = shapes_.elements(); - while (enum.hasMoreElements()) - { - InteractiveNode shape = (InteractiveNode)enum.nextElement(); - shape.show(); - } - } - - //-------------------------------------------------------------------------- - - public void hideAll() - { - Enumeration enum = shapes_.elements(); - while (enum.hasMoreElements()) - { - InteractiveNode shape = (InteractiveNode)enum.nextElement(); - shape.hide(); - } - } - - //-------------------------------------------------------------------------- - - public void println() - { - System.out.println("-- Contents --"); - - int i = 0; - Enumeration enum = shapes_.elements(); - while (enum.hasMoreElements()) - { - InteractiveNode shape = (InteractiveNode)enum.nextElement(); - System.out.println(i + " " + shape.name() + " " + shape.isShowing()); - i++; - } - - System.out.println(); - } - - - //-------------------------------------------------------------------------- - // AbstractTableModel interface - //-------------------------------------------------------------------------- - - public int getColumnCount() - { - return columnNames_.length; - } - - public int getRowCount() - { - return shapes_.size(); - } - - public String getColumnName(int col) - { - return columnNames_[col]; - } - - public Object getValueAt(int row, int col) - { - InteractiveNode shape = (InteractiveNode)shapes_.elementAt(row); - - if (col == 0) - { - return shape.name(); - } - else - { - return new Boolean(shape.isShowing()); - } - } - - - public Class getColumnClass(int c) { - return getValueAt(0, c).getClass(); - } - - - public boolean isCellEditable(int row, int col) { - if (col == 0) { - return false; - } else { - return true; - } - } - - - public void setValueAt(Object value, int row, int col) { - if (DEBUG) - { - System.out.println - ( - "Setting value at " + row + "," + col - + " to " + value - + " (an instance of " - + value.getClass() + ")" - ); - } - - InteractiveNode shape = (InteractiveNode)shapes_.elementAt(row); - - if (col != 1) - { - System.out.println("**ERROR: col: " + col); - } - - Boolean bool = (Boolean)value; - if (bool.booleanValue() == true) - { - shape.show(); - } - else - { - shape.hide(); - } - - if (DEBUG) - { - println(); - } - - fireTableCellUpdated(row, col); - } - - - // - // Implementation of the TableModelListener interface - // - - // By default forward all events to all the listeners. - public void tableChanged(TableModelEvent e) { - fireTableChanged(e); - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/LoopNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/LoopNode.java deleted file mode 100644 index bff613a854..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/LoopNode.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - -//import java.awt.*; -//import java.awt.Font; - -//import com.sun.j3d.utils.applet.MainFrame; -//import com.sun.j3d.utils.geometry.Text2D; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.Mesh.PrimitivePatch; -import FoamX.Post.Shapes.FeatureLines; -import FoamX.Post.Shapes.Loop; - -public class LoopNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - Loop loop_; - boolean isShowing_; - - public LoopNode - ( - String myName, - PrimitivePatch patch, - FeatureLines featureLines - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - loop_ = new Loop(this, patch, featureLines); - - switch_.addChild(loop_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public Loop getLoop() - { - return loop_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - loop_.picked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - loop_.unPicked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - hide(); - loop_.remove(); - loop_ = null; - switch_ = null; - } - -} // end of class Loop diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/MeshLinesNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/MeshLinesNode.java deleted file mode 100644 index ff854dc23f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/MeshLinesNode.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - -//import java.awt.*; -//import java.awt.Font; - -//import com.sun.j3d.utils.applet.MainFrame; -//import com.sun.j3d.utils.geometry.Text2D; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.Shapes.MeshLines; -import FoamX.Post.Mesh.PrimitivePatch; - -public class MeshLinesNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - MeshLines meshLines_; - boolean isShowing_; - - public MeshLinesNode(String myName, float[] coords, int[] edgeList) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - meshLines_ = new MeshLines(this, coords, edgeList); - - switch_.addChild(meshLines_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public MeshLines getMeshLines() - { - return meshLines_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - meshLines_.picked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - meshLines_.unPicked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - hide(); - meshLines_.remove(); - meshLines_ = null; - switch_ = null; - } - -} // end of class MeshLinesNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchFacesNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchFacesNode.java deleted file mode 100644 index a382f325f3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchFacesNode.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - */ - -package FoamX.Post.InteractiveNodes; - -import com.sun.j3d.utils.picking.PickResult; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; - -import FoamX.Post.Shapes.PatchFaces; -import FoamX.Post.Mesh.PrimitivePatch; - - -public class PatchFacesNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - PatchFaces patchFaces_; - boolean isShowing_; - - - public PatchFacesNode - ( - String myName, - PrimitivePatch patch, - Color3f color, - double creaseAngle - ) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - patchFaces_ = new PatchFaces - ( - this, - patch, - color, - creaseAngle - ); - - switch_.addChild(patchFaces_); - - branchGroup_.addChild(switch_); - } - - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public PatchFaces getPatchFaces() - { - return patchFaces_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - - // Callback for if picked. - public void picked(PickResult pickResult) - { - patchFaces_.picked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - patchFaces_.unPicked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("Node show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("Node hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("Node remove:" + this.name()); - hide(); - patchFaces_.remove(); - patchFaces_ = null; - switch_ = null; - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchPointsNode.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchPointsNode.java deleted file mode 100644 index d97caee33c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/InteractiveNodes/PatchPointsNode.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * - */ - -package FoamX.Post.InteractiveNodes; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.Mesh.PrimitivePatch; -import FoamX.Post.Shapes.PatchPoints; - -public class PatchPointsNode implements InteractiveNode -{ - String myName_; - Switch switch_; - BranchGroup branchGroup_; - PatchPoints patchPoints_; - boolean isShowing_; - - public PatchPointsNode(String myName, PrimitivePatch patch, Color3f color) - { - myName_ = myName; - - isShowing_ = false; - - switch_ = new Switch(); - switch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - switch_.setCapability(Node.ALLOW_BOUNDS_READ); - - branchGroup_ = new BranchGroup(); - branchGroup_.setCapability(Node.ALLOW_BOUNDS_READ); - - patchPoints_ = new PatchPoints(this, patch, color); - - switch_.addChild(patchPoints_); - - branchGroup_.addChild(switch_); - } - - public BranchGroup getRoot() - { - return branchGroup_; - } - - public PatchPoints getPatchPoints() - { - return patchPoints_; - } - - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - - - public String name() - { - return myName_; - } - - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - patchPoints_.picked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - patchPoints_.unPicked(pickResult); - } - - //-------------------------------------------------------------------------- - - // Include in display - public void show() - { - //System.out.println("show:" + this.name()); - switch_.setWhichChild(Switch.CHILD_ALL); - isShowing_ = true; - } - - //-------------------------------------------------------------------------- - - // Exclude from display - public void hide() - { - //System.out.println("hide:" + this.name()); - switch_.setWhichChild(Switch.CHILD_NONE); - isShowing_ = false; - } - - //-------------------------------------------------------------------------- - - // Check status - public boolean isShowing() - { - return isShowing_; - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + this.name()); - hide(); - patchPoints_.remove(); - patchPoints_ = null; - switch_ = null; - } - -} // end of class PatchPointsNode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Mesh/PrimitivePatch.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Mesh/PrimitivePatch.java deleted file mode 100644 index 6ccd5a1afa..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Mesh/PrimitivePatch.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - */ - -package FoamX.Post.Mesh; - -import javax.media.j3d.*; -import javax.vecmath.Point3f; - -public class PrimitivePatch -{ - - public static final Point3f[] points = - { - new Point3f(0.0f, 0.0f, 0.0f), - new Point3f(1.0f, 0.0f, 0.0f), - new Point3f(1.0f, 1.0f, 0.0f), - new Point3f(0.5f, 2.0f, 0.0f), - new Point3f(0.0f, 1.0f, 0.0f), - - new Point3f(0.0f, 0.0f, 1.0f), - new Point3f(1.0f, 0.0f, 1.0f), - new Point3f(1.0f, 1.0f, 1.0f), - new Point3f(0.5f, 2.0f, 1.0f), - new Point3f(0.0f, 1.0f, 1.0f), - - new Point3f(0.5f, 0.8f, 0.0f), // 10 - new Point3f(0.5f, 0.8f, 1.0f) // 11 - - }; - - // Array of localFaces(but in 'sufaceMesh' pointLabels), - // one for each patch - static final int[][][] localFacesList = - { - - // Patch 0 - { - { 0, 1, 2,10}, // Face 0 - {10, 2, 3, 4}, // Face 1 - { 0,10, 4}, // Face 2 - - { 5, 6, 7,11}, // Face 3 - {11, 7, 8, 9}, // Face 4 - { 5,11, 9} // Face 5 - }, - // Patch 1 - { - {0, 5, 9, 6}, // Face 0 - {4, 9, 8, 3}, // Face 1 - {3, 8, 7, 2}, // Face 2 - {2, 7, 6, 1}, // Face 3 - {1, 6, 5, 0} // Face 4 - } - }; - - static final int[][] localTriFacesList = - { - - // Patch 0 - { - 0,10, 1, - 1,10, 2, - 2,10, 3, - 3,10, 4, - 4,10, 0, - - 5, 6,11, - 11, 6, 7, - 11, 7, 8, - 11, 8, 9, - 11, 9, 5 - }, - // Patch 1 - { - 0, 5, 9, - 0, 9, 4, - 4, 9, 8, - 4, 8, 3, - 3, 8, 7, - 3, 7, 2, - 2, 7, 6, - 2, 6, 1, - 1, 6, 5, - 1, 5, 0 - } - }; - - // For each triangle give index in localFacesList - static final int[][] triToPolyList = - { - - // Patch 0 - { - 0, - 0, - 1, - 1, - 2, - - 3, - 3, - 4, - 4, - 5 - }, - // Patch 1 - { - 0, - 0, - 1, - 1, - 2, - 2, - 3, - 3, - 4, - 4, - 5, - 5 - } - }; - - static final int[][] featureLinesList = - { - - // Patch 0 - { - 0, 1, 1, 2, 2, 3, 3, 4, 4, 0, - 5, 6, 6, 7, 7, 8, 8, 9, 9, 5, - 3, 10 // Loose "crease" - }, - // Patch 1 - { - 0, 1, 1, 2, 2, 3, 3, 4, 4, 0, - 5, 6, 6, 7, 7, 8, 8, 9, 9, 5, - 0, 5, 4, 9, 3, 8, 2, 7, 1, 6 - } - }; - - - int patchNo_; - - public PrimitivePatch(int patchNo) - { - patchNo_ = patchNo; - } - - - public int getPatchNo() - { - return patchNo_; - } - - //- Points - public int getNumPoints() - { - return points.length; - } - - //- Points - public Point3f[] getPoints() - { - return points; - } - - //- List of faces - public int[][] getLocalFaces() - { - return localFacesList[patchNo_]; - } - - //- List of triangulated faces - public int[] getLocalTriFaces() - { - return localTriFacesList[patchNo_]; - } - - //- List of triToPoly - public int[] getTriToPoly() - { - return triToPolyList[patchNo_]; - } - - //- List of labels. Every two are edge. Unsorted/unconnected. - public int[] getFeatureLines() - { - return featureLinesList[patchNo_]; - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/MouseModePanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/MouseModePanel.java deleted file mode 100644 index 34062054aa..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/MouseModePanel.java +++ /dev/null @@ -1,178 +0,0 @@ -package FoamX.Post; - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import java.util.*; - -import FoamX.Post.InteractiveNodes.InteractiveNode; -import FoamX.Post.InteractiveNodes.InteractiveNodeList; -import FoamX.Post.InteractiveNodes.FeatureLinesNode; -import FoamX.Post.Shapes.FeatureLines; - - -public class MouseModePanel extends JPanel -{ - static JFrame frame; - - static String zeroString = "rotate&pick"; - static String oneString = "create loop from patch0"; - static String twoString = "load arguments"; - static String threeString = "print shapes"; - - protected EventListenerList listenerList_; - InteractiveNodeList shapes_; - - - public MouseModePanel(InteractiveNodeList shapes) - { - shapes_ = shapes; - - // Create listener list. - listenerList_ = new EventListenerList(); - - - // Create the radio buttons. - JRadioButton zeroButton = new JRadioButton(zeroString); - zeroButton.setMnemonic(KeyEvent.VK_B); - zeroButton.setActionCommand(zeroString); - zeroButton.setSelected(true); - - JRadioButton oneButton = new JRadioButton(oneString); - oneButton.setMnemonic(KeyEvent.VK_R); - oneButton.setActionCommand(oneString); - - JRadioButton twoButton = new JRadioButton(twoString); - twoButton.setMnemonic(KeyEvent.VK_R); - twoButton.setActionCommand(twoString); - - JRadioButton threeButton = new JRadioButton(threeString); - threeButton.setMnemonic(KeyEvent.VK_R); - threeButton.setActionCommand(threeString); - - // Group the radio buttons. - ButtonGroup group = new ButtonGroup(); - group.add(zeroButton); - group.add(oneButton); - group.add(twoButton); - group.add(threeButton); - - // Register a listener for the radio buttons. - RadioListener zeroListener = new RadioListener(0); - zeroButton.addActionListener(zeroListener); - RadioListener oneListener = new RadioListener(1); - oneButton.addActionListener(oneListener); - RadioListener twoListener = new RadioListener(2); - twoButton.addActionListener(twoListener); - RadioListener threeListener = new RadioListener(3); - threeButton.addActionListener(threeListener); - - - // Put the radio buttons in a column in a panel - JPanel radioPanel = new JPanel(); - radioPanel.setLayout(new GridLayout(0, 1)); - radioPanel.add(zeroButton); - radioPanel.add(oneButton); - radioPanel.add(twoButton); - radioPanel.add(threeButton); - - setLayout(new BorderLayout()); - add(radioPanel, BorderLayout.WEST); - setBorder(BorderFactory.createEmptyBorder(20,20,20,20)); - } - - /** Listens to the radio buttons. */ - class RadioListener implements ActionListener - { - int choice_; - - public RadioListener(int choice) - { - super(); - choice_ = choice; - } - - public void actionPerformed(ActionEvent e) { -// System.out.println(e.getActionCommand()); - -// InteractiveNode shape = shapes_.getByName("featureLines_0"); -// System.out.println("Found shape=" + shape); -// -// if (e.getActionCommand() == oneString) -// { -// FeatureLinesNode node = (FeatureLinesNode)shape; -// FeatureLines fLines = node.getFeatureLines(); -// -// int[] edges = fLines.getSelectedEdges(); -// for(int i = 0; i < edges.length; i++) -// { -// System.out.println("i=" + i + " edges=" + edges[i]); -// } -// -// //shape.hide(); -// } -// else if (e.getActionCommand() == zeroString) -// { -// //shape.show(); -// } - -// fireChoice(new ChoiceEvent(this, choice_)); - fireChoice(e); - } - } - - - //-------------------------------------------------------------------------- - //---- ChoiceListener Methods - //-------------------------------------------------------------------------- - public void addChoiceListener(ChoiceListener l) - { - listenerList_.add(ChoiceListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeChoiceListener(ChoiceListener l) - { - listenerList_.remove(ChoiceListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireChoice(ActionEvent e) - { - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == ChoiceListener.class) - { - ((ChoiceListener)listeners[i+1]).actionPerformed(e); - } - } - } - - - //-------------------------------------------------------------------------- - //---- Main - //-------------------------------------------------------------------------- - public static void main(String s[]) - { - frame = new JFrame("Mouse Action"); - frame.addWindowListener - ( - new WindowAdapter() - { - public void windowClosing(WindowEvent e) {System.exit(0);} - } - ); - - frame.getContentPane().add - ( - new MouseModePanel(new InteractiveNodeList()), - BorderLayout.CENTER - ); - frame.pack(); - frame.setVisible(true); - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeEvent.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeEvent.java deleted file mode 100644 index 7cc8f89343..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeEvent.java +++ /dev/null @@ -1,66 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Post.Panels; - - -public class TimeChangeEvent - extends java.util.EventObject -{ - protected int timeIndex_; - protected double time_; - - /** TimeChangeEvent constructor. */ - public TimeChangeEvent - ( - Object source, - int timeIndex, - double time - ) - { - super(source); - timeIndex_ = timeIndex; - time = time; - } - - - public String toString() - { - return "TimeChangeEvent : index:" + timeIndex_ + " time:" + time_; - } - - public int getTimeIndex() - { - return timeIndex_; - } - - public double getTime() - { - return time_; - } -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeListener.java deleted file mode 100644 index 955a62a17e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimeChangeListener.java +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Post.Panels; - -public interface TimeChangeListener - extends java.util.EventListener -{ - public abstract void timeChanged(TimeChangeEvent evt); -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimePanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimePanel.java deleted file mode 100644 index 4b3653b1da..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Panels/TimePanel.java +++ /dev/null @@ -1,219 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Post.Panels; - -import java.awt.Container; -import java.awt.GridLayout; -import java.awt.Dimension; -import java.awt.event.*; -import java.awt.event.ActionEvent; -import java.awt.Graphics; -import java.awt.GraphicsConfiguration; -import java.io.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; - -import com.sun.j3d.utils.universe.*; -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamXServer.*; -import FoamXServer.CasePostServer.ICasePostServer; - -import FoamX.App; -import FoamX.Post.Panels.*; -import FoamX.Post.PostApp; - -public class TimePanel extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - protected ICasePostServer casePostServer_; - protected PostApp pp_; - protected String caseRoot_; - protected String caseName_; - protected EventListenerList listenerList_; - - - //-------------------------------------------------------------------------- - /** Creates new form TimePanel */ - public TimePanel - ( - ICasePostServer casePostServer, - PostApp pp, - String caseRoot, - String caseName - ) - { - super(); - - // Create listener list. - listenerList_ = new EventListenerList(); - - casePostServer_ = casePostServer; - pp_ = pp; - caseRoot_ = caseRoot; - caseName_ = caseName; - - initComponents(); - - updateButton_ActionPerformed(new ActionEvent(this, 0, "dummy")); - } - - //-------------------------------------------------------------------------- - - private void initComponents() - { - updateButton_ = new javax.swing.JButton("Read Times"); - timeBox_ = new javax.swing.JComboBox(); - - // Globalpanel - this.setLayout(new GridLayout(1, 2)); - this.add(updateButton_); - this.add(timeBox_); - - // Listeners - updateButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - updateButton_ActionPerformed(evt); - } - } - ); - timeBox_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - timeBox_ActionPerformed(evt); - } - } - ); - -// java.awt.Dimension screenSize = -// java.awt.Toolkit.getDefaultToolkit().getScreenSize(); -// //setSize(new java.awt.Dimension(300, 200)); -// setLocation((screenSize.width-480)/2,(screenSize.height-200)/2); - }//GEN-END:initComponents - - - private void updateButton_ActionPerformed(ActionEvent evt) - { - String[] timeSteps = casePostServer_.availableTimeSteps(); - timeBox_.removeAllItems(); - for(int i = 0; i < timeSteps.length; i++) - { - timeBox_.addItem(timeSteps[i]); - } - //timeBox_ActionPerformed(new ActionEvent(this, 0, "dummy")); - } - - private void timeBox_ActionPerformed(ActionEvent evt) - { - try - { - if (timeBox_.getSelectedItem() != null) - { - String timeName = (String)timeBox_.getSelectedItem(); - - int timeIndex = timeBox_.getSelectedIndex(); - - casePostServer_.setTime(timeName, timeIndex); - - fireTimeChanged(timeIndex, Double.parseDouble(timeName)); - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - //-------------------------------------------------------------------------- - //---- TimeChangeListener Methods - //-------------------------------------------------------------------------- - - public void addTimeChangeListener(TimeChangeListener l) - { - listenerList_.add(TimeChangeListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeTimeChangeListener(TimeChangeListener l) - { - listenerList_.remove(TimeChangeListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireTimeChanged(int timeIndex, double timeValue) - { - // Create event object. - TimeChangeEvent evt = new TimeChangeEvent(this, timeIndex, timeValue); - - // Process the listeners last to first, notifying those that - // are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == TimeChangeListener.class) - { - ((TimeChangeListener)listeners[i+1]).timeChanged(evt); - } - } - } - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JButton updateButton_; - private javax.swing.JComboBox timeBox_; - - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PatchSelector-WORKING.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PatchSelector-WORKING.java deleted file mode 100644 index 53e21c24f7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PatchSelector-WORKING.java +++ /dev/null @@ -1,1088 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Post; - -import java.awt.Container; -import java.awt.GridLayout; -import java.awt.Dimension; -import java.awt.event.*; -import java.awt.event.ActionEvent; -import java.awt.Graphics; -import java.awt.GraphicsConfiguration; -import java.io.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; - -import com.sun.j3d.utils.universe.*; -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamXServer.*; -import FoamXServer.CasePostServer.ICasePostServer; - -import FoamX.App; -import FoamX.CaseManagement.CaseStatusListener; -import FoamX.CaseManagement.CaseStatusEvent; - -import FoamX.Post.InteractiveNodes.InteractiveNodeList; -import FoamX.Post.InteractiveNodes.ColoredSurfaceByRefNode; -import FoamX.Post.InteractiveNodes.MeshLinesNode; -import FoamX.Post.InteractiveNodes.ColorBar2DNode; -import FoamX.Post.InteractiveNodes.ArrowsNode; -import FoamX.Post.Shapes.ColoredSurfaceByRef; -import FoamX.Post.Util.Colorizer; -import FoamX.Post.Util.ArrayStats; -import FoamX.Post.Util.PrintManager; -import FoamX.Post.Util.Placement; -import FoamX.Post.Panels.*; - -public class PostWindow extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - public static final boolean KILL_SERVER = true; - - protected java.awt.Frame parent_; - protected ICasePostServer casePostServer_; - protected PostApp pp_; - protected String caseRoot_; - protected String caseName_; - protected EventListenerList listenerList_; - protected int patchNo_; - protected int cutNo_; - protected Transform3D look_; - - - //-------------------------------------------------------------------------- - /** Creates new form PostWindow */ - public PostWindow - ( - java.awt.Frame parent, - ICasePostServer casePostServer, - PostApp pp, - String caseRoot, - String caseName - ) - { - super(parent, "Post Processor", false); // Non modal. - - // Create listener list. - listenerList_ = new EventListenerList(); - - parent_ = parent; - casePostServer_ = casePostServer; - pp_ = pp; - caseRoot_ = caseRoot; - caseName_ = caseName; - - patchNo_ = 0; - cutNo_ = 0; - - look_ = new Transform3D(); - - initComponents(); - - updateButton_ActionPerformed(new ActionEvent(this, 0, "dummy")); - - show(); - } - - //-------------------------------------------------------------------------- - /** Close the case and release the case post server object. - */ - public void closeCase(boolean killServer) - { - try - { - // Close down the case server and unlock the case. - if (killServer && (casePostServer_ != null)) - { - System.out.println("Killing casePostServer"); - casePostServer_.close(); - casePostServer_ = null; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - - //-------------------------------------------------------------------------- - private void initComponents() - { - mainPanel_ = new javax.swing.JPanel(); - - globalPanel_ = new javax.swing.JPanel(); - updateButton_ = new javax.swing.JButton("Read Times"); - timeBox_ = new javax.swing.JComboBox(); - fieldTypeBox_ = new javax.swing.JComboBox(); - fieldNameBox_ = new javax.swing.JComboBox(); - minField_ = new JTextField("0"); - maxField_ = new JTextField("1"); - vecSizeField_ = new JTextField("1"); - - patchPanel_ = new javax.swing.JPanel(); - patchBox_ = new javax.swing.JComboBox(); - createPatchButton_ = new javax.swing.JButton("Create Patch"); - - cutPanel_ = new javax.swing.JPanel(); - xField_ = new JTextField("0"); - yField_ = new JTextField("0"); - zField_ = new JTextField("0"); - xNField_ = new JTextField("0"); - yNField_ = new JTextField("0"); - zNField_ = new JTextField("1"); - createCutButton_ = new javax.swing.JButton("Create Cut"); - createMeshCutButton_ = new javax.swing.JButton("Create Mesh Cut"); - - viewPanel_ = new javax.swing.JPanel(); - xEyeField_ = new JTextField("1"); - yEyeField_ = new JTextField("0"); - zEyeField_ = new JTextField("0"); - xCenterField_ = new JTextField("0"); - yCenterField_ = new JTextField("0"); - zCenterField_ = new JTextField("0"); - xUpField_ = new JTextField("0"); - yUpField_ = new JTextField("0"); - zUpField_ = new JTextField("1"); - setViewButton_ = new javax.swing.JButton("Set View"); - - xResField_ = new JTextField("2000"); - yResField_ = new JTextField("2000"); - printFileName_ = new JFileChooser(new File(".")); - printFileName_.setSelectedFile(new File("FoamX.jpg")); - printButton_ = new javax.swing.JButton("Print"); - - closeButton_ = new javax.swing.JButton("Close"); - - // Mainpanel - mainPanel_.setLayout(new GridLayout(4, 1)); - mainPanel_.add(globalPanel_); - mainPanel_.add(patchPanel_); - mainPanel_.add(cutPanel_); - mainPanel_.add(viewPanel_); - //mainPanel_.add(closeButton_); - - // Globalpanel - globalPanel_.setLayout(new GridLayout(7, 2)); - - globalPanel_.add(new JLabel("Read Times")); - globalPanel_.add(updateButton_); - - globalPanel_.add(new JLabel("Time")); - globalPanel_.add(timeBox_); - - globalPanel_.add(new JLabel("Type")); - fieldTypeBox_.addItem("volScalarField"); - fieldTypeBox_.addItem("volVectorField"); - globalPanel_.add(fieldTypeBox_); - - globalPanel_.add(new JLabel("Name")); - globalPanel_.add(fieldNameBox_); - - globalPanel_.add(new JLabel("Min")); - globalPanel_.add(minField_); - - globalPanel_.add(new JLabel("Max")); - globalPanel_.add(maxField_); - - globalPanel_.add(new JLabel("VecSize")); - globalPanel_.add(vecSizeField_); - - - // Patchpanel - patchPanel_.setLayout(new GridLayout(2, 2)); - patchPanel_.add(new JLabel("Patch")); - patchPanel_.add(patchBox_); - - patchPanel_.add(new JLabel("Create Patch")); - patchPanel_.add(createPatchButton_); - - // Cutpanel - cutPanel_.setLayout(new GridLayout(3, 4)); - cutPanel_.add(new JLabel("Point")); - cutPanel_.add(xField_); - cutPanel_.add(yField_); - cutPanel_.add(zField_); - - cutPanel_.add(new JLabel("Normal")); - cutPanel_.add(xNField_); - cutPanel_.add(yNField_); - cutPanel_.add(zNField_); - - cutPanel_.add(new JLabel("Create Cut")); - cutPanel_.add(createCutButton_); - cutPanel_.add(new JLabel("Create Mesh Cut")); - cutPanel_.add(createMeshCutButton_); - - // Viewpanel - viewPanel_.setLayout(new GridLayout(5,4)); - - viewPanel_.add(new JLabel("Eye")); - viewPanel_.add(xEyeField_); - viewPanel_.add(yEyeField_); - viewPanel_.add(zEyeField_); - - viewPanel_.add(new JLabel("Center")); - viewPanel_.add(xCenterField_); - viewPanel_.add(yCenterField_); - viewPanel_.add(zCenterField_); - - viewPanel_.add(new JLabel("Up")); - viewPanel_.add(xUpField_); - viewPanel_.add(yUpField_); - viewPanel_.add(zUpField_); - - viewPanel_.add(new JLabel("")); - viewPanel_.add(new JLabel("")); - viewPanel_.add(setViewButton_); - viewPanel_.add(new JLabel("")); - - viewPanel_.add(xResField_); - viewPanel_.add(yResField_); - viewPanel_.add(printButton_); - viewPanel_.add(closeButton_); - - Container c = getContentPane(); - c.add(mainPanel_); - - // Listeners - updateButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - updateButton_ActionPerformed(evt); - } - } - ); - timeBox_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - timeBox_ActionPerformed(evt); - } - } - ); - fieldTypeBox_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - fieldTypeBox_ActionPerformed(evt); - } - } - ); - createPatchButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - createPatchButton_ActionPerformed(evt); - } - } - ); - createCutButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - createCutButton_ActionPerformed(evt); - } - } - ); - createMeshCutButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - createMeshCutButton_ActionPerformed(evt); - } - } - ); - setViewButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - setViewButton_ActionPerformed(evt); - } - } - ); - printButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - printButton_ActionPerformed(evt); - } - } - ); - - // Window closing - setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); - addWindowListener - ( - new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeButton_ActionPerformed(new ActionEvent(this, 0, "dummy")); - } - } - ); - closeButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - closeButton_ActionPerformed(evt); - } - } - ); - - - - pack(); - java.awt.Dimension screenSize = - java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - //setSize(new java.awt.Dimension(300, 200)); - setLocation((screenSize.width-480)/2,(screenSize.height-200)/2); - }//GEN-END:initComponents - - - private void closeButton_ActionPerformed(ActionEvent evt) - { - fireClosePostCase - ( - caseRoot_, - caseName_ - ); - } - - private void updateButton_ActionPerformed(ActionEvent evt) - { - String[] timeSteps = casePostServer_.availableTimeSteps(); - timeBox_.removeAllItems(); - for(int i = 0; i < timeSteps.length; i++) - { - timeBox_.addItem(timeSteps[i]); - } - timeBox_ActionPerformed(new ActionEvent(this, 0, "dummy")); - } - - private void setFieldNames(String fieldType) - { - try - { - if (fieldType == null) - { - return; - } - - String[] fieldNames = - casePostServer_.getFieldNames(fieldType); - - fieldNameBox_.removeAllItems(); - for(int i = 0; i < fieldNames.length; i++) - { - fieldNameBox_.addItem(fieldNames[i]); - } - } - catch (FoamXError fxErr) - { - System.out.println("fxErr"); - } - catch (FoamXIOError ioErr) - { - System.out.println("ioErr"); - } - } - - private void timeBox_ActionPerformed(ActionEvent evt) - { - try - { - if (timeBox_.getSelectedItem() != null) - { - float timeValue = - Float.valueOf((String)timeBox_.getSelectedItem()).floatValue(); - int timeIndex = timeBox_.getSelectedIndex(); - - casePostServer_.setTime(timeValue, timeIndex); - - String[] patchNames = casePostServer_.getPatchNames(); - - patchBox_.removeAllItems(); - for(int i = 0; i < patchNames.length; i++) - { - patchBox_.addItem(patchNames[i]); - } - - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - setFieldNames(fieldType); - } - } - catch (FoamXError fxErr) - { - System.out.println("fxErr"); - } - catch (FoamXIOError ioErr) - { - System.out.println("ioErr"); - } - } - - private void fieldTypeBox_ActionPerformed(ActionEvent evt) - { - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - setFieldNames(fieldType); - } - - private void createPatchButton_ActionPerformed(ActionEvent evt) - { - try - { - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - String fieldName = (String)fieldNameBox_.getSelectedItem(); - String patchName = (String)patchBox_.getSelectedItem(); - - if - ( - (fieldName == null) - || (patchName == null) - || (fieldType == null) - || !fieldType.equals("volScalarField") - ) - { - return; - } - - floatListHolder pointsContainer = new floatListHolder(); - longListHolder facesContainer = new longListHolder(); - floatListHolder valuesContainer = new floatListHolder(); - - // Read patch geometry + data - casePostServer_.getTriPatch - ( - fieldName, - patchName, - pointsContainer, - facesContainer, - valuesContainer - ); - - float[] points = pointsContainer.value; - int[] faces = facesContainer.value; - float[] values = valuesContainer.value; - - if (faces.length == 0) - { - System.out.println("Zero size patcht."); - return; - } - - float minValue = - Float.valueOf((String)minField_.getText()).floatValue(); - float maxValue = - Float.valueOf((String)maxField_.getText()).floatValue(); - - if ((minValue == 0.0f) && (maxValue == 0.0f)) - { - // Autocolor - ArrayStats stats = new ArrayStats(values); - minValue = stats.getMin(); - maxValue = stats.getMax(); - } - - String name = - "patch_" + patchName + "_" + fieldName - + Integer.toString(patchNo_++); - - // Create geometry object from patch data - ColoredSurfaceByRefNode ss0 = new ColoredSurfaceByRefNode - ( - name, - false, - false, - Math.PI / 4.5, - points, - null, - faces, - values, - pp_.getColorizer(), - minValue, - maxValue - ); - ColoredSurfaceByRef ss = ss0.getColoredSurfaceByRef(); - ss.setAppearance - ( - PostApp.createMaterialAppearance() - ); - ss0.show(); - pp_.getScene().addChild(ss0.getRoot()); - pp_.getShapes().addElement(ss0); - } - catch(NumberFormatException nex) - { - System.out.println("NumberFormatException"); - } - catch (FoamXError fxErr) - { - System.out.println("fxErr"); - } - catch (FoamXIOError ioErr) - { - System.out.println("ioErr"); - } - } - - private void createCutButton_ActionPerformed(ActionEvent evt) - { - try - { - float x = Float.valueOf(xField_.getText()).floatValue(); - float y = Float.valueOf(yField_.getText()).floatValue(); - float z = Float.valueOf(zField_.getText()).floatValue(); - - float xN = Float.valueOf(xNField_.getText()).floatValue(); - float yN = Float.valueOf(yNField_.getText()).floatValue(); - float zN = Float.valueOf(zNField_.getText()).floatValue(); - - float vecSize = Float.valueOf(vecSizeField_.getText()).floatValue(); - - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - String fieldName = (String)fieldNameBox_.getSelectedItem(); - - if ((fieldName == null) || (fieldType == null)) - { - return; - } - if ((Math.abs(xN)+Math.abs(yN)+Math.abs(zN)) == 0.0) - { - return; - } - - // Read patch geometry + data - float[] basePoint = {x, y, z}; - float[] normal = {xN, yN, zN}; - - if (fieldType.equals("volScalarField")) - { - cutScalar(fieldName, basePoint, normal); - } - else if (fieldType.equals("volVectorField")) - { - cutVector(fieldName, basePoint, normal, vecSize); - } - } - catch(NumberFormatException nex) - { - System.out.println("NumberFormatException"); - } - } - - - - private void cutScalar - ( - String fieldName, - float[] basePoint, - float[] normal - ) - { - try - { - floatListHolder pointsContainer = new floatListHolder(); - longListHolder facesContainer = new longListHolder(); - floatListHolder valuesContainer = new floatListHolder(); - - casePostServer_.cutPlane - ( - fieldName, - basePoint, - normal, - pointsContainer, - facesContainer, - valuesContainer - ); - float[] points = pointsContainer.value; - int[] faces = facesContainer.value; - float[] values = valuesContainer.value; - - if (faces.length == 0) - { - System.out.println("Zero size cut."); - return; - } - String name = - "cut_" + fieldName + "_" + (String)timeBox_.getSelectedItem() - + "_" + Integer.toString(cutNo_++); - - float minValue = - Float.valueOf((String)minField_.getText()).floatValue(); - float maxValue = - Float.valueOf((String)maxField_.getText()).floatValue(); - - if ((minValue == 0.0f) && (maxValue == 0.0f)) - { - // Autocolor - ArrayStats stats = new ArrayStats(values); - minValue = stats.getMin(); - maxValue = stats.getMax(); - } - - // Create geometry object from patch data - ColoredSurfaceByRefNode ss0 = new ColoredSurfaceByRefNode - ( - name, - false, - false, - Math.PI / 4.5, - points, - null, - faces, - values, - pp_.getColorizer(), - minValue, - maxValue - ); - ColoredSurfaceByRef ss = ss0.getColoredSurfaceByRef(); - ss.setAppearance - ( - PostApp.createMaterialAppearance() - ); - ss0.show(); - pp_.getScene().addChild(ss0.getRoot()); - pp_.getShapes().addElement(ss0); - - // Add colorBar - ColorBar2DNode colorBar = new ColorBar2DNode - ( - "ColorBar_0", - pp_.getUniverse().getCanvas(), - new Placement(new Dimension(10, 10), Placement.TOPLEFT), - new Dimension(20, 128), - pp_.getColorizer(), - minValue, - maxValue - ); - colorBar.show(); - TransformGroup viewTrans = - pp_.getUniverse().getViewingPlatform() - .getViewPlatformTransform(); - viewTrans.addChild(colorBar.getRoot()); - pp_.getShapes().addElement(colorBar); - - } - catch(NumberFormatException nex) - { - System.out.println("NumberFormatException"); - } - catch(FoamXError fxErr) - { - System.out.println("fxErr:" + fxErr); - } - catch(FoamXIOError ioErr) - { - System.out.println("ioErr:" + ioErr); - } - } - - - - private void cutVector - ( - String fieldName, - float[] basePoint, - float[] normal, - float vecSize - ) - { - try - { - floatListHolder pointsContainer = new floatListHolder(); - longListHolder facesContainer = new longListHolder(); - floatListHolder valuesContainer = new floatListHolder(); - - casePostServer_.cutPlaneVec - ( - fieldName, - basePoint, - normal, - pointsContainer, - facesContainer, - valuesContainer - ); - float[] points = pointsContainer.value; - int[] faces = facesContainer.value; - float[] values = valuesContainer.value; - - if (faces.length == 0) - { - System.out.println("Zero size cut."); - return; - } - - // Convert into vectors on face centers. - int nVecs = values.length / 3; - float[] sampleCoords = new float[values.length]; - - int vertI = 0; - for(int i = 0; i < nVecs; i++) - { - int a = faces[vertI]; - int b = faces[vertI+1]; - int c = faces[vertI+2]; - - // Average vertex coords - float x = points[3*a] + points[3*b] + points[3*c]; - x /= 3.0f; - - float y = points[3*a+1] + points[3*b+1] + points[3*c+1]; - y /= 3.0f; - - float z = points[3*a+2] + points[3*b+2] + points[3*c+2]; - z /= 3.0f; - - sampleCoords[vertI] = x; - sampleCoords[vertI+1] = y; - sampleCoords[vertI+2] = z; - - vertI += 3; - } - -// System.out.println("SampleCoords:"); -// for(int i = 0; i < sampleCoords.length; i+=3) -// { -// System.out.println -// ( -// "i:" + i + " " + sampleCoords[i] + " " + sampleCoords[i+1] -// + " " + sampleCoords[i+2] -// ); -// } - - - String name = - "cut_" + fieldName + "_" + (String)timeBox_.getSelectedItem() - + "_" + Integer.toString(cutNo_++); - - // Create geometry object from patch data - ArrowsNode arr0 = new ArrowsNode - ( - name, - sampleCoords, - values, - vecSize, - null - ); - arr0.show(); - pp_.getScene().addChild(arr0.getRoot()); - pp_.getShapes().addElement(arr0); - } - catch(NumberFormatException nex) - { - System.out.println("NumberFormatException"); - } - catch(FoamXError fxErr) - { - System.out.println("fxErr:" + fxErr); - } - catch(FoamXIOError ioErr) - { - System.out.println("ioErr:" + ioErr); - } - } - - - - - private void createMeshCutButton_ActionPerformed(ActionEvent evt) - { - try - { - float x = - Float.valueOf(xField_.getText()).floatValue(); - float y = - Float.valueOf(yField_.getText()).floatValue(); - float z = - Float.valueOf(zField_.getText()).floatValue(); - - float xN = - Float.valueOf(xNField_.getText()).floatValue(); - float yN = - Float.valueOf(yNField_.getText()).floatValue(); - float zN = - Float.valueOf(zNField_.getText()).floatValue(); - - if ((Math.abs(xN)+Math.abs(yN)+Math.abs(zN)) == 0.0) - { - return; - } - - floatListHolder pointsContainer = new floatListHolder(); - longListHolder edgesContainer = new longListHolder(); - - // Read patch geometry + data - float[] basePoint = {x, y, z}; - float[] normal = {xN, yN, zN}; - - casePostServer_.cutMesh - ( - basePoint, - normal, - pointsContainer, - edgesContainer - ); - - float[] points = pointsContainer.value; - int[] edges = edgesContainer.value; - - if (edges.length > 0) - { - String name = - "meshCut_" + Integer.toString(cutNo_++); - - // Create geometry object - MeshLinesNode ml0 = new MeshLinesNode - ( - name, - points, - edges - ); - ml0.show(); - pp_.getScene().addChild(ml0.getRoot()); - pp_.getShapes().addElement(ml0); - } - else - { - System.out.println("Zero size cut."); - } - } - catch(NumberFormatException nex) - { - System.out.println("NumberFormatException"); - } - catch(FoamXError fxErr) - { - System.out.println("fxErr:" + fxErr); - } - catch(FoamXIOError ioErr) - { - System.out.println("ioErr:" + ioErr); - } - } - - private void setViewButton_ActionPerformed(ActionEvent evt) - { - try - { - float xEye = - Float.valueOf(xEyeField_.getText()).floatValue(); - float yEye = - Float.valueOf(yEyeField_.getText()).floatValue(); - float zEye = - Float.valueOf(zEyeField_.getText()).floatValue(); - - float xCenter = - Float.valueOf(xCenterField_.getText()).floatValue(); - float yCenter = - Float.valueOf(yCenterField_.getText()).floatValue(); - float zCenter = - Float.valueOf(zCenterField_.getText()).floatValue(); - - float xUp = - Float.valueOf(xUpField_.getText()).floatValue(); - float yUp = - Float.valueOf(yUpField_.getText()).floatValue(); - float zUp = - Float.valueOf(zUpField_.getText()).floatValue(); - - Point3d eye = new Point3d(xEye, yEye, zEye); - Point3d center = new Point3d(xCenter, yCenter, zCenter); - Vector3d up = new Vector3d(xUp, yUp, zUp); - - look_.lookAt(eye, center, up); - look_.invert(); - - ViewingPlatform viewingPlatform = - pp_.getUniverse().getViewingPlatform(); - TransformGroup viewTrans = - viewingPlatform.getViewPlatformTransform(); - viewTrans.setTransform(look_); - } - catch(NumberFormatException nex) - { - System.out.println("NumberFormatException"); - } - } - - private void printButton_ActionPerformed(ActionEvent evt) - { - try - { - int xRes = - Integer.parseInt(xResField_.getText()); - int yRes = - Integer.parseInt(yResField_.getText()); - - System.out.println("xRes:" + xRes + " yRes:" + yRes); - - // Choose file to print to - if - ( - printFileName_.showOpenDialog(this) - != JFileChooser.APPROVE_OPTION - ) - { - return; - } - String fileName = printFileName_.getSelectedFile().getName(); - System.out.println("Printing to " + fileName); - - PrintManager printManager = pp_.getPrintManager(); - printManager.print(new Dimension(xRes, yRes), fileName); - } - catch(NumberFormatException nex) - { - System.out.println("NumberFormatException"); - } - - } - - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel mainPanel_; - private javax.swing.JComboBox timeBox_; - private javax.swing.JComboBox fieldTypeBox_; - private javax.swing.JComboBox fieldNameBox_; - private javax.swing.JTextField minField_; - private javax.swing.JTextField maxField_; - private javax.swing.JTextField vecSizeField_; - private javax.swing.JComboBox patchBox_; - private javax.swing.JButton updateButton_; - private javax.swing.JButton createPatchButton_; - private javax.swing.JButton createMeshCutButton_; - - private javax.swing.JPanel globalPanel_; - private javax.swing.JPanel patchPanel_; - private javax.swing.JPanel cutPanel_; - private javax.swing.JTextField xField_; - private javax.swing.JTextField yField_; - private javax.swing.JTextField zField_; - private javax.swing.JTextField xNField_; - private javax.swing.JTextField yNField_; - private javax.swing.JTextField zNField_; - private javax.swing.JButton createCutButton_; - private javax.swing.JButton closeButton_; - - private javax.swing.JPanel viewPanel_; - private javax.swing.JTextField xEyeField_; - private javax.swing.JTextField yEyeField_; - private javax.swing.JTextField zEyeField_; - private javax.swing.JTextField xCenterField_; - private javax.swing.JTextField yCenterField_; - private javax.swing.JTextField zCenterField_; - private javax.swing.JTextField xUpField_; - private javax.swing.JTextField yUpField_; - private javax.swing.JTextField zUpField_; - private javax.swing.JButton setViewButton_; - - private javax.swing.JTextField xResField_; - private javax.swing.JTextField yResField_; - private javax.swing.JButton printButton_; - private javax.swing.JFileChooser printFileName_; - - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - //---- CaseStatusListener Methods - //-------------------------------------------------------------------------- - - public void addCaseStatusListener(CaseStatusListener l) - { - listenerList_.add(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCaseStatusListener(CaseStatusListener l) - { - listenerList_.remove(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireClosePostCase(String caseRoot, String caseName) - { - System.out.println("PostWindow: firing closing event for " + caseName); - - // Create event object. - CaseStatusEvent evt = new CaseStatusEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that - // are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseStatusListener.class) - { - ((CaseStatusListener)listeners[i+1]).casePostClosed(evt); - } - } - } - - -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostApp.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostApp.java deleted file mode 100644 index e02928f063..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostApp.java +++ /dev/null @@ -1,775 +0,0 @@ -/* - * PostApp.java - * - */ -package FoamX.Post; - -import java.applet.Applet; -import java.awt.BorderLayout; -//import java.awt.Color.*; -import java.awt.*; -import java.awt.event.*; -import java.awt.image.*; -import java.awt.Graphics; -import java.awt.GraphicsConfiguration; -import javax.swing.*; -import java.util.*; - -import com.sun.j3d.utils.applet.MainFrame; -import com.sun.j3d.utils.behaviors.vp.*; -import com.sun.j3d.utils.behaviors.mouse.*; -import com.sun.j3d.utils.behaviors.keyboard.*; -import com.sun.j3d.utils.picking.PickTool; -import com.sun.j3d.utils.universe.*; -import com.sun.j3d.utils.geometry.*; -import com.sun.j3d.utils.behaviors.keyboard.KeyNavigatorBehavior; -import com.sun.j3d.utils.behaviors.mouse.*; - -import javax.media.j3d.*; -import javax.vecmath.*; -import javax.vecmath.Color3f; - -import FoamXServer.CasePostServer.ICasePostServer; - -import FoamX.Post.InteractiveNodes.*; -import FoamX.Post.Util.Colorizer; -import FoamX.Post.Util.KeyBehavior; -import FoamX.Post.Util.OrbitPickBehavior; -import FoamX.Post.Util.myOrbitBehavior; -import FoamX.Post.Util.myMouseScale; -//import FoamX.Post.Util.myMouseZoom; -//import FoamX.Post.Util.myViewOrbitBehavior; -import FoamX.Post.Util.PickDragBehavior; -//import FoamX.Post.Util.PrintManager; -import FoamX.Post.Util.Placement; -import FoamX.Post.Table.NodeTable; -import FoamX.Post.Util.OffScreenCanvas3D; - -public class PostApp extends Applet implements MouseBehaviorCallback -{ - private static final int OFF_SCREEN_SCALE_X = 10; - private static final int OFF_SCREEN_SCALE_Y = 10; - - ICasePostServer casePostServer_; - String caseRoot_; - String caseName_; - - NodeTable nodeTable_; - PostWindow postWindow_; - - OrbitPickBehavior pickBeh_; - KeyBehavior key_; - //myOrbitBehavior orbit_; - OrbitBehavior orbit_; - myMouseScale ms_; - - InteractiveNodeList shapes_; - BranchGroup scene_; - SimpleUniverse u_ = null; - Colorizer colorizer_; -// PrintManager printManager_; - Switch printSwitch_; - - Color bgColor_; - Color3f bgColor3f_; - Color fgColor_; - Color3f fgColor3f_; - - private OffScreenCanvas3D offScreenCanvas3D_; - - public BranchGroup createSceneGraph(SimpleUniverse u) - { - - // Create the root of the branch graph - BranchGroup objRoot = new BranchGroup(); - - // Switch for printer canvas rendering - printSwitch_ = new Switch(); - printSwitch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - printSwitch_.setCapability(Switch.ALLOW_CHILDREN_EXTEND); - printSwitch_.setCapability(Switch.ALLOW_CHILDREN_WRITE); - printSwitch_.setWhichChild(Switch.CHILD_NONE); - //printSwitch_.setCapability(Shape3D.ALLOW_BOUNDS_READ); - objRoot.addChild(printSwitch_); - - -// // Create a Transformgroup to scale all objects so they -// // appear in the scene. -// TransformGroup objScale = new TransformGroup(); -// Transform3D t3d = new Transform3D(); -// t3d.setScale(0.3); -// objScale.setTransform(t3d); -// objRoot.addChild(objScale); - - -// // Create the TransformGroup node and initialize it to the -// // identity. Enable the TRANSFORM_WRITE capability so that -// // our behavior code can modify it at run time. Add it to -// // the root of the subgraph. -// TransformGroup objTrans = new TransformGroup(); -// objTrans.setCapability(TransformGroup.ENABLE_PICK_REPORTING); -// objRoot.addChild(objTrans); - - // Axis - AxisNode axis = new AxisNode("axis", new Color3f(1.0f, 1.0f, 0.0f)); - objRoot.addChild(axis.getRoot()); - shapes_.addElement(axis); - shapes_.show("axis"); - -// // Add colorBar -// ColorBar2DNode colorBar = new ColorBar2DNode -// ( -// "ColorBar_0", -// getUniverse().getCanvas(), -// new Placement(new Dimension(10, 10), Placement.TOPLEFT), -// new Dimension(50, 128), -// getColorizer(), -// -1e-5f, -// 2e-5f -// ); -// colorBar.show(); -// TransformGroup viewTrans = -// getUniverse().getViewingPlatform() -// .getViewPlatformTransform(); -// viewTrans.addChild(colorBar.getRoot()); - -// // Patch0 featurelines -// PrimitivePatch p0 = new PrimitivePatch(0); -// FeatureLinesNode fl0 = new FeatureLinesNode("featureLines_0", p0); -// -// objRoot.addChild(fl0.getRoot()); -// shapes_.addElement(fl0); -// -// -// // Patch1 featurelines -// PrimitivePatch p1 = new PrimitivePatch(1); -// FeatureLinesNode fl1 = new FeatureLinesNode("featureLines_1", p1); -// -// objRoot.addChild(fl1.getRoot()); -// shapes_.addElement(fl1); -// -// -// // Patch0 faces -// PatchFacesNode pf0 = new PatchFacesNode -// ( -// "patchFaces_0", -// p0, -// new Color3f(0.8f, 0.4f, 0.0f), -// 0 // Math.PI / 4.5 -// ); -// PatchFaces pFaces = pf0.getPatchFaces(); -// pFaces.setAppearance(createMaterialAppearance()); -// -// objRoot.addChild(pf0.getRoot()); -// shapes_.addElement(pf0); -// -// -// // Patch1 faces -// PatchFacesNode pf1 = new PatchFacesNode -// ( -// "patchFaces_1", -// p1, -// new Color3f(0.5f, 0.3f, 0.2f), -// 0 //Math.PI / 4.5 -// ); -// pFaces = pf1.getPatchFaces(); -// pFaces.setAppearance(createMaterialAppearance()); -// -// objRoot.addChild(pf1.getRoot()); -// shapes_.addElement(pf1); -// -// -// // Patch0 points -// PatchPointsNode pp0 = new PatchPointsNode -// ( -// "patchPoints_0", -// p0, -// new Color3f(0.8f, 0.4f, 0.0f) -// ); -// objRoot.addChild(pp0.getRoot()); -// shapes_.addElement(pp0); - - - - BoundingSphere bounds = - new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0); - - // Set up the background - BackgroundNode whiteBGNode = - new BackgroundNode - ( - "whiteBG", - new Color3f(1.0f, 1.0f, 1.0f), - bounds - ); - objRoot.addChild(whiteBGNode.getRoot()); - shapes_.addElement(whiteBGNode); -// Background bg = new Background(new Color3f(1.0f, 1.0f, 1.0f)); -// bg.setApplicationBounds(bounds); -// objRoot.addChild(bg); - - // Set up the ambient light - AmbientLightNode ambientLightNode = - new AmbientLightNode - ( - "ambient_0", - new Color3f(1.0f, 1.0f, 1.0f), - bounds - ); - objRoot.addChild(ambientLightNode.getRoot()); - ambientLightNode.show(); - shapes_.addElement(ambientLightNode); - - // Set up the ambient lights - DirectionalLightNode light0 = - new DirectionalLightNode - ( - "dirLight_0", - new Color3f(1.0f, 1.0f, 1.0f), - new Vector3f(1.0f, 1.0f, 1.0f), - bounds - ); - objRoot.addChild(light0.getRoot()); - //light0.show(); - shapes_.addElement(light0); - - DirectionalLightNode light1 = - new DirectionalLightNode - ( - "dirLight_1", - new Color3f(1.0f, 1.0f, 1.0f), - new Vector3f(-1.0f, -1.0f, -1.0f), - bounds - ); - objRoot.addChild(light1.getRoot()); - //light1.show(); - shapes_.addElement(light1); - - - // Have Java 3D perform optimizations on this scene graph. -// objRoot.compile(); - - objRoot.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND); - objRoot.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE); - objRoot.setCapability(BranchGroup.ALLOW_BOUNDS_READ); - - return objRoot; - } - - - //-------------------------------------------------------------------------- - - public PostApp - ( - ICasePostServer casePostServer, - String caseRoot, - String caseName - ) - { - casePostServer_ = casePostServer; - caseRoot_ = caseRoot; - caseName_ = caseName; - - postWindow_ = new PostWindow - ( - null, - casePostServer_, - this, - caseRoot_, - caseName_ - ); - MainFrame mf = new MainFrame(this, 300, 600); - } - - //-------------------------------------------------------------------------- - - public void init() { - shapes_ = new InteractiveNodeList(); - - colorizer_ = new Colorizer(this); - - bgColor_ = Color.black; - bgColor3f_ = new Color3f(0.0f, 0.0f, 0.0f); - fgColor_ = Color.white; - fgColor3f_ = new Color3f(1.0f, 1.0f, 1.0f); - - nodeTable_ = new NodeTable(shapes_); - nodeTable_.pack(); - nodeTable_.setVisible(true); - - postWindow_.setVisible(true); - - setLayout(new BorderLayout()); - GraphicsConfiguration config = - SimpleUniverse.getPreferredConfiguration(); - - Canvas3D c = new Canvas3D(config); - add("Center", c); - - u_ = new SimpleUniverse(c); - - // Create a simple scene and attach it to the virtual universe - scene_ = createSceneGraph(u_); - -// // PrintManager singleton -// printManager_ = new PrintManager(this, printSwitch_); - - - ViewingPlatform viewingPlatform = u_.getViewingPlatform(); - - // add mouse behaviors to the ViewingPlatform - View view = u_.getViewer().getView(); - - //view.setProjectionPolicy(View.PERSPECTIVE_PROJECTION); - //view.setProjectionPolicy(View.PARALLEL_PROJECTION); - - - // This will move the ViewPlatform back a bit so the - // objects in the scene can be viewed. - viewingPlatform.setNominalViewingTransform(); - - BoundingSphere bounds = (BoundingSphere)scene_.getBounds(); - System.out.println("bounds=" + bounds); - -// // Now create the simple picking behavior -// pickBeh_ = new OrbitPickBehavior(c, scene_, bounds); -// pickBeh_.setEnable(true); - - //scene_.compile(); - - // Attach orbiting behaviour to mouse - orbit_ = new OrbitBehavior - ( - c, -// myOrbitBehavior.DISABLE_ZOOM -// OrbitBehavior.REVERSE_TRANSLATE -// | OrbitBehavior.REVERSE_ZOOM -// | OrbitBehavior.PROPORTIONAL_ZOOM - OrbitBehavior.PROPORTIONAL_ZOOM - ); - orbit_.setSchedulingBounds(bounds); - orbit_.setRotationCenter(new Point3d(0.0, 0.0, 0.0)); - viewingPlatform.setViewPlatformBehavior(orbit_); - - - TransformGroup viewTrans = - viewingPlatform.getViewPlatformTransform(); - - // Add keyboard navigation - key_ = new KeyBehavior(this, viewTrans); - key_.setSchedulingBounds(bounds); - key_.setEnable(true); - scene_.addChild(key_); - -// // Mouse scaling -// ms_ = new myMouseScale(this, viewTrans); -// ms_.setSchedulingBounds(bounds); -// ms_.setEnable(true); -// scene_.addChild(ms_); - -// Point3d eye = new Point3d(10.0, 0.0, 0.0); -// Point3d center = new Point3d(0.0, 0.0, 0.0); -// Vector3d up = new Vector3d(0.0, 0.0, 1.0); - Transform3D look = new Transform3D(); - -// look.ortho -// ( -// -0.0, // left -// 1.0, // right -// -0.0, // bottom -// 1.0, // top -// 0.1, // near -// 1.1 // far -// ); -// look.lookAt(eye, center, up); -// look.invert(); - - look.set(20.0f, new Vector3f(0.0f, 0.0f, 10.0f)); -// look.set(10.0f); - - //view.setFieldOfView(0.1); - //System.out.println("View field:" + view.getFieldOfView()); - - viewTrans.setTransform(look); - - setBounds(bounds); - - u_.addBranchGraph(scene_); - - - // Printing, Offscreen rendering. - - // Create the off-screen Canvas3D object - offScreenCanvas3D_ = new OffScreenCanvas3D(config, true); - // Set the off-screen size based on a scale factor times the - // on-screen size - Screen3D sOn = c.getScreen3D(); - Screen3D sOff = offScreenCanvas3D_.getScreen3D(); - Dimension dim = sOn.getSize(); - dim.width *= OFF_SCREEN_SCALE_X; - dim.height *= OFF_SCREEN_SCALE_Y; - sOff.setSize(dim); - sOff.setPhysicalScreenWidth(sOn.getPhysicalScreenWidth() * - OFF_SCREEN_SCALE_X); - sOff.setPhysicalScreenHeight(sOn.getPhysicalScreenHeight() * - OFF_SCREEN_SCALE_Y); - // attach the offscreen canvas to the view - u_.getViewer().getView().addCanvas3D(offScreenCanvas3D_); - } - - //-------------------------------------------------------------------------- - - public void destroy() { - postWindow_.closeCase(PostWindow.KILL_SERVER); - postWindow_.setVisible(false); - - - u_.removeAllLocales(); - - casePostServer_ = null; - - nodeTable_.setVisible(false); - nodeTable_ = null; - - postWindow_.setVisible(false); - postWindow_ = null; - - pickBeh_ = null; - shapes_ = null; - scene_ = null; - u_ = null; - colorizer_ = null; - } - - //-------------------------------------------------------------------------- - - public InteractiveNodeList getShapes() - { - return shapes_; - } - - //-------------------------------------------------------------------------- - - public BranchGroup getScene() - { - return scene_; - } - - //-------------------------------------------------------------------------- - - public SimpleUniverse getUniverse() - { - return u_; - } - - //-------------------------------------------------------------------------- - - public Colorizer getColorizer() - { - return colorizer_; - } - - //-------------------------------------------------------------------------- - -// public PrintManager getPrintManager() -// { -// return printManager_; -// } - - //-------------------------------------------------------------------------- - - public OffScreenCanvas3D getOffScreenCanvas3D() - { - return offScreenCanvas3D_; - } - - //-------------------------------------------------------------------------- - - public Color getBackgroundColor() - { - return bgColor_; - } - -// //-------------------------------------------------------------------------- -// -// public void setBackgroundColor(col) -// { -// bgColor_ = col; -// } - - //-------------------------------------------------------------------------- - - public Color3f getBackgroundColor3f() - { - return bgColor3f_; - } - - //-------------------------------------------------------------------------- -// -// public void setBackgroundColor3f(col3f) -// { -// bgColor3f_ = col3f; -// } - //-------------------------------------------------------------------------- - - public Color getForegroundColor() - { - return fgColor_; - } - -// //-------------------------------------------------------------------------- -// -// public void setForegroundColor(col) -// { -// fgColor_ = col; -// } - - //-------------------------------------------------------------------------- - - public Color3f getForegroundColor3f() - { - return fgColor3f_; - } - - //-------------------------------------------------------------------------- -// -// public void setForegroundColor3f(col3f) -// { -// fgColor3f_ = col3f; -// } - - //-------------------------------------------------------------------------- - - public PostWindow getPostWindow() - { - return postWindow_; - } - - //-------------------------------------------------------------------------- - - public NodeTable getNodeTable() - { - return nodeTable_; - } - - //-------------------------------------------------------------------------- - - static public Appearance createMaterialAppearance(){ - - Appearance materialAppear = new Appearance(); - materialAppear.setCapability - ( - Appearance.ALLOW_RENDERING_ATTRIBUTES_READ - ); - - PolygonAttributes polyAttrib = new PolygonAttributes(); - polyAttrib.setCullFace(PolygonAttributes.CULL_NONE); - polyAttrib.setBackFaceNormalFlip(true); // bidirectional lighting - materialAppear.setPolygonAttributes(polyAttrib); - - Material material = new Material(); - material.setDiffuseColor(new Color3f(1.0f, 0.0f, 0.0f)); - materialAppear.setMaterial(material); - - //TransparencyAttributes transp = new TransparencyAttributes(); - //transp.setTransparencyMode(TransparencyAttributes.FASTEST); - //transp.setTransparency(0.5f); - //materialAppear.setTransparencyAttributes(transp); - - return materialAppear; - } - - //-------------------------------------------------------------------------- - - static public Appearance createWireFrameAppearance(){ - - Appearance materialAppear = new Appearance(); - PolygonAttributes polyAttrib = new PolygonAttributes(); - polyAttrib.setPolygonMode(PolygonAttributes.POLYGON_LINE); - materialAppear.setPolygonAttributes(polyAttrib); - ColoringAttributes redColoring = new ColoringAttributes(); - redColoring.setColor(1.0f, 0.0f, 0.0f); - materialAppear.setColoringAttributes(redColoring); - - return materialAppear; - } - - //-------------------------------------------------------------------------- - - static public Appearance createDotAppearance(){ - - Appearance materialAppear = new Appearance(); - PolygonAttributes polyAttrib = new PolygonAttributes(); - polyAttrib.setPolygonMode(PolygonAttributes.POLYGON_POINT); - materialAppear.setPolygonAttributes(polyAttrib); - ColoringAttributes redColoring = new ColoringAttributes(); - redColoring.setColor(1.0f, 0.0f, 0.0f); - materialAppear.setColoringAttributes(redColoring); - - return materialAppear; - } - - //-------------------------------------------------------------------------- - - static public Transform3D viewAll(View view, BoundingSphere bounds) - { - Transform3D viewTrans = new Transform3D(); - - Point3d center = new Point3d(); - bounds.getCenter(center); - double radius = bounds.getRadius(); - - double eyeDist = 1.2 * radius / Math.tan(view.getFieldOfView() / 2.0); - - Vector3d up = new Vector3d(0, 1, 0); - Point3d eyePos = new Point3d(center); - eyePos.z += eyeDist; - - - System.out.println("eyePos : " + eyePos); - System.out.println("center : " + center); - System.out.println("up : " + up); - - viewTrans.lookAt(eyePos, center, up); - viewTrans.invert(); - - if ( view.getBackClipDistance() < eyeDist ) - { - view.setBackClipDistance(eyeDist); - view.setFrontClipDistance(eyeDist / 3000); - } - - return viewTrans; - } - - //-------------------------------------------------------------------------- - - static int getJava3DVersion(View view) - { - try - { - view.setTransparencySortingPolicy - ( - View.TRANSPARENCY_SORT_GEOMETRY //Not in java3d-1.2 - ); - //AppearanceHelper.setJava3DVersion(AppearanceHelper.JAVA3D_1_3); - - System.out.println("You are running Java3D version 1.3x"); - return 3; - } - catch(NoSuchMethodError e ) - { - System.out.println("You are running Java3D version 1.2x"); - } - return 2; - } - - - //-------------------------------------------------------------------------- - - static void printConfig(Canvas3D canvas) - { - System.out.println("\n Info about Canvas3D / Hardware \n"); - Map props = canvas.queryProperties(); - Iterator it = props.entrySet().iterator(); - while(it.hasNext()) - { - Map.Entry entry = (Map.Entry) it.next(); - System.out.println(entry.getKey() + " = " + entry.getValue()); - } - System.out.println("The End Info\n"); - } - - //-------------------------------------------------------------------------- - - // Updates bounds on all behaviors. - public void setBounds(BoundingSphere bounds) - { - System.out.println("setBounds : bounds=" + bounds); - - //pickBeh_.setBounds(bounds); - key_.setSchedulingBounds(bounds); - orbit_.setSchedulingBounds(bounds); -// ms_.setSchedulingBounds(bounds); - - // Get data from bounds - Point3d center = new Point3d(); - bounds.getCenter(center); - double radius = bounds.getRadius(); - - double front = 0; - double back = 0; - - View view = u_.getViewer().getView(); - - if (view.getProjectionPolicy() == View.PARALLEL_PROJECTION) - { - front = center.z - 2*radius; - back = center.z + 2*radius; - - System.out.println("Updating clipplanes : front:" + front + " back:" + back); - view.setFrontClipDistance(front); - view.setBackClipDistance(back); - } - else - { - double eyeDist = 1.2 * radius / Math.tan(view.getFieldOfView() / 2.0); - System.out.println("eyeDist:" + eyeDist); - //?? - -// // Get inverse of current view transform -// Transform3D viewTransform = new Transform3D(); -// TransformGroup viewTransGroup = -// u_.getViewingPlatform().getViewPlatformTransform(); -// viewTransGroup.getTransform(viewTransform); -// -// Transform3D inverseViewTransform = new Transform3D(); -// inverseViewTransform.invert(viewTransform); -// -// // Invert center -// Point3d result = new Point3d(); -// inverseViewTransform.transform(center, result); -// -// // Distance from screen to center. -// double z = -result.z; -// -// front = z - radius; -// back = z + radius; -// -// System.out.println("z:" + z + " front:" + front + " back:" + back); - - } - - front = view.getFrontClipDistance(); - back = view.getBackClipDistance(); - System.out.println("Front clip:" + front + " Back clip:" + back); - } - - //-------------------------------------------------------------------------- - //---- InteractiveNode Interface - //-------------------------------------------------------------------------- - public void transformChanged(int type, Transform3D zoomTransform) - { -// Vector3d translation = new Vector3d(); -// zoomTransform.get(translation); -// -// double zTrans = translation.z; -// System.out.println("zTrans:" + zTrans); -// -// double halfFov = Math.atan(zTrans); -// System.out.println("Fov :" + 2*halfFov); -// -// View view = u_.getViewer().getView(); -// view.setFieldOfView(2 * halfFov); -// -// setBounds((BoundingSphere)scene_.getBounds()); -// -// System.out.println(); - - System.out.println("zoomTransform:" + zoomTransform); - } - -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostWindow.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostWindow.java deleted file mode 100644 index 60820ccbe2..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/PostWindow.java +++ /dev/null @@ -1,1424 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Post; - -import java.awt.Container; -import java.awt.GridLayout; -import java.awt.Dimension; -import java.awt.event.*; -import java.awt.event.ActionEvent; -import java.awt.Graphics; -import java.awt.GraphicsConfiguration; -import java.awt.Point; -import java.awt.image.BufferedImage; -import java.io.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; - -import com.sun.j3d.utils.behaviors.vp.*; -import com.sun.j3d.utils.behaviors.mouse.*; -import com.sun.j3d.utils.behaviors.mouse.*; - -import com.sun.j3d.utils.universe.*; -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamXServer.*; -import FoamXServer.CasePostServer.ICasePostServer; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; -import FoamX.CaseManagement.CaseStatusListener; -import FoamX.CaseManagement.CaseStatusEvent; - -import FoamX.Post.InteractiveNodes.InteractiveNodeList; -import FoamX.Post.InteractiveNodes.ColoredSurfaceByRefNode; -import FoamX.Post.InteractiveNodes.MeshLinesNode; -import FoamX.Post.InteractiveNodes.ColorBar2DNode; -import FoamX.Post.InteractiveNodes.ArrowsNode; -import FoamX.Post.Shapes.ColoredSurfaceByRef; -import FoamX.Post.Util.Colorizer; -import FoamX.Post.Util.ArrayStats; -import FoamX.Post.Util.ArrayUtils; -//import FoamX.Post.Util.PrintManager; -import FoamX.Post.Util.Placement; -import FoamX.Post.Util.ImageDisplayer; -import FoamX.Post.Util.ImagePrinter; -import FoamX.Post.Util.myOrbitBehavior; -import FoamX.Post.Util.OffScreenCanvas3D; - -import FoamX.Post.Panels.*; - -public class PostWindow extends javax.swing.JDialog - implements TimeChangeListener -{ - //-------------------------------------------------------------------------- - - public static final boolean KILL_SERVER = true; - - protected java.awt.Frame parent_; - protected ICasePostServer casePostServer_; - protected PostApp pp_; - protected String caseRoot_; - protected String caseName_; - protected EventListenerList listenerList_; - protected int patchNo_; - protected int cutNo_; - protected Transform3D look_; - - - //-------------------------------------------------------------------------- - /** Creates new form PostWindow */ - public PostWindow - ( - java.awt.Frame parent, - ICasePostServer casePostServer, - PostApp pp, - String caseRoot, - String caseName - ) - { - super(parent, "Post Processor", false); // Non modal. - - // Create listener list. - listenerList_ = new EventListenerList(); - - parent_ = parent; - casePostServer_ = casePostServer; - pp_ = pp; - caseRoot_ = caseRoot; - caseName_ = caseName; - - patchNo_ = 0; - cutNo_ = 0; - - look_ = new Transform3D(); - - initComponents(); - - timePanel_.addTimeChangeListener(this); - - timeChanged(new TimeChangeEvent(this, 0, 0)); - - show(); - } - - //-------------------------------------------------------------------------- - /** Close the case and release the case post server object. - */ - public void closeCase(boolean killServer) - { - try - { - // Close down the case server and unlock the case. - if (killServer && (casePostServer_ != null)) - { - System.out.println("Killing casePostServer"); - casePostServer_.close(); - casePostServer_ = null; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - - //-------------------------------------------------------------------------- - //---- TimeChangeListener Implementation - //-------------------------------------------------------------------------- - - public void timeChanged(TimeChangeEvent evt) - { - //System.out.println("Received timechange event"); - try - { - String[] patchNames = casePostServer_.getPatchNames(); - - patchBox_.removeAllItems(); - for(int i = 0; i < patchNames.length; i++) - { - patchBox_.addItem(patchNames[i]); - } - - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - setFieldNames(fieldType); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - //-------------------------------------------------------------------------- - private void initComponents() - { - mainPanel_ = new javax.swing.JPanel(); - - timePanel_ = new TimePanel(casePostServer_, pp_, caseRoot_, caseName_); - - globalPanel_ = new javax.swing.JPanel(); - fieldTypeBox_ = new javax.swing.JComboBox(); - fieldNameBox_ = new javax.swing.JComboBox(); - minField_ = new JTextField("0"); - maxField_ = new JTextField("1"); - vecSizeField_ = new JTextField("1"); - - patchPanel_ = new javax.swing.JPanel(); - patchBox_ = new javax.swing.JComboBox(); - createPatchButton_ = new javax.swing.JButton("Create Patch"); - - cutPanel_ = new javax.swing.JPanel(); - xField_ = new JTextField("0"); - yField_ = new JTextField("0"); - zField_ = new JTextField("0"); - xNField_ = new JTextField("0"); - yNField_ = new JTextField("0"); - zNField_ = new JTextField("1"); - createCutButton_ = new javax.swing.JButton("Create Cut"); - createMeshCutButton_ = new javax.swing.JButton("Create Mesh Cut"); - - viewPanel_ = new javax.swing.JPanel(); - xEyeField_ = new JTextField("1"); - yEyeField_ = new JTextField("0"); - zEyeField_ = new JTextField("0"); - xCenterField_ = new JTextField("0"); - yCenterField_ = new JTextField("0"); - zCenterField_ = new JTextField("0"); - xUpField_ = new JTextField("0"); - yUpField_ = new JTextField("0"); - zUpField_ = new JTextField("1"); - setViewButton_ = new javax.swing.JButton("Set View"); - - xResField_ = new JTextField("0"); - yResField_ = new JTextField("0"); - printFileName_ = new JFileChooser("./"); - printFileName_.setSelectedFile(new File("FoamX.jpg")); - printFileName_.setApproveButtonMnemonic(JFileChooser.SAVE_DIALOG); - printButton_ = new javax.swing.JButton("Print"); - - closeButton_ = new javax.swing.JButton("Close"); - - // Mainpanel - mainPanel_.setLayout(new GridLayout(5, 1)); - mainPanel_.add(timePanel_); - mainPanel_.add(globalPanel_); - mainPanel_.add(patchPanel_); - mainPanel_.add(cutPanel_); - mainPanel_.add(viewPanel_); - //mainPanel_.add(closeButton_); - - // Globalpanel - globalPanel_.setLayout(new GridLayout(5, 2)); - - globalPanel_.add(new JLabel("Type")); - fieldTypeBox_.addItem("volScalarField"); - fieldTypeBox_.addItem("volVectorField"); - globalPanel_.add(fieldTypeBox_); - - globalPanel_.add(new JLabel("Name")); - globalPanel_.add(fieldNameBox_); - - globalPanel_.add(new JLabel("Min")); - globalPanel_.add(minField_); - - globalPanel_.add(new JLabel("Max")); - globalPanel_.add(maxField_); - - globalPanel_.add(new JLabel("VecSize")); - globalPanel_.add(vecSizeField_); - - - // Patchpanel - patchPanel_.setLayout(new GridLayout(2, 2)); - patchPanel_.add(new JLabel("Patch")); - patchPanel_.add(patchBox_); - - patchPanel_.add(new JLabel("Create Patch")); - patchPanel_.add(createPatchButton_); - - // Cutpanel - cutPanel_.setLayout(new GridLayout(3, 4)); - cutPanel_.add(new JLabel("Point")); - cutPanel_.add(xField_); - cutPanel_.add(yField_); - cutPanel_.add(zField_); - - cutPanel_.add(new JLabel("Normal")); - cutPanel_.add(xNField_); - cutPanel_.add(yNField_); - cutPanel_.add(zNField_); - - cutPanel_.add(new JLabel("Create Cut")); - cutPanel_.add(createCutButton_); - cutPanel_.add(new JLabel("Create Mesh Cut")); - cutPanel_.add(createMeshCutButton_); - - // Viewpanel - viewPanel_.setLayout(new GridLayout(5,4)); - - viewPanel_.add(new JLabel("Eye")); - viewPanel_.add(xEyeField_); - viewPanel_.add(yEyeField_); - viewPanel_.add(zEyeField_); - - viewPanel_.add(new JLabel("Center")); - viewPanel_.add(xCenterField_); - viewPanel_.add(yCenterField_); - viewPanel_.add(zCenterField_); - - viewPanel_.add(new JLabel("Up")); - viewPanel_.add(xUpField_); - viewPanel_.add(yUpField_); - viewPanel_.add(zUpField_); - - viewPanel_.add(setViewButton_); - viewPanel_.add(new JLabel("")); - - viewPanel_.add(xResField_); - viewPanel_.add(yResField_); - viewPanel_.add(printButton_); - viewPanel_.add(closeButton_); - - Container c = getContentPane(); - c.add(mainPanel_); - - // Listeners - fieldTypeBox_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - fieldTypeBox_ActionPerformed(evt); - } - } - ); - createPatchButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - createPatchButton_ActionPerformed(evt); - } - } - ); - createCutButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - createCutButton_ActionPerformed(evt); - } - } - ); - createMeshCutButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - createMeshCutButton_ActionPerformed(evt); - } - } - ); - setViewButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - setViewButton_ActionPerformed(evt); - } - } - ); - printButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - printButton_ActionPerformed(evt); - } - } - ); - - // Window closing - setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); - addWindowListener - ( - new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeButton_ActionPerformed(new ActionEvent(this, 0, "dummy")); - } - } - ); - closeButton_.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - closeButton_ActionPerformed(evt); - } - } - ); - - - - pack(); - java.awt.Dimension screenSize = - java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - //setSize(new java.awt.Dimension(300, 200)); - setLocation((screenSize.width-480)/2,(screenSize.height-200)/2); - }//GEN-END:initComponents - - - //-------------------------------------------------------------------------- - - private void closeButton_ActionPerformed(ActionEvent evt) - { - fireClosePostCase - ( - caseRoot_, - caseName_ - ); - } - - //-------------------------------------------------------------------------- - - private void setFieldNames(String fieldType) - { - try - { - if (fieldType == null) - { - return; - } - - String[] fieldNames = - casePostServer_.getFieldNames(fieldType); - - fieldNameBox_.removeAllItems(); - for(int i = 0; i < fieldNames.length; i++) - { - fieldNameBox_.addItem(fieldNames[i]); - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - //-------------------------------------------------------------------------- - - private void fieldTypeBox_ActionPerformed(ActionEvent evt) - { - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - setFieldNames(fieldType); - } - - - //-------------------------------------------------------------------------- - - private void createPatchButton_ActionPerformed(ActionEvent evt) - { - try - { - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - String fieldName = (String)fieldNameBox_.getSelectedItem(); - String patchName = (String)patchBox_.getSelectedItem(); - - float vecSize = Float.valueOf(vecSizeField_.getText()).floatValue(); - - float userMin = - Float.valueOf((String)minField_.getText()).floatValue(); - float userMax = - Float.valueOf((String)maxField_.getText()).floatValue(); - - if - ( - (fieldName == null) - || (patchName == null) - || (fieldType == null) - ) - { - return; - } - - if (fieldType.equals("volScalarField")) - { - patchSampleScalar(fieldName, patchName, userMin, userMax); - } - else if (fieldType.equals("volVectorField")) - { - patchSampleVector - ( - fieldName, - patchName, - userMin, - userMax, - vecSize - ); - } - } - catch(NumberFormatException nex) - { - App.handleAllExceptions - ( - new IllegalArgumentException - ( - "min and max field should be numbers" - ) - ); - } - } - - - //-------------------------------------------------------------------------- - - private void patchSampleScalar - ( - String fieldName, - String patchName, - float userMin, - float userMax - ) - { - try - { - FloatListHolder pointsContainer = new FloatListHolder(); - LongListHolder facesContainer = new LongListHolder(); - FloatListHolder valuesContainer = new FloatListHolder(); - - // Read patch geometry + data - casePostServer_.getTriPatch - ( - fieldName, - patchName, - pointsContainer, - facesContainer, - valuesContainer - ); - - float[] points = pointsContainer.value; - int[] faces = facesContainer.value; - float[] values = valuesContainer.value; - - if (faces.length == 0) - { - System.out.println("Zero size patch."); - return; - } - - float minValue = userMin; - float maxValue = userMax; - - if ((minValue == 0.0f) && (maxValue == 0.0f)) - { - // Autocolor - ArrayStats stats = new ArrayStats(values); - minValue = stats.getMin(); - maxValue = stats.getMax(); - } - - System.out.println("Min:" + minValue + " Max:" + maxValue); - - String name = - "patch_" + patchName + "_" + fieldName - + Integer.toString(patchNo_++); - - // Create geometry object from patch data - ColoredSurfaceByRefNode ss0 = new ColoredSurfaceByRefNode - ( - name, - false, - false, - Math.PI / 4.5, - points, - null, - faces, - values, - pp_.getColorizer(), - minValue, - maxValue - ); - ColoredSurfaceByRef ss = ss0.getColoredSurfaceByRef(); - ss.setAppearance - ( - PostApp.createMaterialAppearance() - ); - ss0.show(); - pp_.getScene().addChild(ss0.getRoot()); - pp_.setBounds((BoundingSphere)pp_.getScene().getBounds()); - pp_.getShapes().addElement(ss0); - } - catch(NumberFormatException nex) - { - App.handleAllExceptions - ( - new IllegalArgumentException - ( - "min and max field should be numbers" - ) - ); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - //-------------------------------------------------------------------------- - - private void patchSampleVector - ( - String fieldName, - String patchName, - float userMin, - float userMax, - float vecSize - ) - { - try - { - FloatListHolder pointsContainer = new FloatListHolder(); - LongListHolder facesContainer = new LongListHolder(); - FloatListHolder valuesContainer = new FloatListHolder(); - - // Read patch geometry + data - casePostServer_.getTriPatchVec - ( - fieldName, - patchName, - pointsContainer, - facesContainer, - valuesContainer - ); - - float[] points = pointsContainer.value; - int[] faces = facesContainer.value; - float[] values = valuesContainer.value; - - -System.out.println -( - "Received points:" + points.length + " faces:" + faces.length - + " values:" + values.length -); - - if (faces.length == 0) - { - System.out.println("Zero size patch."); - return; - } - - // Convert into vectors on face centers. - int nTris = faces.length / 3; - float[] centreCoords = new float[3*nTris]; - float[] centreValues = new float[3*nTris]; - float[] colorValues = new float[nTris]; - - int vertI = 0; - for(int i = 0; i < nTris; i++) - { - int a = faces[vertI]; - int b = faces[vertI+1]; - int c = faces[vertI+2]; - - // Average vertex coords - float x = points[3*a] + points[3*b] + points[3*c]; - x /= 3.0f; - - float y = points[3*a+1] + points[3*b+1] + points[3*c+1]; - y /= 3.0f; - - float z = points[3*a+2] + points[3*b+2] + points[3*c+2]; - z /= 3.0f; - - centreCoords[vertI] = x; - centreCoords[vertI+1] = y; - centreCoords[vertI+2] = z; - - - // Average vertex values - float xVal = values[3*a] + values[3*b] + values[3*c]; - xVal /= 3.0f; - - float yVal = values[3*a+1] + values[3*b+1] + values[3*c+1]; - yVal /= 3.0f; - - float zVal = values[3*a+2] + values[3*b+2] + values[3*c+2]; - zVal /= 3.0f; - - centreValues[vertI] = xVal; - centreValues[vertI+1] = yVal; - centreValues[vertI+2] = zVal; - - colorValues[i] = - (float)Math.sqrt(xVal*xVal + yVal*yVal + zVal*zVal); - - - vertI += 3; - } - - float minValue = userMin; - float maxValue = userMax; - - if ((minValue == 0.0f) && (maxValue == 0.0f)) - { - // Autocolor - ArrayStats stats = new ArrayStats(colorValues); - minValue = stats.getMin(); - maxValue = stats.getMax(); - } - - System.out.println("Min:" + minValue + " Max:" + maxValue); - - String name = - "patch_" + patchName + "_" + fieldName - + Integer.toString(patchNo_++); - - // Create geometry object from patch data - ArrowsNode arr0 = new ArrowsNode - ( - name, - centreCoords, - centreValues, - vecSize, - colorValues, - pp_.getColorizer(), - minValue, - maxValue - ); - arr0.show(); - pp_.getScene().addChild(arr0.getRoot()); - pp_.setBounds((BoundingSphere)pp_.getScene().getBounds()); - pp_.getShapes().addElement(arr0); - - // Add colorBar - ColorBar2DNode colorBar = new ColorBar2DNode - ( - "ColorBar_0", - pp_.getUniverse().getCanvas(), - new Placement(new Dimension(10, 10), Placement.TOPLEFT), - new Dimension(40, 128), - pp_.getColorizer(), - minValue, - maxValue - ); - colorBar.show(); - TransformGroup viewTrans = - pp_.getUniverse().getViewingPlatform() - .getViewPlatformTransform(); - viewTrans.addChild(colorBar.getRoot()); - pp_.getShapes().addElement(colorBar); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - - //-------------------------------------------------------------------------- - - private void createCutButton_ActionPerformed(ActionEvent evt) - { - try - { - float x = Float.valueOf(xField_.getText()).floatValue(); - float y = Float.valueOf(yField_.getText()).floatValue(); - float z = Float.valueOf(zField_.getText()).floatValue(); - - float xN = Float.valueOf(xNField_.getText()).floatValue(); - float yN = Float.valueOf(yNField_.getText()).floatValue(); - float zN = Float.valueOf(zNField_.getText()).floatValue(); - - float vecSize = Float.valueOf(vecSizeField_.getText()).floatValue(); - - String fieldType = (String)fieldTypeBox_.getSelectedItem(); - String fieldName = (String)fieldNameBox_.getSelectedItem(); - - float userMin = - Float.valueOf((String)minField_.getText()).floatValue(); - float userMax = - Float.valueOf((String)maxField_.getText()).floatValue(); - - if ((fieldName == null) || (fieldType == null)) - { - return; - } - if ((Math.abs(xN)+Math.abs(yN)+Math.abs(zN)) == 0.0) - { - return; - } - - // Read patch geometry + data - float[] basePoint = {x, y, z}; - float[] normal = {xN, yN, zN}; - - - if (fieldType.equals("volScalarField")) - { - cutScalar(fieldName, basePoint, normal, userMin, userMax); - } - else if (fieldType.equals("volVectorField")) - { - cutVector - ( - fieldName, - basePoint, - normal, - userMin, - userMax, - vecSize - ); - } - } - catch(NumberFormatException nex) - { - App.handleAllExceptions - ( - new IllegalArgumentException - ( - "cut specification should only contain vectors" - ) - ); - } - } - - - //-------------------------------------------------------------------------- - - private void cutScalar - ( - String fieldName, - float[] basePoint, - float[] normal, - float userMin, - float userMax - ) - { - try - { - FloatListHolder pointsContainer = new FloatListHolder(); - LongListHolder facesContainer = new LongListHolder(); - FloatListHolder valuesContainer = new FloatListHolder(); - - casePostServer_.cutPlane - ( - fieldName, - basePoint, - normal, - pointsContainer, - facesContainer, - valuesContainer - ); - float[] points = pointsContainer.value; - int[] faces = facesContainer.value; - float[] values = valuesContainer.value; - - if (faces.length == 0) - { - System.out.println("Zero size cut."); - return; - } - String name = "cut_" + fieldName + "_" + Integer.toString(cutNo_++); - - float minValue = userMin; - Float.valueOf((String)minField_.getText()).floatValue(); - float maxValue = userMax; - Float.valueOf((String)maxField_.getText()).floatValue(); - - if ((minValue == 0.0f) && (maxValue == 0.0f)) - { - // Autocolor - ArrayStats stats = new ArrayStats(values); - minValue = stats.getMin(); - maxValue = stats.getMax(); - } - - System.out.println("Min:" + minValue + " Max:" + maxValue); - - // Create geometry object from patch data - ColoredSurfaceByRefNode ss0 = new ColoredSurfaceByRefNode - ( - name, - false, - false, - Math.PI / 4.5, - points, - null, - faces, - values, - pp_.getColorizer(), - minValue, - maxValue - ); - ColoredSurfaceByRef ss = ss0.getColoredSurfaceByRef(); - ss.setAppearance - ( - PostApp.createMaterialAppearance() - ); - ss0.show(); - pp_.getScene().addChild(ss0.getRoot()); - pp_.setBounds((BoundingSphere)pp_.getScene().getBounds()); - pp_.getShapes().addElement(ss0); - - // Add colorBar - ColorBar2DNode colorBar = new ColorBar2DNode - ( - "ColorBar_0", - pp_.getUniverse().getCanvas(), - new Placement(new Dimension(10, 10), Placement.TOPLEFT), - new Dimension(40, 128), - pp_.getColorizer(), - minValue, - maxValue - ); - colorBar.show(); - TransformGroup viewTrans = - pp_.getUniverse().getViewingPlatform() - .getViewPlatformTransform(); - viewTrans.addChild(colorBar.getRoot()); - pp_.getShapes().addElement(colorBar); - - } - catch(NumberFormatException nex) - { - App.handleAllExceptions - ( - new IllegalArgumentException - ( - "min and max should be numbers" - ) - ); - } - catch(FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch(FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - - //-------------------------------------------------------------------------- - - private void cutVector - ( - String fieldName, - float[] basePoint, - float[] normal, - float userMin, - float userMax, - float vecSize - ) - { - try - { - FloatListHolder pointsContainer = new FloatListHolder(); - LongListHolder facesContainer = new LongListHolder(); - FloatListHolder valuesContainer = new FloatListHolder(); - - casePostServer_.cutPlaneVec - ( - fieldName, - basePoint, - normal, - pointsContainer, - facesContainer, - valuesContainer - ); - float[] points = pointsContainer.value; - int[] faces = facesContainer.value; - float[] values = valuesContainer.value; - - if (faces.length == 0) - { - System.out.println("Zero size cut."); - return; - } - - // Convert into vectors on face centers. - int nTris = faces.length / 3; - float[] centreCoords = new float[3*nTris]; - float[] centreValues = new float[3*nTris]; - float[] colorValues = new float[nTris]; - - int vertI = 0; - for(int i = 0; i < nTris; i++) - { - int a = faces[vertI]; - int b = faces[vertI+1]; - int c = faces[vertI+2]; - - - // Average vertex coords - float x = points[3*a] + points[3*b] + points[3*c]; - x /= 3.0f; - - float y = points[3*a+1] + points[3*b+1] + points[3*c+1]; - y /= 3.0f; - - float z = points[3*a+2] + points[3*b+2] + points[3*c+2]; - z /= 3.0f; - - centreCoords[vertI] = x; - centreCoords[vertI+1] = y; - centreCoords[vertI+2] = z; - - - // Average vertex values - float xVal = values[3*a] + values[3*b] + values[3*c]; - xVal /= 3.0f; - - float yVal = values[3*a+1] + values[3*b+1] + values[3*c+1]; - yVal /= 3.0f; - - float zVal = values[3*a+2] + values[3*b+2] + values[3*c+2]; - zVal /= 3.0f; - - centreValues[vertI] = xVal; - centreValues[vertI+1] = yVal; - centreValues[vertI+2] = zVal; - - colorValues[i] = - (float)Math.sqrt(xVal*xVal + yVal*yVal + zVal*zVal); - - - vertI += 3; - } - - - float minValue = userMin; - float maxValue = userMax; - - if ((minValue == 0.0f) && (maxValue == 0.0f)) - { - // Autocolor - ArrayStats stats = new ArrayStats(colorValues); - minValue = stats.getMin(); - maxValue = stats.getMax(); - } - - System.out.println("Min:" + minValue + " Max:" + maxValue); - - String name = - "cut_" + fieldName + "_" + Integer.toString(cutNo_++); - - // Create geometry object from patch data - ArrowsNode arr0 = new ArrowsNode - ( - name, - centreCoords, - centreValues, - vecSize, - colorValues, - pp_.getColorizer(), - minValue, - maxValue - ); - arr0.show(); - pp_.getScene().addChild(arr0.getRoot()); - pp_.setBounds((BoundingSphere)pp_.getScene().getBounds()); - pp_.getShapes().addElement(arr0); - - // Add colorBar - ColorBar2DNode colorBar = new ColorBar2DNode - ( - "ColorBar_0", - pp_.getUniverse().getCanvas(), - new Placement(new Dimension(10, 10), Placement.TOPLEFT), - new Dimension(40, 128), - pp_.getColorizer(), - minValue, - maxValue - ); - colorBar.show(); - TransformGroup viewTrans = - pp_.getUniverse().getViewingPlatform() - .getViewPlatformTransform(); - viewTrans.addChild(colorBar.getRoot()); - pp_.getShapes().addElement(colorBar); - } - catch(FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch(FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - - //-------------------------------------------------------------------------- - - private void createMeshCutButton_ActionPerformed(ActionEvent evt) - { - try - { - float x = - Float.valueOf(xField_.getText()).floatValue(); - float y = - Float.valueOf(yField_.getText()).floatValue(); - float z = - Float.valueOf(zField_.getText()).floatValue(); - - float xN = - Float.valueOf(xNField_.getText()).floatValue(); - float yN = - Float.valueOf(yNField_.getText()).floatValue(); - float zN = - Float.valueOf(zNField_.getText()).floatValue(); - - if ((Math.abs(xN)+Math.abs(yN)+Math.abs(zN)) == 0.0) - { - return; - } - - FloatListHolder pointsContainer = new FloatListHolder(); - LongListHolder edgesContainer = new LongListHolder(); - - // Read patch geometry + data - float[] basePoint = {x, y, z}; - float[] normal = {xN, yN, zN}; - - casePostServer_.getCutMesh - ( - basePoint, - normal, - pointsContainer, - edgesContainer - ); - - float[] points = pointsContainer.value; - int[] edges = edgesContainer.value; - - if (edges.length > 0) - { - String name = - "meshCut_" + Integer.toString(cutNo_++); - - // Create geometry object - MeshLinesNode ml0 = new MeshLinesNode - ( - name, - points, - edges - ); - ml0.show(); - pp_.getScene().addChild(ml0.getRoot()); - pp_.setBounds((BoundingSphere)pp_.getScene().getBounds()); - pp_.getShapes().addElement(ml0); - } - else - { - System.out.println("Zero size cut."); - } - } - catch(NumberFormatException nex) - { - App.handleAllExceptions - ( - new IllegalArgumentException - ( - "cut specification should only contain vectors" - ) - ); - } - catch(FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - } - - //-------------------------------------------------------------------------- - - private void setViewButton_ActionPerformed(ActionEvent evt) - { - try - { - float xEye = - Float.valueOf(xEyeField_.getText()).floatValue(); - float yEye = - Float.valueOf(yEyeField_.getText()).floatValue(); - float zEye = - Float.valueOf(zEyeField_.getText()).floatValue(); - - float xCenter = - Float.valueOf(xCenterField_.getText()).floatValue(); - float yCenter = - Float.valueOf(yCenterField_.getText()).floatValue(); - float zCenter = - Float.valueOf(zCenterField_.getText()).floatValue(); - - float xUp = - Float.valueOf(xUpField_.getText()).floatValue(); - float yUp = - Float.valueOf(yUpField_.getText()).floatValue(); - float zUp = - Float.valueOf(zUpField_.getText()).floatValue(); - - Point3d eye = new Point3d(xEye, yEye, zEye); - Point3d center = new Point3d(xCenter, yCenter, zCenter); - Vector3d up = new Vector3d(xUp, yUp, zUp); - - // Set rotation/translation - look_.lookAt(eye, center, up); - look_.invert(); - -// // Set scale explicitly -// Vector3d tmpVec = new Vector3d(eye); -// tmpVec.sub(center); -// System.out.println("Setting scale:" + tmpVec.length()); -// look_.set(tmpVec.length()); - - ViewingPlatform viewingPlatform = - pp_.getUniverse().getViewingPlatform(); - TransformGroup viewTrans = - viewingPlatform.getViewPlatformTransform(); - viewTrans.setTransform(look_); - - // Reset center of rotation - OrbitBehavior orbit = - (OrbitBehavior) viewingPlatform.getViewPlatformBehavior(); - - orbit.setRotationCenter(center); - - // Hack to cause update of orbitbehavior - orbit.setViewingPlatform(viewingPlatform); - } - catch(NumberFormatException nex) - { - throw new IllegalArgumentException - ( - "view specification should only contain numbers" - ); - } - } - - //-------------------------------------------------------------------------- - - private void printButton_ActionPerformed(ActionEvent evt) - { - try - { - int xRes = - Integer.parseInt(xResField_.getText()); - int yRes = - Integer.parseInt(yResField_.getText()); - - Canvas3D canvas3D = pp_.getUniverse().getCanvas(); - OffScreenCanvas3D offScreenCanvas3D = pp_.getOffScreenCanvas3D(); - - Point loc = canvas3D.getLocationOnScreen(); - offScreenCanvas3D.setOffScreenLocation(loc); - Dimension dim = canvas3D.getSize(); - - System.out.println - ( - "Dim:" + dim + " xRes:" + xRes + " yRes:" + yRes - ); - - if ((xRes < 0) || (yRes < 0)) - { - throw new NumberFormatException(); - } - if (xRes == 0) - { - if (yRes == 0) - { - // Leave dim intact. Same offscreen res as onscreen - } - else - { - // yRes specified. Scale x to keep aspect ratio intact. - dim.width *= (yRes / dim.height); - dim.height = yRes; - } - } - else - { - if (yRes == 0) - { - // xRes specified. Scale y to keep aspect ratio intact. - dim.height *= (xRes / dim.width); - dim.width = xRes; - } - else - { - // both specified. Use pixel aspect ratio to fit picture. - double scale = xRes / dim.width; - double specScale = yRes / dim.height; - - Screen3D sOff = offScreenCanvas3D.getScreen3D(); - sOff.setPhysicalScreenHeight - ( - (specScale/scale)*sOff.getPhysicalScreenHeight() - ); - - dim.width = xRes; - dim.height = yRes; - } - } - - System.out.println("dim=" + dim); - - BufferedImage bImage = - offScreenCanvas3D.doRender(dim.width, dim.height); - -// if (target == snapshotItem) { - new ImageDisplayer(bImage); -// } -// else { // (target == printItem) -// new ImagePrinter(bImage).print(); -// } - } - catch(NumberFormatException nex) - { - App.handleAllExceptions - ( - new IllegalArgumentException - ( - "print resolution specification incorrect" - ) - ); - } - - } - - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel mainPanel_; - private javax.swing.JComboBox fieldTypeBox_; - private javax.swing.JComboBox fieldNameBox_; - private javax.swing.JTextField minField_; - private javax.swing.JTextField maxField_; - private javax.swing.JTextField vecSizeField_; - private javax.swing.JComboBox patchBox_; - private javax.swing.JButton createPatchButton_; - private javax.swing.JButton createMeshCutButton_; - - private javax.swing.JPanel globalPanel_; - private javax.swing.JPanel patchPanel_; - private javax.swing.JPanel cutPanel_; - private javax.swing.JTextField xField_; - private javax.swing.JTextField yField_; - private javax.swing.JTextField zField_; - private javax.swing.JTextField xNField_; - private javax.swing.JTextField yNField_; - private javax.swing.JTextField zNField_; - private javax.swing.JButton createCutButton_; - private javax.swing.JButton closeButton_; - - private javax.swing.JPanel viewPanel_; - private javax.swing.JTextField xEyeField_; - private javax.swing.JTextField yEyeField_; - private javax.swing.JTextField zEyeField_; - private javax.swing.JTextField xCenterField_; - private javax.swing.JTextField yCenterField_; - private javax.swing.JTextField zCenterField_; - private javax.swing.JTextField xUpField_; - private javax.swing.JTextField yUpField_; - private javax.swing.JTextField zUpField_; - private javax.swing.JButton setViewButton_; - - private javax.swing.JTextField xResField_; - private javax.swing.JTextField yResField_; - private javax.swing.JButton printButton_; - private javax.swing.JFileChooser printFileName_; - - private TimePanel timePanel_; - - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //---- CaseStatusListener Methods - //-------------------------------------------------------------------------- - - public void addCaseStatusListener(CaseStatusListener l) - { - listenerList_.add(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeCaseStatusListener(CaseStatusListener l) - { - listenerList_.remove(CaseStatusListener.class, l); - } - - //-------------------------------------------------------------------------- - - protected void fireClosePostCase(String caseRoot, String caseName) - { - System.out.println("PostWindow: firing closing event for " + caseName); - - // Create event object. - CaseStatusEvent evt = new CaseStatusEvent(this, caseRoot, caseName); - - // Process the listeners last to first, notifying those that - // are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == CaseStatusListener.class) - { - ((CaseStatusListener)listeners[i+1]).casePostClosed(evt); - } - } - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/.nbattrs deleted file mode 100644 index 17e793077d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/.nbattrs +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Arrows.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Arrows.java deleted file mode 100644 index 368cd5c5f1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Arrows.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Arrows.java - */ - - -package FoamX.Post.Shapes; - -import java.awt.*; - -import com.sun.j3d.utils.picking.PickResult; - -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamX.Post.Util.Colorizer; - -public class Arrows extends Shape3D implements PickableShape -{ - public Arrows - ( - final float[] sampleCoords, - final float[] vecValues, - final float sizeScale, - final float[] scalValues, - final Colorizer colorizer, - final float min, - final float max - ) - { - this.setGeometry - ( - createGeometry - ( - sampleCoords, - vecValues, - sizeScale, - scalValues, - colorizer, - min, - max - ) - ); - - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - //-------------------------------------------------------------------------- - - /** creates set of arrows, one per samplePoint. - * Arrow built of single line - */ - static public Geometry createGeometry - ( - final float[] sampleCoords, - final float[] vecValues, - final float sizeScale, - final float[] scalValues, - final Colorizer colorizer, - final float min, - final float max - ) - { - // create line for X axis - LineArray arrowLines = new LineArray - ( - 2*sampleCoords.length, - GeometryArray.COORDINATES | GeometryArray.COLOR_3 - ); - - int vertI = 0; - int floatI = 0; - - float[] start = new float[3]; - float[] end = new float[3]; - - int nVecs = sampleCoords.length / 3; - for(int i = 0; i < nVecs; i++) - { - // Get coords and (vector) value - start[0] = sampleCoords[floatI]; - float u = vecValues[floatI++]; - - start[1] = sampleCoords[floatI]; - float v = vecValues[floatI++]; - - start[2] = sampleCoords[floatI]; - float w = vecValues[floatI++]; - - // Get color from scalar value - - // Head of arrow - end[0] = start[0] + sizeScale*u; - end[1] = start[1] + sizeScale*v; - end[2] = start[2] + sizeScale*w; - - //System.out.println - //( - //"i:" + i + " Start:" + start[0] + " " + start[1] + " " + start[2] + - //" End:" + end[0] + " " + end[1] + " " + end[2] - //); - - arrowLines.setCoordinate(vertI++, start); - arrowLines.setCoordinate(vertI++, end); - } - - System.out.println("Converting values to colours ..."); - float[] colors = new float[3*scalValues.length]; - colorizer.color(min, max, scalValues, colors); - - float[] arrowColors = new float[2*colors.length]; - int compI = 0; - int destI = 0; - for(int i = 0; i < nVecs; i++) - { - float r = colors[compI++]; - float g = colors[compI++]; - float b = colors[compI++]; - - // start-vertex color - arrowColors[destI] = r; - arrowColors[destI+1] = g; - arrowColors[destI+2] = b; - - // end-vertex color - arrowColors[destI+3] = r; - arrowColors[destI+4] = g; - arrowColors[destI+5] = b; - - destI += 6; - } - arrowLines.setColors(0, arrowColors); - - return arrowLines; - - } // end of createGeometry() - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("ERROR: Arrows Picked:"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("ERROR: Arrows unPicked:"); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove arrows:"); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - //-------------------------------------------------------------------------- - - - -} // end of class Arrows diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Axis-NoText.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Axis-NoText.java deleted file mode 100644 index 2affe6033c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Axis-NoText.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Axis.java 1.0 98/11/25 - * - * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved. - * - * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, - * modify and redistribute this software in source and binary code form, - * provided that i) this copyright notice and license appear on all copies of - * the software; and ii) Licensee does not utilize the software in a manner - * which is disparaging to Sun. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY - * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR - * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE - * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING - * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS - * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, - * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER - * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF - * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * This software is not designed or intended for use in on-line control of - * aircraft, air traffic, aircraft navigation or aircraft communications; or in - * the design, construction, operation or maintenance of any nuclear - * facility. Licensee represents and warrants that it will not use or - * redistribute the Software for such purposes. - */ - -/* - * Getting Started with the Java 3D API - * written in Java 3D - * - * This program demonstrates: - * 1. writing a visual object class - * In this program, Axis class defines a visual object - * This particular class extends Shape3D - * See the text for a discussion. - * 2. Using LineArray to draw 3D lines. - */ - -//package geometry; - - -import javax.media.j3d.*; -import javax.vecmath.*; - - public class Axis extends Shape3D{ - - //////////////////////////////////////////// - // - // create axis visual object - // - public Axis() { - - this.setGeometry(createGeometry()); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - private Geometry createGeometry(){ - // create line for X axis - IndexedLineArray axisLines = new IndexedLineArray - ( - 18, - GeometryArray.COORDINATES, - 30 - ); - - axisLines.setCoordinate( 0, new Point3f(-1.0f, 0.0f, 0.0f)); - axisLines.setCoordinate( 1, new Point3f( 1.0f, 0.0f, 0.0f)); - axisLines.setCoordinate( 2, new Point3f( 0.9f, 0.1f, 0.1f)); - axisLines.setCoordinate( 3, new Point3f( 0.9f,-0.1f, 0.1f)); - axisLines.setCoordinate( 4, new Point3f( 0.9f, 0.1f,-0.1f)); - axisLines.setCoordinate( 5, new Point3f( 0.9f,-0.1f,-0.1f)); - axisLines.setCoordinate( 6, new Point3f( 0.0f,-1.0f, 0.0f)); - axisLines.setCoordinate( 7, new Point3f( 0.0f, 1.0f, 0.0f)); - axisLines.setCoordinate( 8, new Point3f( 0.1f, 0.9f, 0.1f)); - axisLines.setCoordinate( 9, new Point3f(-0.1f, 0.9f, 0.1f)); - axisLines.setCoordinate(10, new Point3f( 0.1f, 0.9f,-0.1f)); - axisLines.setCoordinate(11, new Point3f(-0.1f, 0.9f,-0.1f)); - axisLines.setCoordinate(12, new Point3f( 0.0f, 0.0f,-1.0f)); - axisLines.setCoordinate(13, new Point3f( 0.0f, 0.0f, 1.0f)); - axisLines.setCoordinate(14, new Point3f( 0.1f, 0.1f, 0.9f)); - axisLines.setCoordinate(15, new Point3f(-0.1f, 0.1f, 0.9f)); - axisLines.setCoordinate(16, new Point3f( 0.1f,-0.1f, 0.9f)); - axisLines.setCoordinate(17, new Point3f(-0.1f,-0.1f, 0.9f)); - - axisLines.setCoordinateIndex( 0, 0); - axisLines.setCoordinateIndex( 1, 1); - axisLines.setCoordinateIndex( 2, 2); - axisLines.setCoordinateIndex( 3, 1); - axisLines.setCoordinateIndex( 4, 3); - axisLines.setCoordinateIndex( 5, 1); - axisLines.setCoordinateIndex( 6, 4); - axisLines.setCoordinateIndex( 7, 1); - axisLines.setCoordinateIndex( 8, 5); - axisLines.setCoordinateIndex( 9, 1); - axisLines.setCoordinateIndex(10, 6); - axisLines.setCoordinateIndex(11, 7); - axisLines.setCoordinateIndex(12, 8); - axisLines.setCoordinateIndex(13, 7); - axisLines.setCoordinateIndex(14, 9); - axisLines.setCoordinateIndex(15, 7); - axisLines.setCoordinateIndex(16,10); - axisLines.setCoordinateIndex(17, 7); - axisLines.setCoordinateIndex(18,11); - axisLines.setCoordinateIndex(19, 7); - axisLines.setCoordinateIndex(20,12); - axisLines.setCoordinateIndex(21,13); - axisLines.setCoordinateIndex(22,14); - axisLines.setCoordinateIndex(23,13); - axisLines.setCoordinateIndex(24,15); - axisLines.setCoordinateIndex(25,13); - axisLines.setCoordinateIndex(26,16); - axisLines.setCoordinateIndex(27,13); - axisLines.setCoordinateIndex(28,17); - axisLines.setCoordinateIndex(29,13); - - - axisLines.setCapability(IndexedLineArray.ALLOW_COORDINATE_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_FORMAT_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_COUNT_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_COORDINATE_INDEX_READ); - - return axisLines; - - } // end of Axis createGeometry() - - - } // end of class Axis diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/AxisLines.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/AxisLines.java deleted file mode 100644 index e8d2f98c1e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/AxisLines.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * AxisLines.java - */ - - -package FoamX.Post.Shapes; - -import java.awt.*; -//import java.awt.Font; - -import com.sun.j3d.utils.applet.MainFrame; -import com.sun.j3d.utils.geometry.Text2D; -import com.sun.j3d.utils.picking.PickResult; - -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamX.Post.InteractiveNodes.AxisNode; - -public class AxisLines extends Shape3D implements PickableShape -{ - public AxisLines(AxisNode axisNode, Color3f color) - { - this.setGeometry(createGeometry(color)); - - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - //-------------------------------------------------------------------------- - - - private Geometry createGeometry(Color3f color) - { - // create line for X axis - IndexedLineArray axisLines = new IndexedLineArray - ( - 18, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - 30 - ); - - axisLines.setCoordinate( 0, new Point3f( 0.0f, 0.0f, 0.0f)); - axisLines.setCoordinate( 1, new Point3f( 1.0f, 0.0f, 0.0f)); - axisLines.setCoordinate( 2, new Point3f( 0.9f, 0.1f, 0.1f)); - axisLines.setCoordinate( 3, new Point3f( 0.9f,-0.1f, 0.1f)); - axisLines.setCoordinate( 4, new Point3f( 0.9f, 0.1f,-0.1f)); - axisLines.setCoordinate( 5, new Point3f( 0.9f,-0.1f,-0.1f)); - axisLines.setCoordinate( 6, new Point3f( 0.0f, 0.0f, 0.0f)); - axisLines.setCoordinate( 7, new Point3f( 0.0f, 1.0f, 0.0f)); - axisLines.setCoordinate( 8, new Point3f( 0.1f, 0.9f, 0.1f)); - axisLines.setCoordinate( 9, new Point3f(-0.1f, 0.9f, 0.1f)); - axisLines.setCoordinate(10, new Point3f( 0.1f, 0.9f,-0.1f)); - axisLines.setCoordinate(11, new Point3f(-0.1f, 0.9f,-0.1f)); - axisLines.setCoordinate(12, new Point3f( 0.0f, 0.0f, 0.0f)); - axisLines.setCoordinate(13, new Point3f( 0.0f, 0.0f, 1.0f)); - axisLines.setCoordinate(14, new Point3f( 0.1f, 0.1f, 0.9f)); - axisLines.setCoordinate(15, new Point3f(-0.1f, 0.1f, 0.9f)); - axisLines.setCoordinate(16, new Point3f( 0.1f,-0.1f, 0.9f)); - axisLines.setCoordinate(17, new Point3f(-0.1f,-0.1f, 0.9f)); - - axisLines.setCoordinateIndex( 0, 0); - axisLines.setCoordinateIndex( 1, 1); - axisLines.setCoordinateIndex( 2, 2); - axisLines.setCoordinateIndex( 3, 1); - axisLines.setCoordinateIndex( 4, 3); - axisLines.setCoordinateIndex( 5, 1); - axisLines.setCoordinateIndex( 6, 4); - axisLines.setCoordinateIndex( 7, 1); - axisLines.setCoordinateIndex( 8, 5); - axisLines.setCoordinateIndex( 9, 1); - axisLines.setCoordinateIndex(10, 6); - axisLines.setCoordinateIndex(11, 7); - axisLines.setCoordinateIndex(12, 8); - axisLines.setCoordinateIndex(13, 7); - axisLines.setCoordinateIndex(14, 9); - axisLines.setCoordinateIndex(15, 7); - axisLines.setCoordinateIndex(16,10); - axisLines.setCoordinateIndex(17, 7); - axisLines.setCoordinateIndex(18,11); - axisLines.setCoordinateIndex(19, 7); - axisLines.setCoordinateIndex(20,12); - axisLines.setCoordinateIndex(21,13); - axisLines.setCoordinateIndex(22,14); - axisLines.setCoordinateIndex(23,13); - axisLines.setCoordinateIndex(24,15); - axisLines.setCoordinateIndex(25,13); - axisLines.setCoordinateIndex(26,16); - axisLines.setCoordinateIndex(27,13); - axisLines.setCoordinateIndex(28,17); - axisLines.setCoordinateIndex(29,13); - - axisLines.setColor(0, color); - for(int i = 0; i < 30; i++) - { - axisLines.setColorIndex(i, 0); - } - - axisLines.setCapability(IndexedLineArray.ALLOW_COORDINATE_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_FORMAT_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_COUNT_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_COORDINATE_INDEX_READ); - - return axisLines; - - } // end of createGeometry() - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("ERROR: AxisLines Picked:"); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("ERROR: AxisLines unPicked:"); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - System.out.println("remove axis:"); - - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - //-------------------------------------------------------------------------- - - - -} // end of class AxisLines diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColorBar.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColorBar.java deleted file mode 100644 index 05911dbebf..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColorBar.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -//import com.sun.j3d.utils.geometry.GeometryInfo; -//import com.sun.j3d.utils.geometry.NormalGenerator; -//import com.sun.j3d.utils.geometry.Stripifier; -//import com.sun.j3d.utils.geometry.Triangulator; -//import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -//import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import javax.vecmath.Point3f; -import javax.vecmath.Vector3f; - -import FoamX.Post.InteractiveNodes.ColorBarNode; -import FoamX.Post.Util.Colorizer; - -public class ColorBar extends Shape3D implements PickableShape -{ - // Create coloured triangles. - public ColorBar - ( - final ColorBarNode node, - final Colorizer ci, - final float min, - final float max - ) - { - this.setGeometry(ci.colorBar(min, max)); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on ColorBar "); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on ColorBar "); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - System.out.println("remove of ColorBar"); - - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurface.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurface.java deleted file mode 100644 index 869c4ebcf5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurface.java +++ /dev/null @@ -1,196 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import javax.vecmath.Point3f; - -import org.j3d.util.interpolator.ColorInterpolator; - -import FoamX.Post.InteractiveNodes.ColoredSurfaceNode; -import FoamX.Post.Util.BinaryFoamFile; - -public class ColoredSurface extends Shape3D implements PickableShape -{ - double creaseAngle_; - - public ColoredSurface - ( - ColoredSurfaceNode node, - double creaseAngle, - String pointsFileName, - String facesFileName, - String valuesFileName, - float min, - float max - ) - { - // Store reference to input data - creaseAngle_ = creaseAngle; - - System.out.println("Loading files ..."); - Point3f[] coords = BinaryFoamFile.readPoint3fArray(pointsFileName); - int[] triFaces = BinaryFoamFile.readIntArray(facesFileName); - float[] values = BinaryFoamFile.readFloatArray(valuesFileName); - - - // Auto colour - min = values[0]; - max = values[0]; - for(int i = 0; i < values.length; i++) - { - min = Math.min(min, values[i]); - max = Math.max(max, values[i]); - } - System.out.println("min=" + min + " max=" + max); - -// for(int i = 0; i < coords.length; i++) -// { -// System.out.println("i=" + i + " Coord=" + coords[i]); -// } -// for(int i = 0; i < triFaces.length; i++) -// { -// System.out.println("i=" + i + " TriFaces=" + triFaces[i]); -// } -// for(int i = 0; i < values.length; i++) -// { -// System.out.println("i=" + i + " Values=" + values[i]); -// } - - - System.out.println("Colouring ..."); - Color3f[] colors = new Color3f[values.length]; - valuesToVertexColors(values, colors, min, max); - - int[] colorIndices = new int[triFaces.length]; - - - System.out.println("Setting color indices ..."); - if (values.length == coords.length) - { - //- Vertex wise data - for(int i = 0; i < triFaces.length; i++) - { - colorIndices[i] = triFaces[i]; - } - } - else if (3*values.length == triFaces.length) - { - //- Face wise data - int vertI = 0; - for(int faceI = 0; faceI < triFaces.length/3; faceI++) - { - colorIndices[vertI++] = faceI; - colorIndices[vertI++] = faceI; - colorIndices[vertI++] = faceI; - } - } - else - { - System.out.println("**Illegal length of values" + values.length); - } - - - GeometryInfo geometryInfo = - new GeometryInfo(GeometryInfo.TRIANGLE_ARRAY); - System.out.println("Setting coordinates ..."); - geometryInfo.setCoordinates(coords); - geometryInfo.setCoordinateIndices(triFaces); - - System.out.println("Setting colours ..."); - geometryInfo.setColors(colors); - geometryInfo.setColorIndices(colorIndices); - - //- Generate normals - System.out.println("Setting normals ..."); - NormalGenerator ng = new NormalGenerator(creaseAngle_); - ng.generateNormals(geometryInfo); - - //- Make shape and set various - System.out.println("Making geometryArray..."); - IndexedGeometryArray array = geometryInfo.getIndexedGeometryArray(); - - this.setGeometry(array); - //PickTool.setCapabilities(this, PickTool.INTERSECT_FULL); - //this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - //this.setCapability(Shape3D.ALLOW_APPEARANCE_READ); - //array.setCapability(IndexedGeometryArray.ALLOW_COLOR_INDEX_WRITE); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - System.out.println("Done making shape..."); - } - - // Convert values into colors - static void valuesToVertexColors - ( - float[] values, Color3f[] colors, float min, float max - ) - { - if (values.length != colors.length) - { - System.out.println - ( - "Lengths different:" + values.length + " " + colors.length - ); - } - if (values.length == 0) - { - return; - } - - ColorInterpolator ci = new ColorInterpolator(3); - ci.addRGBKeyFrame(min , 0.0f, 0.0f, 1.0f, 1.0f); - float temp = (float)(0.5*min+0.5*max); - ci.addRGBKeyFrame(temp, 0.0f, 1.0f, 0.0f, 1.0f); - ci.addRGBKeyFrame(max , 1.0f, 0.0f, 0.0f, 1.0f); - - for(int i = 0; i < values.length; i++) - { - float[] rgbColor = ci.floatRGBValue(values[i]); - colors[i] = new Color3f(rgbColor[0], rgbColor[1], rgbColor[2]); - } - - } - - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on ColoredSurface "); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on ColoredSurface "); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - System.out.println("remove of ColoredSurface"); - - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRef.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRef.java deleted file mode 100644 index 8e49f49e6a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRef.java +++ /dev/null @@ -1,712 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import javax.vecmath.Point3f; -import javax.vecmath.Vector3f; - -import org.j3d.util.interpolator.ColorInterpolator; - -import FoamX.Post.InteractiveNodes.ColoredSurfaceByRefNode; -import FoamX.Post.Util.BinaryFoamFile; -import FoamX.Post.Util.Colorizer; - -public class ColoredSurfaceByRef extends Shape3D implements PickableShape -{ - // reads triangle list. - public ColoredSurfaceByRef - ( - final ColoredSurfaceByRefNode node, - final double creaseAngle, - final boolean stripify, - final String pointsFileName, - final String facesFileName, - final String valuesFileName, - final Colorizer colorizer, - final float min, - final float max - ) - { - this - ( - node, - false, - false, - stripify, - creaseAngle, - pointsFileName, - null, - facesFileName, - valuesFileName, - colorizer, - min, - max - ); - } - - - // reads triangle strip. - public ColoredSurfaceByRef - ( - final ColoredSurfaceByRefNode node, - final boolean readTriStrip, - final boolean readNormals, - final boolean stripify, - final double creaseAngle, - final String pointsFileName, - final String normalsFileName, - final String trianglesFileName, - final String valuesFileName, - final Colorizer colorizer, - final float min, - final float max - ) - { - int[][] triStrips = null; - int[] triFaces = null; - float[] normals = null; - - //System.out.println("Loading files ..."); - float[] coords = BinaryFoamFile.readFloatPointArray(pointsFileName); - - if (readNormals) - { - normals = BinaryFoamFile.readFloatPointArray(normalsFileName); - } - - if (readTriStrip) - { - triStrips = BinaryFoamFile.readIntIntArray(trianglesFileName); - } - else - { - triFaces = BinaryFoamFile.readIntArray(trianglesFileName); - } - - float[] values = BinaryFoamFile.readFloatArray(valuesFileName); - - Geometry array = createGeometry - ( - node, - readTriStrip, - stripify, - creaseAngle, - coords, - normals, - triFaces, - triStrips, - values, - colorizer, - min, - max - ); - this.setGeometry(array); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - // Creates coloured geometry from values - public ColoredSurfaceByRef - ( - final ColoredSurfaceByRefNode node, - final boolean stripInput, - final boolean stripify, - final double creaseAngle, - final float[] points, - final float[] normals, - final int[] triFaces, - final int[][] triStrips, - final float[] values, - final Colorizer colorizer, - final float min, - final float max - ) - { - Geometry array = createGeometry - ( - node, - stripInput, - stripify, - creaseAngle, - points, - normals, - triFaces, - triStrips, - values, - colorizer, - min, - max - ); - this.setGeometry(array); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - // Creates coloured geometry from values - private Geometry createGeometry - ( - final ColoredSurfaceByRefNode node, - final boolean stripInput, - final boolean stripify, - final double creaseAngle, - final float[] coords, - final float[] normals, - final int[] triFaces, - final int[][] triStrips, - final float[] values, - final Colorizer colorizer, - float min, - float max - ) - { - - if ((min == 0.0f) && (max == 0.0f)) - { - // Auto colour - if (values.length > 0) - { - min = values[0]; - max = values[0]; - for(int i = 0; i < values.length; i++) - { - min = Math.min(min, values[i]); - max = Math.max(max, values[i]); - } - } - } - //System.out.println("min=" + min + " max=" + max); - - - float[] localNormals = normals; - if (normals == null) - { - //System.out.println("Calculating vertex normals"); - localNormals = new float[coords.length]; - if (stripInput) - { - calcStripNormals(triStrips, coords, localNormals); - } - else - { - calcNormals(triFaces, coords, localNormals); - } - } - - - //System.out.println("Converting values to colours ..."); - float[] colors = new float[3*values.length]; - colorizer.color(min, max, values, colors); - - float[] triCoords; - float[] triNormals; - float[] triColors; - - GeometryArray array; - - if (stripInput) - { - int[] triLengths = new int[triStrips.length]; - int totalNvertices = stripLength(triStrips, triLengths); - - triCoords = new float[3*totalNvertices]; - triNormals = new float[3*totalNvertices]; - triColors = new float[3*totalNvertices]; - - //System.out.println("Unindexing ..."); - - - if (colors.length != coords.length) - { - System.out.println("***Cannot unindex face based data"); - } - - unindexStrip - ( - triStrips, coords, localNormals, colors, - triCoords, triNormals, triColors - ); - - //System.out.println("Creating TriangleStripArray ..."); - - array = new TriangleStripArray - ( - totalNvertices, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - | TriangleArray.NORMALS - | TriangleArray.BY_REFERENCE, - triLengths - ); - } - else - { - if (stripify) - { - // Use geometryInfo to triangulate - - //System.out.println("Stripifying ..."); - - GeometryInfo geometryInfo = - new GeometryInfo(GeometryInfo.TRIANGLE_ARRAY); - geometryInfo.setCoordinateIndices(triFaces); - geometryInfo.setCoordinates(coords); - Stripifier st = new Stripifier(); - st.stripify(geometryInfo); - - int[] triLengths = geometryInfo.getStripCounts(); - int[] triIndices = geometryInfo.getCoordinateIndices(); - - int totalNvertices = 0; - for(int i = 0; i < triLengths.length; i++) - { - totalNvertices += triLengths[i]; - } - - triCoords = new float[3*totalNvertices]; - triNormals = new float[3*totalNvertices]; - triColors = new float[3*totalNvertices]; - - //System.out.println("Unindexing ..."); - - unindex - ( - triIndices, coords, localNormals, colors, - triCoords, triNormals, triColors - ); - - //System.out.println("Creating TriangleStripArray ..."); - - array = new TriangleStripArray - ( - totalNvertices, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - | TriangleArray.NORMALS - | TriangleArray.BY_REFERENCE, - triLengths - ); - } - else - { - triCoords = new float[3*triFaces.length]; - triNormals = new float[3*triFaces.length]; - triColors = new float[3*triFaces.length]; - - //System.out.println("Unindexing ..."); - - unindex - ( - triFaces, coords, localNormals, colors, - triCoords, triNormals, triColors - ); - - array = new TriangleArray - ( - triFaces.length, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - | TriangleArray.NORMALS - | TriangleArray.BY_REFERENCE - ); - } - } - array.setCoordRefFloat(triCoords); - array.setColorRefFloat(triColors); - array.setNormalRefFloat(triNormals); - - //System.out.println("Done making shape..."); - return array; - } - - //-------------------------------------------------------------------------- - - // Calculate normals - static void calcStripNormals - ( - final int[][] triStrips, - final float[] coords, - float[] normals - ) - { - for(int i = 0; i < normals.length; i++) - { - normals[i] = 0; - } - - //System.out.println("Calculating face normals"); - Vector3f firstNormal = null; - for(int stripI = 0; stripI < triStrips.length; stripI++) - { - int[] strip = triStrips[stripI]; - - int v0offset = 3*strip[0]; - int v1offset = 3*strip[1]; - - float sign = 1; - - - for(int vertI = 2; vertI < strip.length; vertI++) - { - int v2offset = 3*strip[vertI]; - - // Get edge from vertex1 to vertex0 - float edge1x = coords[v1offset] - coords[v0offset]; - float edge1y = coords[v1offset + 1] - coords[v0offset + 1]; - float edge1z = coords[v1offset + 2] - coords[v0offset + 2]; - - // Get edge from vertex2 to vertex0 - float edge2x = coords[v2offset] - coords[v0offset]; - float edge2y = coords[v2offset + 1] - coords[v0offset + 1]; - float edge2z = coords[v2offset + 2] - coords[v0offset + 2]; - - Vector3f normal = new Vector3f(); - normal.cross - ( - new Vector3f(edge1x, edge1y, edge1z), - new Vector3f(edge2x, edge2y, edge2z) - ); - - normal.normalize(); - - if (vertI == 2) - { - // First triangle of current strip - if (stripI == 0) - { - // If first strip store normal - firstNormal = normal; - } - else - { - // If not first strip compare and flip - // so orientation is equal - if (firstNormal.dot(normal) < 0) - { - sign = -1.0f; - } - } - } - - normal.x *= sign; - normal.y *= sign; - normal.z *= sign; - - normals[v0offset] += normal.x; - normals[v0offset+1] += normal.y; - normals[v0offset+2] += normal.z; - - normals[v1offset] += normal.x; - normals[v1offset+1] += normal.y; - normals[v1offset+2] += normal.z; - - normals[v2offset] += normal.x; - normals[v2offset+1] += normal.y; - normals[v2offset+2] += normal.z; - - // Go to next triangle - v0offset = v1offset; - v1offset = v2offset; - sign = -sign; - } - } - - //System.out.println("Normalizing normals"); - // Normalize normals - for(int i = 0; i < normals.length; i += 3) - { - float x = normals[i]; - float y = normals[i+1]; - float z = normals[i+2]; - - float mag = (float)Math.sqrt(x*x + y*y + z*z); - normals[i] /= mag; - normals[i+1] /= mag; - normals[i+2] /= mag; - } - } - - - //-------------------------------------------------------------------------- - - // Calculate normals - static void calcNormals - ( - final int[] triFaces, - final float[] coords, - float[] normals - ) - { - for(int i = 0; i < normals.length; i++) - { - normals[i] = 0; - } - - //System.out.println("Calculating face normals"); - int triIndex = 0; - for(int faceI = 0; faceI < triFaces.length; faceI += 3) - { - int v0offset = 3*triFaces[faceI]; - int v1offset = 3*triFaces[faceI + 1]; - int v2offset = 3*triFaces[faceI + 2]; - - float edge1x = coords[v1offset] - coords[v0offset]; - float edge1y = coords[v1offset + 1] - coords[v0offset + 1]; - float edge1z = coords[v1offset + 2] - coords[v0offset + 2]; - - float edge2x = coords[v2offset] - coords[v0offset]; - float edge2y = coords[v2offset + 1] - coords[v0offset + 1]; - float edge2z = coords[v2offset + 2] - coords[v0offset + 2]; - - Vector3f normal = new Vector3f(); - normal.cross - ( - new Vector3f(edge1x, edge1y, edge1z), - new Vector3f(edge2x, edge2y, edge2z) - ); - - normal.normalize(); - - normals[v0offset] += normal.x; - normals[v0offset+1] += normal.y; - normals[v0offset+2] += normal.z; - - normals[v1offset] += normal.x; - normals[v1offset+1] += normal.y; - normals[v1offset+2] += normal.z; - - normals[v2offset] += normal.x; - normals[v2offset+1] += normal.y; - normals[v2offset+2] += normal.z; - } - - //System.out.println("Normalizing normals"); - // Normalize normals - for(int i = 0; i < normals.length; i += 3) - { - float x = normals[i]; - float y = normals[i+1]; - float z = normals[i+2]; - - float mag = (float)Math.sqrt(x*x + y*y + z*z); - normals[i] /= mag; - normals[i+1] /= mag; - normals[i+2] /= mag; - } - } - - //-------------------------------------------------------------------------- - - // Determine number of vertices in strips - static int stripLength(final int[][] triStrips, int[] triLengths) - { - int totalNvertices = 0; - for(int stripI = 0; stripI < triStrips.length; stripI++) - { - int len = triStrips[stripI].length; - triLengths[stripI] = len; - totalNvertices += len; - } - return totalNvertices; - } - - //-------------------------------------------------------------------------- - - - // Unindex - static void unindexStrip - ( - final int[][] triStrips, - final float[] coords, - final float[] normals, - final float[] colors, - - float[] triCoords, - float[] triNormals, - float[] triColors - ) - { - int coordI = 0; - for(int stripI = 0; stripI < triStrips.length; stripI++) - { - int[] strip = triStrips[stripI]; - int len = strip.length; - for(int vertI = 0; vertI < len; vertI++) - { - triCoords[coordI] = coords[3*strip[vertI]]; - triNormals[coordI] = normals[3*strip[vertI]]; - triColors[coordI] = colors[3*strip[vertI]]; - coordI++; - - triCoords[coordI] = coords[3*strip[vertI]+1]; - triNormals[coordI] = normals[3*strip[vertI]+1]; - triColors[coordI] = colors[3*strip[vertI]+1]; - coordI++; - - triCoords[coordI] = coords[3*strip[vertI]+2]; - triNormals[coordI] = normals[3*strip[vertI]+2]; - triColors[coordI] = colors[3*strip[vertI]+2]; - coordI++; - } - } - } - - //-------------------------------------------------------------------------- - - // Unindex strip in Java3D format - static void unindexJava3DStrip - ( - final int[] triLengths, - final int[] triIndices, - final float[] coords, - final float[] normals, - final float[] colors, - - float[] triCoords, - float[] triNormals, - float[] triColors - ) - { - int coordI = 0; - for(int vertI = 0; vertI < triIndices.length; vertI++) - { - int indexx = 3*triIndices[vertI]; - int indexy = indexx + 1; - int indexz = indexx + 2; - - triCoords[coordI] = coords[indexx]; - triNormals[coordI] = normals[indexx]; - triColors[coordI] = colors[indexx]; - coordI++; - - triCoords[coordI] = coords[indexy]; - triNormals[coordI] = normals[indexy]; - triColors[coordI] = colors[indexy]; - coordI++; - - triCoords[coordI] = coords[indexz]; - triNormals[coordI] = normals[indexz]; - triColors[coordI] = colors[indexz]; - coordI++; - } - } - - //-------------------------------------------------------------------------- - - // Unindex - static void unindex - ( - final int[] triFaces, - final float[] coords, - final float[] normals, - final float[] colors, - - float[] triCoords, - float[] triNormals, - float[] triColors - ) - { - int vertI = 0; - - System.out.println - ( - "unindex: colors:" + colors.length + " triFaces:" + triFaces.length - ); - - if (colors.length == triFaces.length) - { - // Element wise colors - for(int i = 0; i < triFaces.length; i++) - { - int indexx = 3*triFaces[i]; - int indexy = indexx + 1; - int indexz = indexx + 2; - - int faceI = i / 3; - - triCoords[vertI] = coords[indexx]; // X - triNormals[vertI] = normals[indexx]; // X - triColors[vertI] = colors[3*faceI]; // R - vertI++; - - triCoords[vertI] = coords[indexy]; // Y - triNormals[vertI] = normals[indexy]; // Y - triColors[vertI] = colors[3*faceI+1]; // G - vertI++; - - triCoords[vertI] = coords[indexz]; // Z - triNormals[vertI] = normals[indexz]; // Z - triColors[vertI] = colors[3*faceI+2]; // B - vertI++; - } - } - else - { - // Vertex wise colors - for(int i = 0; i < triFaces.length; i++) - { - int indexx = 3*triFaces[i]; - int indexy = indexx + 1; - int indexz = indexx + 2; - - triCoords[vertI] = coords[indexx]; // X - triNormals[vertI] = normals[indexx]; // X - triColors[vertI] = colors[indexx]; // R - vertI++; - - triCoords[vertI] = coords[indexy]; // Y - triNormals[vertI] = normals[indexy]; // Y - triColors[vertI] = colors[indexy]; // G - vertI++; - - triCoords[vertI] = coords[indexz]; // Z - triNormals[vertI] = normals[indexz]; // Z - triColors[vertI] = colors[indexz]; // B - vertI++; - } - } - } - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on ColoredSurfaceByRef "); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on ColoredSurfaceByRef "); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove of ColoredSurfaceByRef"); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRefNoStrip.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRefNoStrip.java deleted file mode 100644 index b2afdd2780..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceByRefNoStrip.java +++ /dev/null @@ -1,264 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import javax.vecmath.Point3f; -import javax.vecmath.Vector3f; - -import org.j3d.util.interpolator.ColorInterpolator; - -import FoamX.Post.Util.OrbitPickBehavior; -import FoamX.Post.InteractiveNodes.ColoredSurfaceByRefNode; -import FoamX.Post.Util.BinaryFoamFile; - -public class ColoredSurfaceByRef extends Shape3D implements PickableShape -{ - double creaseAngle_; - - public ColoredSurfaceByRef - ( - ColoredSurfaceByRefNode node, - double creaseAngle, - String pointsFileName, - String facesFileName, - String valuesFileName, - float min, - float max - ) - { - // Store reference to input data - creaseAngle_ = creaseAngle; - - System.out.println("Loading files ..."); - float[] coords = BinaryFoamFile.readFloatPointArray(pointsFileName); - int[] triFaces = BinaryFoamFile.readIntArray(facesFileName); - float[] values = BinaryFoamFile.readFloatArray(valuesFileName); - - - // Auto colour - min = values[0]; - max = values[0]; - for(int i = 0; i < values.length; i++) - { - min = Math.min(min, values[i]); - max = Math.max(max, values[i]); - } - System.out.println("min=" + min + " max=" + max); - -// for(int i = 0; i < coords.length; i++) -// { -// System.out.println("i=" + i + " Coord=" + coords[i]); -// } -// for(int i = 0; i < triFaces.length; i++) -// { -// System.out.println("i=" + i + " TriFaces=" + triFaces[i]); -// } -// for(int i = 0; i < values.length; i++) -// { -// System.out.println("i=" + i + " Values=" + values[i]); -// } - - System.out.println("Calculating smooth normals"); - // Storage for vertex normals - float[] normals = new float[coords.length]; - for(int i = 0; i < normals.length; i++) - { - normals[i] = 0; - } - - System.out.println("Calculating face normals"); - int triIndex = 0; - for(int faceI = 0; faceI < triFaces.length; faceI += 3) - { - int v0offset = 3*triFaces[faceI]; - int v1offset = 3*triFaces[faceI + 1]; - int v2offset = 3*triFaces[faceI + 2]; - - float edge1x = coords[v1offset] - coords[v0offset]; - float edge1y = coords[v1offset + 1] - coords[v0offset + 1]; - float edge1z = coords[v1offset + 2] - coords[v0offset + 2]; - - float edge2x = coords[v2offset] - coords[v0offset]; - float edge2y = coords[v2offset + 1] - coords[v0offset + 1]; - float edge2z = coords[v2offset + 2] - coords[v0offset + 2]; - - Vector3f normal = new Vector3f(); - normal.cross - ( - new Vector3f(edge1x, edge1y, edge1z), - new Vector3f(edge2x, edge2y, edge2z) - ); - - normal.normalize(); - - normals[v0offset] += normal.x; - normals[v0offset+1] += normal.y; - normals[v0offset+2] += normal.z; - - normals[v1offset] += normal.x; - normals[v1offset+1] += normal.y; - normals[v1offset+2] += normal.z; - - normals[v2offset] += normal.x; - normals[v2offset+1] += normal.y; - normals[v2offset+2] += normal.z; - } - - System.out.println("Normalizing normals"); - // Normalize normals - for(int i = 0; i < normals.length; i += 3) - { - float x = normals[i]; - float y = normals[i+1]; - float z = normals[i+2]; - - float mag = (float)Math.sqrt(x*x + y*y + z*z); - normals[i] /= mag; - normals[i+1] /= mag; - normals[i+2] /= mag; - } - - - System.out.println("Converting values to colours ..."); - float[] colors = new float[3*values.length]; - valuesToVertexColors(values, colors, min, max); - - System.out.println("Unindexing geometry ..."); - float[] triCoords = new float[3*triFaces.length]; - int vertI = 0; - for(int i = 0; i < triFaces.length; i++) - { - triCoords[vertI++] = coords[3*triFaces[i]]; // X - triCoords[vertI++] = coords[3*triFaces[i] + 1]; // Y - triCoords[vertI++] = coords[3*triFaces[i] + 2]; // Z - } - - System.out.println("Unindexing normals ..."); - float[] triNormals = new float[3*triFaces.length]; - vertI = 0; - for(int i = 0; i < triFaces.length; i++) - { - triNormals[vertI++] = normals[3*triFaces[i]]; // X - triNormals[vertI++] = normals[3*triFaces[i] + 1]; // Y - triNormals[vertI++] = normals[3*triFaces[i] + 2]; // Z - } - - System.out.println("Unindexing colours ..."); - float[] triColors = new float[3*triFaces.length]; - vertI = 0; - for(int i = 0; i < triFaces.length; i++) - { - triColors[vertI++] = colors[3*triFaces[i]]; // R - triColors[vertI++] = colors[3*triFaces[i] + 1]; // G - triColors[vertI++] = colors[3*triFaces[i] + 2]; // B - } - - TriangleArray array = new TriangleArray - ( - triFaces.length, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - | TriangleArray.NORMALS - | TriangleArray.BY_REFERENCE - ); - array.setCoordRefFloat(triCoords); - array.setColorRefFloat(triColors); - array.setNormalRefFloat(triNormals); - -// TriangleArray array = new TriangleArray -// ( -// triFaces.length, -// TriangleArray.COORDINATES -// | TriangleArray.COLOR_3 -// ); -// array.setCoordinates(0, triCoords); -// array.setColors(0, triColors); - - this.setGeometry(array); - //PickTool.setCapabilities(this, PickTool.INTERSECT_FULL); - //this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - //this.setCapability(Shape3D.ALLOW_APPEARANCE_READ); - //array.setCapability(IndexedGeometryArray.ALLOW_COLOR_INDEX_WRITE); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - System.out.println("Done making shape..."); - } - - // Convert values into colors - static void valuesToVertexColors - ( - float[] values, float[] colors, float min, float max - ) - { - if (colors.length != 3*values.length) - { - System.out.println - ( - "Lengths different:" + values.length + " " + colors.length - ); - } - if (values.length == 0) - { - return; - } - - ColorInterpolator ci = new ColorInterpolator(3); - ci.addRGBKeyFrame(min, 0.0f, 0.0f, 1.0f, 1.0f); - float mid = (float)(0.5*min+0.5*max); - ci.addRGBKeyFrame(mid, 0.0f, 1.0f, 0.0f, 1.0f); - ci.addRGBKeyFrame(max, 1.0f, 0.0f, 0.0f, 1.0f); - - int colorComponent = 0; - for(int i = 0; i < values.length; i++) - { - float[] rgbColor = ci.floatRGBValue(values[i]); - // Copy RGB - colors[colorComponent++] = rgbColor[0]; - colors[colorComponent++] = rgbColor[1]; - colors[colorComponent++] = rgbColor[2]; - } - } - - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on ColoredSurfaceByRef "); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on ColoredSurfaceByRef "); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - System.out.println("remove of ColoredSurfaceByRef"); - - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceVec.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceVec.java deleted file mode 100644 index b0108a7091..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/ColoredSurfaceVec.java +++ /dev/null @@ -1,714 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import javax.vecmath.Point3f; -import javax.vecmath.Vector3f; - -import org.j3d.util.interpolator.ColorInterpolator; - -import FoamX.Post.InteractiveNodes.ColoredSurfaceVecNode; -import FoamX.Post.Util.BinaryFoamFile; -import FoamX.Post.Util.Colorizer; - -public class ColoredSurfaceVec extends Shape3D implements PickableShape -{ - // reads triangle list. - public ColoredSurfaceVec - ( - final ColoredSurfaceVecNode node, - final double creaseAngle, - final boolean stripify, - final String pointsFileName, - final String facesFileName, - final String valuesFileName, - final Colorizer colorizer, - final float min, - final float max - ) - { - this - ( - node, - false, - false, - stripify, - creaseAngle, - pointsFileName, - null, - facesFileName, - valuesFileName, - colorizer, - min, - max - ); - } - - - // reads triangle strip. - public ColoredSurfaceVec - ( - final ColoredSurfaceVecNode node, - final boolean readTriStrip, - final boolean readNormals, - final boolean stripify, - final double creaseAngle, - final String pointsFileName, - final String normalsFileName, - final String trianglesFileName, - final String valuesFileName, - final Colorizer colorizer, - final float min, - final float max - ) - { - int[][] triStrips = null; - int[] triFaces = null; - float[] normals = null; - - System.out.println("Loading files ..."); - float[] coords = BinaryFoamFile.readFloatPointArray(pointsFileName); - - if (readNormals) - { - normals = BinaryFoamFile.readFloatPointArray(normalsFileName); - } - - if (readTriStrip) - { - triStrips = BinaryFoamFile.readIntIntArray(trianglesFileName); - } - else - { - triFaces = BinaryFoamFile.readIntArray(trianglesFileName); - } - - float[] values = BinaryFoamFile.readFloatArray(valuesFileName); - - Geometry array = createGeometry - ( - node, - readTriStrip, - stripify, - creaseAngle, - coords, - normals, - triFaces, - triStrips, - values, - colorizer, - min, - max - ); - this.setGeometry(array); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - // Creates coloured geometry from values - public ColoredSurfaceVec - ( - final ColoredSurfaceVecNode node, - final boolean stripInput, - final boolean stripify, - final double creaseAngle, - final float[] points, - final float[] normals, - final int[] triFaces, - final int[][] triStrips, - final float[] values, - final Colorizer colorizer, - final float min, - final float max - ) - { - Geometry array = createGeometry - ( - node, - stripInput, - stripify, - creaseAngle, - points, - normals, - triFaces, - triStrips, - values, - colorizer, - min, - max - ); - this.setGeometry(array); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - // Creates coloured geometry from values - private Geometry createGeometry - ( - final ColoredSurfaceVecNode node, - final boolean stripInput, - final boolean stripify, - final double creaseAngle, - final float[] coords, - final float[] normals, - final int[] triFaces, - final int[][] triStrips, - final float[] values, - final Colorizer colorizer, - float min, - float max - ) - { - - if ((min == 0.0f) && (max == 0.0f)) - { - // Auto colour - if (values.length > 0) - { - min = values[0]; - max = values[0]; - for(int i = 0; i < values.length; i++) - { - min = Math.min(min, values[i]); - max = Math.max(max, values[i]); - } - } - } - System.out.println("min=" + min + " max=" + max); - - - float[] localNormals = normals; - if (normals == null) - { - System.out.println("Calculating vertex normals"); - localNormals = new float[coords.length]; - if (stripInput) - { - calcStripNormals(triStrips, coords, localNormals); - } - else - { - calcNormals(triFaces, coords, localNormals); - } - } - - - System.out.println("Converting values to colours ..."); - float[] colors = new float[3*values.length]; - colorizer.color(min, max, values, colors); - - float[] triCoords; - float[] triNormals; - float[] triColors; - - GeometryArray array; - - if (stripInput) - { - int[] triLengths = new int[triStrips.length]; - int totalNvertices = stripLength(triStrips, triLengths); - - triCoords = new float[3*totalNvertices]; - triNormals = new float[3*totalNvertices]; - triColors = new float[3*totalNvertices]; - - System.out.println("Unindexing ..."); - - - if (colors.length != coords.length) - { - System.out.println("***Cannot unindex face based data"); - } - - unindexStrip - ( - triStrips, coords, localNormals, colors, - triCoords, triNormals, triColors - ); - - System.out.println("Creating TriangleStripArray ..."); - - array = new TriangleStripArray - ( - totalNvertices, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - | TriangleArray.NORMALS - | TriangleArray.BY_REFERENCE, - triLengths - ); - } - else - { - if (stripify) - { - // Use geometryInfo to triangulate - - System.out.println("Stripifying ..."); - - GeometryInfo geometryInfo = - new GeometryInfo(GeometryInfo.TRIANGLE_ARRAY); - geometryInfo.setCoordinateIndices(triFaces); - geometryInfo.setCoordinates(coords); - Stripifier st = new Stripifier(); - st.stripify(geometryInfo); - - int[] triLengths = geometryInfo.getStripCounts(); - int[] triIndices = geometryInfo.getCoordinateIndices(); - - int totalNvertices = 0; - for(int i = 0; i < triLengths.length; i++) - { - totalNvertices += triLengths[i]; - } - - triCoords = new float[3*totalNvertices]; - triNormals = new float[3*totalNvertices]; - triColors = new float[3*totalNvertices]; - - System.out.println("Unindexing ..."); - - unindex - ( - triIndices, coords, localNormals, colors, - triCoords, triNormals, triColors - ); - - System.out.println("Creating TriangleStripArray ..."); - - array = new TriangleStripArray - ( - totalNvertices, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - | TriangleArray.NORMALS - | TriangleArray.BY_REFERENCE, - triLengths - ); - } - else - { - triCoords = new float[3*triFaces.length]; - triNormals = new float[3*triFaces.length]; - triColors = new float[3*triFaces.length]; - - System.out.println("Unindexing ..."); - - unindex - ( - triFaces, coords, localNormals, colors, - triCoords, triNormals, triColors - ); - - array = new TriangleArray - ( - triFaces.length, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - | TriangleArray.NORMALS - | TriangleArray.BY_REFERENCE - ); - } - } - array.setCoordRefFloat(triCoords); - array.setColorRefFloat(triColors); - array.setNormalRefFloat(triNormals); - - System.out.println("Done making shape..."); - return array; - } - - //-------------------------------------------------------------------------- - - // Calculate normals - static void calcStripNormals - ( - final int[][] triStrips, - final float[] coords, - float[] normals - ) - { - for(int i = 0; i < normals.length; i++) - { - normals[i] = 0; - } - - System.out.println("Calculating face normals"); - Vector3f firstNormal = null; - for(int stripI = 0; stripI < triStrips.length; stripI++) - { - int[] strip = triStrips[stripI]; - - int v0offset = 3*strip[0]; - int v1offset = 3*strip[1]; - - float sign = 1; - - - for(int vertI = 2; vertI < strip.length; vertI++) - { - int v2offset = 3*strip[vertI]; - - // Get edge from vertex1 to vertex0 - float edge1x = coords[v1offset] - coords[v0offset]; - float edge1y = coords[v1offset + 1] - coords[v0offset + 1]; - float edge1z = coords[v1offset + 2] - coords[v0offset + 2]; - - // Get edge from vertex2 to vertex0 - float edge2x = coords[v2offset] - coords[v0offset]; - float edge2y = coords[v2offset + 1] - coords[v0offset + 1]; - float edge2z = coords[v2offset + 2] - coords[v0offset + 2]; - - Vector3f normal = new Vector3f(); - normal.cross - ( - new Vector3f(edge1x, edge1y, edge1z), - new Vector3f(edge2x, edge2y, edge2z) - ); - - normal.normalize(); - - if (vertI == 2) - { - // First triangle of current strip - if (stripI == 0) - { - // If first strip store normal - firstNormal = normal; - } - else - { - // If not first strip compare and flip - // so orientation is equal - if (firstNormal.dot(normal) < 0) - { - sign = -1.0f; - } - } - } - - normal.x *= sign; - normal.y *= sign; - normal.z *= sign; - - normals[v0offset] += normal.x; - normals[v0offset+1] += normal.y; - normals[v0offset+2] += normal.z; - - normals[v1offset] += normal.x; - normals[v1offset+1] += normal.y; - normals[v1offset+2] += normal.z; - - normals[v2offset] += normal.x; - normals[v2offset+1] += normal.y; - normals[v2offset+2] += normal.z; - - // Go to next triangle - v0offset = v1offset; - v1offset = v2offset; - sign = -sign; - } - } - - System.out.println("Normalizing normals"); - // Normalize normals - for(int i = 0; i < normals.length; i += 3) - { - float x = normals[i]; - float y = normals[i+1]; - float z = normals[i+2]; - - float mag = (float)Math.sqrt(x*x + y*y + z*z); - normals[i] /= mag; - normals[i+1] /= mag; - normals[i+2] /= mag; - } - } - - - //-------------------------------------------------------------------------- - - // Calculate normals - static void calcNormals - ( - final int[] triFaces, - final float[] coords, - float[] normals - ) - { - for(int i = 0; i < normals.length; i++) - { - normals[i] = 0; - } - - System.out.println("Calculating face normals"); - int triIndex = 0; - for(int faceI = 0; faceI < triFaces.length; faceI += 3) - { - int v0offset = 3*triFaces[faceI]; - int v1offset = 3*triFaces[faceI + 1]; - int v2offset = 3*triFaces[faceI + 2]; - - float edge1x = coords[v1offset] - coords[v0offset]; - float edge1y = coords[v1offset + 1] - coords[v0offset + 1]; - float edge1z = coords[v1offset + 2] - coords[v0offset + 2]; - - float edge2x = coords[v2offset] - coords[v0offset]; - float edge2y = coords[v2offset + 1] - coords[v0offset + 1]; - float edge2z = coords[v2offset + 2] - coords[v0offset + 2]; - - Vector3f normal = new Vector3f(); - normal.cross - ( - new Vector3f(edge1x, edge1y, edge1z), - new Vector3f(edge2x, edge2y, edge2z) - ); - - normal.normalize(); - - normals[v0offset] += normal.x; - normals[v0offset+1] += normal.y; - normals[v0offset+2] += normal.z; - - normals[v1offset] += normal.x; - normals[v1offset+1] += normal.y; - normals[v1offset+2] += normal.z; - - normals[v2offset] += normal.x; - normals[v2offset+1] += normal.y; - normals[v2offset+2] += normal.z; - } - - System.out.println("Normalizing normals"); - // Normalize normals - for(int i = 0; i < normals.length; i += 3) - { - float x = normals[i]; - float y = normals[i+1]; - float z = normals[i+2]; - - float mag = (float)Math.sqrt(x*x + y*y + z*z); - normals[i] /= mag; - normals[i+1] /= mag; - normals[i+2] /= mag; - } - } - - //-------------------------------------------------------------------------- - - // Determine number of vertices in strips - static int stripLength(final int[][] triStrips, int[] triLengths) - { - int totalNvertices = 0; - for(int stripI = 0; stripI < triStrips.length; stripI++) - { - int len = triStrips[stripI].length; - triLengths[stripI] = len; - totalNvertices += len; - } - return totalNvertices; - } - - //-------------------------------------------------------------------------- - - - // Unindex - static void unindexStrip - ( - final int[][] triStrips, - final float[] coords, - final float[] normals, - final float[] colors, - - float[] triCoords, - float[] triNormals, - float[] triColors - ) - { - int coordI = 0; - for(int stripI = 0; stripI < triStrips.length; stripI++) - { - int[] strip = triStrips[stripI]; - int len = strip.length; - for(int vertI = 0; vertI < len; vertI++) - { - triCoords[coordI] = coords[3*strip[vertI]]; - triNormals[coordI] = normals[3*strip[vertI]]; - triColors[coordI] = colors[3*strip[vertI]]; - coordI++; - - triCoords[coordI] = coords[3*strip[vertI]+1]; - triNormals[coordI] = normals[3*strip[vertI]+1]; - triColors[coordI] = colors[3*strip[vertI]+1]; - coordI++; - - triCoords[coordI] = coords[3*strip[vertI]+2]; - triNormals[coordI] = normals[3*strip[vertI]+2]; - triColors[coordI] = colors[3*strip[vertI]+2]; - coordI++; - } - } - } - - //-------------------------------------------------------------------------- - - // Unindex strip in Java3D format - static void unindexJava3DStrip - ( - final int[] triLengths, - final int[] triIndices, - final float[] coords, - final float[] normals, - final float[] colors, - - float[] triCoords, - float[] triNormals, - float[] triColors - ) - { - int coordI = 0; - for(int vertI = 0; vertI < triIndices.length; vertI++) - { - int indexx = 3*triIndices[vertI]; - int indexy = indexx + 1; - int indexz = indexx + 2; - - triCoords[coordI] = coords[indexx]; - triNormals[coordI] = normals[indexx]; - triColors[coordI] = colors[indexx]; - coordI++; - - triCoords[coordI] = coords[indexy]; - triNormals[coordI] = normals[indexy]; - triColors[coordI] = colors[indexy]; - coordI++; - - triCoords[coordI] = coords[indexz]; - triNormals[coordI] = normals[indexz]; - triColors[coordI] = colors[indexz]; - coordI++; - } - } - - //-------------------------------------------------------------------------- - - // Unindex - static void unindex - ( - final int[] triFaces, - final float[] coords, - final float[] normals, - final float[] colors, - - float[] triCoords, - float[] triNormals, - float[] triColors - ) - { - int vertI = 0; - -System.out.println -( - "unindex: colors:" + colors.length + " triFaces:" + triFaces.length -); - - if (colors.length == triFaces.length) - { - // Element wise colors - for(int i = 0; i < triFaces.length; i++) - { - int indexx = 3*triFaces[i]; - int indexy = indexx + 1; - int indexz = indexx + 2; - - int faceI = i / 3; - - triCoords[vertI] = coords[indexx]; // X - triNormals[vertI] = normals[indexx]; // X - triColors[vertI] = colors[3*faceI]; // R - vertI++; - - triCoords[vertI] = coords[indexy]; // Y - triNormals[vertI] = normals[indexy]; // Y - triColors[vertI] = colors[3*faceI+1]; // G - vertI++; - - triCoords[vertI] = coords[indexz]; // Z - triNormals[vertI] = normals[indexz]; // Z - triColors[vertI] = colors[3*faceI+2]; // B - vertI++; - } - } - else - { - // Vertex wise colors - for(int i = 0; i < triFaces.length; i++) - { - int indexx = 3*triFaces[i]; - int indexy = indexx + 1; - int indexz = indexx + 2; - - triCoords[vertI] = coords[indexx]; // X - triNormals[vertI] = normals[indexx]; // X - triColors[vertI] = colors[indexx]; // R - vertI++; - - triCoords[vertI] = coords[indexy]; // Y - triNormals[vertI] = normals[indexy]; // Y - triColors[vertI] = colors[indexy]; // G - vertI++; - - triCoords[vertI] = coords[indexz]; // Z - triNormals[vertI] = normals[indexz]; // Z - triColors[vertI] = colors[indexz]; // B - vertI++; - } - } - } - - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on ColoredSurfaceVec "); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on ColoredSurfaceVec "); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - System.out.println("remove of ColoredSurfaceVec"); - - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-Indexed.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-Indexed.java deleted file mode 100644 index cf3a695ed0..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-Indexed.java +++ /dev/null @@ -1,409 +0,0 @@ -/* - */ - -//import java.awt.*; -//import java.awt.Font; - -//import com.sun.j3d.utils.applet.MainFrame; -//import com.sun.j3d.utils.geometry.Text2D; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -public class FeatureLines extends Shape3D implements InteractiveNode -{ - - static final Point3d[] coords = - { - new Point3d(0, 0, 0), - new Point3d(1, 0, 0), - new Point3d(1, 1, 0), - new Point3d(0.5, 2, 0), - new Point3d(0, 1, 0), - - new Point3d(0, 0, 1), - new Point3d(1, 0, 1), - new Point3d(1, 1, 1), - new Point3d(0.5, 2, 1), - new Point3d(0, 1, 1) - }; - - static final int UNPICKEDCOLOR = 0; - static final int PICKEDCOLOR = 1; - - static final Color3f[] colors = - { - new Color3f(1.0f, 1.0f, 0.0f), - new Color3f(1.0f, 0.0f, 1.0f) - }; - - - int patch_; - - int[] vertexLabels_; - Color3f[] vertexColors_; - - - public FeatureLines(int patch, float angle) - { - patch_ = patch; - - IndexedLineArray axisLines = null; - - // Just hardcoded for now. - - if (patch_ == 0) - { - vertexLabels_ = new int[10]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 4; - vertexLabels_[8] = 4; - vertexLabels_[9] = 0; - - axisLines = new IndexedLineArray - ( - 5, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - 10 - ); - axisLines.setCoordinate( 0, coords[0]); - axisLines.setCoordinate( 1, coords[1]); - axisLines.setCoordinate( 2, coords[2]); - axisLines.setCoordinate( 3, coords[3]); - axisLines.setCoordinate( 4, coords[4]); - - axisLines.setCoordinateIndices( 0, vertexLabels_); - - axisLines.setColors(0, colors); - axisLines.setColorIndex( 0, UNPICKEDCOLOR); - axisLines.setColorIndex( 1, UNPICKEDCOLOR); - axisLines.setColorIndex( 2, UNPICKEDCOLOR); - axisLines.setColorIndex( 3, UNPICKEDCOLOR); - axisLines.setColorIndex( 4, UNPICKEDCOLOR); - } - else if (patch_ == 1) - { - vertexLabels_ = new int[10]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 4; - vertexLabels_[8] = 4; - vertexLabels_[9] = 0; - - axisLines = new IndexedLineArray - ( - 5, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - 10 - ); - axisLines.setCoordinate( 0, coords[5]); - axisLines.setCoordinate( 1, coords[6]); - axisLines.setCoordinate( 2, coords[7]); - axisLines.setCoordinate( 3, coords[8]); - axisLines.setCoordinate( 4, coords[9]); - - axisLines.setCoordinateIndices( 0, vertexLabels_); - - axisLines.setColors(0, colors); - axisLines.setColorIndex( 0, UNPICKEDCOLOR); - axisLines.setColorIndex( 1, UNPICKEDCOLOR); - axisLines.setColorIndex( 2, UNPICKEDCOLOR); - axisLines.setColorIndex( 3, UNPICKEDCOLOR); - axisLines.setColorIndex( 4, UNPICKEDCOLOR); - } - else if (patch_ == 2) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - axisLines = new IndexedLineArray - ( - 4, - GeometryArray.COLOR_3 | GeometryArray.COORDINATES, - 8 - ); - axisLines.setCoordinate( 0, coords[0]); - axisLines.setCoordinate( 1, coords[5]); - axisLines.setCoordinate( 2, coords[9]); - axisLines.setCoordinate( 3, coords[4]); - - axisLines.setColors(0, colors); - axisLines.setColorIndex( 0, UNPICKEDCOLOR); - axisLines.setColorIndex( 1, UNPICKEDCOLOR); - axisLines.setColorIndex( 2, UNPICKEDCOLOR); - axisLines.setColorIndex( 3, UNPICKEDCOLOR); - axisLines.setColorIndex( 4, UNPICKEDCOLOR); - - axisLines.setCoordinateIndices( 0, vertexLabels_); - - } - else if (patch_ == 3) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - axisLines = new IndexedLineArray - ( - 4, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - 8 - ); - axisLines.setCoordinate( 0, coords[4]); - axisLines.setCoordinate( 1, coords[9]); - axisLines.setCoordinate( 2, coords[8]); - axisLines.setCoordinate( 3, coords[3]); - - axisLines.setCoordinateIndices( 0, vertexLabels_); - - axisLines.setColors(0, colors); - axisLines.setColorIndex( 0, UNPICKEDCOLOR); - axisLines.setColorIndex( 1, UNPICKEDCOLOR); - axisLines.setColorIndex( 2, UNPICKEDCOLOR); - axisLines.setColorIndex( 3, UNPICKEDCOLOR); - axisLines.setColorIndex( 4, UNPICKEDCOLOR); - } - else if (patch_ == 4) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - axisLines = new IndexedLineArray - ( - 4, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - 8 - ); - axisLines.setCoordinate( 0, coords[3]); - axisLines.setCoordinate( 1, coords[8]); - axisLines.setCoordinate( 2, coords[7]); - axisLines.setCoordinate( 3, coords[2]); - - axisLines.setCoordinateIndices( 0, vertexLabels_); - - axisLines.setColors(0, colors); - axisLines.setColorIndex( 0, UNPICKEDCOLOR); - axisLines.setColorIndex( 1, UNPICKEDCOLOR); - axisLines.setColorIndex( 2, UNPICKEDCOLOR); - axisLines.setColorIndex( 3, UNPICKEDCOLOR); - axisLines.setColorIndex( 4, UNPICKEDCOLOR); - } - else if (patch_ == 5) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - axisLines = new IndexedLineArray - ( - 4, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - 8 - ); - axisLines.setCoordinate( 0, coords[2]); - axisLines.setCoordinate( 1, coords[7]); - axisLines.setCoordinate( 2, coords[6]); - axisLines.setCoordinate( 3, coords[1]); - - axisLines.setCoordinateIndices( 0, vertexLabels_); - - axisLines.setColors(0, colors); - axisLines.setColorIndex( 0, UNPICKEDCOLOR); - axisLines.setColorIndex( 1, UNPICKEDCOLOR); - axisLines.setColorIndex( 2, UNPICKEDCOLOR); - axisLines.setColorIndex( 3, UNPICKEDCOLOR); - axisLines.setColorIndex( 4, UNPICKEDCOLOR); - } - else if (patch_ == 6) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - axisLines = new IndexedLineArray - ( - 4, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - 8 - ); - axisLines.setCoordinate( 0, coords[1]); - axisLines.setCoordinate( 1, coords[6]); - axisLines.setCoordinate( 2, coords[5]); - axisLines.setCoordinate( 3, coords[0]); - - axisLines.setCoordinateIndices( 0, vertexLabels_); - - axisLines.setColors(0, colors); - axisLines.setColorIndex( 0, UNPICKEDCOLOR); - axisLines.setColorIndex( 1, UNPICKEDCOLOR); - axisLines.setColorIndex( 2, UNPICKEDCOLOR); - axisLines.setColorIndex( 3, UNPICKEDCOLOR); - axisLines.setColorIndex( 4, UNPICKEDCOLOR); - } - else - { - System.out.println("**\n** Unknown patch " + patch_ + "**\n**"); - vertexLabels_ = null; - vertexColors_ = null; - } - - axisLines.setCapability(IndexedLineArray.ALLOW_COORDINATE_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_FORMAT_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_COUNT_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_COORDINATE_INDEX_READ); - axisLines.setCapability(IndexedLineArray.ALLOW_COLOR_WRITE); - axisLines.setCapability(IndexedLineArray.ALLOW_COLOR_INDEX_WRITE); - - this.setGeometry(axisLines); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPatch " + patch_); - - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - - System.out.println("-- consisting of vertices "); - - for(int j = 0; j < lines.getVertexCount(); j++) - { - Point3f coord = new Point3f(); - lines.getCoordinate(j, coord); - System.out.print(coord + " "); - } - System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - int vertexLabel = vertexLabels_[indices[j]]; - //Point3f coord = new Point3f(); - //lines.getCoordinate(j, coord); - System.out.print(vertexLabel + "(" + indices[j] + ") "); - - lines.setColorIndex(indices[j], PICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nPatch " + patch_); - - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - - System.out.println("-- consisting of vertices "); - - for(int j = 0; j < lines.getVertexCount(); j++) - { - Point3f coord = new Point3f(); - lines.getCoordinate(j, coord); - System.out.print(coord + " "); - } - System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - int vertexLabel = vertexLabels_[indices[j]]; - //Point3f coord = new Point3f(); - //lines.getCoordinate(j, coord); - System.out.print(vertexLabel + "(" + indices[j] + ") "); - - lines.setColorIndex(indices[j], UNPICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - - void printLoop() - { - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - - for(int j = 0; j < lines.getVertexCount(); j++) - { - System.out.println("--- color : " + lines.getColorIndex(j)); - } - } - - - // Utility function to create color array - static Color3f[] fillColors(int length, Color3f color) - { - Color3f[] colors = new Color3f[length]; - - for(int i = 0; i < length; i++) - { - colors[i] = color; - } - return colors; - } - -} // end of class FeatureLines diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-UnIndexed.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-UnIndexed.java deleted file mode 100644 index 52140738bf..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines-UnIndexed.java +++ /dev/null @@ -1,419 +0,0 @@ -/* - */ - -//import java.awt.*; -//import java.awt.Font; - -//import com.sun.j3d.utils.applet.MainFrame; -//import com.sun.j3d.utils.geometry.Text2D; - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -public class FeatureLines extends Shape3D implements InteractiveNode -{ - - static final Point3d[] coords = - { - new Point3d(0, 0, 0), - new Point3d(1, 0, 0), - new Point3d(1, 1, 0), - new Point3d(0.5, 2, 0), - new Point3d(0, 1, 0), - - new Point3d(0, 0, 1), - new Point3d(1, 0, 1), - new Point3d(1, 1, 1), - new Point3d(0.5, 2, 1), - new Point3d(0, 1, 1) - }; - - static final Color3f UNPICKEDCOLOR = new Color3f(1.0f, 1.0f, 0.0f); - static final Color3f PICKEDCOLOR = new Color3f(1.0f, 0.0f, 1.0f); - - - int patch_; - - int[] vertexLabels_; - Color3f[] vertexColors_; - - - public FeatureLines(int patch, float angle) - { - patch_ = patch; - - LineArray axisLines = null; - - // Just hardcoded for now. - - if (patch_ == 0) - { - vertexLabels_ = new int[10]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 4; - vertexLabels_[8] = 4; - vertexLabels_[9] = 0; - - vertexColors_ = - fillColors - ( - 10, - UNPICKEDCOLOR - ); - - axisLines = new LineArray - ( - 10, - GeometryArray.COORDINATES | GeometryArray.COLOR_3 - ); - - axisLines.setCoordinate(0, coords[0]); - axisLines.setCoordinate(1, coords[1]); - axisLines.setCoordinate(2, coords[1]); - axisLines.setCoordinate(3, coords[2]); - axisLines.setCoordinate(4, coords[2]); - axisLines.setCoordinate(5, coords[3]); - axisLines.setCoordinate(6, coords[3]); - axisLines.setCoordinate(7, coords[4]); - axisLines.setCoordinate(8, coords[4]); - axisLines.setCoordinate(9, coords[0]); - - axisLines.setColors(0, vertexColors_); - } - else if (patch_ == 1) - { - vertexLabels_ = new int[10]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 4; - vertexLabels_[8] = 4; - vertexLabels_[9] = 0; - - vertexColors_ = - fillColors - ( - 10, - UNPICKEDCOLOR - ); - - axisLines = new LineArray - ( - 10, - GeometryArray.COORDINATES | GeometryArray.COLOR_3 - ); - - axisLines.setCoordinate(0, coords[5]); - axisLines.setCoordinate(1, coords[6]); - axisLines.setCoordinate(2, coords[6]); - axisLines.setCoordinate(3, coords[7]); - axisLines.setCoordinate(4, coords[7]); - axisLines.setCoordinate(5, coords[8]); - axisLines.setCoordinate(6, coords[8]); - axisLines.setCoordinate(7, coords[9]); - axisLines.setCoordinate(8, coords[9]); - axisLines.setCoordinate(9, coords[5]); - - axisLines.setColors(0, vertexColors_); - } - else if (patch_ == 2) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - vertexColors_ = - fillColors - ( - 8, - UNPICKEDCOLOR - ); - - axisLines = new LineArray - ( - 8, - GeometryArray.COLOR_3 | GeometryArray.COORDINATES - ); - - axisLines.setCoordinate(0, coords[0]); - axisLines.setCoordinate(1, coords[5]); - axisLines.setCoordinate(2, coords[5]); - axisLines.setCoordinate(3, coords[9]); - axisLines.setCoordinate(4, coords[9]); - axisLines.setCoordinate(5, coords[4]); - axisLines.setCoordinate(6, coords[4]); - axisLines.setCoordinate(7, coords[0]); - - axisLines.setColors(0, vertexColors_); - } - else if (patch_ == 3) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - vertexColors_ = - fillColors - ( - 8, - UNPICKEDCOLOR - ); - - axisLines = new LineArray - ( - 8, - GeometryArray.COORDINATES | GeometryArray.COLOR_3 - ); - - axisLines.setCoordinate(0, coords[4]); - axisLines.setCoordinate(1, coords[9]); - axisLines.setCoordinate(2, coords[9]); - axisLines.setCoordinate(3, coords[8]); - axisLines.setCoordinate(4, coords[8]); - axisLines.setCoordinate(5, coords[3]); - axisLines.setCoordinate(6, coords[3]); - axisLines.setCoordinate(7, coords[4]); - - axisLines.setColors(0, vertexColors_); - } - else if (patch_ == 4) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - vertexColors_ = - fillColors - ( - 8, - UNPICKEDCOLOR - ); - - axisLines = new LineArray - ( - 8, - GeometryArray.COORDINATES | GeometryArray.COLOR_3 - ); - - axisLines.setCoordinate(0, coords[3]); - axisLines.setCoordinate(1, coords[8]); - axisLines.setCoordinate(2, coords[8]); - axisLines.setCoordinate(3, coords[7]); - axisLines.setCoordinate(4, coords[7]); - axisLines.setCoordinate(5, coords[2]); - axisLines.setCoordinate(6, coords[2]); - axisLines.setCoordinate(7, coords[3]); - - axisLines.setColors(0, vertexColors_); - } - else if (patch_ == 5) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - vertexColors_ = - fillColors - ( - 8, - UNPICKEDCOLOR - ); - - axisLines = new LineArray - ( - 8, - GeometryArray.COORDINATES | GeometryArray.COLOR_3 - ); - - axisLines.setCoordinate(0, coords[2]); - axisLines.setCoordinate(1, coords[7]); - axisLines.setCoordinate(2, coords[7]); - axisLines.setCoordinate(3, coords[6]); - axisLines.setCoordinate(4, coords[6]); - axisLines.setCoordinate(5, coords[1]); - axisLines.setCoordinate(6, coords[1]); - axisLines.setCoordinate(7, coords[2]); - - axisLines.setColors(0, vertexColors_); - } - else if (patch_ == 6) - { - vertexLabels_ = new int[8]; - vertexLabels_[0] = 0; - vertexLabels_[1] = 1; - vertexLabels_[2] = 1; - vertexLabels_[3] = 2; - vertexLabels_[4] = 2; - vertexLabels_[5] = 3; - vertexLabels_[6] = 3; - vertexLabels_[7] = 0; - - vertexColors_ = - fillColors - ( - 8, - UNPICKEDCOLOR - ); - - axisLines = new LineArray - ( - 8, - GeometryArray.COORDINATES | GeometryArray.COLOR_3 - ); - - axisLines.setCoordinate(0, coords[1]); - axisLines.setCoordinate(1, coords[6]); - axisLines.setCoordinate(2, coords[6]); - axisLines.setCoordinate(3, coords[5]); - axisLines.setCoordinate(4, coords[5]); - axisLines.setCoordinate(5, coords[0]); - axisLines.setCoordinate(6, coords[0]); - axisLines.setCoordinate(7, coords[1]); - - axisLines.setColors(0, vertexColors_); - } - else - { - System.out.println("**\n** Unknown patch " + patch_ + "**\n**"); - vertexLabels_ = null; - vertexColors_ = null; - } - - axisLines.setCapability(LineArray.ALLOW_COORDINATE_READ); - axisLines.setCapability(LineArray.ALLOW_FORMAT_READ); - axisLines.setCapability(LineArray.ALLOW_COUNT_READ); - axisLines.setCapability(LineArray.ALLOW_COLOR_READ); - axisLines.setCapability(LineArray.ALLOW_COLOR_WRITE); - - this.setGeometry(axisLines); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPatch " + patch_); - - LineArray lines = (LineArray)this.getGeometry(); - - System.out.println("-- consisting of vertices "); - - for(int j = 0; j < lines.getVertexCount(); j++) - { - Point3f coord = new Point3f(); - lines.getCoordinate(j, coord); - System.out.print(coord + " "); - } - System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - int vertexLabel = vertexLabels_[indices[j]]; - //Point3f coord = new Point3f(); - //lines.getCoordinate(j, coord); - System.out.print(vertexLabel + "(" + indices[j] + ") "); - - lines.setColor(indices[j], PICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nPatch " + patch_); - - LineArray lines = (LineArray)this.getGeometry(); - - System.out.println("-- consisting of vertices "); - - for(int j = 0; j < lines.getVertexCount(); j++) - { - Point3f coord = new Point3f(); - lines.getCoordinate(j, coord); - System.out.print(coord + " "); - } - System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - int vertexLabel = vertexLabels_[indices[j]]; - //Point3f coord = new Point3f(); - //lines.getCoordinate(j, coord); - System.out.print(vertexLabel + "(" + indices[j] + ") "); - - lines.setColor(indices[j], UNPICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - // Utility function to create color array - static Color3f[] fillColors(int length, Color3f color) - { - Color3f[] colors = new Color3f[length]; - - for(int i = 0; i < length; i++) - { - colors[i] = color; - } - return colors; - } - -} // end of class FeatureLines diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines.java deleted file mode 100644 index 553ebc7e25..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/FeatureLines.java +++ /dev/null @@ -1,267 +0,0 @@ -/* - */ - -package FoamX.Post.Shapes; - - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.InteractiveNodes.FeatureLinesNode; -import FoamX.Post.Mesh.PrimitivePatch; - -public class FeatureLines extends Shape3D implements PickableShape -{ - static final int UNPICKEDCOLOR = 0; - static final int PICKEDCOLOR = 1; - - static final Color3f[] colors = - { - new Color3f(1.0f, 1.0f, 0.0f), - new Color3f(1.0f, 0.0f, 1.0f) - }; - - - PrimitivePatch patch_; - - //-------------------------------------------------------------------------- - - public FeatureLines(FeatureLinesNode featureLinesNode, PrimitivePatch patch) - { - // Store reference to original patch - patch_ = patch; - - int[] edgeList = patch_.getFeatureLines(); - Point3f[] coords = patch_.getPoints(); - - IndexedLineArray lines = new IndexedLineArray - ( - coords.length, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - edgeList.length - ); - - lines.setCoordinates(0, coords); - lines.setCoordinateIndices(0, edgeList); - - lines.setColors(0, colors); - for(int i = 0; i < coords.length; i++) - { - lines.setColorIndex(i, UNPICKEDCOLOR); - } - - //- Make it pickable - lines.setCapability(IndexedLineArray.ALLOW_COORDINATE_READ); - lines.setCapability(IndexedLineArray.ALLOW_FORMAT_READ); - lines.setCapability(IndexedLineArray.ALLOW_COUNT_READ); - lines.setCapability(IndexedLineArray.ALLOW_COORDINATE_INDEX_READ); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_WRITE); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_INDEX_WRITE); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_READ); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_INDEX_READ); - - this.setGeometry(lines); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - //-------------------------------------------------------------------------- - - public PrimitivePatch getPatch() - { - return patch_; - } - - //-------------------------------------------------------------------------- - - public int numSelectedEdges() - { - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - - int[] colorIndices = new int[lines.getIndexCount()]; - lines.getColorIndices(0, colorIndices); - - // - // Collect edges with both vertices same color - // - - int i = 0; - int nEdges = 0; - while (i < colorIndices.length) - { - if - ( - (colorIndices[i] == PICKEDCOLOR) - && (colorIndices[i+1] == PICKEDCOLOR) - ) - { - nEdges++; - } - - i += 2; - } - - return nEdges; - } - - - //-------------------------------------------------------------------------- - - public int[] getSelectedEdges() - { - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - - int[] edgeList = patch_.getFeatureLines(); - - int[] loopEdges = new int[lines.getIndexCount()]; - - int[] colorIndices = new int[lines.getIndexCount()]; - lines.getColorIndices(0, colorIndices); - -// System.out.println("***Colors"); -// for (int j = 0; j < colorIndices.length; j++) -// { -// System.out.print(colorIndices[j] + " "); -// } -// System.out.println(); - - - // - // Collect edges with both vertices same color - // - - int i = 0; - int nIndices = 0; - while (i < edgeList.length) - { - int start = edgeList[i]; - int end = edgeList[i+1]; - - System.out.println("start:" + start + " end:" + end); - System.out.println("color1:" + lines.getColorIndex(i)); - System.out.println("color2:" + lines.getColorIndex(i+1)); - - if - ( - (colorIndices[i] == PICKEDCOLOR) - && (colorIndices[i+1] == PICKEDCOLOR) - ) - { - loopEdges[nIndices++] = start; - loopEdges[nIndices++] = end; - } - - i += 2; - } - - - System.out.println("Found " + nIndices/2 + " selected edges."); - - - // Compact - - int[] newEdges = new int[nIndices]; - for (int j = 0; j < nIndices; j++) - { - newEdges[j] = loopEdges[j]; - } - - return newEdges; - } - - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on patch " + patch_.getPatchNo()); - - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - -// System.out.println("-- consisting of vertices "); -// for(int j = 0; j < lines.getVertexCount(); j++) -// { -// Point3f coord = new Point3f(); -// lines.getCoordinate(j, coord); -// System.out.print(coord + " "); -// } -// System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - //int vertexLabel = vertexLabels_[indices[j]]; - //Point3f coord = new Point3f(); - //lines.getCoordinate(j, coord); - System.out.print(indices[j] + " "); - - lines.setColorIndex(indices[j], PICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on patch " + patch_.getPatchNo()); - - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - -// System.out.println("-- consisting of vertices "); -// for(int j = 0; j < lines.getVertexCount(); j++) -// { -// Point3f coord = new Point3f(); -// lines.getCoordinate(j, coord); -// System.out.print(coord + " "); -// } -// System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - //int vertexLabel = vertexLabels_[indices[j]]; - //Point3f coord = new Point3f(); - //lines.getCoordinate(j, coord); - System.out.print(indices[j] + " "); - - lines.setColorIndex(indices[j], UNPICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + patch_.getPatchNo()); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - -} // end of class FeatureLines diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Loop.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Loop.java deleted file mode 100644 index ccf06337dc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/Loop.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - */ - -package FoamX.Post.Shapes; - - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.InteractiveNodes.LoopNode; -import FoamX.Post.Mesh.PrimitivePatch; - -public class Loop extends Shape3D implements PickableShape -{ - static final int UNPICKEDCOLOR = 0; - static final int PICKEDCOLOR = 1; - - static final Color3f[] colors = - { - new Color3f(0.0f, 1.0f, 0.0f), - new Color3f(1.0f, 0.0f, 1.0f) - }; - - FeatureLines featureLines_; - PrimitivePatch patch_; - - //-------------------------------------------------------------------------- - - public Loop - ( - LoopNode loopNode, - PrimitivePatch patch, - FeatureLines featureLines - ) - { - // Store reference to original data - featureLines_ = featureLines; - patch_ = patch; - - int[] lines = featureLines_.getSelectedEdges(); - Point3f[] coords = patch_.getPoints(); - - // - // Make lineArray from selected edges - // - -for(int i =0; i < coords.length; i++) -{ - System.out.println("Loop:coord:" + coords[i]); -} -for(int i =0; i < lines.length; i++) -{ - System.out.println("Loop:lines:" + lines[i]); -} - - - IndexedLineArray loopEdges = new IndexedLineArray - ( - coords.length, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - lines.length - ); - - loopEdges.setCoordinates(0, coords); - loopEdges.setCoordinateIndices(0, lines); - - loopEdges.setColors(0, colors); - for(int i = 0; i < lines.length; i++) - { - System.out.println("i=" + i); - loopEdges.setColorIndex(i, UNPICKEDCOLOR); - } - - //- Make it pickable - loopEdges.setCapability(IndexedLineArray.ALLOW_COORDINATE_READ); - loopEdges.setCapability(IndexedLineArray.ALLOW_FORMAT_READ); - loopEdges.setCapability(IndexedLineArray.ALLOW_COUNT_READ); - loopEdges.setCapability(IndexedLineArray.ALLOW_COORDINATE_INDEX_READ); - loopEdges.setCapability(IndexedLineArray.ALLOW_COLOR_WRITE); - loopEdges.setCapability(IndexedLineArray.ALLOW_COLOR_INDEX_WRITE); - loopEdges.setCapability(IndexedLineArray.ALLOW_COLOR_READ); - loopEdges.setCapability(IndexedLineArray.ALLOW_COLOR_INDEX_READ); - - this.setGeometry(loopEdges); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on Loop " + patch_.getPatchNo()); - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - //int vertexLabel = vertexLabels_[indices[j]]; - //Point3f coord = new Point3f(); - //lines.getCoordinate(j, coord); - System.out.print(indices[j] + " "); - - lines.setColorIndex(indices[j], PICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUNPicked on Loop " + patch_.getPatchNo()); - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - System.out.print(indices[j] + " "); - - lines.setColorIndex(indices[j], UNPICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + patch_.getPatchNo()); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - -} // end of class Loop diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MeshLines.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MeshLines.java deleted file mode 100644 index 7b3e377e15..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MeshLines.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - */ - -package FoamX.Post.Shapes; - - -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; - -import FoamX.Post.InteractiveNodes.MeshLinesNode; - -public class MeshLines extends Shape3D implements PickableShape -{ - static final int UNPICKEDCOLOR = 0; - static final int PICKEDCOLOR = 1; - - static final Color3f[] colors = - { - new Color3f(1.0f, 1.0f, 0.0f), - new Color3f(1.0f, 0.0f, 1.0f) - }; - - private MeshLinesNode meshLinesNode_; - - //-------------------------------------------------------------------------- - - public MeshLines - ( - MeshLinesNode meshLinesNode, float[] coords, int[] edgeList - ) - { - // Store reference to original patch - meshLinesNode_ = meshLinesNode; - - IndexedLineArray lines = new IndexedLineArray - ( - coords.length / 3, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - //GeometryArray.COORDINATES, - edgeList.length - ); - - lines.setCoordinates(0, coords); - lines.setCoordinateIndices(0, edgeList); - - lines.setColors(0, colors); - for(int i = 0; i < edgeList.length; i++) - { - lines.setColorIndex(i, UNPICKEDCOLOR); - } - - //- Make it pickable - lines.setCapability(IndexedLineArray.ALLOW_COORDINATE_READ); - lines.setCapability(IndexedLineArray.ALLOW_COORDINATE_WRITE); - lines.setCapability(IndexedLineArray.ALLOW_FORMAT_READ); - lines.setCapability(IndexedLineArray.ALLOW_COUNT_READ); - lines.setCapability(IndexedLineArray.ALLOW_COORDINATE_INDEX_READ); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_WRITE); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_INDEX_WRITE); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_READ); - lines.setCapability(IndexedLineArray.ALLOW_COLOR_INDEX_READ); - - this.setGeometry(lines); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\nPicked"); - - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - -// System.out.println("-- consisting of vertices "); -// for(int j = 0; j < lines.getVertexCount(); j++) -// { -// Point3f coord = new Point3f(); -// lines.getCoordinate(j, coord); -// System.out.print(coord + " "); -// } -// System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - System.out.print(indices[j] + " "); - - lines.setColorIndex(indices[j], PICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\nUnpicked"); - - IndexedLineArray lines = (IndexedLineArray)this.getGeometry(); - -// System.out.println("-- consisting of vertices "); -// for(int j = 0; j < lines.getVertexCount(); j++) -// { -// Point3f coord = new Point3f(); -// lines.getCoordinate(j, coord); -// System.out.print(coord + " "); -// } -// System.out.println(); - - - for(int i = 0; i < pickResult.numIntersections(); i++) - { - PickIntersection pi = pickResult.getIntersection(i); - int[] indices = pi.getPrimitiveVertexIndices(); - - System.out.print("-- line consisting of local points "); - for(int j = 0; j < indices.length; j++) - { - System.out.print(indices[j] + " "); - - lines.setColorIndex(indices[j], UNPICKEDCOLOR); - } - System.out.println(); - } - System.out.println(); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove"); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - -} // end of class MeshLines diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MyFirstShape.java-Indexed b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MyFirstShape.java-Indexed deleted file mode 100644 index b84895fc3c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/MyFirstShape.java-Indexed +++ /dev/null @@ -1,216 +0,0 @@ -/* - */ - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import javax.vecmath.Point2f; -import javax.vecmath.Point3f; -import javax.vecmath.Point3d; -import javax.vecmath.Vector3f; - -public class MyFirstShape extends Shape3D -{ - public MyFirstShape() - { - Point3d[] coords = new Point3d[10]; - coords[0] = new Point3d(0, 0, 0); - coords[1] = new Point3d(1, 0, 0); - coords[2] = new Point3d(1, 1, 0); - coords[3] = new Point3d(0.5, 2, 0); - coords[4] = new Point3d(0, 1, 0); - - coords[5] = new Point3d(0, 0, 1); - coords[6] = new Point3d(1, 0, 1); - coords[7] = new Point3d(1, 1, 1); - coords[8] = new Point3d(0.5, 2, 1); - coords[9] = new Point3d(0, 1, 1); - - // Colours - Color3f[] colors = new Color3f[6]; - - colors[0] = new Color3f(1.0f, 0.0f, 0.0f); //(red) - colors[1] = new Color3f(0.0f, 1.0f, 0.0f); //(green) - colors[2] = new Color3f(0.0f, 0.0f, 1.0f); //(blue) - colors[3] = new Color3f(1.0f, 1.0f, 0.0f); //(yellow) - colors[4] = new Color3f(1.0f, 0.0f, 1.0f); //(magenta) - colors[5] = new Color3f(0.0f, 1.0f, 1.0f); //(cyan) - - // Normals - Vector3f[] normals = new Vector3f[7]; - - normals[0] = new Vector3f( 0.0f, 0.0f, -1.0f); //(red) - normals[1] = new Vector3f( 0.0f, 0.0f, 1.0f); //(green) - normals[2] = new Vector3f(-1.0f, 0.0f, 0.0f); //(blue) - normals[3] = new Vector3f(-1.0f, 1.0f, 0.0f); //(yellow) - normals[4] = new Vector3f( 1.0f, 1.0f, 0.0f); //(magenta) - normals[5] = new Vector3f( 1.0f, 0.0f, 0.0f); //(cyan) - normals[6] = new Vector3f( 0.0f, -1.0f, 0.0f); //(cyan) - - // Toplogical storage - int[] stripCounts = new int[7]; - int[] contourCounts = new int[7]; - int[] coordinateIndices = new int[48]; - int[] faceIndices = new int[48]; - - // All singly connected contours - for(int i = 0; i < contourCounts.length; i++) - { - contourCounts[i] = 1; - } - - int verti = 0; - - // face0 - back - for(int i = verti; i < verti + 9; i++) - { - faceIndices[i] = 0; - } - coordinateIndices[verti++] = 0; - coordinateIndices[verti++] = 4; - coordinateIndices[verti++] = 1; - - coordinateIndices[verti++] = 1; - coordinateIndices[verti++] = 4; - coordinateIndices[verti++] = 2; - - coordinateIndices[verti++] = 2; - coordinateIndices[verti++] = 4; - coordinateIndices[verti++] = 3; - - - // face1 - front - for(int i = verti; i < verti + 9; i++) - { - faceIndices[i] = 1; - } - coordinateIndices[verti++] = 5; - coordinateIndices[verti++] = 6; - coordinateIndices[verti++] = 9; - - coordinateIndices[verti++] = 9; - coordinateIndices[verti++] = 6; - coordinateIndices[verti++] = 7; - - coordinateIndices[verti++] = 7; - coordinateIndices[verti++] = 8; - coordinateIndices[verti++] = 9; - - // face2 - for(int i = verti; i < verti + 6; i++) - { - faceIndices[i] = 2; - } - coordinateIndices[verti++] = 0; - coordinateIndices[verti++] = 5; - coordinateIndices[verti++] = 9; - coordinateIndices[verti++] = 9; - coordinateIndices[verti++] = 4; - coordinateIndices[verti++] = 0; - - // face3 - for(int i = verti; i < verti + 6; i++) - { - faceIndices[i] = 3; - } - coordinateIndices[verti++] = 4; - coordinateIndices[verti++] = 9; - coordinateIndices[verti++] = 8; - coordinateIndices[verti++] = 8; - coordinateIndices[verti++] = 3; - coordinateIndices[verti++] = 4; - - // face4 - for(int i = verti; i < verti + 6; i++) - { - faceIndices[i] = 4; - } - coordinateIndices[verti++] = 2; - coordinateIndices[verti++] = 3; - coordinateIndices[verti++] = 8; - coordinateIndices[verti++] = 8; - coordinateIndices[verti++] = 7; - coordinateIndices[verti++] = 3; - - // face5 - for(int i = verti; i < verti + 6; i++) - { - faceIndices[i] = 5; - } - coordinateIndices[verti++] = 1; - coordinateIndices[verti++] = 2; - coordinateIndices[verti++] = 7; - coordinateIndices[verti++] = 7; - coordinateIndices[verti++] = 6; - coordinateIndices[verti++] = 1; - - // face6 - for(int i = verti; i < verti + 6; i++) - { - faceIndices[i] = 6; - } - coordinateIndices[verti++] = 0; - coordinateIndices[verti++] = 1; - coordinateIndices[verti++] = 6; - coordinateIndices[verti++] = 6; - coordinateIndices[verti++] = 5; - coordinateIndices[verti++] = 0; - - if (verti != coordinateIndices.length) - { - System.out.println("*** coordinateIndices not filled correctly"); - } - - - IndexedTriangleArray ita = new IndexedTriangleArray - ( - coords.length, - IndexedTriangleArray.COORDINATES | IndexedTriangleArray.COLOR_3, - coordinateIndices.length - ); - - ita.setCoordinateIndices(0, coordinateIndices); - ita.setCoordinates(0, coords); - ita.setColorIndices(0, faceIndices); - ita.setColors(0, colors); - ita.setNormalIndices(0, faceIndices); - ita.setNormals(0, normals); - - ita.setCapability(GeometryArray.ALLOW_COORDINATE_READ); - ita.setCapability(IndexedGeometryArray.ALLOW_COORDINATE_INDEX_READ); - ita.setCapability(GeometryArray.ALLOW_FORMAT_READ); - ita.setCapability(GeometryArray.ALLOW_COUNT_READ); - - this.setGeometry(ita); - this.setCapability(Shape3D.ALLOW_GEOMETRY_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - - -// System.out.println("format :" + this.getVertexFormat()); -// System.out.println("indices coord:" + this.getInitialCoordIndex()); -// System.out.println("indices vert :" + this.getInitialVertexIndex()); -// int[] userData = new int[array.getVertexCount()]; -// for(int i = 0; i < userData.length; i++) -// { -// userData[i] = i; -// } -// this.setUserData(userData); - -// -// Point3d[] vertices = new Point3d[array.getVertexCount()]; -// for (int i = 0; i < vertices.length; i++) -// { -// vertices[i] = new Point3d(); -// } -// array.getCoordinates(0, vertices); -// -// for(int i = 0; i " + vertices[i]); -// } - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchFaces.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchFaces.java deleted file mode 100644 index 02908f5816..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchFaces.java +++ /dev/null @@ -1,183 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; - -import javax.vecmath.Point3f; - -import FoamX.Post.Mesh.PrimitivePatch; -import FoamX.Post.InteractiveNodes.PatchFacesNode; -import FoamX.Post.Util.OrbitPickBehavior; - -public class PatchFaces extends Shape3D implements PickableShape -{ - static final int UNPICKEDCOLOR = 0; - static final int PICKEDCOLOR = 1; - - - PrimitivePatch patch_; - Color3f color_; - double creaseAngle_; - - public PatchFaces - ( - PatchFacesNode PatchFacesNode, - PrimitivePatch patch, - Color3f color, - double creaseAngle - ) - { - // Store reference to input data - patch_ = patch; - color_ = color; - creaseAngle_ = creaseAngle; - - - Point3f[] coords = patch_.getPoints(); - int[] triFaces = patch_.getLocalTriFaces(); - - GeometryInfo geometryInfo = - new GeometryInfo(GeometryInfo.TRIANGLE_ARRAY); - geometryInfo.setCoordinateIndices(triFaces); - geometryInfo.setCoordinates(coords); - - - Color3f[] colors = new Color3f[2]; - colors[UNPICKEDCOLOR] = color_; - colors[PICKEDCOLOR] = new Color3f(0.5f, 1.0f, 0.2f); - geometryInfo.setColors(colors); - - //- Start off with all triangles unpickedcolor - int[] colorIndices = new int[triFaces.length]; - for(int i = 0; i < triFaces.length; i++) - { - colorIndices[i] = UNPICKEDCOLOR; - } - geometryInfo.setColorIndices(colorIndices); - - - //- Generate normals - NormalGenerator ng = new NormalGenerator(creaseAngle_); - ng.generateNormals(geometryInfo); - - //- Make shape and set various - IndexedGeometryArray array = geometryInfo.getIndexedGeometryArray(); - - this.setGeometry(array); - PickTool.setCapabilities(this, PickTool.INTERSECT_FULL); - //this.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE); - this.setCapability(Shape3D.ALLOW_APPEARANCE_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - array.setCapability(IndexedGeometryArray.ALLOW_COLOR_INDEX_WRITE); - } - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on patch " + patch_.getPatchNo()); - - IndexedGeometryArray array = (IndexedGeometryArray)this.getGeometry(); - - int nearest = OrbitPickBehavior.getNearestIndex(pickResult); - PickIntersection pi = pickResult.getIntersection(nearest); - - int[] indices = pi.getPrimitiveVertexIndices(); - - int triIndex = indices[0] / 3; // 3 labels per triangle - int faceIndex = patch_.getTriToPoly()[triIndex]; - - System.out.print - ( - "-- triangle " + triIndex + " on face " + faceIndex - + " consisting of local points " - ); - - for(int j = 0; j < indices.length; j++) - { - System.out.print(indices[j] + " "); - } - System.out.println(); - - // Color all triangles of face - //Hack: loop over all triangles instead just of triangles for face - int[] triFaces = patch_.getLocalTriFaces(); - for(int i = 0; i < triFaces.length; i++) - { - triIndex = i / 3; - if (patch_.getTriToPoly()[triIndex] == faceIndex) - { - array.setColorIndex(i, PICKEDCOLOR); - } - } - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on patch " + patch_.getPatchNo()); - - IndexedGeometryArray array = (IndexedGeometryArray)this.getGeometry(); - - int nearest = OrbitPickBehavior.getNearestIndex(pickResult); - PickIntersection pi = pickResult.getIntersection(nearest); - - int[] indices = pi.getPrimitiveVertexIndices(); - - int triIndex = indices[0] / 3; // 3 labels per triangle - int faceIndex = patch_.getTriToPoly()[triIndex]; - - System.out.print - ( - "-- triangle " + triIndex + " on face " + faceIndex - + " consisting of local points " - ); - - for(int j = 0; j < indices.length; j++) - { - System.out.print(indices[j] + " "); - } - System.out.println(); - - // Color all triangles of face - //Hack: loop over all triangles instead just of triangles for face - int[] triFaces = patch_.getLocalTriFaces(); - for(int i = 0; i < triFaces.length; i++) - { - triIndex = i / 3; - if (patch_.getTriToPoly()[triIndex] == faceIndex) - { - array.setColorIndex(i, UNPICKEDCOLOR); - } - } - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + patch_.getPatchNo()); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchPoints.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchPoints.java deleted file mode 100644 index 0f49877bc3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchPoints.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; - -import javax.vecmath.Point3f; - -import FoamX.Post.Mesh.PrimitivePatch; -import FoamX.Post.InteractiveNodes.PatchPointsNode; -import FoamX.Post.Util.OrbitPickBehavior; - -public class PatchPoints extends Shape3D implements PickableShape -{ - static final int UNPICKEDCOLOR = 0; - static final int PICKEDCOLOR = 1; - - - PrimitivePatch patch_; - Color3f color_; - - public PatchPoints - ( - PatchPointsNode PatchPointsNode, - PrimitivePatch patch, - Color3f color - ) - { - // Store reference to input data - patch_ = patch; - color_ = color; - - // Color table - Color3f[] colors = new Color3f[2]; - colors[UNPICKEDCOLOR] = color_; - colors[PICKEDCOLOR] = new Color3f(0.5f, 1.0f, 0.2f); - - - Point3f[] coords = patch_.getPoints(); - int[] coordIndices = new int[coords.length]; - for(int i = 0; i < coordIndices.length; i++) - { - coordIndices[i] = i; - } - - IndexedPointArray array = new IndexedPointArray - ( - coords.length, - GeometryArray.COORDINATES | GeometryArray.COLOR_3, - coords.length - ); - - array.setCoordinates(0, coords); - array.setCoordinateIndices(0, coordIndices); - - int[] colorIndices = new int[coords.length]; - for(int i = 0; i < colorIndices.length; i++) - { - colorIndices[i] = UNPICKEDCOLOR; - } - array.setColors(0, colors); - array.setColorIndices(0, colorIndices); - - - this.setGeometry(array); - PickTool.setCapabilities(this, PickTool.INTERSECT_FULL); - - this.setCapability(Shape3D.ALLOW_APPEARANCE_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - array.setCapability(IndexedGeometryArray.ALLOW_COLOR_INDEX_WRITE); - } - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on patch " + patch_.getPatchNo()); - - IndexedPointArray array = (IndexedPointArray)this.getGeometry(); - - int nearest = OrbitPickBehavior.getNearestIndex(pickResult); - PickIntersection pi = pickResult.getIntersection(nearest); - - System.out.println("pi=" + pi); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on patch " + patch_.getPatchNo()); - - IndexedPointArray array = (IndexedPointArray)this.getGeometry(); - - int nearest = OrbitPickBehavior.getNearestIndex(pickResult); - PickIntersection pi = pickResult.getIntersection(nearest); - - System.out.println("pi=" + pi); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + patch_.getPatchNo()); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchSpheres.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchSpheres.java deleted file mode 100644 index 4fdfc6640a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PatchSpheres.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - */ -package FoamX.Post.Shapes; - -import com.sun.j3d.utils.geometry.GeometryInfo; -import com.sun.j3d.utils.geometry.NormalGenerator; -import com.sun.j3d.utils.geometry.Stripifier; -import com.sun.j3d.utils.geometry.Triangulator; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickTool; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; - -import javax.vecmath.Point3f; - -import FoamX.Post.Mesh.PrimitivePatch; -import FoamX.Post.InteractiveNodes.PatchSpheresNode; -import FoamX.Post.Util.OrbitPickBehavior; - -public class PatchSpheres extends Shape3D implements PickableShape -{ - static int[] tetStrips = - { - 4 - }; - static Point3f tetCoords = - { - new Point3f(0.0f, 0.0f, 0.0f), - new Point3f(0.0f, 0.0f, 0.0f), - new Point3f(0.0f, 0.0f, 0.0f), - new Point3f(0.0f, 0.0f, 0.0f) - }; - static float[] components = new float[3]; - static float[] tetComponents = new float[3]; - - static final int UNPICKEDCOLOR = 0; - static final int PICKEDCOLOR = 1; - - - PrimitivePatch patch_; - Color3f color_; - - public PatchSpheres - ( - PatchSpheresNode PatchSpheresNode, - PrimitivePatch patch, - Color3f color - ) - { - // Store reference to input data - patch_ = patch; - color_ = color; - - // Color table - Color3f[] colors = new Color3f[2]; - colors[UNPICKEDCOLOR] = color_; - colors[PICKEDCOLOR] = new Color3f(0.5f, 1.0f, 0.2f); - - - Point3f[] coords = patch_.getPoints(); - - for(int i = 0; i < coords.length; i++) - { - Geometry sphere = makeSphere(coords[i]); - this.insertGeometry(sphere, i); - } - PickTool.setCapabilities(this, PickTool.INTERSECT_FULL); - - this.setCapability(Shape3D.ALLOW_APPEARANCE_READ); - this.setCapability(Shape3D.ALLOW_BOUNDS_READ); - } - - //-------------------------------------------------------------------------- - - Geometry makeSphere(Point3f coord, float dist) - { - // Actually make tet - array = new TriangeStripArray - ( - 4, - TriangeStripArray.COORDINATES, - tetStrips - ); - - coord.get(components); - - tetCoords[0].get(tetComponents); - tetComponents[0] = components[0]; - tetComponents[1] = components[1] - dist; - tetComponents[2] = components[2] - dist; - tetCoords[0].set(tetComponents); - - tetCoords[1].get(tetComponents); - tetComponents[0] = components[0] - dist; - tetComponents[1] = components[1] - dist; - tetComponents[2] = components[2] + dist; - tetCoords[1].set(tetComponents); - - tetCoords[2].get(tetComponents); - tetComponents[0] = components[0] + dist; - tetComponents[1] = components[1] - dist; - tetComponents[2] = components[2] + dist; - tetCoords[2].set(tetComponents); - - tetCoords[3].get(tetComponents); - tetComponents[0] = components[0] - dist; - tetComponents[1] = components[1] + dist; - tetComponents[2] = components[2] - dist; - tetCoords[3].set(tetComponents); - - - } - - - //-------------------------------------------------------------------------- - //---- PickableShape Interface - //-------------------------------------------------------------------------- - - // Callback for if picked. - public void picked(PickResult pickResult) - { - System.out.println("\n\nPicked on patch " + patch_.getPatchNo()); - - IndexedPointArray array = (IndexedPointArray)this.getGeometry(); - - int nearest = OrbitPickBehavior.getNearestIndex(pickResult); - PickIntersection pi = pickResult.getIntersection(nearest); - - System.out.println("pi=" + pi); - } - - //-------------------------------------------------------------------------- - - // Callback for if unpicked. - public void unPicked(PickResult pickResult) - { - System.out.println("\n\nUnpicked on patch " + patch_.getPatchNo()); - - IndexedPointArray array = (IndexedPointArray)this.getGeometry(); - - int nearest = OrbitPickBehavior.getNearestIndex(pickResult); - PickIntersection pi = pickResult.getIntersection(nearest); - - System.out.println("pi=" + pi); - } - - //-------------------------------------------------------------------------- - - // Completely remove - public void remove() - { - //System.out.println("remove:" + patch_.getPatchNo()); - if (this.numGeometries() != 0) - { - this.removeGeometry(0); - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PickableShape.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PickableShape.java deleted file mode 100644 index bdbbefc1a8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes/PickableShape.java +++ /dev/null @@ -1,37 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Post.Shapes; - -import javax.media.j3d.*; -import com.sun.j3d.utils.picking.PickResult; - -public interface PickableShape -{ - // Picking - public abstract void picked(PickResult pickResult); - public abstract void unPicked(PickResult pickResult); -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes2D/ColorBar2D.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes2D/ColorBar2D.java deleted file mode 100644 index 84e3577edd..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Shapes2D/ColorBar2D.java +++ /dev/null @@ -1,51 +0,0 @@ -package FoamX.Post.Shapes2D; - -//import com.xith.java3d.overlay.*; -import org.j3d.geom.overlay.*; - -import javax.media.j3d.*; -import javax.vecmath.*; -import java.awt.*; -import java.awt.image.*; -import java.util.*; - -import FoamX.Post.Util.Colorizer; - -public class ColorBar2D extends OverlayBase -{ - int width_; - int height_; - Colorizer colorizer_; - float min_; - float max_; - - public ColorBar2D - ( - final Canvas3D c, - final int x, final int y, - final int width, final int height, - final Colorizer colorizer, - final float min, final float max - ) - { - super(c, new java.awt.Rectangle(x, y, width, height)); - //this.setBackgroundMode(BACKGROUND_COPY); // Copy background - width_ = width; - height_ = height; - colorizer_ = colorizer; - min_ = min; - max_ = max; - } - - /** - * This is where the actualy drawing of the window takes place. Override - * this to alter the contents of what is show in the window. - */ - - public void paint(Graphics2D g) - { - colorizer_.paint(g, width_, height_, min_, max_); - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Table/NodeTable.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Table/NodeTable.java deleted file mode 100644 index 74227e8f1f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Table/NodeTable.java +++ /dev/null @@ -1,170 +0,0 @@ -package FoamX.Post.Table; - - -import javax.swing.*; -import javax.swing.table.AbstractTableModel; -import java.awt.*; -import java.awt.event.*; - -import FoamX.Post.InteractiveNodes.InteractiveNodeList; -import FoamX.Post.InteractiveNodes.InteractiveNode; - -import javax.swing.event.TableModelListener; -import javax.swing.event.TableModelEvent; - -public class NodeTable extends JFrame implements TableModelListener -{ - private boolean DEBUG = true; - - InteractiveNodeList shapes_; - JTable table_; - - //-------------------------------------------------------------------------- - - - public NodeTable(InteractiveNodeList shapes) - { - super("NodeTable"); - - shapes_ = shapes; - - table_ = new JTable(shapes_); - - //AbstractTableModel model = shapes_.getModel(); - shapes_.addTableModelListener(this); - - table_.setPreferredScrollableViewportSize(new Dimension(200, 150)); - - //Create the scroll pane and add the table to it. - JScrollPane scrollPane = new JScrollPane(table_); - - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridLayout(2, 1)); - mainPanel.add(scrollPane); - - JPanel buttonPanel = new JPanel(); - JButton removeButton = new JButton("Remove"); - JButton editButton = new JButton("Edit"); - - buttonPanel.setLayout(new GridLayout(1, 2)); - buttonPanel.add(removeButton); - buttonPanel.add(editButton); - mainPanel.add(buttonPanel); - - //Add the main panel to this window. - getContentPane().add(mainPanel, BorderLayout.CENTER); - - removeButton.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - removeButton_ActionPerformed(evt); - } - } - ); - editButton.addActionListener - ( - new ActionListener() - { - public void actionPerformed(ActionEvent evt) - { - editButton_ActionPerformed(evt); - } - } - ); - - addWindowListener - ( - new WindowAdapter() - { - public void windowClosing(WindowEvent e) - { - //System.exit(0); - } - } - ); - } - - //-------------------------------------------------------------------------- - - /** remove button handler */ - private void removeButton_ActionPerformed(ActionEvent evt) - { - InteractiveNodeList model = (InteractiveNodeList)table_.getModel(); - int startRow = table_.getSelectionModel().getMinSelectionIndex(); - int endRow = table_.getSelectionModel().getMaxSelectionIndex(); - if (startRow < 0) - { - return; - } - for (int row = startRow; row <= endRow; row++) - { - model.removeElementAt(row); - } - - table_.getSelectionModel().clearSelection(); - initTableSize(table_, model); - table_.repaint(); - } - - //-------------------------------------------------------------------------- - - /** edit button handler */ - private void editButton_ActionPerformed(ActionEvent evt) - { - InteractiveNodeList model = (InteractiveNodeList)table_.getModel(); - int startRow = table_.getSelectionModel().getMinSelectionIndex(); - int endRow = table_.getSelectionModel().getMaxSelectionIndex(); - if (startRow < 0) - { - return; - } - for (int row = startRow; row <= endRow; row++) - { - System.out.println("Edit of row " + row); - } - } - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - - /** Size table itself */ - static private void initTableSize(JTable table, InteractiveNodeList model) - { - int height = table.getRowHeight() * model.getRowCount(); - - table.setPreferredSize - ( - new java.awt.Dimension(table.getWidth(), height) - ); - table.revalidate(); - } - - //-------------------------------------------------------------------------- - - public void tableChanged(TableModelEvent e) { - //int row = e.getFirstRow(); - //int column = e.getColumn(); - - initTableSize(table_, shapes_); - table_.repaint(); - } - - - //-------------------------------------------------------------------------- - -// public static void main(String[] args) { -// NodeTable frame = new TableDemo(); -// frame.pack(); -// frame.setVisible(true); -// } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayStats.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayStats.java deleted file mode 100644 index 633d8c90f5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayStats.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * ArrayStats.java - */ - - -package FoamX.Post.Util; - -import javax.media.j3d.*; -import javax.vecmath.*; - - -public class ArrayStats -{ - float min_; - float max_; - float avg_; - - public ArrayStats(float[] values) - { - if (values.length == 0) - { - System.out.println("**ERROR: ArrayStats: length == 0"); - return; - } - min_ = values[0]; - max_ = values[0]; - float sum = 0.0f; - for(int i = 1; i < values.length; i++) - { - float val = values[i]; - min_ = Math.min(min_, val); - max_ = Math.max(max_, val); - sum += val; - } - avg_ = sum / values.length; - } - - public float getMin() - { - return min_; - } - - public float getMax() - { - return max_; - } - - public float getAvg() - { - return avg_; - } - -} // end of class ArrayStats diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayUtils.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayUtils.java deleted file mode 100644 index 92bd6518f2..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ArrayUtils.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ArrayUtils.java - */ - - -package FoamX.Post.Util; - -import java.util.*; -import javax.media.j3d.*; -import javax.vecmath.*; - - -public class ArrayUtils -{ - public static float[] mag(float[] a) - { - int nVecs = a.length / 3; - - float[] result = new float[nVecs]; - - int coordI = 0; - for(int i = 0; i < nVecs; i++) - { - float x = a[coordI++]; - float y = a[coordI++]; - float z = a[coordI++]; - - result[i] = (float)Math.sqrt(x*x + y*y + z*z); - } - return result; - } - - public static float[] add(float[] a, float b) - { - float[] result = new float[a.length]; - - for(int i = 0; i < a.length; i++) - { - result[i] = a[i] + b; - } - return result; - } - - public static float[] add(float[] a, float[] b) - { - float[] result = new float[a.length]; - - for(int i = 0; i < a.length; i++) - { - result[i] = a[i] + b[i]; - } - return result; - } - - public static float[] sub(float[] a, float b) - { - float[] result = new float[a.length]; - - for(int i = 0; i < a.length; i++) - { - result[i] = a[i] - b; - } - return result; - } - - public static float[] sub(float[] a, float[] b) - { - float[] result = new float[a.length]; - - for(int i = 0; i < a.length; i++) - { - result[i] = a[i] - b[i]; - } - return result; - } - - public static float[] div(float[] a, float b) - { - float[] result = new float[a.length]; - - for(int i = 0; i < a.length; i++) - { - result[i] = a[i] / b; - } - return result; - } - - public static float[] div(float[] a, float[] b) - { - if (a.length != 3*b.length) - { - System.out.println("Error: div: length not ok:" + a.length + " " + b.length); - return null; - } - - int nVecs = a.length / 3; - - float[] result = new float[nVecs]; - - int coordI = 0; - for(int i = 0; i < nVecs; i++) - { - result[coordI] = a[coordI] / b[i]; - coordI++; - result[coordI] = a[coordI] / b[i]; - coordI++; - result[coordI] = a[coordI] / b[i]; - coordI++; - } - - return result; - } - - // debug print - public static void print(int[] array) - { - for(int i = 0; i < array.length; i++) - { - System.out.println(i + ":" + array[i]); - } - } - - // debug print - public static void print(int[][] array) - { - for(int i = 0; i < array.length; i++) - { - System.out.print(i + ":"); - for(int j = 0; j < array[i].length; j++) - { - System.out.print - ( - " " + array[i][j] - ); - } - System.out.println(); - } - } - - // debug print - public static void print(float[] array) - { - for(int i = 0; i < array.length; i++) - { - System.out.println(i + ":" + array[i]); - } - } - - // debug print - public static void print(Object[] array) - { - for(int i = 0; i < array.length; i++) - { - System.out.println(i + ":" + array[i]); - } - } -} // end of class ArrayUtils diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/BinaryFoamFile.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/BinaryFoamFile.java deleted file mode 100644 index 606c289244..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/BinaryFoamFile.java +++ /dev/null @@ -1,301 +0,0 @@ -package FoamX.Post.Util; - -//import java.net.URL; -//import java.net.URLConnection; -import java.awt.Component; -import java.io.*; -import java.util.*; - -import javax.media.j3d.*; -//import javax.vecmath.Color3f; - -import javax.vecmath.Point3f; - -import org.j3d.loaders.stl.*; - -public class BinaryFoamFile -{ - - public BinaryFoamFile() - { - } - - public static void readAll(String fName) - { - System.out.println("fName=" + fName); - try - { - FileInputStream stream = - new FileInputStream(fName); - BufferedInputStream bufferedStream = - new BufferedInputStream(stream); - DataInputStream dataStream = - new DataInputStream(bufferedStream); - - while(true) - { - int a = LittleEndianConverter.read4ByteBlock(bufferedStream); - //byte a = dataStream.readByte(); - - System.out.println("a=" + a); - } - } - catch(FileNotFoundException ex) - { - System.out.println("file " + fName + " not found."); - } - catch( IOException e ) - { - System.out.println("IOException caught"); - } - } - - - // read integer array - public static int[] readIntArray(String fName) - { - System.out.println("fName=" + fName); - - int[] values = null; - try - { - FileInputStream stream = - new FileInputStream(fName); - BufferedInputStream bufferedStream = - new BufferedInputStream(stream); - DataInputStream dataStream = - new DataInputStream(bufferedStream); - - int nElems = - LittleEndianConverter.read4ByteBlock(bufferedStream); - System.out.println("nInt=" + nElems); - - values = new int[nElems]; - - for(int i = 0; i < nElems; i++) - { - values[i] = - LittleEndianConverter.read4ByteBlock(bufferedStream); - } - stream.close(); - } - catch(FileNotFoundException ex) - { - System.out.println("file " + fName + " not found."); - } - catch( IOException e ) - { - System.out.println("IOException caught"); - } - return values; - } - - // read array of integer arrays - public static int[][] readIntIntArray(String fName) - { - System.out.println("fName=" + fName); - - int[][] values = null; - try - { - FileInputStream stream = - new FileInputStream(fName); - BufferedInputStream bufferedStream = - new BufferedInputStream(stream); - DataInputStream dataStream = - new DataInputStream(bufferedStream); - - int nArrays = - LittleEndianConverter.read4ByteBlock(bufferedStream); - System.out.println("nArrays=" + nArrays); - - values = new int[nArrays][]; - - for(int arrayI = 0; arrayI < nArrays; arrayI++) - { - int nElems = - LittleEndianConverter.read4ByteBlock(bufferedStream); - //System.out.println("nInt=" + nElems); - - values[arrayI] = new int[nElems]; - - for(int i = 0; i < nElems; i++) - { - values[arrayI][i] = - LittleEndianConverter.read4ByteBlock(bufferedStream); - } - } - stream.close(); - } - catch(FileNotFoundException ex) - { - System.out.println("file " + fName + " not found."); - } - catch( IOException e ) - { - System.out.println("IOException caught"); - } - return values; - } - - - // read float array - public static float[] readFloatArray(String fName) - { - System.out.println("fName=" + fName); - - float[] values = null; - try - { - FileInputStream stream = - new FileInputStream(fName); - BufferedInputStream bufferedStream = - new BufferedInputStream(stream); - DataInputStream dataStream = - new DataInputStream(bufferedStream); - - int nElems = - LittleEndianConverter.read4ByteBlock(bufferedStream); - System.out.println("nFloat=" + nElems); - - values = new float[nElems]; - byte[] readBuffer = new byte[nElems*4]; - int[] dataBuffer = new int[nElems]; - - LittleEndianConverter.read - ( - readBuffer, dataBuffer, 0, nElems, bufferedStream - ); - - for(int i = 0; i < nElems; i++) - { - values[i] = Float.intBitsToFloat(dataBuffer[i]); - } - stream.close(); - } - catch(FileNotFoundException ex) - { - System.out.println("file " + fName + " not found."); - } - catch( IOException e ) - { - System.out.println("IOException caught"); - } - return values; - } - - - // read point3f array - public static Point3f[] readPoint3fArray(String fName) - { - System.out.println("fName=" + fName); - - Point3f[] values = null; - try - { - FileInputStream stream = - new FileInputStream(fName); - BufferedInputStream bufferedStream = - new BufferedInputStream(stream); - DataInputStream dataStream = - new DataInputStream(bufferedStream); - - int nElems = - LittleEndianConverter.read4ByteBlock(bufferedStream); - System.out.println("nPoint3f=" + nElems); - - values = new Point3f[nElems]; - - int nFloats = 3*nElems; - byte[] readBuffer = new byte[nFloats*4]; - int[] dataBuffer = new int[nFloats]; - - LittleEndianConverter.read - ( - readBuffer, dataBuffer, 0, nFloats, bufferedStream - ); - - int floati = 0; - for(int i = 0; i < nElems; i++) - { - float x = Float.intBitsToFloat(dataBuffer[floati++]); - float y = Float.intBitsToFloat(dataBuffer[floati++]); - float z = Float.intBitsToFloat(dataBuffer[floati++]); - - values[i] = new Point3f(x, y, z); - } - } - catch(FileNotFoundException ex) - { - System.out.println("file " + fName + " not found."); - } - catch( IOException e ) - { - System.out.println("IOException caught"); - } - return values; - } - - // read point array as floats - public static float[] readFloatPointArray(String fName) - { - System.out.println("fName=" + fName); - - float[] values = null; - try - { - FileInputStream stream = - new FileInputStream(fName); - BufferedInputStream bufferedStream = - new BufferedInputStream(stream); - DataInputStream dataStream = - new DataInputStream(bufferedStream); - - int nElems = - LittleEndianConverter.read4ByteBlock(bufferedStream); - System.out.println("nFloatPoint=" + nElems); - - - int nFloats = 3*nElems; - values = new float[3*nElems]; - byte[] readBuffer = new byte[nFloats*4]; - int[] dataBuffer = new int[nFloats]; - - LittleEndianConverter.read - ( - readBuffer, dataBuffer, 0, nFloats, bufferedStream - ); - - for(int i = 0; i < nFloats; i++) - { - values[i] = Float.intBitsToFloat(dataBuffer[i]); - } - } - catch(FileNotFoundException ex) - { - System.out.println("file " + fName + " not found."); - } - catch( IOException e ) - { - System.out.println("IOException caught"); - } - return values; - } - - public static void main(String[] args) - { - System.out.println("args[0] = " + args[0]); - -// float[] vals = foamFile.readFloatArray(); -// for(int i = 0; i < vals.length; i++) -// { -// System.out.println("i=" + i + " val=" + vals[i]); -// } - Point3f[] vals = BinaryFoamFile.readPoint3fArray(args[0]); - for(int i = 0; i < vals.length; i++) - { - System.out.println("i=" + i + " val=" + vals[i]); - } - } -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Colorizer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Colorizer.java deleted file mode 100644 index c4efe997f7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Colorizer.java +++ /dev/null @@ -1,387 +0,0 @@ -/* - */ -package FoamX.Post.Util; - -//import com.sun.j3d.utils.geometry.GeometryInfo; -//import com.sun.j3d.utils.geometry.NormalGenerator; -//import com.sun.j3d.utils.geometry.Stripifier; -//import com.sun.j3d.utils.geometry.Triangulator; -//import com.sun.j3d.utils.picking.PickIntersection; -//import com.sun.j3d.utils.picking.PickResult; -//import com.sun.j3d.utils.picking.PickTool; -import java.io.*; -import java.awt.*; -import java.awt.event.*; -import java.awt.geom.*; -import java.awt.Graphics2D; - -import org.j3d.util.interpolator.ColorInterpolator; - -import javax.media.j3d.*; -import javax.vecmath.Color3f; -import javax.vecmath.Point3f; - -import FoamX.Post.PostApp; - -public class Colorizer -{ - PostApp pp_; - float min_; - float max_; - Color3f minColor_; - Color3f maxColor_; - Color3f[] colorMap_; - - ColorInterpolator colorInterpolator_; - float[] keys_; - float[] colors_; - - Font smallFont_; - - - // n points according to eye curve - public Colorizer(PostApp pp, int nKeys) - { - pp_ = pp; - keys_ = new float[nKeys]; - colors_ = new float[3*nKeys]; - smallFont_ = new Font("Courier", 0, 8); - - // Eye curve - float curve = 1.4f; - float bias = 1.0f; - float rfact = 0.5f * bias; - - float scale = 1.0f / (nKeys-1); - int colorI = 0; - for(int keyI = 0; keyI < nKeys; keyI++) - { - // compute s in [0,1] - float s = (float) keyI * scale; - float t = curve * (s - rfact); // t in [curve*-0.5,curve*0.5) - - keys_[keyI] = s; - colors_[colorI++] = (float) (0.5 + 0.5 * Math.atan( 7.0*t ) / 1.57); - colors_[colorI++] = (float) (0.5 + 0.5 * (2 * Math.exp(-7*t*t) - 1)); - colors_[colorI++] = (float) (0.5 + 0.5 * Math.atan( -7.0*t ) / 1.57); - } - - setColorInterpolator(); - } - - //-------------------------------------------------------------------------- - - // simplest one: - public Colorizer(PostApp pp) - { - pp_ = pp; - - keys_ = new float[4]; - colors_ = new float[3*4]; - - // min = blue (001) - keys_[0] = 0.0f; - colors_[0] = 0.0f; - colors_[1] = 0.0f; - colors_[2] = 1.0f; - - // green (010) - keys_[1] = 0.5f; - colors_[3] = 0.0f; - colors_[4] = 1.0f; - colors_[5] = 0.0f; - - // yellow (110) - keys_[2] = 0.75f; - colors_[6] = 1.0f; - colors_[7] = 1.0f; - colors_[8] = 0.0f; - - // max = red (100) - keys_[3] = 1.0f; - colors_[9] = 1.0f; - colors_[10] = 0.0f; - colors_[11] = 0.0f; - - setColorInterpolator(); - } - - //-------------------------------------------------------------------------- - - - // Reads in key/rbg pairs from file. - // Note: key values should be [0..1] - public Colorizer(PostApp pp, File file) - { - pp_ = pp; - System.out.println("Colorizer read"); - } - - //-------------------------------------------------------------------------- - - public void write(PostApp pp, File file) - { - pp_ = pp; - System.out.println("Colorizer write"); - } - - //-------------------------------------------------------------------------- - - private void setColorInterpolator() - { - //System.out.println("Constructing colorizer:"); - - // Fill ColorInterPolator - colorInterpolator_ = - new ColorInterpolator - ( - keys_.length, - ColorInterpolator.RGB_SPACE - ); - - int colorI = 0; - for(int keyI = 0; keyI < keys_.length; keyI++) - { - float R = colors_[colorI++]; - float G = colors_[colorI++]; - float B = colors_[colorI++]; - //System.out.println - //( - // " key: " + keys_[keyI] + " RGB: " - // + R + " " + G + " " + B - //); - colorInterpolator_.addRGBKeyFrame - ( - keys_[keyI], - R, - G, - B, - 1.0f - ); - } - } - - //-------------------------------------------------------------------------- - - // Convert values into colors - public void color - ( - final float min, - final float max, - final float[] values, - float[] colors - ) - { - if (3*values.length != colors.length) - { - System.out.println("ERROR: colors array not big enough"); - System.out.println(" values:" + values.length); - System.out.println(" colors:" + colors.length); - return; - } - - int colorI = 0; - - float scale = 1.0f / (max - min); - for(int i = 0; i < values.length; i++) - { - // Scale to [0,1] - float scaledValue = (values[i] - min) * scale; - float[] rgbColor = colorInterpolator_.floatRGBValue(scaledValue); - - // Copy RGB - colors[colorI++] = rgbColor[0]; - colors[colorI++] = rgbColor[1]; - colors[colorI++] = rgbColor[2]; - } - } - - //-------------------------------------------------------------------------- - - // Make 2D colorbar of dimensions 1x1 - // No text for now. - public TriangleArray colorBar(final float min, final float max) - { - if (keys_.length == 0) - { - return null; - } - - int nTri = 2*(keys_.length - 1); - int nVert = 3*nTri; - - Point3f[] coords = new Point3f[nVert]; - float[] vertColors = new float[3*nVert]; - - // Lower coordinates - Point3f lowerLeft = new Point3f(0.0f, 0.0f, 0.0f); - Point3f lowerRight = new Point3f(1.0f, 0.0f, 0.0f); - - int vertI = 0; - int colorI = 0; - for(int keyI = 0; keyI < keys_.length - 1; keyI++) - { - // Upper coordinates - Point3f upperLeft = - new Point3f(lowerLeft.x, keys_[keyI+1], lowerLeft.z); - Point3f upperRight = - new Point3f(lowerRight.x, keys_[keyI+1], lowerRight.z); - - // Triangle 1 - - // copy coordinates + RGB - coords[vertI++] = lowerLeft; - vertColors[colorI++] = colors_[3*keyI]; - vertColors[colorI++] = colors_[3*keyI+1]; - vertColors[colorI++] = colors_[3*keyI+2]; - - coords[vertI++] = lowerRight; - vertColors[colorI++] = colors_[3*keyI]; - vertColors[colorI++] = colors_[3*keyI+1]; - vertColors[colorI++] = colors_[3*keyI+2]; - - coords[vertI++] = upperRight; - vertColors[colorI++] = colors_[3*(keyI+1)]; - vertColors[colorI++] = colors_[3*(keyI+1)+1]; - vertColors[colorI++] = colors_[3*(keyI+1)+2]; - - // Triangle 2 - coords[vertI++] = upperRight; - vertColors[colorI++] = colors_[3*(keyI+1)]; - vertColors[colorI++] = colors_[3*(keyI+1)+1]; - vertColors[colorI++] = colors_[3*(keyI+1)+2]; - - coords[vertI++] = upperLeft; - vertColors[colorI++] = colors_[3*(keyI+1)]; - vertColors[colorI++] = colors_[3*(keyI+1)+1]; - vertColors[colorI++] = colors_[3*(keyI+1)+2]; - - coords[vertI++] = lowerLeft; - vertColors[colorI++] = colors_[3*keyI]; - vertColors[colorI++] = colors_[3*keyI+1]; - vertColors[colorI++] = colors_[3*keyI+2]; - - // Move one up - lowerLeft = upperLeft; - lowerRight = upperRight; - } - - TriangleArray array = new TriangleArray - ( - 3*nTri, - TriangleArray.COORDINATES - | TriangleArray.COLOR_3 - ); - array.setCoordinates(0, coords); - array.setColors(0, vertColors); - - return array; - } - - //-------------------------------------------------------------------------- - - public void paint - ( - Graphics2D g, - final int width, - final int height, - final float min, - final float max - ) - { - // Make table of values from min to max. - float[] values = new float[height]; - float val = min; - float valInc = (max - min) / height; - for(int y = 0; y < height; y++) - { - values[y] = val; - val += valInc; - } - - // Convert into colors - float[] colors = new float[3*height]; - color(min, max, values, colors); - - // Paint into Graphics2D. Note pixel coords start at 0,0 top left - - g.setRenderingHint - ( - RenderingHints.KEY_TEXT_ANTIALIASING, - RenderingHints.VALUE_TEXT_ANTIALIAS_OFF - ); - g.setRenderingHint - ( - RenderingHints.KEY_ANTIALIASING, - RenderingHints.VALUE_ANTIALIAS_OFF - ); - g.setRenderingHint - ( - RenderingHints.KEY_FRACTIONALMETRICS, - RenderingHints.VALUE_FRACTIONALMETRICS_OFF - ); - g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 1.0f)); - - // Draw coloured lines starting at right half - - int barX = width / 2; - int colorI = 0; - for(int pixelY = height -1 ; pixelY >= 0; pixelY--) - { - Color drawColor = - new Color - ( - colors[colorI++], colors[colorI++], colors[colorI++] - ); - - g.setPaint(drawColor); - g.drawLine(barX, pixelY, width, pixelY); - } - - // Draw ticks and put numbers - int tickX = barX - 5; - - - FontMetrics fm = g.getFontMetrics(); - int textHeight = fm.getHeight(); - - //String text = "abc"; - //int textWidth = fm.stringWidth(text); - //Rectangle2D dims = - // fm.getStringBounds(text.toCharArray(), 0, 2, g); - - if (g.getFont() != smallFont_) - { - g.setFont(smallFont_); - } - g.setPaint(pp_.getForegroundColor()); - - // min - g.drawLine(tickX, height - 1, barX, height - 1); - Float floatY = new Float(min); - int screenY = height - 1 - fm.getLeading(); - g.drawString(floatY.toString(), 0, screenY); - - // max - g.drawLine(tickX, 0, barX, 0); - floatY = new Float(max); - screenY = textHeight; - g.drawString(floatY.toString(), 1, screenY); - -// int nTicks = 5; -// float range = nTicks*(max - min); -// for(int i = 0; i < nTicks; ) -// -// g.setPaint(pp_.getForeground()); -// for(int keyI = 0; keyI < keys_.length; keyI++) -// { -// Float floatY = -// new Float(height * (1.0f - (keys_[keyI] - min) / (max - min))); -// int y = floatY.intValue(); -// g.drawLine(0, y, width, y); -// g.drawString(floatY.toString(), 0, y); -// } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImageDisplayer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImageDisplayer.java deleted file mode 100644 index 061fa5c054..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImageDisplayer.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * @(#)ImageDisplayer.java 1.3 01/01/11 07:38:16 - * - * Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved. - * - * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, - * modify and redistribute this software in source and binary code form, - * provided that i) this copyright notice and license appear on all copies of - * the software; and ii) Licensee does not utilize the software in a manner - * which is disparaging to Sun. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY - * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR - * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE - * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING - * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS - * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, - * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER - * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF - * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * This software is not designed or intended for use in on-line control of - * aircraft, air traffic, aircraft navigation or aircraft communications; or in - * the design, construction, operation or maintenance of any nuclear - * facility. Licensee represents and warrants that it will not use or - * redistribute the Software for such purposes. - */ -package FoamX.Post.Util; - -import javax.swing.*; -import java.awt.BorderLayout; -import java.awt.Container; -import java.awt.Color; -import java.awt.Dimension; -import java.awt.Graphics; -import java.awt.image.BufferedImage; -import java.awt.event.*; - -public class ImageDisplayer extends JFrame implements ActionListener { - BufferedImage bImage; - - private class ImagePanel extends JPanel { - public void paint(Graphics g) { - g.setColor(Color.black); - g.fillRect(0, 0, getSize().width, getSize().height); - g.drawImage(bImage, 0, 0, this); - } - - private ImagePanel() { - setPreferredSize(new Dimension(bImage.getWidth(), - bImage.getHeight())); - } - } - - private JMenuItem printItem; - private JMenuItem closeItem; - - public void actionPerformed (ActionEvent event) { - Object target = event.getSource(); - - if (target == printItem) { - new ImagePrinter(bImage).print(); - } - else if (target == closeItem) { - this.removeAll(); - this.setVisible(false); - bImage = null; - } - } - - private JMenuBar createMenuBar() { - JMenuBar menuBar = new JMenuBar(); - JMenu fileMenu = new JMenu("File"); - printItem = new JMenuItem("Print..."); - printItem.addActionListener(this); - closeItem = new JMenuItem("Close"); - closeItem.addActionListener(this); - fileMenu.add(printItem); - fileMenu.add(new JSeparator()); - fileMenu.add(closeItem); - menuBar.add(fileMenu); - return menuBar; - } - - public ImageDisplayer(BufferedImage bImage) { - this.bImage = bImage; - this.setTitle("Off-screen Canvas3D Snapshot"); - - // Create and initialize menu bar - this.setJMenuBar(createMenuBar()); - - // Create scroll pane, and embedded image panel - ImagePanel imagePanel = new ImagePanel(); - JScrollPane scrollPane = new JScrollPane(imagePanel); - - int width = Math.min(700, bImage.getWidth()); - int height = Math.min(700, bImage.getHeight()); - -// scrollPane.getViewport().setPreferredSize(new Dimension(700, 700)); - scrollPane.getViewport().setPreferredSize(new Dimension(width, height)); - - // Add scroll pane to the frame and make it visible - this.getContentPane().add(scrollPane); - this.pack(); - this.setVisible(true); - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImagePrinter.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImagePrinter.java deleted file mode 100644 index de0a41538a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/ImagePrinter.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * @(#)ImagePrinter.java 1.3 01/01/11 07:38:16 - * - * Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved. - * - * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, - * modify and redistribute this software in source and binary code form, - * provided that i) this copyright notice and license appear on all copies of - * the software; and ii) Licensee does not utilize the software in a manner - * which is disparaging to Sun. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY - * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR - * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE - * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING - * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS - * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, - * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER - * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF - * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * This software is not designed or intended for use in on-line control of - * aircraft, air traffic, aircraft navigation or aircraft communications; or in - * the design, construction, operation or maintenance of any nuclear - * facility. Licensee represents and warrants that it will not use or - * redistribute the Software for such purposes. - */ -package FoamX.Post.Util; - -import java.awt.print.*; -import java.awt.Graphics; -import java.awt.Graphics2D; -import java.awt.Image; -import java.awt.image.BufferedImage; -import java.awt.image.ImageObserver; -import java.awt.geom.AffineTransform; - -public class ImagePrinter implements Printable, ImageObserver { - BufferedImage bImage; - - public int print(Graphics g, PageFormat pf, int pi) - throws PrinterException { - - - if (pi >= 1) { - return Printable.NO_SUCH_PAGE; - } - - Graphics2D g2d = (Graphics2D)g; - //g2d.translate(pf.getImageableX(), pf.getImageableY()); - AffineTransform t2d = new AffineTransform(); - t2d.translate(pf.getImageableX(), pf.getImageableY()); - double xscale = pf.getImageableWidth() / (double)bImage.getWidth(); - double yscale = pf.getImageableHeight() / (double)bImage.getHeight(); - double scale = Math.min(xscale, yscale); - t2d.scale(scale, scale); - try { - g2d.drawImage(bImage,t2d, this); - } - catch (Exception ex) { - ex.printStackTrace(); - return Printable.NO_SUCH_PAGE; - } - return Printable.PAGE_EXISTS; - } - - void print() { - PrinterJob printJob = PrinterJob.getPrinterJob(); - PageFormat pageFormat = printJob.defaultPage(); - pageFormat.setOrientation(PageFormat.LANDSCAPE); - pageFormat = printJob.validatePage(pageFormat); - printJob.setPrintable(this, pageFormat); - if (printJob.printDialog()) { - try { - printJob.print(); - } - catch (PrinterException ex) { - ex.printStackTrace(); - } - } - } - - public boolean imageUpdate(Image img, - int infoflags, - int x, - int y, - int width, - int height) { - return false; - } - - ImagePrinter(BufferedImage bImage) { - this.bImage = bImage; - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/KeyBehavior.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/KeyBehavior.java deleted file mode 100644 index 10464d602d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/KeyBehavior.java +++ /dev/null @@ -1,353 +0,0 @@ -package FoamX.Post.Util; - -import java.awt.AWTEvent; -import java.awt.event.*; -import java.util.Enumeration; - -import javax.media.j3d.*; -import javax.vecmath.*; - -import com.sun.j3d.utils.universe.*; - -import FoamX.Post.PostApp; - -/** - * KeyBehavior is a generic behavior class to take key presses and move a - * TransformGroup through a Java3D scene. The actions resulting from the key strokes - * are modified by using the Ctrl, Alt and Shift keys. - * - * (version 1.0) reconstructed class to make more generic. - * - * MODIFIED: - * @version 1.0, 25 September 1998 aajc - * @author Andrew AJ Cain, Swinburne University, Australia - * - * - * edited from code by: - * Gary S. Moss - * U. S. Army Research Laboratory - * - * CLASS NAME: - * KeyBehavior - * - * PUBLIC FEATURES: - * // Data - * - * // Constructors - * - * // Methods: - * - * COLLABORATORS: - * - */ -public class KeyBehavior extends Behavior -{ - protected static final double FAST_SPEED = 2.0; - protected static final double NORMAL_SPEED = 1.0; - protected static final double SLOW_SPEED = 0.5; - - private TransformGroup transformGroup; - private Transform3D transform3D; - private WakeupCondition keyCriterion; - private PostApp pp_; - - private final static double TWO_PI = (2.0 * Math.PI); - private double rotateXAmount = Math.PI / 16.0; - private double rotateYAmount = Math.PI / 16.0; - private double rotateZAmount = Math.PI / 16.0; - - private double moveRate = 0.3; - private double speed = NORMAL_SPEED; - - private int forwardKey = KeyEvent.VK_UP; - private int backKey = KeyEvent.VK_DOWN; - private int leftKey = KeyEvent.VK_LEFT; - private int rightKey = KeyEvent.VK_RIGHT; - private int resetKey = KeyEvent.VK_F; - - public KeyBehavior(PostApp pp, TransformGroup tg ) - { - transformGroup = tg; - transform3D = new Transform3D(); - pp_ = pp; - } - - public void initialize() - { - WakeupCriterion[] keyEvents = new WakeupCriterion[2]; - - keyEvents[0] = new WakeupOnAWTEvent( KeyEvent.KEY_PRESSED ); - keyEvents[1] = new WakeupOnAWTEvent( KeyEvent.KEY_RELEASED ); - - keyCriterion = new WakeupOr( keyEvents ); - wakeupOn( keyCriterion ); - } - - - - - - public void processStimulus( Enumeration criteria ) - { - WakeupCriterion wakeup; - AWTEvent[] event; - - while( criteria.hasMoreElements() ) - { - wakeup = (WakeupCriterion) criteria.nextElement(); - - if( !(wakeup instanceof WakeupOnAWTEvent) ) - continue; - - event = ((WakeupOnAWTEvent)wakeup).getAWTEvent(); - - for( int i = 0; i < event.length; i++ ) - { - if( event[i].getID() == KeyEvent.KEY_PRESSED ) - { - processKeyEvent((KeyEvent)event[i]); - } - } - } - wakeupOn( keyCriterion ); - } - - protected void processKeyEvent(KeyEvent event) - { - int keycode = event.getKeyCode(); - - if(event.isShiftDown()) speed = FAST_SPEED; - else speed = NORMAL_SPEED; - - if( event.isAltDown() ) - altMove(keycode); - else if( event.isControlDown()) - controlMove(keycode); - else - standardMove(keycode); - } - - - - - - //moves forward backward or rotates left right - private void standardMove(int keycode) - { - if(keycode == forwardKey) - moveForward(); - else if(keycode == backKey) - moveBackward(); - else if(keycode == leftKey) - rotLeft(); - else if(keycode == rightKey) - rotRight(); - else if(keycode == resetKey) - resetView(); - } - - //moves left right, rotate up down - protected void altMove(int keycode) - { - if(keycode == forwardKey) - rotUp(); - else if(keycode == backKey) - rotDown(); - else if(keycode == leftKey) - moveLeft(); - else if(keycode == rightKey) - moveRight(); - } - - //move up down, rot left right - protected void controlMove(int keycode) - { - if(keycode == forwardKey) - moveUp(); - else if(keycode == backKey) - moveDown(); - else if(keycode == leftKey) - rollLeft(); - else if(keycode == rightKey) - rollRight(); - } - - private void resetView() - { - System.out.println("ResetView"); - View view = pp_.getUniverse().getViewer().getView(); - BoundingSphere bounds = (BoundingSphere)pp_.getScene().getBounds(); - PostApp.viewAll(view, bounds); - } - - private void moveForward() - { - doMove(new Vector3d(0.0,0.0, -getMovementRate())); - } - - private void moveBackward() - { - doMove(new Vector3d(0.0,0.0, getMovementRate())); - } - - private void moveLeft() - { - doMove(new Vector3d( -getMovementRate() ,0.0,0.0)); - } - - private void moveRight() - { - doMove(new Vector3d(getMovementRate(),0.0,0.0)); - } - - private void moveUp() - { - doMove(new Vector3d(0.0, getMovementRate() ,0.0)); - } - - private void moveDown() - { - doMove(new Vector3d(0.0, -getMovementRate() ,0.0)); - } - - protected void rotRight() - { - doRotateY(getRotateRightAmount()); - } - - protected void rotUp() - { - doRotateX(getRotateUpAmount()); - } - - protected void rotLeft() - { - doRotateY(getRotateLeftAmount()); - } - - protected void rotDown() - { - doRotateX(getRotateDownAmount()); - } - - protected void rollLeft() - { - doRotateZ(getRollLeftAmount()); - } - - protected void rollRight() - { - doRotateZ(getRollRightAmount()); - } - - protected void doRotateY(double radians) - { - transformGroup.getTransform(transform3D); - Transform3D toMove = new Transform3D(); - toMove.rotY(radians); - transform3D.mul(toMove); - transformGroup.setTransform(transform3D); - } - - protected void doRotateX(double radians) - { - transformGroup.getTransform(transform3D); - Transform3D toMove = new Transform3D(); - toMove.rotX(radians); - transform3D.mul(toMove); - transformGroup.setTransform(transform3D); - } - - protected void doRotateZ(double radians) - { - transformGroup.getTransform(transform3D); - Transform3D toMove = new Transform3D(); - toMove.rotZ(radians); - transform3D.mul(toMove); - transformGroup.setTransform(transform3D); - } - - protected void doMove(Vector3d theMove) - { - transformGroup.getTransform(transform3D); - Transform3D toMove = new Transform3D(); - toMove.setTranslation(theMove); - transform3D.mul(toMove); - transformGroup.setTransform(transform3D); - } - - protected double getMovementRate() - { - return moveRate * speed; - } - - protected double getRollLeftAmount() - { - return rotateZAmount * speed; - } - - protected double getRollRightAmount() - { - return -rotateZAmount * speed; - } - - protected double getRotateUpAmount() - { - return rotateYAmount * speed; - } - - protected double getRotateDownAmount() - { - return -rotateYAmount * speed; - } - - protected double getRotateLeftAmount() - { - return rotateYAmount * speed; - } - - protected double getRotateRightAmount() - { - return -rotateYAmount * speed; - } - - public void setRotateXAmount(double radians) - { - rotateXAmount = radians; - } - - public void setRotateYAmount(double radians) - { - rotateYAmount = radians; - } - - public void setRotateZAmount(double radians) - { - rotateZAmount = radians; - } - - public void setMovementRate(double meters) - { - moveRate = meters; // Travel rate in meters/frame - } - - public void setForwardKey(int key) - { - forwardKey = key; - } - - public void setBackKey(int key) - { - backKey = key; - } - - public void setLeftKey(int key) - { - leftKey = key; - } - - public void setRightKey(int key) - { - rightKey = key; - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OffScreenCanvas3D.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OffScreenCanvas3D.java deleted file mode 100644 index df8709dc86..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OffScreenCanvas3D.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * @(#)OffScreenCanvas3D.java 1.2 01/01/11 07:38:17 - * - * Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved. - * - * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, - * modify and redistribute this software in source and binary code form, - * provided that i) this copyright notice and license appear on all copies of - * the software; and ii) Licensee does not utilize the software in a manner - * which is disparaging to Sun. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY - * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR - * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE - * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING - * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS - * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, - * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER - * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF - * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * This software is not designed or intended for use in on-line control of - * aircraft, air traffic, aircraft navigation or aircraft communications; or in - * the design, construction, operation or maintenance of any nuclear - * facility. Licensee represents and warrants that it will not use or - * redistribute the Software for such purposes. - */ -package FoamX.Post.Util; - -import java.awt.GraphicsConfiguration; -import java.awt.image.BufferedImage; -import javax.media.j3d.*; -import javax.vecmath.*; - - -public class OffScreenCanvas3D extends Canvas3D { - public OffScreenCanvas3D(GraphicsConfiguration graphicsConfiguration, - boolean offScreen) { - - super(graphicsConfiguration, offScreen); - } - - public BufferedImage doRender(int width, int height) { - - BufferedImage bImage = - new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); - - ImageComponent2D buffer = - new ImageComponent2D(ImageComponent.FORMAT_RGBA, bImage); - - setOffScreenBuffer(buffer); - renderOffScreenBuffer(); - waitForOffScreenRendering(); - bImage = getOffScreenBuffer().getImage(); - - return bImage; - } - - public void postSwap() { - // No-op since we always wait for off-screen rendering to complete - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OrbitPickBehavior.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OrbitPickBehavior.java deleted file mode 100644 index 421495eeef..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/OrbitPickBehavior.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - */ -package FoamX.Post.Util; - -import javax.media.j3d.*; -import com.sun.j3d.utils.picking.PickTool; -import com.sun.j3d.utils.picking.PickResult; -import com.sun.j3d.utils.picking.PickIntersection; -import com.sun.j3d.utils.picking.behaviors.PickMouseBehavior; -import java.util.*; -import java.awt.*; -import java.awt.Event; -import java.awt.AWTEvent; -import java.awt.event.MouseEvent; -import javax.vecmath.*; - -import FoamX.Post.InteractiveNodes.InteractiveNode; -import FoamX.Post.Shapes.PickableShape; - -public class OrbitPickBehavior extends PickMouseBehavior -{ - protected static final int ILLEGALACTION = 0; - protected static final int PICKACTION = 1; - protected static final int UNPICKACTION = 2; - protected static final boolean debug = false; - - protected int action = ILLEGALACTION; - - public OrbitPickBehavior - ( - Canvas3D canvas, - BranchGroup root, - Bounds bounds - ) - { - super(canvas, root, bounds); - this.setSchedulingBounds(bounds); - root.addChild(this); - pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); - //pickCanvas.setMode(PickTool.BOUNDS); - pickCanvas.setTolerance(2.0f); - } - - // Register with event handler - public void initialize() { - - conditions = new WakeupCriterion[2]; - conditions[0] = new WakeupOnAWTEvent(Event.MOUSE_MOVE); - conditions[1] = new WakeupOnAWTEvent(Event.MOUSE_DOWN); - wakeupCondition = new WakeupOr(conditions); - - wakeupOn(wakeupCondition); - } - - - // Called at wakeup. Discard all but last event. - public void processStimulus (Enumeration criteria) - { - WakeupCriterion wakeup; - AWTEvent[] evt = null; - int xpos = 0, ypos = 0; - - while(criteria.hasMoreElements()) - { - wakeup = (WakeupCriterion)criteria.nextElement(); - if (wakeup instanceof WakeupOnAWTEvent) - { - evt = ((WakeupOnAWTEvent)wakeup).getAWTEvent(); - } - } - - if (evt[0] instanceof MouseEvent) - { - mevent = (MouseEvent) evt[0]; - - if - ( - ( - mevent.getID()==MouseEvent.MOUSE_PRESSED | - mevent.getID()==MouseEvent.MOUSE_CLICKED - ) - && mevent.isShiftDown() - ) - { - xpos = mevent.getPoint().x; - ypos = mevent.getPoint().y; - - int modifiers = mevent.getModifiers(); - - action = ILLEGALACTION; - if ((modifiers & mevent.BUTTON1_MASK) != 0) - { - action = PICKACTION; - updateScene(xpos, ypos); - } - if ((modifiers & mevent.BUTTON2_MASK) != 0) - { - // ? - } - if ((modifiers & mevent.BUTTON3_MASK) != 0) - { - action = UNPICKACTION; - updateScene(xpos, ypos); - } - } - } - wakeupOn (wakeupCondition); - } - - - // Do something based on (un)picking action. - public void updateScene(int xpos, int ypos) - { - try - { - - PickResult pickResult = null; - Shape3D shape = null; - - pickCanvas.setShapeLocation(xpos, ypos); - - pickResult = pickCanvas.pickClosest(); - if (pickResult != null) - { - //System.out.println("pickResult:" + pickResult); - - shape = (Shape3D)pickResult.getNode(PickResult.SHAPE3D); - if (shape instanceof PickableShape) - { - PickableShape pickableShape = (PickableShape)shape; - - if (action == PICKACTION) - { - pickableShape.picked(pickResult); - } - else if (action == UNPICKACTION) - { - pickableShape.unPicked(pickResult); - } - } - //else - //{ - // System.out.println("**\n**Picking object which is not InteractiveNode"); - //} - - //shape = (Shape3D) pickResult.getNode(PickResult.SHAPE3D); - //System.out.println("pickedShape=" + shape); - - //Enumeration iter = shape.getAllGeometries(); - //while (iter.hasMoreElements()) - //{ - // Object subShape = (Object)iter.nextElement(); - // System.out.println("subShape=" + subShape); - // printShape(subShape); - //} - } - } - catch(CapabilityNotSetException ex) - { - System.out.println(ex); - } - } - - - - // Utility function get nearest of multiple intersections - public static int getNearestIndex(PickResult pickResult) - { - int nInters = pickResult.numIntersections(); - if (nInters == 1) - { - return 0; - } - else if (nInters > 1) - { - double minDist=1E30; - int minIndex=-1; - for(int i = 0; i < nInters; i++) - { - PickIntersection pi = pickResult.getIntersection(i); - double dist = pi.getDistance(); - if (dist < minDist) - { - minDist = pi.getDistance(); - minIndex = pi.getGeometryArrayIndex(); - } - } - - if (debug) - { - System.out.println("minDist : " + minDist); - System.out.println("minIndex : " + minIndex); - } - return minIndex; - } - else - { - System.out.println("**\n** Illegal umber of intersections:" + nInters); - return -1; - } - } - - - - // Utility function to print shape info. - static void printShape(Object subShape) - { - if (subShape.getClass() == javax.media.j3d.Text3D.class) - { - Text3D subText = (Text3D)subShape; - System.out.println("Text3D:" + subText.getString()); - } - else if (subShape.getClass() == javax.media.j3d.TriangleStripArray.class) - { - TriangleStripArray strip = (TriangleStripArray)subShape; - - int nVert = strip.getVertexCount(); - System.out.println("triangleStripArray of length" + nVert); - Point3d[] vertices = new Point3d[nVert]; - for (int i = 0; i < vertices.length; i++) - { - vertices[i] = new Point3d(); - } - strip.getCoordinates(0, vertices); - for(int i = 0; i < vertices.length; i++) - { - System.out.println("vertex " + vertices[i]); - } - } - else if (subShape.getClass() == javax.media.j3d.IndexedTriangleArray.class) - { - IndexedTriangleArray strip = (IndexedTriangleArray)subShape; - - int nVert = strip.getVertexCount(); - System.out.println("IndexedTriangleArray of length" + nVert); - Point3d[] vertices = new Point3d[nVert]; - for (int i = 0; i < vertices.length; i++) - { - vertices[i] = new Point3d(); - } - strip.getCoordinates(0, vertices); - for(int i = 0; i < vertices.length; i++) - { - System.out.println("vertex " + vertices[i]); - } - } - else if (subShape.getClass() == javax.media.j3d.TriangleArray.class) - { - TriangleArray strip = (TriangleArray)subShape; - - int nVert = strip.getVertexCount(); - System.out.println("triangleArray of length" + nVert); - Point3d[] vertices = new Point3d[nVert]; - for (int i = 0; i < vertices.length; i++) - { - vertices[i] = new Point3d(); - } - strip.getCoordinates(0, vertices); - - for(int i = 0; i < vertices.length; i++) - { - System.out.println("vertex " + vertices[i]); - } - } - else - { - System.out.println("unknown shape" + subShape); - } - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PickDragBehavior.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PickDragBehavior.java deleted file mode 100644 index 9edae9781f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PickDragBehavior.java +++ /dev/null @@ -1,204 +0,0 @@ -/* - * @(#)PickDragBehavior.java 1.8 01/01/11 07:32:11 - * - * Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved. - * - * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, - * modify and redistribute this software in source and binary code form, - * provided that i) this copyright notice and license appear on all copies of - * the software; and ii) Licensee does not utilize the software in a manner - * which is disparaging to Sun. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY - * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR - * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE - * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING - * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS - * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, - * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER - * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF - * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * This software is not designed or intended for use in on-line control of - * aircraft, air traffic, aircraft navigation or aircraft communications; or in - * the design, construction, operation or maintenance of any nuclear - * facility. Licensee represents and warrants that it will not use or - * redistribute the Software for such purposes. - */ - -package FoamX.Post.Util; - -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import javax.media.j3d.*; -import javax.vecmath.*; -import com.sun.j3d.utils.geometry.Sphere; - -/** - * Class: PickDragBehavior - * - * Description: Used to respond to mouse pick and drag events - * in the 3D window. - * - * Version: 1.0 - * - */ -public class PickDragBehavior extends Behavior -{ - WakeupCriterion[] mouseEvents; - WakeupOr mouseCriterion; - int x, y; - int x_last, y_last; - double x_angle, y_angle; - double x_factor, y_factor; - Transform3D modelTrans; - Transform3D transformX; - Transform3D transformY; - Vector3d transVector; - TransformGroup transformGroup; - - public PickDragBehavior(TransformGroup transformGroup) - { - - this.transformGroup = transformGroup; - - modelTrans = new Transform3D(); - transformX = new Transform3D(); - transformY = new Transform3D(); - transVector = new Vector3d(); - } - - public void initialize() - { - x = 0; - y = 0; - x_last = 0; - y_last = 0; - x_angle = 0; - y_angle = 0; - x_factor = .02; - y_factor = .02; - - mouseEvents = new WakeupCriterion[2]; - mouseEvents[0] = new WakeupOnAWTEvent(MouseEvent.MOUSE_DRAGGED); - mouseEvents[1] = new WakeupOnAWTEvent(MouseEvent.MOUSE_PRESSED); - mouseCriterion = new WakeupOr(mouseEvents); - wakeupOn (mouseCriterion); - } - - public void processStimulus (Enumeration criteria) - { - WakeupCriterion wakeup; - AWTEvent[] event; - int id; - int dx, dy; - - while (criteria.hasMoreElements()) - { - wakeup = (WakeupCriterion) criteria.nextElement(); - if (wakeup instanceof WakeupOnAWTEvent) - { - event = ((WakeupOnAWTEvent)wakeup).getAWTEvent(); - for (int i=0; i BOTTOMRIGHT)) - { - System.out.println("ERROR: Placement incorrect corner:" + corner); - return; - } - corner_ = corner; - } - - //-------------------------------------------------------------------------- - - public Dimension getSpacing() - { - return spacing_; - } - - //-------------------------------------------------------------------------- - - public int getCorner() - { - return corner_; - } - - //-------------------------------------------------------------------------- - - // Calculates topleft of item inside component. - public Dimension getTopLeft(Component window, Dimension item) - { - int windowWidth = window.getWidth(); - int windowHeight = window.getHeight(); - - int itemWidth = item.width; - int itemHeight = item.height; - - if (corner_ == TOPLEFT) - { - return spacing_; - } - else if (corner_ == TOPRIGHT) - { - return new Dimension - ( - windowWidth - spacing_.width - itemWidth, - spacing_.height - ); - } - else if (corner_ == BOTTOMLEFT) - { - return new Dimension - ( - spacing_.width, - windowHeight - spacing_.height - itemHeight - ); - } - else - { - // Bottomright - return new Dimension - ( - windowWidth - spacing_.width - itemWidth, - windowHeight - spacing_.height - itemHeight - ); - } - } - - //-------------------------------------------------------------------------- - -} // end of class Placement diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PrintManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PrintManager.java deleted file mode 100644 index b9836dd04e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/PrintManager.java +++ /dev/null @@ -1,251 +0,0 @@ -package FoamX.Post.Util; - -import java.io.*; -import com.sun.image.codec.jpeg.*; -import sun.awt.image.codec.*; -import com.sun.j3d.utils.universe.*; -import java.awt.*; -import java.awt.image.BufferedImage; -import java.awt.event.*; -import javax.media.j3d.*; -import javax.vecmath.*; - -import FoamX.Post.Util.OffScreenCanvas3D; -import FoamX.Post.PostApp; -import FoamX.App; - -public class PrintManager -{ - PostApp postApp_; - SimpleUniverse universe_; - Switch printSwitch_; - Dimension currentDim_; - OffScreenCanvas3D offScreenCanvas_; - BranchGroup switchGroup_; - - // Switch to control rendering - public PrintManager(PostApp postApp, Switch printSwitch) - { - postApp_ = postApp; - universe_ = postApp_.getUniverse(); - printSwitch_ = printSwitch; - currentDim_ = null; - offScreenCanvas_ = null; - switchGroup_ = null; - - // Make sure we can modify switch and its children - printSwitch_.setCapability(Switch.ALLOW_SWITCH_WRITE); - printSwitch_.setCapability(Switch.ALLOW_CHILDREN_EXTEND); - printSwitch_.setCapability(Switch.ALLOW_CHILDREN_WRITE); - //printSwitch_.setWhichChild(Switch.CHILD_NONE); - printSwitch_.setWhichChild(Switch.CHILD_ALL); - } - - - public void print(Dimension wantedDim, String fileName) - { - Dimension windowDim = postApp_.getSize(); - if (wantedDim.width == 0) - { - if (wantedDim.height == 0) - { - wantedDim = windowDim; - System.out.println("Using screen size : " + wantedDim); - } - else - { - Float wantedWidth = - new Float - ( - wantedDim.height - * (float)windowDim.width - / windowDim.height - ); - wantedDim = - new Dimension(wantedWidth.intValue(), wantedDim.height); - System.out.println("Using specified height : " + wantedDim); - } - } - else - { - if (wantedDim.height == 0) - { - Float wantedHeight = - new Float - ( - wantedDim.width - * (float)windowDim.height - / windowDim.width - ); - wantedDim = - new Dimension(wantedDim.width, wantedHeight.intValue()); - System.out.println("Using specified width : " + wantedDim); - } - else - { - System.out.println - ( - "Using specified width and height : " + wantedDim - ); - } - } - - - // Check if different resolution - if - ( - (currentDim_ != null) - && !currentDim_.equals(wantedDim) - ) - { - // Disconnect current since wrong resolution - System.out.println("Different resolution:" + currentDim_); - printSwitch_.removeChild(switchGroup_); - switchGroup_ = null; - - // signal below to create new dim - currentDim_ = null; - } - - // Create new print raster - if (currentDim_ == null) - { - currentDim_ = wantedDim; - - System.out.println("Creating raster:" + currentDim_); - - BufferedImage bImage = - new BufferedImage - ( - currentDim_.width, - currentDim_.height, - BufferedImage.TYPE_INT_ARGB - ); - - ImageComponent2D buffer = - new ImageComponent2D - ( - ImageComponent.FORMAT_RGBA, - bImage - ); - buffer.setCapability(ImageComponent2D.ALLOW_IMAGE_READ); - - Raster drawRaster = - new Raster - ( - new Point3f(1.0f, 1.0f, 1.0f), - Raster.RASTER_COLOR, - 0, 0, - currentDim_.width, currentDim_.height, - buffer, - null - ); - - drawRaster.setCapability(Raster.ALLOW_IMAGE_WRITE); - - // Make shape out of it - Shape3D shape = new Shape3D(drawRaster); - - // Hang under bg under switch - switchGroup_ = new BranchGroup(); - switchGroup_.setCapability(BranchGroup.ALLOW_DETACH); - switchGroup_.addChild(shape); - - printSwitch_.addChild(switchGroup_); - - GraphicsConfiguration config = - SimpleUniverse.getPreferredConfiguration(); - offScreenCanvas_ = new OffScreenCanvas3D(config, currentDim_, true); - - // set the offscreen to match the onscreen - Screen3D sOff = offScreenCanvas_.getScreen3D(); - - sOff.setSize(currentDim_); - - Screen3D sOn = universe_.getCanvas().getScreen3D(); - double pixelWidth = sOn.getPhysicalScreenWidth(); - double pixelHeight = sOn.getPhysicalScreenHeight(); - - pixelHeight = pixelWidth * currentDim_.height / currentDim_.width; -// pixelHeight = pixelWidth; - - System.out.println - ( - "Setting physscreen to " + pixelWidth + " " + pixelHeight - ); - - sOff.setPhysicalScreenWidth(pixelWidth); - sOff.setPhysicalScreenHeight(pixelHeight); -// if (sOff.getPhysicalScreenWidth() < 1E-8) -// { -// System.out.println -// ( -// "Warning: physicalScreenWidth not set; using 0.5" -// ); -// sOff.setPhysicalScreenWidth(0.5); -// } -// if (sOff.getPhysicalScreenHeight() < 1E-8) -// { -// System.out.println -// ( -// "Warning: physicalScreenHeight not set; using 1.0" -// ); -// sOff.setPhysicalScreenHeight(1.0); -// } -// sOff.setSize(currentDim_); - } - - - // - // Now valid raster and hung under switch in scene. All set to start - // printing. - - offScreenCanvas_.setFileName(fileName); - // Set switch on - printSwitch_.setWhichChild(Switch.CHILD_ALL); - // Add to screen view so it gets rendered with correct view. - universe_.getViewer().getView().addCanvas3D(offScreenCanvas_); - // Print - offScreenCanvas_.print(); - - int sleep = App.getOptions().getProperty("FoamX.Sleep", "1000"); - - try - { - while (offScreenCanvas_.isPrinting()) - { - System.out.println("Waiting a bit more"); - Thread.currentThread().sleep(sleep); - } - System.out.println("Finished printing"); - } - catch (InterruptedException ie) - { - System.out.println("Interrupted exception"); - } - - // Disable switch - printSwitch_.setWhichChild(Switch.CHILD_NONE); - - try - { - Thread.currentThread().sleep(sleep); - } - catch (InterruptedException ie) - { - System.out.println("Interrupted exception"); - } - - // Remove canvas from view - universe_.getViewer().getView().removeCanvas3D(offScreenCanvas_); - - try - { - Thread.currentThread().sleep(sleep); - } - catch (InterruptedException ie) - { - System.out.println("Interrupted exception"); - } - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Text.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Text.java deleted file mode 100644 index ad6607dd47..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/Text.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Text.java - */ - - -package FoamX.Post.Util; - -import java.awt.*; -import java.awt.Color.*; -import java.awt.Font; -import java.awt.Graphics; -import java.awt.image.*; - -import javax.media.j3d.*; -import javax.vecmath.*; - - -public class Text -{ - Font smallFont_ = new java.awt.Font("Courier", 0, 8); - - - // creates a simple Raster text label (similar to Text2D) - public Shape3D createLabel - ( - String szText, float x, float y, float z, Color color - ) - { - BufferedImage bufferedImage = - new BufferedImage(25, 14, BufferedImage.TYPE_INT_RGB); - Graphics g = bufferedImage.getGraphics(); -// g.setComposite -// ( -// AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f) -// ); - g.setColor(color); - g.setFont(smallFont_); - g.drawString(szText, 2, 12); - - ImageComponent2D imageComponent2D = - new ImageComponent2D(ImageComponent2D.FORMAT_RGB, bufferedImage); - - // create the Raster for the image - javax.media.j3d.Raster renderRaster = - new javax.media.j3d.Raster - ( - new Point3f(x, y, z), - javax.media.j3d.Raster.RASTER_COLOR, - 0, 0, - bufferedImage.getWidth(), - bufferedImage.getHeight(), - imageComponent2D, - null - ); - - return new Shape3D(renderRaster); - } - - -} // end of class Text diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseScale.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseScale.java deleted file mode 100644 index 1589c51591..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseScale.java +++ /dev/null @@ -1,191 +0,0 @@ -package FoamX.Post.Util; - -//import com.sun.j3d.utils.behaviors.vp.*; -import com.sun.j3d.utils.behaviors.mouse.*; - -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import javax.media.j3d.*; -import javax.vecmath.*; - - -/** - * myMouseScale is a Java3D behavior object that lets users control the - * Z axis translation of an object via a mouse drag motion with the second - * mouse button. See MouseRotate for similar usage info. - */ - -public class myMouseScale extends MouseZoom -{ - private MouseBehaviorCallback callback = null; - - public myMouseScale(TransformGroup transformGroup) { - super(transformGroup); - } - - /** - * Creates a default mouse zoom behavior. - **/ - public myMouseScale(){ - super(0); - } - - /** - * Creates a zoom behavior. - * Note that this behavior still needs a transform - * group to work on (use setTransformGroup(tg)) and - * the transform group must add this behavior. - * @param flags - */ - public myMouseScale(int flags) { - super(flags); - } - - /** - * Creates a zoom behavior that uses AWT listeners and behavior - * posts rather than WakeupOnAWTEvent. The behavior is added to the - * specified Component. A null component can be passed to specify - * the behavior should use listeners. Components can then be added - * to the behavior with the addListener(Component c) method. - * @param c The Component to add the MouseListener - * and MouseMotionListener to. - * @since Java 3D 1.2.1 - */ - public myMouseScale(Component c) { - super(c, 0); - } - - /** - * Creates a zoom behavior that uses AWT listeners and behavior - * posts rather than WakeupOnAWTEvent. The behaviors is added to - * the specified Component and works on the given TransformGroup. - * @param c The Component to add the MouseListener and - * MouseMotionListener to. A null component can be passed to specify - * the behavior should use listeners. Components can then be added - * to the behavior with the addListener(Component c) method. - * @param transformGroup The TransformGroup to operate on. - * @since Java 3D 1.2.1 - */ - public myMouseScale(Component c, TransformGroup transformGroup) { - super(c, transformGroup); - } - - /** - * Creates a zoom behavior that uses AWT listeners and behavior - * posts rather than WakeupOnAWTEvent. The behavior is added to the - * specified Component. A null component can be passed to specify - * the behavior should use listeners. Components can then be added - * to the behavior with the addListener(Component c) method. - * Note that this behavior still needs a transform - * group to work on (use setTransformGroup(tg)) and the transform - * group must add this behavior. - * @param flags interesting flags (wakeup conditions). - * @since Java 3D 1.2.1 - */ - public myMouseScale(Component c, int flags) { - super(c, flags); - } - - public void processStimulus (Enumeration criteria) { - WakeupCriterion wakeup; - AWTEvent[] events; - MouseEvent evt; -// int id; -// int dx, dy; - - System.out.println("processStimulus"); - - while (criteria.hasMoreElements()) { - wakeup = (WakeupCriterion) criteria.nextElement(); - if (wakeup instanceof WakeupOnAWTEvent) { - events = ((WakeupOnAWTEvent)wakeup).getAWTEvent(); - if (events.length > 0) { - evt = (MouseEvent) events[events.length-1]; - doProcess(evt); - } - } - - else if (wakeup instanceof WakeupOnBehaviorPost) { - while (true) { - synchronized (mouseq) { - if (mouseq.isEmpty()) break; - evt = (MouseEvent)mouseq.remove(0); - // consolodate MOUSE_DRAG events - while((evt.getID() == MouseEvent.MOUSE_DRAGGED) && - !mouseq.isEmpty() && - (((MouseEvent)mouseq.get(0)).getID() == - MouseEvent.MOUSE_DRAGGED)) { - evt = (MouseEvent)mouseq.remove(0); - } - } - doProcess(evt); - } - } - - } - wakeupOn (mouseCriterion); - } - - void doProcess(MouseEvent evt) { - int id; - int dx, dy; - - //processMouseEvent(evt); - - if (((buttonPress)&&((flags & MANUAL_WAKEUP) == 0)) || - ((wakeUp)&&((flags & MANUAL_WAKEUP) != 0))){ - id = evt.getID(); - if ((id == MouseEvent.MOUSE_DRAGGED) && - evt.isAltDown() && !evt.isMetaDown()){ - - x = evt.getX(); - y = evt.getY(); - - dx = x - x_last; - dy = y - y_last; - - if (!reset){ - transformGroup.getTransform(currXform); - - double scale = currXform.getScale(); - - scale += 0.01*dy; - -System.out.println("setting scale " + scale); - - currXform.setScale(scale); - - transformGroup.setTransform(currXform); - - transformChanged( currXform ); - - if (callback!=null) - callback.transformChanged( MouseBehaviorCallback.ZOOM, - currXform ); - - } - else { - reset = false; - } - - x_last = x; - y_last = y; - } - else if (id == MouseEvent.MOUSE_PRESSED) { - x_last = evt.getX(); - y_last = evt.getY(); - } - } - } - - - /** - * The transformChanged method in the callback class will - * be called every time the transform is updated - */ - public void setupCallback( MouseBehaviorCallback callback ) { - this.callback = callback; - } -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseZoom.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseZoom.java deleted file mode 100644 index 85ea6239c9..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myMouseZoom.java +++ /dev/null @@ -1,263 +0,0 @@ -/* - * @(#)myMouseZoom.java 1.31 01/01/11 07:22:24 - * - * Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved. - * - * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, - * modify and redistribute this software in source and binary code form, - * provided that i) this copyright notice and license appear on all copies of - * the software; and ii) Licensee does not utilize the software in a manner - * which is disparaging to Sun. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY - * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR - * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE - * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING - * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS - * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, - * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER - * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF - * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * This software is not designed or intended for use in on-line control of - * aircraft, air traffic, aircraft navigation or aircraft communications; or in - * the design, construction, operation or maintenance of any nuclear - * facility. Licensee represents and warrants that it will not use or - * redistribute the Software for such purposes. - */ - -package FoamX.Post.Util; - -import com.sun.j3d.utils.behaviors.mouse.*; - -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import javax.media.j3d.*; -import javax.vecmath.*; - - -/** - * myMouseZoom is a Java3D behavior object that lets users control the - * Z axis translation of an object via a mouse drag motion with the second - * mouse button. See MouseRotate for similar usage info. - */ - -public class myMouseZoom extends MouseBehavior { - - double z_factor = .04; - Vector3d translation = new Vector3d(); - - private MouseBehaviorCallback callback = null; - - /** - * Creates a zoom behavior given the transform group. - * @param transformGroup The transformGroup to operate on. - */ - public myMouseZoom(TransformGroup transformGroup) { - super(transformGroup); - } - - /** - * Creates a default mouse zoom behavior. - **/ - public myMouseZoom(){ - super(0); - } - - /** - * Creates a zoom behavior. - * Note that this behavior still needs a transform - * group to work on (use setTransformGroup(tg)) and - * the transform group must add this behavior. - * @param flags - */ - public myMouseZoom(int flags) { - super(flags); - } - - /** - * Creates a zoom behavior that uses AWT listeners and behavior - * posts rather than WakeupOnAWTEvent. The behavior is added to the - * specified Component. A null component can be passed to specify - * the behavior should use listeners. Components can then be added - * to the behavior with the addListener(Component c) method. - * @param c The Component to add the MouseListener - * and MouseMotionListener to. - * @since Java 3D 1.2.1 - */ - public myMouseZoom(Component c) { - super(c, 0); - } - - /** - * Creates a zoom behavior that uses AWT listeners and behavior - * posts rather than WakeupOnAWTEvent. The behaviors is added to - * the specified Component and works on the given TransformGroup. - * @param c The Component to add the MouseListener and - * MouseMotionListener to. A null component can be passed to specify - * the behavior should use listeners. Components can then be added - * to the behavior with the addListener(Component c) method. - * @param transformGroup The TransformGroup to operate on. - * @since Java 3D 1.2.1 - */ - public myMouseZoom(Component c, TransformGroup transformGroup) { - super(c, transformGroup); - } - - /** - * Creates a zoom behavior that uses AWT listeners and behavior - * posts rather than WakeupOnAWTEvent. The behavior is added to the - * specified Component. A null component can be passed to specify - * the behavior should use listeners. Components can then be added - * to the behavior with the addListener(Component c) method. - * Note that this behavior still needs a transform - * group to work on (use setTransformGroup(tg)) and the transform - * group must add this behavior. - * @param flags interesting flags (wakeup conditions). - * @since Java 3D 1.2.1 - */ - public myMouseZoom(Component c, int flags) { - super(c, flags); - } - - public void initialize() { - super.initialize(); - if ((flags & INVERT_INPUT) == INVERT_INPUT) { - z_factor *= -1; - invert = true; - } - } - - /** - * Return the y-axis movement multipler. - **/ - public double getFactor() { - return z_factor; - } - - /** - * Set the y-axis movement multipler with factor. - **/ - public void setFactor( double factor) { - z_factor = factor; - } - - - public void processStimulus (Enumeration criteria) { - WakeupCriterion wakeup; - AWTEvent[] events; - MouseEvent evt; -// int id; -// int dx, dy; - - System.out.println("processStimulus"); - - while (criteria.hasMoreElements()) { - wakeup = (WakeupCriterion) criteria.nextElement(); - if (wakeup instanceof WakeupOnAWTEvent) { - events = ((WakeupOnAWTEvent)wakeup).getAWTEvent(); - if (events.length > 0) { - evt = (MouseEvent) events[events.length-1]; - doProcess(evt); - } - } - - else if (wakeup instanceof WakeupOnBehaviorPost) { - while (true) { - synchronized (mouseq) { - if (mouseq.isEmpty()) break; - evt = (MouseEvent)mouseq.remove(0); - // consolodate MOUSE_DRAG events - while((evt.getID() == MouseEvent.MOUSE_DRAGGED) && - !mouseq.isEmpty() && - (((MouseEvent)mouseq.get(0)).getID() == - MouseEvent.MOUSE_DRAGGED)) { - evt = (MouseEvent)mouseq.remove(0); - } - } - doProcess(evt); - } - } - - } - wakeupOn (mouseCriterion); - } - - void doProcess(MouseEvent evt) { - int id; - int dx, dy; - - processMouseEvent(evt); - - System.out.println("doProcess"); - - if (((buttonPress)&&((flags & MANUAL_WAKEUP) == 0)) || - ((wakeUp)&&((flags & MANUAL_WAKEUP) != 0))){ - id = evt.getID(); - if ((id == MouseEvent.MOUSE_DRAGGED) && - evt.isAltDown() && !evt.isMetaDown()){ - - x = evt.getX(); - y = evt.getY(); - - dx = x - x_last; - dy = y - y_last; - - if (!reset){ - transformGroup.getTransform(currXform); - - translation.z = dy*z_factor; - - transformX.set(translation); - - if (invert) { - currXform.mul(currXform, transformX); - } else { - currXform.mul(transformX, currXform); - } - - transformGroup.setTransform(currXform); - - transformChanged( currXform ); - - if (callback!=null) - callback.transformChanged( MouseBehaviorCallback.ZOOM, - currXform ); - - } - else { - reset = false; - } - - x_last = x; - y_last = y; - } - else if (id == MouseEvent.MOUSE_PRESSED) { - x_last = evt.getX(); - y_last = evt.getY(); - } - } - } - - - /** - * Users can overload this method which is called every time - * the Behavior updates the transform - * - * Default implementation does nothing - */ - public void transformChanged( Transform3D transform ) { - } - - /** - * The transformChanged method in the callback class will - * be called every time the transform is updated - */ - public void setupCallback( MouseBehaviorCallback callback ) { - this.callback = callback; - } -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myOrbitBehavior.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myOrbitBehavior.java deleted file mode 100644 index 0dcecd68df..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Post/Util/myOrbitBehavior.java +++ /dev/null @@ -1,787 +0,0 @@ -/* - * @(#)myOrbitBehavior.java 1.9 01/02/28 16:26:56 - * - * Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved. - * - * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, - * modify and redistribute this software in source and binary code form, - * provided that i) this copyright notice and license appear on all copies of - * the software; and ii) Licensee does not utilize the software in a manner - * which is disparaging to Sun. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY - * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR - * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE - * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING - * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS - * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, - * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER - * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF - * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * This software is not designed or intended for use in on-line control of - * aircraft, air traffic, aircraft navigation or aircraft communications; or in - * the design, construction, operation or maintenance of any nuclear - * facility. Licensee represents and warrants that it will not use or - * redistribute the Software for such purposes. - */ - -package FoamX.Post.Util; - -import com.sun.j3d.utils.behaviors.vp.*; - -import java.awt.event.ComponentEvent; -import java.awt.event.MouseEvent; -import java.awt.event.KeyEvent; -import java.awt.AWTEvent; -import java.awt.Component; -import java.awt.Cursor; -import javax.swing.SwingUtilities; - -import javax.media.j3d.WakeupOnAWTEvent; -import javax.media.j3d.WakeupOnElapsedFrames; -import javax.media.j3d.TransformGroup; -import javax.media.j3d.Transform3D; -import javax.media.j3d.View; -import javax.media.j3d.Canvas3D; - -import javax.vecmath.Vector3d; -import javax.vecmath.Point3d; -import javax.vecmath.Matrix3d; - -import com.sun.j3d.utils.universe.ViewingPlatform; - -import com.sun.j3d.internal.J3dUtilsI18N; - -/** - * Moves the View around a point of interest when the mouse is dragged with - * a mouse button pressed. Includes rotation, zoom, and translation - * actions. - *

- * This behavior must be added to the ViewingPlatform - * using the ViewingPlatform.addViewPlatformBehavior() method. - *

- * The rotate action rotates the ViewPlatform around the point of interest - * when the mouse is moved with the main mouse button pressed. The - * rotation is in the direction of the mouse movement, with a default - * rotation of 0.01 radians for each pixel of mouse movement. - *

- * The zoom action moves the ViewPlatform closer to or further from the - * point of interest when the mouse is moved with the middle mouse button - * pressed (or Alt-main mouse button on systems without a middle mouse button). - * The default zoom action is to translate the ViewPlatform 0.01 units for each - * pixel of mouse movement. Moving the mouse up moves the ViewPlatform closer, - * moving the mouse down moves the ViewPlatform further away. - *

- * By default, the zoom action allows the ViewPlatform to move through - * the center of rotation to orbit at a negative radius. - * The STOP_ZOOM constructor flag will stop the ViewPlatform at - * a minimum radius from the center. The default minimum radius is 0.0 - * and can be set using the setMinRadius method. - *

- * The PROPORTIONAL_ZOOM constructor flag changes the zoom action - * to move the ViewPlatform proportional to its distance from the center - * of rotation. For this mode, the default action is to move the ViewPlatform - * by 1% of its distance from the center of rotation for each pixel of - * mouse movement. - *

- * The translate action translates the ViewPlatform when the mouse is moved - * with the right mouse button pressed (Shift-main mouse button on systems - * without a right mouse button). The translation is in the direction of the - * mouse movement, with a default translation of 0.01 units for each pixel - * of mouse movement. - *

- * The sensitivity of the actions can be scaled using the - * setActionFactor() methods which scale - * the default movement by the factor. The rotate and translate actions - * have separate factors for x and y. - *

- * The actions can be reversed using the REVERSE_ACTION - * constructor flags. The default action moves the ViewPlatform around the - * objects in the scene. The REVERSE_ACTION flags can - * make the objects in the scene appear to be moving in the direction - * of the mouse movement. - *

- * The actions can be disabled by either using the - * DISABLE_ACTION constructor flags or the - * setActionEnable methods. - *

- * The default center of rotation is (0, 0, 0) and can be set using the - * setRotationCenter() method. - * - * @since Java 3D 1.2.1 - */ -public class myOrbitBehavior extends ViewPlatformAWTBehavior { - - private Transform3D velocityTransform; - private Transform3D longditudeTransform; - private Transform3D rollTransform; - private Transform3D latitudeTransform; - private Transform3D rotateTransform = new Transform3D(); - - // needed for integrateTransforms but don't want to new every time - private Transform3D temp1 = new Transform3D(); - private Transform3D temp2 = new Transform3D(); - private Transform3D translation = new Transform3D(); - private Vector3d transVector = new Vector3d(); - private Vector3d distanceVector = new Vector3d(); - private Vector3d centerVector = new Vector3d(); - private Vector3d invertCenterVector = new Vector3d(); - - private double longditude = 0.0; - private double latitude = 0.0; - private double rollAngle = 0.0; - private double distanceFromCenter = 20.0; - - private final double MAX_MOUSE_ANGLE = Math.toRadians( 3 ); - private final double ZOOM_FACTOR = 1.0; - private Point3d rotationCenter = new Point3d(); - private Vector3d centerToView = new Vector3d(); - private Matrix3d rotMatrix = new Matrix3d(); - private Vector3d oldPos = new Vector3d(); - private Vector3d currentPos = new Vector3d(); - - private int mouseX = 0; - private int mouseY = 0; - - private Canvas3D canvas; - - private double rotXMul; - private double rotYMul; - private double transXMul; - private double transYMul; - private double zoomMul; - - private double rotXFactor = 1.0; - private double rotYFactor = 1.0; - private double transXFactor = 1.0; - private double transYFactor = 1.0; - private double zoomFactor = 1.0; - - private double xtrans = 0.0; - private double ytrans = 0.0; - - private boolean zoomEnabled = true; - private boolean rotateEnabled = true; - private boolean translateEnabled = true; - private boolean reverseRotate = false; - private boolean reverseTrans = false; - private boolean reverseZoom = false; - private boolean stopZoom = false; - private boolean proportionalZoom = false; - private double minRadius = 0.0; - private int leftButton = ROTATE; - private int rightButton = TRANSLATE; - private int middleButton = ZOOM; - - /** - * Constructor flag to reverse the rotate behavior - */ - public static final int REVERSE_ROTATE = 0x010; - - /** - * Constructor flag to reverse the translate behavior - */ - public static final int REVERSE_TRANSLATE = 0x020; - - /** - * Constructor flag to reverse the zoom behavior - */ - public static final int REVERSE_ZOOM = 0x040; - - /** - * Constructor flag to reverse all the behaviors - */ - public static final int REVERSE_ALL = (REVERSE_ROTATE | REVERSE_TRANSLATE | - REVERSE_ZOOM); - - /** - * Constructor flag that indicates zoom should stop when it reaches - * the minimum orbit radius set by setMinRadius(). The minimus - * radius default is 0.0. - */ - public static final int STOP_ZOOM = 0x100; - - /** - * Constructor flag to disable rotate - */ - public static final int DISABLE_ROTATE = 0x200; - - /** - * Constructor flag to disable translate - */ - public static final int DISABLE_TRANSLATE = 0x400; - - /** - * Constructor flag to disable zoom - */ - public static final int DISABLE_ZOOM = 0x800; - - /** - * Constructor flag to use proportional zoom, which determines - * how much you zoom based on view's distance from the center of - * rotation. The percentage of distance that the viewer zooms - * is determined by the zoom factor. - */ - public static final int PROPORTIONAL_ZOOM = 0x1000; - - /** - * Used to set the fuction for a mouse button to Rotate - */ - private static final int ROTATE = 0; - - /** - * Used to set the function for a mouse button to Translate - */ - private static final int TRANSLATE = 1; - - /** - * Used to set the function for a mouse button to Zoom - */ - private static final int ZOOM = 2; - - private static final double NOMINAL_ZOOM_FACTOR = .01; - private static final double NOMINAL_PZOOM_FACTOR = 1.0; - private static final double NOMINAL_ROT_FACTOR = .01; - private static final double NOMINAL_TRANS_FACTOR = .01; - - /** - * Creates a new myOrbitBehavior - * - * @param c The Canvas3D to add the behavior to - */ - public myOrbitBehavior(Canvas3D c) { - this(c, 0 ); - } - - /** - * Creates a new myOrbitBehavior - * - * @param c The Canvas3D to add the behavior to - * @param flags The option flags - */ - public myOrbitBehavior(Canvas3D c, int flags) { - super(c, MOUSE_LISTENER | MOUSE_MOTION_LISTENER | flags ); - canvas = c; - - if ((flags & DISABLE_ROTATE) != 0) rotateEnabled = false; - if ((flags & DISABLE_ZOOM) != 0) zoomEnabled = false; - if ((flags & DISABLE_TRANSLATE) != 0) translateEnabled = false; - if ((flags & REVERSE_TRANSLATE) != 0) reverseTrans = true; - if ((flags & REVERSE_ROTATE) != 0) reverseRotate = true; - if ((flags & REVERSE_ZOOM) != 0) reverseZoom = true; - if ((flags & STOP_ZOOM) != 0) stopZoom = true; - if ((flags & PROPORTIONAL_ZOOM) !=0) { - proportionalZoom = true; - } - - rotXMul = NOMINAL_ROT_FACTOR * rotXFactor; - rotYMul = NOMINAL_ROT_FACTOR * rotYFactor; - transXMul = NOMINAL_TRANS_FACTOR * transXFactor; - transYMul = NOMINAL_TRANS_FACTOR * transYFactor; - if (proportionalZoom) { - zoomMul = NOMINAL_PZOOM_FACTOR * zoomFactor; - } - else { - zoomMul = NOMINAL_ZOOM_FACTOR * zoomFactor; - } - - rollTransform = new Transform3D(); - latitudeTransform = new Transform3D(); - longditudeTransform = new Transform3D(); - targetTransform = new Transform3D(); - velocityTransform = new Transform3D(); - } - - protected synchronized void processAWTEvents( final java.awt.AWTEvent[] events ) { - motion = false; - for(int i=0; i - minRadius) { - distanceFromCenter -= (zoomMul*ychange* - distanceFromCenter/100.0); - } - else { - distanceFromCenter = minRadius; - } - } - else { - if ((distanceFromCenter + - (zoomMul*ychange*distanceFromCenter/100.0)) - > minRadius) { - distanceFromCenter += (zoomMul*ychange* - distanceFromCenter/100.0); - } - else { - distanceFromCenter = minRadius; - } - } - } - else { - if (stopZoom) { - if (reverseZoom) { - if ((distanceFromCenter - ychange*zoomMul) > minRadius) { - distanceFromCenter -= ychange*zoomMul; - } - else { - distanceFromCenter = minRadius; - } - } - else { - if ((distanceFromCenter + ychange*zoomMul) > minRadius) { - distanceFromCenter += ychange * zoomMul; - } - else { - distanceFromCenter = minRadius; - } - } - } - else { - if (reverseZoom) { - distanceFromCenter -= ychange*zoomMul; - } - else { - distanceFromCenter += ychange*zoomMul; - } - } - } - } - mouseX = evt.getX(); - mouseY = evt.getY(); - motion = true; - } else if (evt.getID()==MouseEvent.MOUSE_RELEASED ) { - } - - } - - /** - * Sets the ViewingPlatform for this behavior. This method is - * called by the ViewingPlatform. - * If a sub-calls overrides this method, it must call - * super.setViewingPlatform(vp). - * NOTE: Applications should not call this method. - */ - public void setViewingPlatform(ViewingPlatform vp) { - super.setViewingPlatform( vp ); - if (vp!=null) { - resetViewPosition(); - integrateTransforms(); - } - } - - /** - * Reset the orientation and distance of this behavior to the current - * values in the ViewPlatform Transform Group - */ - private void resetViewPosition() { - targetTG.getTransform( targetTransform ); - - targetTransform.get( rotMatrix, transVector ); - centerToView.sub( transVector, rotationCenter ); - distanceFromCenter = centerToView.length(); - - System.out.println - ( - "resetViewPosition : distanceFromCenter:" - + distanceFromCenter - ); - - targetTransform.get( rotMatrix ); - rotateTransform.set( rotMatrix ); - } - - protected synchronized void integrateTransforms() { - targetTransform.get( oldPos ); - - targetTG.getTransform( targetTransform ); - - targetTransform.get( currentPos ); - - // Check if the transform has been changed by another - // behavior - if ( !currentPos.equals(oldPos)) - resetViewPosition(); - - longditudeTransform.rotY( longditude ); - latitudeTransform.rotX( latitude ); - - rotateTransform.mul(rotateTransform, latitudeTransform); - rotateTransform.mul(rotateTransform, longditudeTransform); -// rotateTransform.mul(longditudeTransform, rotateTransform); - -// distanceVector.z = distanceFromCenter; -// temp1.set(distanceVector); - - temp1.set(distanceFromCenter); - temp1.mul(rotateTransform, temp1); - - // want to look at rotationCenter - transVector.x = rotationCenter.x + xtrans; - transVector.y = rotationCenter.y + ytrans; - transVector.z = rotationCenter.z; - translation.set(transVector); - targetTransform.mul(temp1, translation); - - // handle rotationCenter - temp1.set(centerVector); - temp1.mul(targetTransform); - - invertCenterVector.x = -centerVector.x; - invertCenterVector.y = -centerVector.y; - invertCenterVector.z = -centerVector.z; - - temp2.set(invertCenterVector); - targetTransform.mul(temp1, temp2); - - // renormalize for security - double scale = targetTransform.getScale(); - targetTransform.normalizeCP(); - targetTransform.set(scale); - - targetTG.setTransform(targetTransform); - - // reset yaw and pitch angles - longditude = 0.0; - latitude = 0.0; - } - - /** - * Sets the center around which the View rotates. - * The default is (0,0,0). - * @param center The Point3d to set the center of rotation to - */ - public synchronized void setRotationCenter(Point3d center) { - rotationCenter.x = center.x; - rotationCenter.y = center.y; - rotationCenter.z = center.z; - centerVector.set(rotationCenter); - } - - /** - * Places the value of the center around which the View rotates - * into the Point3d. - * @param center The Point3d - */ - public void getRotationCenter(Point3d center) { - center.x = rotationCenter.x; - center.y = rotationCenter.y; - center.z = rotationCenter.z; - } - - // TODO - // Need to add key factors for Rotate, Translate and Zoom - // Method calls should just update MAX_KEY_ANGLE, KEY_TRANSLATE and - // KEY_ZOOM - // - // Methods also need to correctly set sign of variables depending on - // the Reverse settings. - - /** - * Sets the rotation x and y factors. The factors are used to determine - * how many radians to rotate the view for each pixel of mouse movement. - * The view is rotated factor * 0.01 radians for each pixel of mouse - * movement. The default factor is 1.0. - * @param xfactor The x movement multiplier - * @param yfactor The y movement multiplier - **/ - public synchronized void setRotFactors(double xfactor, double yfactor) { - rotXFactor = xfactor; - rotYFactor = yfactor; - rotXMul = NOMINAL_ROT_FACTOR * xfactor; - rotYMul = NOMINAL_ROT_FACTOR * yfactor; - } - - /** - * Sets the rotation x factor. The factors are used to determine - * how many radians to rotate the view for each pixel of mouse movement. - * The view is rotated factor * 0.01 radians for each pixel of mouse - * movement. The default factor is 1.0. - * @param xfactor The x movement multiplier - **/ - public synchronized void setRotXFactor(double xfactor) { - rotXFactor = xfactor; - rotXMul = NOMINAL_ROT_FACTOR * xfactor; - } - - /** - * Sets the rotation y factor. The factors are used to determine - * how many radians to rotate the view for each pixel of mouse movement. - * The view is rotated factor * 0.01 radians for each pixel of mouse - * movement. The default factor is 1.0. - * @param yfactor The y movement multiplier - **/ - public synchronized void setRotYFactor(double yfactor) { - rotYFactor = yfactor; - rotYMul = NOMINAL_ROT_FACTOR * yfactor; - } - - /** - * Sets the translation x and y factors. The factors are used to determine - * how many units to translate the view for each pixel of mouse movement. - * The view is translated factor * 0.01 units for each pixel of mouse - * movement. The default factor is 1.0. - * @param xfactor The x movement multiplier - * @param yfactor The y movement multiplier - **/ - public synchronized void setTransFactors(double xfactor, - double yfactor) { - transXFactor = xfactor; - transYFactor = yfactor; - transXMul = NOMINAL_TRANS_FACTOR * xfactor; - transYMul = NOMINAL_TRANS_FACTOR * yfactor; - } - - /** - * Sets the translation x factor. The factors are used to determine - * how many units to translate the view for each pixel of mouse movement. - * The view is translated factor * 0.01 units for each pixel of mouse - * movement. The default factor is 1.0. - * @param xfactor The x movement multiplier - **/ - public synchronized void setTransXFactor(double xfactor) { - transXFactor = xfactor; - transXMul = NOMINAL_TRANS_FACTOR * xfactor; - } - - /** - * Sets the translation y factor. The factors are used to determine - * how many units to translate the view for each pixel of mouse movement. - * The view is translated factor * 0.01 units for each pixel of mouse - * movement. The default factor is 1.0. - * @param yfactor The y movement multiplier - **/ - public synchronized void setTransYFactor(double yfactor) { - transYFactor = yfactor; - transYMul = NOMINAL_TRANS_FACTOR * yfactor; - } - - /** - * Sets the zoom factor. The factor is used to determine how many - * units to zoom the view for each pixel of mouse movement. - * The view is zoomed factor * 0.01 units for each pixel of mouse - * movement. For proportional zoom, the view is zoomed factor * 1% - * of the distance from the center of rotation for each pixel of - * mouse movement. The default factor is 1.0. - * @param zfactor The movement multiplier - */ - public synchronized void setZoomFactor(double zfactor) { - zoomFactor = zfactor; - if (proportionalZoom) { - zoomMul = NOMINAL_PZOOM_FACTOR * zfactor; - } - else { - zoomMul = NOMINAL_ZOOM_FACTOR * zfactor; - } - } - - /** - * Returns the x rotation movement multiplier - * @return The movement multiplier for x rotation - */ - public double getRotXFactor() { - return rotXFactor; - } - - /** - * Returns the y rotation movement multiplier - * @return The movement multiplier for y rotation - */ - public double getRotYFactor() { - return rotYFactor; - } - - /** - * Returns the x translation movement multiplier - * @return The movement multiplier for x translation - */ - public double getTransXFactor() { - return transXFactor; - } - - /** - * Returns the y translation movement multiplier - * @return The movement multiplier for y translation - */ - public double getTransYFactor() { - return transYFactor; - } - - /** - * Returns the zoom movement multiplier - * @return The movement multiplier for zoom - */ - public double getZoomFactor() { - return zoomFactor; - } - - /** - * Enables or disables rotation. The default is true. - * @param enabled true or false to enable or disable rotate - */ - public synchronized void setRotateEnable(boolean enabled) { - rotateEnabled = enabled; - } - - /** - * Enables or disables zoom. The default is true. - * @param enabled true or false to enable or disable zoom - */ - public synchronized void setZoomEnable(boolean enabled) { - zoomEnabled = enabled; - } - - /** - * Enables or disables translate. The default is true. - * @param enabled true or false to enable or disable translate - */ - public synchronized void setTranslateEnable(boolean enabled) { - translateEnabled = enabled; - } - - /** - * Retrieves the state of rotate enabled - * @return the rotate enable state - */ - public boolean getRotateEnable() { - return rotateEnabled; - } - - /** - * Retrieves the state of zoom enabled - * @return the zoom enable state - */ - public boolean getZoomEnable() { - return zoomEnabled; - } - - /** - * Retrieves the state of translate enabled - * @return the translate enable state - */ - public boolean getTranslateEnable() { - return translateEnabled; - } - - boolean rotate(MouseEvent evt) { - if (rotateEnabled) { - if ((leftButton == ROTATE) && - (!evt.isAltDown() && !evt.isMetaDown())) { - return true; - } - if ((middleButton == ROTATE) && - (evt.isAltDown() && !evt.isMetaDown())) { - return true; - } - if ((rightButton == ROTATE) && - (!evt.isAltDown() && evt.isMetaDown())) { - return true; - } - } - return false; - } - - boolean zoom(MouseEvent evt) { - if (zoomEnabled) { - if ((leftButton == ZOOM) && - (!evt.isAltDown() && !evt.isMetaDown())) { - return true; - } - if ((middleButton == ZOOM) && - (evt.isAltDown() && !evt.isMetaDown())) { - return true; - } - if ((rightButton == ZOOM) && - (!evt.isAltDown() && evt.isMetaDown())) { - return true; - } - } - return false; - } - - boolean translate(MouseEvent evt) { - if (translateEnabled) { - if ((leftButton == TRANSLATE) && - (!evt.isAltDown() && !evt.isMetaDown())) { - return true; - } - if ((middleButton == TRANSLATE) && - (evt.isAltDown() && !evt.isMetaDown())) { - return true; - } - if ((rightButton == TRANSLATE) && - (!evt.isAltDown() && evt.isMetaDown())) { - return true; - } - } - return false; - } - - /** - * Sets the minimum radius for the myOrbitBehavior. The zoom will - * stop at this distance from the center of rotation. The default - * is 0.0. The minimum will have no affect if the STOP_ZOOM constructor - * flag is not set. - * @param r the minimum radius - * @exception IllegalArgumentException if the radius is less than 0.0 - */ - public synchronized void setMinRadius(double r) { - if (r < 0.0) { - throw new IllegalArgumentException(J3dUtilsI18N.getString("myOrbitBehavior1")); - } - minRadius = r; - } - - /** - * Returns the minimum orbit radius. The zoom will stop at this distance - * from the center of rotation if the STOP_ZOOM constructor flag is set. - * @return the minimum radius - */ - public double getMinRadius() { - return minRadius; - } - - -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/.nbattrs deleted file mode 100644 index ae8004cc03..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/.nbattrs +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.form deleted file mode 100644 index f749f80936..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.form +++ /dev/null @@ -1,591 +0,0 @@ - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.java deleted file mode 100644 index 527d0b176b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessEditor.java +++ /dev/null @@ -1,1556 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.ProcessManagement; - - -import java.awt.Point; -import java.awt.event.ActionEvent; -import java.awt.event.MouseAdapter; -import java.awt.event.MouseEvent; -import java.util.Vector; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.table.*; -import javax.swing.event.ListSelectionListener; -import javax.swing.event.ListSelectionEvent; - -import org.omg.CORBA.StringHolder; - -import FoamX.App; -import FoamX.Editors.StringListEditor; -import FoamX.Util.TableSorter; - -import FoamXServer.*; -import FoamXServer.CaseBrowser.ICaseBrowser; - -public class ProcessEditor extends javax.swing.JDialog -{ - //-------------------------------------------------------------------------- - - protected java.awt.Frame parent_; - protected ICaseBrowser caseBrowser_; - protected RunningProcessModel runningModel_; - protected FinishedProcessModel finishedModel_; - protected String licenceDir_; - - protected TableSorter runningSorter_; - protected TableSorter finishedSorter_; - - //-------------------------------------------------------------------------- - /** Creates new Process Editor */ - public ProcessEditor(java.awt.Frame parent, ICaseBrowser caseBrowser) - { - super(parent, "Process Editor", false); // non Modal. - - try - { - parent_ = parent; - - // Initialise the process Manager - caseBrowser_ = caseBrowser; - - // Initialise the table models and associated sorters - runningModel_ = new RunningProcessModel(caseBrowser_); - finishedModel_ = new FinishedProcessModel(caseBrowser_); - runningSorter_ = new TableSorter(runningModel_); - finishedSorter_ = new TableSorter(finishedModel_); - - initComponents(); - - - // Make sorters lister to tableheader clicks - runningSorter_.addMouseListenerToHeaderInTable(runningTable_); - finishedSorter_.addMouseListenerToHeaderInTable(finishedTable_); - - // Set licence dir - StringHolder holder = new StringHolder(); - caseBrowser.getEnv("FOAM_JOB_DIR", holder); - licenceDir_ = holder.value; - - // Start off with disabled job-wise buttons - runInfoButton_.setEnabled(false); - endButton_.setEnabled(false); - endNowButton_.setEnabled(false); - killButton_.setEnabled(false); - suspButton_.setEnabled(false); - contButton_.setEnabled(false); - finInfoButton_.setEnabled(false); - removeButton_.setEnabled(false); - - // Set status of representation checkboxes - myRunsBox_.setSelected(true); - myRunsBox_ActionPerformed - ( - new java.awt.event.ActionEvent - ( - this, - java.awt.event.ActionEvent.ACTION_PERFORMED, - "" - ) - ); - compactBox_.setSelected(false); - - // Initialise models - caseBrowser_.refreshJobsLists(); - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - - // Title - setLicLabel(); - - // Set initial size of individual columns. - initColumnSizes(runningTable_, runningModel_); - initTableSize(runningTable_, runningModel_); - initColumnSizes(finishedTable_, finishedModel_); - initTableSize(finishedTable_, finishedModel_); - - tabbedPanel_.setSelectedComponent(finPanel_); - - repaint(); - - // tabbedPanel_.setSelectedComponent(runPanel_); - // repaint(); - - // runningTable_.getColumn - // ( - // runningModel_.getColumnName(ProcessModel.STAT_INDEX) - // ).setCellRenderer(new StatusCellRenderer()); - // finishedTable_.getColumn - // ( - // finishedModel_.getColumnName(ProcessModel.STAT_INDEX) - // ).setCellRenderer(new StatusCellRenderer()); - - - // Listen out for selection events and enable the appropriate - // buttons. - - runningTable_.getSelectionModel().addListSelectionListener - ( - new ListSelectionListener() - { - public void valueChanged(ListSelectionEvent evt) - { - enableRunButtons(); - } - } - ); - - finishedTable_.getSelectionModel().addListSelectionListener - ( - new ListSelectionListener() - { - public void valueChanged(ListSelectionEvent evt) - { - enableFinButtons(); - } - } - ); - } - catch(FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch(FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - } - - //-------------------------------------------------------------------------- - /** Confirmation dialog helper */ - private boolean askConfirm(String mesg) - { - return - JOptionPane.showConfirmDialog - ( - this, - mesg, - "Confirmation Dialog", - JOptionPane.YES_NO_OPTION, - JOptionPane.QUESTION_MESSAGE - ) == - JOptionPane.OK_OPTION; - } - - //-------------------------------------------------------------------------- - /** Set licLabel textField to show number of licenses */ - private void setLicLabel() - { - licenceLabel_.setText - ( - "jobControl : " + licenceDir_ - + " (" + runningModel_.getNJobs() + " jobs" - + ", " + runningModel_.getNCountedProcs() + " floatlicensed jobs)" - ); - } - - - //-------------------------------------------------------------------------- - /** Size columns. Uses longValues() method from table */ - - static private void initColumnSizes(JTable table, ProcessModel model) - { - TableColumn column = null; - java.awt.Component comp = null; - int headerWidth = 0; - int cellWidth = 0; - Object[] longValues = model.getLongValues(); - - for (int i = 0; i < model.getColumnCount(); i++) - { - column = table.getColumnModel().getColumn(i); - - // comp = column.getDefaultRenderer(); - // headerWidth = comp.getPreferredSize().width; - comp = - table.getDefaultRenderer(model.getColumnClass(i)). - getTableCellRendererComponent - ( - table, longValues[i], - false, false, 0, i - ); - cellWidth = comp.getPreferredSize().width; - - // column.setPreferredWidth(Math.max(headerWidth, cellWidth)); - column.setPreferredWidth(cellWidth); - } - } - - //-------------------------------------------------------------------------- - /** Size table itself */ - - static private void initTableSize(JTable table, ProcessModel model) - { - int height = table.getRowHeight() * model.getRowCount(); - - table.setPreferredSize - ( - new java.awt.Dimension(table.getWidth(), height) - ); - table.revalidate(); - } - - //-------------------------------------------------------------------------- - /** selectionhandler for runningTable */ - private void enableRunButtons() - { - boolean validSelection = - !runningTable_.getSelectionModel().isSelectionEmpty(); - - runInfoButton_.setEnabled(validSelection); - endNowButton_.setEnabled(validSelection); - endButton_.setEnabled(validSelection); - killButton_.setEnabled(validSelection); - suspButton_.setEnabled(validSelection); - contButton_.setEnabled(validSelection); - } - - //-------------------------------------------------------------------------- - /** selectionhandler for finishedTable */ - private void enableFinButtons() - { - boolean validSelection = - !finishedTable_.getSelectionModel().isSelectionEmpty(); - finInfoButton_.setEnabled(validSelection); - removeButton_.setEnabled(validSelection); - } - -// //-------------------------------------------------------------------------- -// /** Clicked on entry. Detect double clicks. */ -// private void onJobClicked(MouseEvent e) -// { -// if (e.getClickCount() == 2) -// { -// JTable table = (JTable)e.getComponent(); -// Point origin = e.getPoint(); -// int row = table.rowAtPoint(origin); -// if (row != -1) -// { -// TableSorter sortedModel = (TableSorter)table.getModel(); -// ProcessModel model = (ProcessModel)sortedModel.getModel(); -// -// displayJobInfo(model, row); -// } -// } -// } - - - //-------------------------------------------------------------------------- - /** Clicked on entry. Detect double clicks. */ - private void displayJobInfo(ProcessModel model, int row) - { - int size = model.getColumnCount(); - Vector labels = new Vector(size); - Vector values = new Vector(size); - for (int i = 0; i < size; i++) - { - labels.addElement(model.getColumnName(i)); - values.addElement(model.getValueAt(row, i)); - } - - StringListEditor dlg = - new StringListEditor - ( - parent_, - "Job Info", - labels, values - ); - - dlg.setVisible(true); - } - - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - headerPanel_ = new javax.swing.JPanel(); - licenceLabel_ = new javax.swing.JLabel(); - tabbedPanel_ = new javax.swing.JTabbedPane(); - runPanel_ = new javax.swing.JPanel(); - runAllPanel_ = new java.awt.Panel(); - readButton_ = new javax.swing.JButton(); - statusButton_ = new javax.swing.JButton(); - purgeButton_ = new javax.swing.JButton(); - runPidPanel_ = new java.awt.Panel(); - runInfoButton_ = new javax.swing.JButton(); - endNowButton_ = new javax.swing.JButton(); - endButton_ = new javax.swing.JButton(); - killButton_ = new javax.swing.JButton(); - suspButton_ = new javax.swing.JButton(); - contButton_ = new javax.swing.JButton(); - runTableScrollPane_ = new javax.swing.JScrollPane(); - runningTable_ = new javax.swing.JTable(); - finPanel_ = new javax.swing.JPanel(); - finAllPanel_ = new java.awt.Panel(); - purgeOldButton_ = new javax.swing.JButton(); - finPidPanel_ = new java.awt.Panel(); - finInfoButton_ = new javax.swing.JButton(); - removeButton_ = new javax.swing.JButton(); - finTableScrollPane_ = new javax.swing.JScrollPane(); - finishedTable_ = new javax.swing.JTable(); - closeButtonPanel_ = new javax.swing.JPanel(); - myRunsBox_ = new javax.swing.JCheckBox(); - compactBox_ = new javax.swing.JCheckBox(); - closeButton_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setTitle("Process Editor"); - setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); - setName("Process Editor"); - setFont(new java.awt.Font("Dialog", 0, 10)); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - headerPanel_.setPreferredSize(new java.awt.Dimension(172, 23)); - headerPanel_.setFont(new java.awt.Font("Dialog", 1, 12)); - licenceLabel_.setText("/aa/bb/cc/foam/licences"); - licenceLabel_.setForeground(java.awt.Color.black); - licenceLabel_.setFont(new java.awt.Font("Dialog", 0, 12)); - licenceLabel_.setOpaque(true); - headerPanel_.add(licenceLabel_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.gridwidth = 2; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - getContentPane().add(headerPanel_, gridBagConstraints1); - - tabbedPanel_.setPreferredSize(new java.awt.Dimension(735, 286)); - runPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - runPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - runPanel_.setToolTipText("Running Jobs"); - runPanel_.setPreferredSize(new java.awt.Dimension(730, 161)); - runPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - runAllPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints3; - - runAllPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - runAllPanel_.setName("All Processes"); - runAllPanel_.setBackground(new java.awt.Color(204, 204, 204)); - runAllPanel_.setForeground(java.awt.Color.black); - readButton_.setToolTipText("Reread licence directory"); - readButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - readButton_.setText("read"); - readButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnRead(evt); - } - }); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 0; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - runAllPanel_.add(readButton_, gridBagConstraints3); - - statusButton_.setToolTipText("Contact machines to update status"); - statusButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - statusButton_.setText("status"); - statusButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnStatus(evt); - } - }); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 1; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - runAllPanel_.add(statusButton_, gridBagConstraints3); - - purgeButton_.setToolTipText("Remove non-running jobs"); - purgeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - purgeButton_.setText("purge"); - purgeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnPurge(evt); - } - }); - - gridBagConstraints3 = new java.awt.GridBagConstraints(); - gridBagConstraints3.gridx = 2; - gridBagConstraints3.gridy = 0; - gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; - runAllPanel_.add(purgeButton_, gridBagConstraints3); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - runPanel_.add(runAllPanel_, gridBagConstraints2); - - runPidPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints4; - - runPidPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - runPidPanel_.setName("Single Process"); - runPidPanel_.setBackground(new java.awt.Color(204, 204, 204)); - runPidPanel_.setForeground(java.awt.Color.black); - runInfoButton_.setToolTipText("Display job info"); - runInfoButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - runInfoButton_.setText("Info"); - runInfoButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - onRunInfo(evt); - } - }); - - gridBagConstraints4 = new java.awt.GridBagConstraints(); - gridBagConstraints4.gridx = 0; - gridBagConstraints4.gridy = 0; - gridBagConstraints4.fill = java.awt.GridBagConstraints.HORIZONTAL; - runPidPanel_.add(runInfoButton_, gridBagConstraints4); - - endNowButton_.setToolTipText("Stop job at end of current time step (needs runTimeModifiable)"); - endNowButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - endNowButton_.setText("endNow"); - endNowButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - onEndNow(evt); - } - }); - - gridBagConstraints4 = new java.awt.GridBagConstraints(); - gridBagConstraints4.gridx = 1; - gridBagConstraints4.gridy = 0; - gridBagConstraints4.fill = java.awt.GridBagConstraints.HORIZONTAL; - runPidPanel_.add(endNowButton_, gridBagConstraints4); - - endButton_.setToolTipText("Stop job at next dump time step (needs runTimeModifiable)"); - endButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - endButton_.setText("end"); - endButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnEnd(evt); - } - }); - - gridBagConstraints4 = new java.awt.GridBagConstraints(); - gridBagConstraints4.gridx = 2; - gridBagConstraints4.gridy = 0; - gridBagConstraints4.fill = java.awt.GridBagConstraints.HORIZONTAL; - runPidPanel_.add(endButton_, gridBagConstraints4); - - killButton_.setToolTipText("Kill running job"); - killButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - killButton_.setText("kill"); - killButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnKill(evt); - } - }); - - gridBagConstraints4 = new java.awt.GridBagConstraints(); - gridBagConstraints4.gridx = 3; - gridBagConstraints4.gridy = 0; - gridBagConstraints4.fill = java.awt.GridBagConstraints.HORIZONTAL; - runPidPanel_.add(killButton_, gridBagConstraints4); - - suspButton_.setToolTipText("Suspend running job"); - suspButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - suspButton_.setText("susp"); - suspButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnSusp(evt); - } - }); - - gridBagConstraints4 = new java.awt.GridBagConstraints(); - gridBagConstraints4.gridx = 4; - gridBagConstraints4.gridy = 0; - gridBagConstraints4.fill = java.awt.GridBagConstraints.HORIZONTAL; - runPidPanel_.add(suspButton_, gridBagConstraints4); - - contButton_.setToolTipText("Continue suspended job"); - contButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - contButton_.setText("cont"); - contButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnCont(evt); - } - }); - - gridBagConstraints4 = new java.awt.GridBagConstraints(); - gridBagConstraints4.gridx = 5; - gridBagConstraints4.gridy = 0; - gridBagConstraints4.fill = java.awt.GridBagConstraints.HORIZONTAL; - runPidPanel_.add(contButton_, gridBagConstraints4); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.EAST; - runPanel_.add(runPidPanel_, gridBagConstraints2); - - runTableScrollPane_.setVerticalScrollBarPolicy(javax.swing.JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); - runTableScrollPane_.setPreferredSize(new java.awt.Dimension(700, 200)); - runTableScrollPane_.setMinimumSize(new java.awt.Dimension(700, 200)); - runTableScrollPane_.setFont(new java.awt.Font("Dialog", 0, 10)); - runTableScrollPane_.setAutoscrolls(true); - runningTable_.setModel(runningSorter_); - runningTable_.setFont(new java.awt.Font("Dialog", 0, 10)); - runningTable_.setPreferredSize(new java.awt.Dimension(700, 200)); - runningTable_.setMaximumSize(new java.awt.Dimension(30000, 30000)); - runningTable_.setPreferredScrollableViewportSize(new java.awt.Dimension(0, 0)); - runningTable_.setMinimumSize(new java.awt.Dimension(700, 200)); - runTableScrollPane_.setViewportView(runningTable_); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 2; - gridBagConstraints2.gridwidth = 2; - gridBagConstraints2.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHWEST; - gridBagConstraints2.weightx = 1.0; - gridBagConstraints2.weighty = 1.0; - runPanel_.add(runTableScrollPane_, gridBagConstraints2); - - tabbedPanel_.addTab("runningJobs", runPanel_); - - finPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints5; - - finPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - finPanel_.setToolTipText("Finished Jobs"); - finPanel_.setPreferredSize(new java.awt.Dimension(730, 161)); - finPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - finAllPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints6; - - finAllPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - finAllPanel_.setName("All Processes"); - finAllPanel_.setBackground(new java.awt.Color(204, 204, 204)); - finAllPanel_.setForeground(java.awt.Color.black); - purgeOldButton_.setToolTipText("Remove old entries"); - purgeOldButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - purgeOldButton_.setText("purge"); - purgeOldButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnPurgeOld(evt); - } - }); - - gridBagConstraints6 = new java.awt.GridBagConstraints(); - gridBagConstraints6.gridx = 0; - gridBagConstraints6.gridy = 0; - gridBagConstraints6.fill = java.awt.GridBagConstraints.HORIZONTAL; - finAllPanel_.add(purgeOldButton_, gridBagConstraints6); - - gridBagConstraints5 = new java.awt.GridBagConstraints(); - gridBagConstraints5.gridx = 0; - gridBagConstraints5.gridy = 0; - gridBagConstraints5.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints5.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints5.anchor = java.awt.GridBagConstraints.WEST; - finPanel_.add(finAllPanel_, gridBagConstraints5); - - finPidPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints7; - - finPidPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - finPidPanel_.setName("Single Procses"); - finPidPanel_.setBackground(new java.awt.Color(204, 204, 204)); - finPidPanel_.setForeground(java.awt.Color.black); - finInfoButton_.setToolTipText("Display job info"); - finInfoButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - finInfoButton_.setText("Info"); - finInfoButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - onFinInfo(evt); - } - }); - - gridBagConstraints7 = new java.awt.GridBagConstraints(); - gridBagConstraints7.gridx = 0; - gridBagConstraints7.gridy = 0; - gridBagConstraints7.fill = java.awt.GridBagConstraints.HORIZONTAL; - finPidPanel_.add(finInfoButton_, gridBagConstraints7); - - removeButton_.setToolTipText("Remove entry"); - removeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - removeButton_.setText("remove"); - removeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - onRemove(evt); - } - }); - - gridBagConstraints7 = new java.awt.GridBagConstraints(); - gridBagConstraints7.gridx = 1; - gridBagConstraints7.gridy = 0; - gridBagConstraints7.fill = java.awt.GridBagConstraints.HORIZONTAL; - finPidPanel_.add(removeButton_, gridBagConstraints7); - - gridBagConstraints5 = new java.awt.GridBagConstraints(); - gridBagConstraints5.gridx = 1; - gridBagConstraints5.gridy = 0; - gridBagConstraints5.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints5.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints5.anchor = java.awt.GridBagConstraints.EAST; - finPanel_.add(finPidPanel_, gridBagConstraints5); - - finTableScrollPane_.setVerticalScrollBarPolicy(javax.swing.JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); - finTableScrollPane_.setPreferredSize(new java.awt.Dimension(700, 200)); - finTableScrollPane_.setMinimumSize(new java.awt.Dimension(700, 200)); - finTableScrollPane_.setFont(new java.awt.Font("Dialog", 0, 10)); - finTableScrollPane_.setAutoscrolls(true); - finishedTable_.setModel(finishedSorter_); - finishedTable_.setFont(new java.awt.Font("Dialog", 0, 10)); - finishedTable_.setPreferredSize(new java.awt.Dimension(700, 200)); - finishedTable_.setMaximumSize(new java.awt.Dimension(30000, 30000)); - finishedTable_.setPreferredScrollableViewportSize(new java.awt.Dimension(0, 0)); - finishedTable_.setMinimumSize(new java.awt.Dimension(700, 200)); - finTableScrollPane_.setViewportView(finishedTable_); - - gridBagConstraints5 = new java.awt.GridBagConstraints(); - gridBagConstraints5.gridx = 0; - gridBagConstraints5.gridy = 1; - gridBagConstraints5.gridwidth = 2; - gridBagConstraints5.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints5.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints5.anchor = java.awt.GridBagConstraints.NORTHWEST; - gridBagConstraints5.weightx = 1.0; - gridBagConstraints5.weighty = 1.0; - finPanel_.add(finTableScrollPane_, gridBagConstraints5); - - tabbedPanel_.addTab("finishedJobs", finPanel_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.gridwidth = 2; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(tabbedPanel_, gridBagConstraints1); - - closeButtonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - closeButtonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - closeButtonPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - myRunsBox_.setToolTipText("Show my jobs only"); - myRunsBox_.setFont(new java.awt.Font("Dialog", 0, 10)); - myRunsBox_.setText("My Jobs"); - myRunsBox_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - myRunsBox_ActionPerformed(evt); - } - }); - - closeButtonPanel_.add(myRunsBox_); - - compactBox_.setToolTipText("Compact Representation"); - compactBox_.setFont(new java.awt.Font("Dialog", 0, 10)); - compactBox_.setText("Compact"); - compactBox_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - compactBox_ActionPerformed(evt); - } - }); - - closeButtonPanel_.add(compactBox_); - - closeButton_.setToolTipText("Close Panel"); - closeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - closeButton_.setText("Close"); - closeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnClose(evt); - } - }); - - closeButtonPanel_.add(closeButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 2; - gridBagConstraints1.gridwidth = 2; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - getContentPane().add(closeButtonPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(750, 380)); - setLocation((screenSize.width-750)/2,(screenSize.height-380)/2); - }//GEN-END:initComponents - - private void onRunInfo(java.awt.event.ActionEvent evt)//GEN-FIRST:event_onRunInfo - {//GEN-HEADEREND:event_onRunInfo - // Add your handling code here: - int startRow = runningTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = runningTable_.getSelectionModel().getMaxSelectionIndex(); - if (startRow == endRow) - { - displayJobInfo(runningModel_, startRow); - } - }//GEN-LAST:event_onRunInfo - - private void onFinInfo(java.awt.event.ActionEvent evt)//GEN-FIRST:event_onFinInfo - {//GEN-HEADEREND:event_onFinInfo - // Add your handling code here: - int startRow = finishedTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = finishedTable_.getSelectionModel().getMaxSelectionIndex(); - if (startRow == endRow) - { - displayJobInfo(finishedModel_, startRow); - } - }//GEN-LAST:event_onFinInfo - - private void onEndNow(java.awt.event.ActionEvent evt)//GEN-FIRST:event_onEndNow - {//GEN-HEADEREND:event_onEndNow - // Add your handling code here: - - int startRow = runningTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = runningTable_.getSelectionModel().getMaxSelectionIndex(); - - try - { - for (int row = startRow; row <= endRow; row++) - { - JobID jobID = runningModel_.mkJobID(row); - - String caseRoot = runningModel_.caseRoot(row); - String caseName = runningModel_.caseName(row); - - if ((caseRoot.length() == 0) || (caseName.length() == 0)) - { - JOptionPane.showConfirmDialog - ( - this, - "Process " - + runningModel_.toString(jobID) - + "\n( " - + runningModel_.mkCodeString(row) - + " )\n" - + "has empty root or case and can not be 'ended'", - "Information Dialog", - JOptionPane.DEFAULT_OPTION, - JOptionPane.INFORMATION_MESSAGE - ); - - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - } - else if - ( - askConfirm - ( - "Ok to end process " - + runningModel_.toString(jobID) - + "\n( " - + runningModel_.mkCodeString(row) - + " )" - + "\n(This will stop the job after the next time step)" - ) - ) - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - caseBrowser_.end - ( - jobID, - caseRoot, - caseName, - true // end now - ); - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - } - else - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - } - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXSYSError sysErr) - { - App.handleAllExceptions(sysErr); - } - - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - endNowButton_.setEnabled(false); - - }//GEN-LAST:event_onEndNow - - private void compactBox_ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_compactBox_ActionPerformed - {//GEN-HEADEREND:event_compactBox_ActionPerformed - // Add your handling code here: - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - initTableSize(finishedTable_, finishedModel_); - finishedTable_.repaint(); - }//GEN-LAST:event_compactBox_ActionPerformed - - private void myRunsBox_ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_myRunsBox_ActionPerformed - {//GEN-HEADEREND:event_myRunsBox_ActionPerformed - // Add your handling code here: - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - initTableSize(finishedTable_, finishedModel_); - finishedTable_.repaint(); - }//GEN-LAST:event_myRunsBox_ActionPerformed - - private void onRemove(java.awt.event.ActionEvent evt)//GEN-FIRST:event_onRemove - {//GEN-HEADEREND:event_onRemove - // Add your handling code here: - try - { - int startRow = finishedTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = finishedTable_.getSelectionModel().getMaxSelectionIndex(); - - for (int row = startRow; row <= endRow; row++) - { - JobID jobID = finishedModel_.mkJobID(row); - - caseBrowser_.purgeFinishedJob(jobID); - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - - finishedTable_.getSelectionModel().clearSelection(); - - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - initTableSize(finishedTable_, finishedModel_); - finishedTable_.repaint(); - - removeButton_.setEnabled(false); - - }//GEN-LAST:event_onRemove - - private void OnPurgeOld(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnPurgeOld - {//GEN-HEADEREND:event_OnPurgeOld - // Add your handling code here: - try - { - caseBrowser_.purgeFinishedJobs(7); - - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - - initTableSize(finishedTable_, finishedModel_); - finishedTable_.repaint(); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - }//GEN-LAST:event_OnPurgeOld - - private void OnCont(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnCont - {//GEN-HEADEREND:event_OnCont - // Add your handling code here: - - int startRow = runningTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = runningTable_.getSelectionModel().getMaxSelectionIndex(); - - try - { - for (int row = startRow; row <= endRow; row++) - { - JobID jobID = runningModel_.mkJobID(row); - - if - ( - askConfirm - ( - "Ok to continue process " - + ProcessModel.toString(jobID) - + "\n( " - + runningModel_.mkCodeString(row) - + " )" - ) - ) - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - caseBrowser_.cont(jobID); - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - } - else - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - } - - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXSYSError sysErr) - { - App.handleAllExceptions(sysErr); - } - - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - - contButton_.setEnabled(false); - - }//GEN-LAST:event_OnCont - - private void OnSusp(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnSusp - {//GEN-HEADEREND:event_OnSusp - // Add your handling code here: - - int startRow = runningTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = runningTable_.getSelectionModel().getMaxSelectionIndex(); - - try - { - for (int row = startRow; row <= endRow; row++) - { - JobID jobID = runningModel_.mkJobID(row); - - if - ( - askConfirm - ( - "Ok to suspend process " - + ProcessModel.toString(jobID) - + "\n( " - + runningModel_.mkCodeString(row) - + " )" - ) - ) - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - caseBrowser_.suspend(jobID); - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - } - else - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - } - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXSYSError sysErr) - { - App.handleAllExceptions(sysErr); - } - - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - - suspButton_.setEnabled(false); - - }//GEN-LAST:event_OnSusp - - private void OnKill(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnKill - {//GEN-HEADEREND:event_OnKill - // Add your handling code here: - - int startRow = runningTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = runningTable_.getSelectionModel().getMaxSelectionIndex(); - - try - { - for (int row = startRow; row <= endRow; row++) - { - JobID jobID = runningModel_.mkJobID(row); - - if - ( - askConfirm - ( - "Ok to kill process " - + ProcessModel.toString(jobID) - + "\n( " - + runningModel_.mkCodeString(row) - + " )" - ) - ) - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - caseBrowser_.kill(jobID); - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - } - else - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - } - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXSYSError sysErr) - { - App.handleAllExceptions(sysErr); - } - - initTableSize(runningTable_, runningModel_); - initTableSize(finishedTable_, finishedModel_); - runningTable_.repaint(); - - killButton_.setEnabled(false); - - }//GEN-LAST:event_OnKill - - private void OnEnd(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnEnd - {//GEN-HEADEREND:event_OnEnd - // Add your handling code here: - - int startRow = runningTable_.getSelectionModel().getMinSelectionIndex(); - int endRow = runningTable_.getSelectionModel().getMaxSelectionIndex(); - - try - { - for (int row = startRow; row <= endRow; row++) - { - JobID jobID = runningModel_.mkJobID(row); - - String caseRoot = runningModel_.caseRoot(row); - String caseName = runningModel_.caseName(row); - - if ((caseRoot.length() == 0) || (caseName.length() == 0)) - { - JOptionPane.showConfirmDialog - ( - this, - "Process " - + runningModel_.toString(jobID) - + "\n( " - + runningModel_.mkCodeString(row) - + " )\n" - + "has empty root or case and can not be 'ended'", - "Information Dialog", - JOptionPane.DEFAULT_OPTION, - JOptionPane.INFORMATION_MESSAGE - ); - - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - } - else if - ( - askConfirm - ( - "Ok to end process " - + runningModel_.toString(jobID) - + "\n( " - + runningModel_.mkCodeString(row) - + " )" - + "\n(This will stop the job when next writing results)" - ) - ) - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - caseBrowser_.end - ( - jobID, - runningModel_.caseRoot(row), - runningModel_.caseName(row), - false // end at next write - ); - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - } - else - { - runningTable_.getSelectionModel().removeSelectionInterval - ( - row, - row - ); - } - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXSYSError sysErr) - { - App.handleAllExceptions(sysErr); - } - - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - - endButton_.setEnabled(false); - - }//GEN-LAST:event_OnEnd - - private void OnPurge(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnPurge - {//GEN-HEADEREND:event_OnPurge - // Add your handling code here: - try - { - caseBrowser_.purgeRunningJobs(); - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - }//GEN-LAST:event_OnPurge - - private void OnStatus(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnStatus - {//GEN-HEADEREND:event_OnStatus - // Add your handling code here: - if - ( - askConfirm - ( - "Ok to update status?\n" + - "(This will contact licensed hosts\n" + - " and might take some time)" - ) - ) - { - // Update status on caseBrowser - try - { - caseBrowser_.refreshJobsLists(); - caseBrowser_.checkRunningJobs(); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - catch (FoamXSYSError sysErr) - { - App.handleAllExceptions(sysErr); - } - - // Reload data - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - - runningTable_.updateUI(); - - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - } - - }//GEN-LAST:event_OnStatus - - private void OnRead(java.awt.event.ActionEvent evt)//GEN-FIRST:event_OnRead - {//GEN-HEADEREND:event_OnRead - // Add your handling code here: - - try - { - caseBrowser_.refreshJobsLists(); - - runningModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - setLicLabel(); - finishedModel_.refresh - ( - myRunsBox_.isSelected(), - compactBox_.isSelected() - ); - - runningTable_.updateUI(); - finishedTable_.updateUI(); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - - initTableSize(runningTable_, runningModel_); - runningTable_.repaint(); - - initTableSize(finishedTable_, finishedModel_); - }//GEN-LAST:event_OnRead - - - - //-------------------------------------------------------------------------- - - private void shapeTypeComboActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_shapeTypeComboActionPerformed - }//GEN-LAST:event_shapeTypeComboActionPerformed - - //-------------------------------------------------------------------------- - - private void OnClose (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnClose - - // Close the dialog. - setVisible(false); - dispose(); - }//GEN-LAST:event_OnClose - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel headerPanel_; - private javax.swing.JLabel licenceLabel_; - private javax.swing.JTabbedPane tabbedPanel_; - private javax.swing.JPanel runPanel_; - private java.awt.Panel runAllPanel_; - private javax.swing.JButton readButton_; - private javax.swing.JButton statusButton_; - private javax.swing.JButton purgeButton_; - private java.awt.Panel runPidPanel_; - private javax.swing.JButton runInfoButton_; - private javax.swing.JButton endNowButton_; - private javax.swing.JButton endButton_; - private javax.swing.JButton killButton_; - private javax.swing.JButton suspButton_; - private javax.swing.JButton contButton_; - private javax.swing.JScrollPane runTableScrollPane_; - private javax.swing.JTable runningTable_; - private javax.swing.JPanel finPanel_; - private java.awt.Panel finAllPanel_; - private javax.swing.JButton purgeOldButton_; - private java.awt.Panel finPidPanel_; - private javax.swing.JButton finInfoButton_; - private javax.swing.JButton removeButton_; - private javax.swing.JScrollPane finTableScrollPane_; - private javax.swing.JTable finishedTable_; - private javax.swing.JPanel closeButtonPanel_; - private javax.swing.JCheckBox myRunsBox_; - private javax.swing.JCheckBox compactBox_; - private javax.swing.JButton closeButton_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - - private class RunningProcessModel - extends ProcessModel - { - public RunningProcessModel(ICaseBrowser caseBrowser) - { - super(caseBrowser); - } - - public void refresh(boolean myJobsOnly, boolean compact) - { - try - { - ICaseBrowser caseBrowser = getCaseBrowser(); - StringHolder holder = new StringHolder(); - caseBrowser.getUserName(holder); - - JobDescriptor[] jobs = caseBrowser.runningJobs(); - - setData(myJobsOnly, compact, holder.value, jobs); - fireTableChanged(new TableModelEvent(this)); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - } - } - - private class FinishedProcessModel - extends ProcessModel - { - public FinishedProcessModel(ICaseBrowser caseBrowser) - { - super(caseBrowser); - } - - public void refresh(boolean myJobsOnly, boolean compact) - { - try - { - ICaseBrowser caseBrowser = getCaseBrowser(); - StringHolder holder = new StringHolder(); - caseBrowser.getUserName(holder); - - JobDescriptor[] jobs = getCaseBrowser().finishedJobs(); - - setData(myJobsOnly, compact, holder.value, jobs); - fireTableChanged(new TableModelEvent(this)); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessModel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessModel.java deleted file mode 100644 index e999eef0dc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ProcessManagement/ProcessModel.java +++ /dev/null @@ -1,342 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.ProcessManagement; - -import javax.swing.table.*; -import javax.swing.event.TableModelListener; -import javax.swing.event.TableModelEvent; - -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.*; - -public class ProcessModel - extends AbstractTableModel - implements TableModelListener -{ - static public int STAT_INDEX = 0, USER_INDEX = 1, CASE_INDEX = 2; - static public int HOST_INDEX = 3, PID_INDEX = 4, NPROC_INDEX = 5; - static public int START_INDEX = 6, END_INDEX = 7, CODE_INDEX = 8; - static public int ROOT_INDEX = 9, NCNTPROC_INDEX = 10; - static public int MAX_INDEX = 10; - - static private String[] columnNames_ = - { - "Stat", "User", "Case", "Host", "PID", "nCpu", - "start", "end", "code", "root", "nLic" - }; - - /** Data used to size table columns */ - static private Object[] longValues_ = - { - "ENDING", // max status width - "someus", // max user width - "12346789", // case - "12345678", // hostname - "12345678", // pid - "9", // nProcs - "20 Feb ", // start data - "20 Feb ", // end data - "icoFoamJunk", // code - "someRoot/aaaa/bbb/ccc", // root - "1" // nCountedProcs - }; - - private String[] statusNames_; - - protected ICaseBrowser caseBrowser_; - - // Actual jobControl data - protected Object[][] data_; - - // Sum of all jobs - protected int nJobs_; - // Sum of all floatlicensed processes - protected int nCountedProcs_; - - - //-------------------------------------------------------------------------- - /** Creates new empty ProcessModel. Only for variable initialisation */ - public ProcessModel() - { - } - - - //-------------------------------------------------------------------------- - /** Creates new ProcessModel */ - public ProcessModel(ICaseBrowser caseBrowser) - { - caseBrowser_ = caseBrowser; - - nJobs_ = 0; - nCountedProcs_ = 0; - - statusNames_ = new String[7]; - statusNames_[FoamXServer.JobStatus.JOB_UNDEFINED.value()] = "OTHR"; - statusNames_[FoamXServer.JobStatus.JOB_LAUNCHING.value()] = "LAUNCH"; - statusNames_[FoamXServer.JobStatus.JOB_RUNNING.value()] = "RUNN"; - statusNames_[FoamXServer.JobStatus.JOB_STOPPING.value()] = "ENDING"; - statusNames_[FoamXServer.JobStatus.JOB_SUSPENDED.value()] = "SUSP"; - statusNames_[FoamXServer.JobStatus.JOB_FINISHED.value()] = "FINI"; - statusNames_[FoamXServer.JobStatus.JOB_ABORTED.value()] = "ABRT"; - - refresh(false, false); - } - - - //-------------------------------------------------------------------------- - /** refresh data from caseBrowser. Overloaded */ - public void refresh(boolean myJobsOnly, boolean compact) - { - System.out.println("ProcessModel::refresh should never be called"); - } - - public Object[] getLongValues() - { - return longValues_; - } - - public int getNJobs() - { - return nJobs_; - } - - public int getNCountedProcs() - { - return nCountedProcs_; - } - - - //-------------------------------------------------------------------------- - /** copy from jobDescriptor[] into data[] array */ - protected void setData - ( - boolean myJobsOnly, - boolean compact, - String userName, - JobDescriptor[] jobs - ) - { - nJobs_ = jobs.length; - nCountedProcs_ = 0; - - - // Count licenced jobs. - for (int row = 0; row < jobs.length; row++) - { - nCountedProcs_ += jobs[row].nCountedProcs; - } - - // Map of which ones to use. - int nJobsToUse = 0; - boolean[] jobsToUse = new boolean[nJobs_]; - for (int i = 0; i < jobs.length; i++) - { - jobsToUse[i] = false; - } - - // Use only user's jobs if specified - if (myJobsOnly) - { - for (int row = 0; row < jobs.length; row++) - { - if (jobs[row].userName.equals(userName)) - { - jobsToUse[row] = true; - nJobsToUse++; - } - } - } - else - { - for (int row = 0; row < jobs.length; row++) - { - jobsToUse[row] = true; - nJobsToUse++; - } - } - - // Remove all FoamX stuff if compact - if (compact) - { - for (int row = 0; row < jobs.length; row++) - { - if - ( - jobsToUse[row] - && ( - (jobs[row].code.equals("FoamXHostBrowser")) - || (jobs[row].code.equals("FoamXCaseBrowser")) - || (jobs[row].code.equals("FoamXCaseServer")) - || (jobs[row].code.equals("FoamXCasePostServer")) - || (jobs[row].code.equals("dxFoamExec")) - || (jobs[row].code.equals("vxpFoam")) - || (jobs[row].code.equals("vxpFoamUser")) - ) - ) - { - jobsToUse[row] = false; - nJobsToUse--; - } - } - } - - - // Set data according to jobsToUse - - data_ = new Object[nJobsToUse][MAX_INDEX + 1]; - int i = 0; - for (int row = 0; row < jobs.length; row++) - { - if (jobsToUse[row]) - { - setDataRow(i++, jobs[row]); - } - } - } - - public ICaseBrowser getCaseBrowser() - { - return caseBrowser_; - } - - private void setDataRow(int row, JobDescriptor job) - { - data_[row][STAT_INDEX] = statusNames_[job.status.value()]; - data_[row][USER_INDEX] = job.userName; - data_[row][CASE_INDEX] = job.caseName; - data_[row][HOST_INDEX] = job.jobID.hostName; - data_[row][PID_INDEX] = new Integer(job.jobID.processID); - data_[row][NPROC_INDEX] = Integer.toString(job.nProcs); - data_[row][START_INDEX] = job.startDate; - data_[row][END_INDEX] = job.endDate; - data_[row][CODE_INDEX] = job.code; - data_[row][ROOT_INDEX] = job.rootDir; - data_[row][NCNTPROC_INDEX] = Integer.toString(job.nCountedProcs); - } - - -//-------------------------------------------------------------------------- -// -// Implementation of the AbstractTableModel interface -// -//-------------------------------------------------------------------------- - - public int getColumnCount() - { - return columnNames_.length; - } - - public int getRowCount() - { - return data_.length; - } - - public String getColumnName(int col) - { - return columnNames_[col]; - } - - public Object getValueAt(int row, int col) - { - return data_[row][col]; - } - - - /* - * JTable uses this method to determine the default renderer/ - * editor for each cell. (Default would be String) - */ - public Class getColumnClass(int c) - { - if (getRowCount() > 0) - { - return getValueAt(0, c).getClass(); - } - else - { - // Empty table. Use String renderer. - return String.class; - } - } - - // - // Implementation of the TableModelListener interface - // - - // By default forward all events to all the listeners. - public void tableChanged(TableModelEvent e) - { - fireTableChanged(e); - } - -//-------------------------------------------------------------------------- - - /** shortcut for accessing root */ - public String caseRoot(int row) - { - return (String)getValueAt(row, ROOT_INDEX); - } - - /** shortcut for accessing casename */ - public String caseName(int row) - { - return (String)getValueAt(row, CASE_INDEX); - } - - - /** Create string describing job */ - public String mkCodeString(int row) - { - String rootEnding = (String)getValueAt(row, ROOT_INDEX); - int lastSlash = rootEnding.lastIndexOf('/'); - if (lastSlash == -1) - { - lastSlash = 0; - } - - return - (String)getValueAt(row, CODE_INDEX) + " ..." + - rootEnding.substring(lastSlash) + " " + - (String)getValueAt(row, CASE_INDEX); - } - - /** get JobID for given entry */ - public JobID mkJobID(int row) - { - String hostName = - (String)getValueAt(row, HOST_INDEX); - Integer pid2 = (Integer)getValueAt(row, PID_INDEX); - - return new FoamXServer.JobID(hostName, pid2.intValue()); - } - - /** Converted JobID into string */ - public static String toString(JobID jobID) - { - return jobID.hostName + Integer.toString(jobID.processID); - } -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/.nbattrs deleted file mode 100644 index 74971dd429..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/.nbattrs +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.form deleted file mode 100644 index 421f2efbfa..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.form +++ /dev/null @@ -1,25 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.java deleted file mode 100644 index 74eff3d838..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingManager.java +++ /dev/null @@ -1,301 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Reporting; - -import java.util.Hashtable; -import java.util.Enumeration; - -import FoamX.CaseManagement.CaseManagerListener; -import FoamX.CaseManagement.CaseManagerEvent; - -import FoamX.App; - -public class ReportingManager - extends javax.swing.JPanel - implements CaseManagerListener -{ - //-------------------------------------------------------------------------- - - protected ReportingWindow foamXWindow_; // Reporting window for FoamX application. - protected Hashtable windowMap_; // Map of ReportingWindow objects. - - //-------------------------------------------------------------------------- - /** ReportingManager constructor. */ - public ReportingManager() - { - try - { - // Initialise the GUI components. - initComponents(); - - windowMap_ = new Hashtable(); - - // Add FoamX reporting window. - foamXWindow_ = new ReportingWindow(); - tabbedPanel_.addTab("FoamX", foamXWindow_); - windowMap_.put("FoamX", foamXWindow_); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void shutdown() - {} - - //-------------------------------------------------------------------------- - - public ReportingWindow getReportingWindow(String windowName) - { - ReportingWindow reportingWindow = null; - - if (windowMap_.containsKey(windowName)) - { - // Return the reporting window - reportingWindow = (ReportingWindow)windowMap_.get(windowName); - } - return reportingWindow; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - tabbedPanel_ = new javax.swing.JTabbedPane(); - - setLayout(new java.awt.BorderLayout()); - - tabbedPanel_.setTabPlacement(3); - tabbedPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - add(tabbedPanel_, java.awt.BorderLayout.CENTER); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTabbedPane tabbedPanel_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //---- CaseManagerListener Interface - //-------------------------------------------------------------------------- - - public void caseOpened(CaseManagerEvent evt) - { - try - { - // Make sure the event object has a case server reference. - if (evt.caseServer() != null) - { - // See if we already have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - if (!windowMap_.containsKey(key)) - { - // Create a new reporting window object. - ReportingWindow repWin = new ReportingWindow(); - - // Add new tab. - tabbedPanel_.addTab(evt.caseName(), repWin); - windowMap_.put(key, repWin); - - // Select the case report window. - tabbedPanel_.setSelectedComponent(repWin); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void casePostOpened(CaseManagerEvent evt) - { - try - { - // Make sure the event object has a case server reference. - if (evt.casePostServer() != null) - { - // See if we already have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - if (!windowMap_.containsKey(key)) - { - // Create a new reporting window object. - ReportingWindow repWin = new ReportingWindow(); - - // Add new tab. - tabbedPanel_.addTab(evt.caseName(), repWin); - windowMap_.put(key, repWin); - - // Select the case report window. - tabbedPanel_.setSelectedComponent(repWin); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void caseClosed(CaseManagerEvent evt) - { - try - { - // See if we have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - if (windowMap_.containsKey(key)) - { - // Get reporting window object for this case. - ReportingWindow repWin = (ReportingWindow)windowMap_.get(key); - - // Select the main report window. - tabbedPanel_.setSelectedComponent(foamXWindow_); - - // Remove tab. - tabbedPanel_.remove(repWin); - windowMap_.remove(key); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void casePostClosed(CaseManagerEvent evt) - { - try - { - // See if we have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - if (windowMap_.containsKey(key)) - { - // Get reporting window object for this case. - ReportingWindow repWin = (ReportingWindow)windowMap_.get(key); - - // Select the main report window. - tabbedPanel_.setSelectedComponent(foamXWindow_); - - // Remove tab. - tabbedPanel_.remove(repWin); - windowMap_.remove(key); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void caseDeleted(CaseManagerEvent evt) - { - try - { - // See if we have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - if (windowMap_.containsKey(key)) - { - // Get reporting window object for this case. - ReportingWindow repWin = (ReportingWindow)windowMap_.get(key); - - // Select the main report window. - tabbedPanel_.setSelectedComponent(foamXWindow_); - - // Remove tab. - tabbedPanel_.remove(repWin); - windowMap_.remove(key); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void casePanelSelected(CaseManagerEvent evt) - { - try - { - // See if we have this case. - String key = evt.caseRoot() + "/" + evt.caseName(); - if (windowMap_.containsKey(key)) - { - // Get reporting window object for this case. - ReportingWindow repWin = (ReportingWindow)windowMap_.get(key); - - // Select the case tab. - tabbedPanel_.setSelectedComponent(repWin); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void caseBrowserSelected(CaseManagerEvent evt) - { - try - { - // Select the main report window. - tabbedPanel_.setSelectedComponent(foamXWindow_); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.form deleted file mode 100644 index 163cf5a327..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.form +++ /dev/null @@ -1,29 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.java deleted file mode 100644 index e420243918..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/ReportingWindow.java +++ /dev/null @@ -1,92 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Reporting; - -import FoamX.App; - -public class ReportingWindow - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - //-------------------------------------------------------------------------- - /** ReportingWindow constructor. */ - public ReportingWindow() - { - try - { - initComponents(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void printMessage(String message) - { - textArea_.append(message); - textArea_.append("\n"); - - // Force scrolling to end of text - textArea_.setCaretPosition(textArea_.getText().length()); - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - scrollPane_ = new javax.swing.JScrollPane(); - textArea_ = new javax.swing.JTextArea(); - - setLayout(new java.awt.BorderLayout()); - - textArea_.setEditable(false); - textArea_.setFont(new java.awt.Font("Monospaced", 0, 10)); - scrollPane_.setViewportView(textArea_); - - add(scrollPane_, java.awt.BorderLayout.CENTER); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JScrollPane scrollPane_; - private javax.swing.JTextArea textArea_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Reporting/filesystem.attributes deleted file mode 100644 index 7491fde6deaf848857b3991b107ef60a81720df4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 292 zcmZY3F-ikL6vpw##>I`;1k}RHLM$xCGZnmX$HM%4*)rP_>FkJ+3KvQfD?=yQXTc)sm ziqg>5d^ewGy^mFZ&cmR_D-;qL q8Nrf@H^z`zSr2Ei!jO!IodbY@i|YEXT3~|}`G4#s+(7y>cikty;APhU diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/.nbattrs deleted file mode 100644 index c2965d7f17..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/.nbattrs +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/Task.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/Task.java deleted file mode 100644 index fbb75828c9..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/Task.java +++ /dev/null @@ -1,98 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.TaskManagement; - -public class Task - extends Object -{ - //-------------------------------------------------------------------------- - - protected String taskName_; - protected int progressValue_; - protected int progressMin_; - protected int progressMax_; - protected TaskStatusBar statusBar_; - - //-------------------------------------------------------------------------- - /** Task constructor. */ - Task(String taskName, int min, int max) - { - taskName_ = taskName; - progressValue_ = min; - progressMin_ = min; - progressMax_ = max; - statusBar_ = null; - } - - //-------------------------------------------------------------------------- - - public void setProgress(int progress) - { - progressValue_ = (progress progressMax_) ? progressMax_ : progress; - - // Update the status bar. - if (statusBar_ != null) - { - statusBar_.setProgress(progressValue_); - statusBar_.updateUI(); - } - } - - //-------------------------------------------------------------------------- - - void activate(TaskStatusBar statusBar) - { - // Store reference to the status bar. - statusBar_ = statusBar; - - // Initialise the task status bar with our settings. - statusBar_.setStatusText(taskName_); - statusBar_.setProgressMin(progressMin_); - statusBar_.setProgressMax(progressMax_); - statusBar_.setProgress(progressValue_); - //statusBar_.updateUI(); - } - - //-------------------------------------------------------------------------- - - void deactivate() - { - if (statusBar_ != null) - { - // Release reference to status bar. - statusBar_ = null; - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskManager.java deleted file mode 100644 index 2514fdd551..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskManager.java +++ /dev/null @@ -1,154 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.TaskManagement; - -import java.util.Stack; -import javax.swing.*; -import java.awt.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; - -public class TaskManager - extends java.lang.Object -{ - //-------------------------------------------------------------------------- - - protected TaskStatusBar statusBar_; - protected Stack taskStack_; - protected String defaultText_; - - //-------------------------------------------------------------------------- - /** TaskManager constructor. */ - public TaskManager() - { - statusBar_ = new TaskStatusBar(); - taskStack_ = new Stack(); - - defaultText_ = "OpenFoamX Version 1.4"; - - // Hide the progress bar initially. - statusBar_.showProgress(false); - - // Set default status text. - statusBar_.setStatusText(defaultText_); - } - - //-------------------------------------------------------------------------- - - public TaskStatusBar getStatusBar() - { - return statusBar_; - } - - //-------------------------------------------------------------------------- - - public Task createTask(String taskName, int progressMin, int progressMax) - { - Task newTask = null; - - try - { - // Deactivate the previous task if there is one. - if (taskStack_.size()> 0) - { - Task currentTask = (Task)taskStack_.peek(); - currentTask.deactivate(); - } - - // Create a new task object. - newTask = new Task(taskName, progressMin, progressMax); - - // Add to stack. - taskStack_.push(newTask); - - // Show busy cursor. - //FoamXFrame.RootFrame.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - - // Make sure the progress bar is visible. - //statusBar_.showProgress(true); - - // Activate the new task. - newTask.activate(statusBar_); - } - catch (Exception ex) - { - ex.printStackTrace(); - App.handleAllExceptions(ex); - } - - // Return reference to new task object. - return newTask; - } - - //-------------------------------------------------------------------------- - - public void endTask() - { - try - { - if (taskStack_.size() == 0) - { - throw new FoamXException("Task count mismatch."); - } - - // Pop current task off stack. - Task oldTask = (Task)taskStack_.pop(); - - // Deactivate the task. - oldTask.deactivate(); - - // Activate the following task. - if (taskStack_.size()> 0) - { - Task currentTask = (Task)taskStack_.peek(); - currentTask.activate(statusBar_); - } - else - { - // No more tasks. Hide the progress bar. - statusBar_.showProgress(false); - - // Restore default status text. - statusBar_.setStatusText(defaultText_); - - // Restore cursor. - //FoamXFrame.RootFrame.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - } - } - catch (Exception ex) - { - ex.printStackTrace(); - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.form deleted file mode 100644 index 88d3b2679f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.form +++ /dev/null @@ -1,38 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.java deleted file mode 100644 index db924a13e2..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/TaskStatusBar.java +++ /dev/null @@ -1,137 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.TaskManagement; - -public class TaskStatusBar - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - /** Creates new form TaskStatusBar */ - public TaskStatusBar() - { - initComponents(); - } - - //-------------------------------------------------------------------------- - - String getStatusText() - { - return statusLabel_.getText(); - } - void setStatusText(String text) - { - statusLabel_.setText(text); - } - - int getProgress() - { - return progressBar_.getModel().getValue(); - } - void setProgress(int value) - { - progressBar_.getModel().setValue(value); - } - - int getProgressMin() - { - return progressBar_.getModel().getMinimum(); - } - void setProgressMin(int value) - { - progressBar_.getModel().setMinimum(value); - } - - int getProgressMax() - { - return progressBar_.getModel().getMaximum(); - } - void setProgressMax(int value) - { - progressBar_.getModel().setMaximum(value); - } - - //-------------------------------------------------------------------------- - - void showProgress(boolean visible) - { - progressBar_.setVisible(visible); - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - statusLabel_ = new javax.swing.JLabel(); - progressBar_ = new javax.swing.JProgressBar(); - - setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - statusLabel_.setText("Task"); - statusLabel_.setForeground(java.awt.Color.black); - statusLabel_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.insets = new java.awt.Insets(0, 10, 0, 5); - add(statusLabel_, gridBagConstraints1); - - progressBar_.setFont(new java.awt.Font("Dialog", 0, 10)); - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 1; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.insets = new java.awt.Insets(0, 5, 0, 10); - gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints1.weightx = 1.0; - add(progressBar_, gridBagConstraints1); - - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JLabel statusLabel_; - private javax.swing.JProgressBar progressBar_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/TaskManagement/filesystem.attributes deleted file mode 100644 index 024d4f9be7b17a1d91a9d6ea8197560e1e66a714..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 276 zcmZY3Ax;B96vpwFEgQB3K@9?hAQgz=3^Zgz#e%7;>6`9rca}$In0ZUKhHG#DR1*#X z!D0{??tnp5GX+C}|MLHRkDrhR4=2{om36c*C8?QV3d2P(Nud>d17ohdftML|9BZk#EhN?i9Zht(#>`&f0kmRt#7Rwx`V*L=hQh5rM<+61G zdm{{21uk$-UTrD@S#%v^q&)Qh-umeqt1fhbK2*p|<)yA^D*XO>@Nob1l|V9tttws^ gLuPe7SjLJ#G9I)J0D3Np-HrH - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ActionDelegate.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ActionDelegate.java deleted file mode 100644 index bc8e9316e3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ActionDelegate.java +++ /dev/null @@ -1,231 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.ToolbarManagement; - -import java.beans.*; -import java.awt.event.*; -import java.util.HashMap; -import javax.swing.*; -import javax.swing.event.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; - -public class ActionDelegate - extends javax.swing.AbstractAction - implements PropertyChangeListener -{ - //-------------------------------------------------------------------------- - - public static final String DEFAULT_ACTION = "Default"; - - protected HashMap subActions_; - protected Action currentAction_; - - //-------------------------------------------------------------------------- - /** ActionDelegate constructor. */ - public ActionDelegate(javax.swing.AbstractAction defaultAction) - { - try - { - subActions_ = new HashMap(); - subActions_.put(DEFAULT_ACTION, defaultAction); - - // Select the default action. - selectAction(DEFAULT_ACTION); - - // Use the default action's client properties. - if (defaultAction.getValue(Action.SMALL_ICON) != null) - { - putValue(Action.SMALL_ICON, defaultAction.getValue(Action.SMALL_ICON)); - } - if (defaultAction.getValue(Action.NAME) != null) - { - putValue(Action.NAME, defaultAction.getValue(Action.NAME)); - } - if (defaultAction.getValue(Action.SHORT_DESCRIPTION) != null) - { - putValue(Action.SHORT_DESCRIPTION, defaultAction.getValue(Action.SHORT_DESCRIPTION)); - } - if (defaultAction.getValue(Action.LONG_DESCRIPTION) != null) - { - putValue(Action.LONG_DESCRIPTION, defaultAction.getValue(Action.LONG_DESCRIPTION)); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** ActionDelegate constructor. */ - public ActionDelegate(String actionName, javax.swing.AbstractAction action) - { - try - { - subActions_ = new HashMap(); - subActions_.put(actionName, action); - - // Select the default action. - selectAction(actionName); - - // Use the default action's client properties. - if (action.getValue(Action.SMALL_ICON) != null) - { - putValue(Action.SMALL_ICON, action.getValue(Action.SMALL_ICON)); - } - if (action.getValue(Action.NAME) != null) - { - putValue(Action.NAME, action.getValue(Action.NAME)); - } - if (action.getValue(Action.SHORT_DESCRIPTION) != null) - { - putValue(Action.SHORT_DESCRIPTION, action.getValue(Action.SHORT_DESCRIPTION)); - } - if (action.getValue(Action.LONG_DESCRIPTION) != null) - { - putValue(Action.LONG_DESCRIPTION, action.getValue(Action.LONG_DESCRIPTION)); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** Overridded isEnabled method. Return enabled status of current sub-action. */ - public boolean isEnabled() - { - // Return the enabled status of the current sub-action. - return currentAction_ == null ? false : currentAction_.isEnabled(); - } - - //-------------------------------------------------------------------------- - - public void addSubAction(String actionName, Action action) throws FoamXException - { - // Check for duplicate name. - if (subActions_.containsKey(actionName)) - { - throw new FoamXException("Duplicate sub-action name : " + actionName); - } - - // Add to map. - subActions_.put(actionName, action); - } - - //-------------------------------------------------------------------------- - - public void removeSubAction(String actionName) throws FoamXException - { - // Check for valid name. - if (!subActions_.containsKey(actionName)) - { - throw new FoamXException("Invalid sub-action name : " + actionName); - } - - // Reset current action if we have invalidated it. - Action subAction = (Action)subActions_.get(actionName); - if (currentAction_ == subAction) // Object reference equality? - { - // Unregister for property change events. - currentAction_.removePropertyChangeListener(this); - currentAction_ = null; - } - - // Remove from map. - subActions_.remove(actionName); - } - - //-------------------------------------------------------------------------- - - public void selectAction(String actionName) throws FoamXException - { - // Check for valid name. - if (!subActions_.containsKey(actionName)) - { - throw new FoamXException("Invalid sub-action name : " + actionName); - } - - if (currentAction_ != null) - { - // Unregister for property change events. - currentAction_.removePropertyChangeListener(this); - } - - // Select specified action. - currentAction_ = (Action)subActions_.get(actionName); - - // Register for property change events. - currentAction_.addPropertyChangeListener(this); - - // Set the enabled state of this object to reflect the - // enabled state of the current sub-action object. - // Causes property change event from this object. - setEnabled(currentAction_.isEnabled()); - } - - //-------------------------------------------------------------------------- - - public synchronized void actionPerformed(ActionEvent evt) - { - try - { - // Belt and braces! - if (currentAction_ != null && currentAction_.isEnabled()) - { - // Invoke sub-action. - currentAction_.actionPerformed(evt); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void propertyChange(java.beans.PropertyChangeEvent evt) - { - // Set the enabled state of this object to reflect the - // enabled state of the current sub-action object. - // Causes property change event from this object. - Boolean enabled = (Boolean)evt.getNewValue(); - setEnabled(enabled.booleanValue()); - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/Toolbar.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/Toolbar.java deleted file mode 100644 index a84273995e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/Toolbar.java +++ /dev/null @@ -1,862 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.ToolbarManagement; - -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.border.*; - -import FoamX.App; -import FoamX.Util.ReferenceCount; - -public class Toolbar - extends JToolBar - implements ReferenceCount -{ - //-------------------------------------------------------------------------- - /** Constant of grip layout constraint. */ - private static final String GRIP = "Grip"; - /** Constant of action layout constraint. */ - private static final String ACTION = "Action"; - /** Basic toolbar height. */ - public static final int BASIC_HEIGHT = 34; - /** 5 pixels is tolerance of toolbar height so toolbar can be high (BASIC_HEIGHT + HEIGHT_TOLERANCE) but it will be set to BASIC_HEIGHT high. */ - static int HEIGHT_TOLERANCE = 5; - /** Horizontal separator gap. */ - private static final int SEPARARTOR_GAP = 3; - /** TOP of toolbar empty border. */ - static int TOP = 2; - /** LEFT of toolbar empty border. */ - static int LEFT = 4; - /** BOTTOM of toolbar empty border. */ - static int BOTTOM = 2; - /** RIGHT of toolbar empty border. */ - static int RIGHT = 4; - - /** Is toolbar floatable */ - private boolean floatable_; - /** Toolbar DnDListener */ - private DnDListener listener_; - /** Toolbar mouse listener */ - private ToolbarMouseListener mouseListener_; - /** Display name of the toolbar */ - private String displayName_; - /** Map of action objects managed by this toolbar. */ - private HashMap actionMap_; - /** Map of toolbar button objects managed by this toolbar. */ - private HashMap buttonMap_; - /** Reference count for multi-toolbars. */ - private int refCount_; - - static final long serialVersionUID = 5011742660516204764L; - - //-------------------------------------------------------------------------- - /** - * Create a new not floatable Toolbar with programmatic name. - * Display name is set to be the same as name. - */ - public Toolbar(String name) - { - this(name, name, false); - } - - /** - * Create a new not floatable Toolbar with specified programmatic name - * and display name. - */ - public Toolbar(String name, String displayName) - { - this(name, displayName, false); - } - - /** - * Create a new Toolbar. - * @param name a String containing the associated name - * @param f specified if Toolbar is floatable - * Display name of the toolbar is set equal to the name. - */ - public Toolbar(String name, boolean f) - { - this(name, name, f); - } - - /** - * Create a new Toolbar. - * @param name a String containing the associated name - * @param f specifies if Toolbar is floatable - */ - public Toolbar(String name, String displayName, boolean f) - { - super(); - setDisplayName(displayName); - initAll(name, f); - } - - //-------------------------------------------------------------------------- - - private void initAll(String name, boolean f) - { - floatable_ = f; - mouseListener_ = null; - actionMap_ = new HashMap(); - buttonMap_ = new HashMap(); - refCount_ = 0; - - setName(name); - - setFloatable(false); - setBorder(new CompoundBorder(new EtchedBorder(), - new EmptyBorder(TOP, LEFT, BOTTOM, RIGHT))); - setLayout(new InnerLayout(2, 2)); - addGrip(); - } - - //-------------------------------------------------------------------------- - /** - * When Toolbar is floatable, ToolbarGrip is added as Grip as first toolbar component - */ - private void addGrip() - { - if (floatable_) - { - ToolbarGrip grip = new ToolbarGrip(); - - if (mouseListener_ == null) - { - mouseListener_ = new ToolbarMouseListener(); - } - - grip.addMouseListener(mouseListener_); - grip.addMouseMotionListener(mouseListener_); - - add(GRIP, grip); - //grip.updateUI(); - } - } - - //-------------------------------------------------------------------------- - /** - * Compute with HEIGHT_TOLERANCE number of rows for specific toolbar height. - * @param height of some toolbar - * @return number of rows - */ - static public int rowCount(int height) - { - int rows = 1; - int max_height = (BASIC_HEIGHT + HEIGHT_TOLERANCE); - while (height> max_height) - { - rows++; - height -= max_height; - } - return rows; - } - - //-------------------------------------------------------------------------- - /** - * @return Display name of this toolbar. Display name is localizable, - * on the contrary to the programmatic name. - */ - public String getDisplayName() - { - return displayName_; - } - - //-------------------------------------------------------------------------- - /** - * Sets new display name of this toolbar. Display name is localizable, - * on the contrary to the programmatic name. - */ - public void setDisplayName(String displayName) - { - displayName_ = displayName; - } - - //-------------------------------------------------------------------------- - - public JButton addMultiAction(String actionName, String clientKey, javax.swing.AbstractAction action) - { - JButton button = null; - - try - { - if (actionMap_.containsKey(actionName)) - { - ActionDelegate delegate = (ActionDelegate)actionMap_.get(actionName); - - // Add sub-action to delegate object. - delegate.addSubAction(clientKey, action); - - // Return the appropriate button for this action. - button = (JButton)buttonMap_.get(actionName); - } - else - { - // Create a new action delegate object. - ActionDelegate delegate = new ActionDelegate(clientKey, action); - - // Add action to map. - actionMap_.put(actionName, delegate); - - // Add button to toolbar connected to delegate. - button = add(delegate); - - // Add button to map. - buttonMap_.put(actionName, button); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return button; - } - - //-------------------------------------------------------------------------- - - public void selectClient(String clientKey) - { - try - { - // Loop over all actions and set the action key, - Iterator iter = actionMap_.values().iterator(); - while (iter.hasNext()) - { - ActionDelegate delegate = (ActionDelegate)iter.next(); - delegate.selectAction(clientKey); - } - //invalidate(); - //updateUI(); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void removeMultiActions(String clientKey) - { - try - { - // Loop over all actions and set the action key, - Iterator iter = actionMap_.values().iterator(); - while (iter.hasNext()) - { - ActionDelegate delegate = (ActionDelegate)iter.next(); - delegate.removeSubAction(clientKey); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- Container Overrides - //-------------------------------------------------------------------------- - /** Add new Component as ACTION. */ - public Component add(Component comp) - { - add(ACTION, comp); - return comp; - } - - //-------------------------------------------------------------------------- - /** Removes all ACTION components. */ - public void removeAll() - { - super.removeAll(); - addGrip(); - } - - //-------------------------------------------------------------------------- - //---- JToolBar Overrides - //-------------------------------------------------------------------------- - - public JButton add(Action action) - { - return super.add(action); - } - - public void addSeparator() - { - addSeparator(new Dimension(SEPARARTOR_GAP, SEPARARTOR_GAP)); - } - - //-------------------------------------------------------------------------- - //---- Drag & Drop Methods - //-------------------------------------------------------------------------- - /** - * Set DnDListener to Toolbar. - * @param DndListener for toolbar - */ - public void setDnDListener(DnDListener l) - { - listener_ = l; - } - - //-------------------------------------------------------------------------- - /** - * Fire drag of Toolbar - * @param dx distance of horizontal dragging - * @param dy distance of vertical dragging - * @param type type of toolbar dragging - */ - protected void fireDragToolbar(int dx, int dy, int type) - { - if (listener_ != null) - { - listener_.dragToolbar(new DnDEvent(this, getName(), dx, dy, type)); - } - } - - //-------------------------------------------------------------------------- - /** - * Fire drop of Toolbar - * @param dx distance of horizontal dropping - * @param dy distance of vertical dropping - * @param type type of toolbar dropping - */ - protected void fireDropToolbar(int dx, int dy, int type) - { - if (listener_ != null) - { - listener_.dropToolbar(new DnDEvent(this, getName(), dx, dy, type)); - } - } - - //-------------------------------------------------------------------------- - /** DnDListener is Drag and Drop listener for Toolbar motion events. */ - public interface DnDListener - extends java.util.EventListener - { - /** Invoked when toolbar is dragged. */ - public void dragToolbar(DnDEvent e); - - /** Invoked when toolbar is dropped. */ - public void dropToolbar(DnDEvent e); - } - - //-------------------------------------------------------------------------- - //---- ReferenceCount Interface - //-------------------------------------------------------------------------- - public synchronized int addRef() - { - // Return new reference count. - return ++refCount_; - } - - public synchronized int release() - { - // Return new reference count. - return --refCount_; - } - - public synchronized int refCount() - { - // Return current reference count. - return refCount_; - } - - //-------------------------------------------------------------------------- - //---- DnDEvent Class - //-------------------------------------------------------------------------- - - public static class DnDEvent - extends EventObject - { - /** Type of DnDEvent. Dragging with only one Toolbar. */ - public static final int DND_ONE = 1; - /** Type of DnDEvent. Only horizontal dragging with Toolbar and it's followers. */ - public static final int DND_END = 2; - /** Type of DnDEvent. Only vertical dragging with whole lines. */ - public static final int DND_LINE = 3; - - /** Name of toolbar where event occured. */ - private String name; - /** distance of horizontal dragging */ - private int dx; - /** distance of vertical dragging */ - private int dy; - /** Type of event. */ - private int type; - - static final long serialVersionUID = 4389530973297716699L; - - public DnDEvent(Toolbar toolbar, String n, int x, int y, int t) - { - super(toolbar); - - name = n; - dx = x; - dy = y; - type = t; - } - - /** @return name of toolbar where event occured. */ - public String getName() - { - return name; - } - - /** @return distance of horizontal dragging */ - public int getDX() - { - return dx; - } - - /** @return distance of vertical dragging */ - public int getDY() - { - return dy; - } - - /** @return type of event. */ - public int getType() - { - return type; - } - } - - //-------------------------------------------------------------------------- - //---- ToolbarMouseListener Class - //-------------------------------------------------------------------------- - - class ToolbarMouseListener - implements MouseInputListener - { - /** Is toolbar dragging now. */ - private boolean dragging_; - /** Start point of dragging. */ - private Point startPoint_; - - public ToolbarMouseListener() - { - dragging_ = false; - startPoint_ = null; - } - - /** Invoked when the mouse has been clicked on a component. */ - public void mouseClicked(MouseEvent e) - { - } - - /** Invoked when the mouse enters a component. */ - public void mouseEntered(MouseEvent e) - { - } - - /** Invoked when the mouse exits a component. */ - public void mouseExited(MouseEvent e) - { - } - - /** Invoked when a mouse button has been pressed on a component. */ - public void mousePressed(MouseEvent e) - { - startPoint_ = new Point(e.getX(), e.getY()); - } - - /** Invoked when a mouse button has been released on a component. */ - public void mouseReleased(MouseEvent e) - { - if (dragging_) - { - fireDropToolbar(e.getX() - startPoint_.x, - e.getY() - startPoint_.y, - DnDEvent.DND_ONE); - dragging_ = false; - } - } - - /** Invoked when a mouse button is pressed on a component and then dragged. */ - public void mouseDragged(MouseEvent e) - { - int m = e.getModifiers(); - int type = DnDEvent.DND_ONE; - if (e.isControlDown()) - { - type = DnDEvent.DND_LINE; - } - else if (((m & InputEvent.BUTTON2_MASK) != 0) || - ((m & InputEvent.BUTTON3_MASK) != 0)) - { - type = DnDEvent.DND_END; - } - if (startPoint_ == null) - { - startPoint_ = new Point(e.getX(), e.getY()); - } - fireDragToolbar(e.getX() - startPoint_.x, - e.getY() - startPoint_.y, - type); - dragging_ = true; - } - - /** Invoked when the mouse button has been moved on a component (with no buttons no down). */ - public void mouseMoved(MouseEvent e) - { - } - } - - //-------------------------------------------------------------------------- - //---- ToolbarGrip Class - //-------------------------------------------------------------------------- - - private class ToolbarGrip - extends JPanel - { - /** Horizontal gaps. */ - static final int HGAP = 1; - /** Vertical gaps. */ - static final int VGAP = 1; - /** Step between two grip elements. */ - static final int STEP = 1; - /** Width of grip element. */ - static final int WIDTH = 2; - - /** Number of grip elements. */ - int columns_; - /** Minimum size. */ - Dimension dim_; - - static final long serialVersionUID = -8819972936203315276L; - - /** Create new ToolbarGrip for default number of grip elements. */ - public ToolbarGrip() - { - this(2); - } - - /** Create new ToolbarGrip for specific number of grip elements. - * @param col number of grip elements - */ - public ToolbarGrip(int col) - { - super(); - columns_ = col; - int width = (col - 1) * STEP + col * WIDTH + 2 * HGAP; - dim_ = new Dimension(width, width); - setBorder(new EmptyBorder(VGAP, HGAP, VGAP, HGAP)); - setToolTipText(Toolbar.this.getDisplayName()); - } - - /** Paint grip to specific Graphics. */ - public void paint(Graphics g) - { - Dimension size = getSize(); - int top = VGAP; - int bottom = size.height - 1 - VGAP; - int height = bottom - top; - g.setColor(getBackground()); - - for (int i = 0, x = HGAP; i maxPosition)) - { - if (maxPosition - left>= minSize.width) - w = maxPosition - left; - } - - comp.setBounds (left, (fullHeight - d.height)/2, w, h); - - left += d.width; - } - } - } - - /** - * Returns the alignment along the x axis. - */ - public float getLayoutAlignmentX(Container target) - { - return 0; - } - - /** - * Returns the alignment along the y axis. - */ - public float getLayoutAlignmentY(Container target) - { - return (float)0.5; - } - - /** - * Invalidates the layout, indicating that if the layout manager has cached - * information it should ne discarded. - */ - public void invalidateLayout(Container target) - { - // check target components with local vars (grip, actions) - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.form deleted file mode 100644 index 11e8c30bb8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.form +++ /dev/null @@ -1,19 +0,0 @@ - - -
- - - - - - - - - - - - - - - -
diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.java deleted file mode 100644 index 34be65f6e7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/ToolbarManager.java +++ /dev/null @@ -1,225 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.ToolbarManagement; - -import java.util.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; - -public class ToolbarManager - extends javax.swing.JPanel -{ - //-------------------------------------------------------------------------- - - /** Horizontal gap between toolbars. */ - static int HGAP = 4; - /** Vertical gap between toolbars. */ - static int VGAP = 6; - - // Map of toolbar objects, keyed by toolbar name. - protected java.util.Hashtable toolbars_; - - //-------------------------------------------------------------------------- - /** Creates new form ToolbarManager */ - public ToolbarManager() - { - initComponents(); - - toolbars_ = new Hashtable(); - } - - //-------------------------------------------------------------------------- - - public boolean isToolbarDefined(String name) - { - return toolbars_.containsKey(name); - } - - //-------------------------------------------------------------------------- - - public FoamX.ToolbarManagement.Toolbar getToolbar - ( - String name - ) throws FoamXException - { - if (!toolbars_.containsKey(name)) - { - throw new FoamXException("Invalid toolbar name : " + name); - } - - Toolbar toolbar = (Toolbar)toolbars_.get(name); - return toolbar; - } - - //-------------------------------------------------------------------------- - - /* create new toolBar */ - public FoamX.ToolbarManagement.Toolbar addToolbar - ( - String name, - String description - ) throws FoamXException - { - if (toolbars_.containsKey(name)) - { - throw new FoamXException("Duplicate toolbar name : " + name); - } - - // Create new Toolbar object. - Toolbar toolbar = new Toolbar(name, description, true); - toolbar.setFont(new java.awt.Font("Dialog", 0, 10)); - - // Add to map and content pane. - toolbars_.put(name, toolbar); - add(toolbar); - toolbar.addRef(); - - // Refresh the gui. - updateUI(); - //toolbar.updateUI(); - - return toolbar; - } - - //-------------------------------------------------------------------------- - - public void removeToolbar(String name) throws FoamXException - { - if (!toolbars_.containsKey(name)) - { - throw new FoamXException("Invalid toolbar name : " + name); - } - - Toolbar toolbar = (Toolbar)toolbars_.get(name); - // Decrement reference count; - if (toolbar.release() == 0) - { - // Remove toolbar from container. - remove(toolbar); - updateUI(); - } - } - - //-------------------------------------------------------------------------- - - /* create or reuse existing toolBar */ - public FoamX.ToolbarManagement.Toolbar addMultiToolbar - ( - String name, - String description, - String clientKey - ) throws FoamXException - { - Toolbar toolbar = null; - - if (toolbars_.containsKey(name)) - { - // If toolbar already exists, increment it's reference count. - toolbar = (Toolbar)toolbars_.get(name); - toolbar.addRef(); - } - else - { - // Create new Toolbar object. - toolbar = new Toolbar(name, description, true); - toolbar.setFont(new java.awt.Font("Dialog", 0, 10)); - - // Add to map and content pane. - toolbars_.put(name, toolbar); - add(toolbar); - toolbar.addRef(); - } - - // Refresh gui. - updateUI(); - //toolbar.updateUI(); - - return toolbar; - } - - //-------------------------------------------------------------------------- - - public void removeMultiToolbar - ( - String name, - String clientKey - ) throws FoamXException - { - try - { - if (!toolbars_.containsKey(name)) - { - throw new FoamXException("Invalid toolbar name : " + name); - } - - // Get specified toolbar. - Toolbar toolbar = (Toolbar)toolbars_.get(name); - - // Remove mutil-actions. - toolbar.removeMultiActions(clientKey); - - // Decrement reference count; - if (toolbar.release() <= 0) - { - // Remove toolbar from container. - toolbars_.remove(name); - remove(toolbar); - updateUI(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - - setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT, 2, 2)); - - setBorder(new javax.swing.border.EtchedBorder()); - }//GEN-END:initComponents - - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/ToolbarManagement/filesystem.attributes deleted file mode 100644 index 30057ddc3f408e4b09484cdcc03294cf1932744c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 327 zcmZY3F;2rk5QX89gM~q9A|whb3PeG%oFP$Uks{EfOT*Zn*lP{mWp|96hHG#Dsz@9H zL`y?K!yRZSs96v~k - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/IUtility.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/IUtility.java deleted file mode 100644 index 0d71dc2fc4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/IUtility.java +++ /dev/null @@ -1,56 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Tools; - -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.UtilityDescriptor; - -public interface IUtility -{ - public void prepareUtility(); - - // Utilities called at browser level are invoked with - // caseBrowser instance and -if possible- with root and casename - public void invokeBrowserUtility - ( - UtilityDescriptor toolDesc, - ICaseBrowser caseBrowser, - String caseRoot, - String caseName - ); - - // Utilities called at case editor level are invoked with - // caseServer instance - public void invokeCaseUtility - ( - UtilityDescriptor toolDesc, - ICaseServer caseServer, - String caseRoot, - String caseName - ); -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/InvokeUtilityAction.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/InvokeUtilityAction.java deleted file mode 100644 index 439dfb9195..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/InvokeUtilityAction.java +++ /dev/null @@ -1,360 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Tools; - -import java.awt.event.ActionEvent; -import java.util.Vector; -import javax.swing.*; - -import org.omg.CORBA.StringHolder; - -import FoamXServer.IDictionaryEntryHolder; -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.CaseServer.ICaseServer; -import FoamXServer.ApplicationDescriptor; - -import FoamX.App; -import FoamX.Editors.StringListEditor; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryCache; -import FoamX.Exceptions.FoamXCancel; -import FoamX.Util.BusyCursor; -import FoamX.Util.RunPanel; - - -public class InvokeUtilityAction - extends AbstractAction -{ - //-------------------------------------------------------------------------- - - protected ICaseBrowser caseBrowser_; - protected String caseRoot_; - protected String caseName_; - protected ICaseServer caseServer_; - - //-------------------------------------------------------------------------- - /** InvokeUtilityAction constructor for a case browser. */ - public InvokeUtilityAction - ( - ICaseBrowser caseBrowser, - String caseRoot, - String caseName - ) - { - caseBrowser_ = caseBrowser; - caseRoot_ = caseRoot; - caseName_ = caseName; - caseServer_ = null; - - putValue - ( - Action.SMALL_ICON, - App.getResources().getIcon("InvokeUtilityImage") - ); - putValue(Action.NAME, "Invoke Foam Utility"); - putValue(Action.SHORT_DESCRIPTION, "Invoke Foam Utility"); - putValue(Action.LONG_DESCRIPTION, "Invoke Foam Utility"); - } - -// //-------------------------------------------------------------------------- -// /** InvokeUtilityAction constructor for a case server. */ -// public InvokeUtilityAction(ICaseServer caseServer) -// { -// caseBrowser_ = null; -// caseRoot_ = null; -// caseName_ = null; -// caseServer_ = caseServer; -// -// putValue -// ( -// Action.SMALL_ICON, -// App.getResources().getIcon("InvokeUtilityImage") -// ); -// putValue(Action.NAME, "Invoke Foam Utility"); -// putValue(Action.SHORT_DESCRIPTION, "Invoke Foam Utility"); -// putValue(Action.LONG_DESCRIPTION, "Invoke Foam Utility"); -// } -// - //-------------------------------------------------------------------------- - - public void actionPerformed(ActionEvent evt) - { - try - { - // Source must have a utilityDescriptor client property. - if (evt.getSource() instanceof JComponent) - { - // Get ApplicationDescriptor object. - JComponent comp = (JComponent)evt.getSource(); - ApplicationDescriptor desc = - (ApplicationDescriptor)comp.getClientProperty - ( - "utilityDescriptor" - ); - - // Invoke the utility on the specified server. -// if (caseServer_ != null) -// { -// invokeCaseServerUtility(desc); -// } -// else if (caseBrowser_ != null) -// { - invokeCaseBrowserUtility(desc); -// } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - /** construct argument list for utility */ - static public String[] makeUtilityArgs - ( - ApplicationDescriptor desc, - String caseRoot, - String caseName - ) - throws FoamXCancel - { - // Construct argument list. - - String[] caseArgs = null; - -// // If arguments are required, prompt the user for them. -// if (desc.arguments.length> 0) -// { -// Vector labels = new Vector(desc.arguments.length); -// Vector values = new Vector(desc.arguments.length); -// -// // Use root, case as first arguments -// -// if (desc.caseTool) -// { -// labels.addElement("Case Root"); -// labels.addElement("Case Name"); -// -// values.addElement(caseRoot); -// values.addElement(caseName); -// } -// -// // Add other arguments as from the toolDescriptor -// -// for (int i = 0; i 0) -// { -// // Load the specified bean. -// Object utilityObj; -// try -// { -// ClassLoader loader = ClassLoader.getSystemClassLoader(); -// utilityObj = -// java.beans.Beans.instantiate(loader, desc.clientBean); -// } -// catch (Exception ex) -// { -// throw new Exception -// ( -// "Couldn't instantiate utility bean " -// + desc.clientBean + "." -// ); -// } -// -// // Make sure that this bean supports the IUtility interface. -// java.lang.Class c; -// c = Class.forName("FoamX.Tools.IUtility"); -// if (!java.beans.Beans.isInstanceOf(utilityObj, c)) -// { -// throw new Exception -// ( -// "Utility bean " + desc.clientBean -// + " does not support the IUtility interface." -// ); -// } -// -// // Invoke the utility. -// IUtulity utilityBean = (IUtility)utilityObj; -// utilityBean.prepareUtility(); -// utilityBean.invokeCaseUtility -// ( -// desc, -// caseServer_, -// caseServer_.caseRoot(), -// caseServer_.caseName() -// ); -// } -// else -// { -// // Construct argument list. -// String[] caseArgs = makeUtilityArgs -// ( -// desc, -// caseServer_.caseRoot(), -// caseServer_.caseName() -// ); -// -// // Show busy cursor. -// BusyCursor busyCursor = new BusyCursor(App.getRootFrame()); -// -// // Invoke the utility. -// try -// { -// caseServer_.invokeUtility(desc.name, caseArgs); -// -// JOptionPane.showMessageDialog -// ( -// App.getRootFrame(), -// "The Foam utility " + desc.name + " has been executed.", -// "Foam Utility", -// JOptionPane.PLAIN_MESSAGE -// ); -// } -// catch (Exception ex) -// { -// App.handleAllExceptions(ex); -// } -// } -// } -// catch (FoamXCancel ex) -// { -// // Editing of arguments was cancelled. -// } -// catch (Exception ex) -// { -// App.handleAllExceptions(ex); -// } -// } - - //-------------------------------------------------------------------------- - - public void invokeCaseBrowserUtility(ApplicationDescriptor desc) - { - try - { - // Get the DictionaryEntry reference for this dictionary. - IDictionaryEntryHolder dictHolder = new IDictionaryEntryHolder(); - caseBrowser_.foamProperties().getUtilityControlDict - ( - desc.name, - caseRoot_, - caseName_, - dictHolder - ); - - - DictionaryCache controlDict = null; - if (dictHolder.value != null) - { - controlDict = (DictionaryCache)DictionaryEntryCache.New - ( - dictHolder.value - ); - } - - RunPanel runPanel = new RunPanel - ( - App.getRootFrame(), - caseBrowser_, - caseRoot_, - caseName_, - desc.name, - false, // Is utility - desc.name + "Dict", - controlDict - ); - runPanel.setVisible(true); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Tools/filesystem.attributes deleted file mode 100644 index e3744c30534d3582bcf892dbc74fddbbbe251231..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 935 zcmZvaziSjh6vyA)<>Dy;jTi+%P&vdzG858R1dGd$BNsM5NUjirnAzRA?B?cn#+li8 zX#_j}-0T?3JBG~i7E6V#S*v3|wcJ#j%oqIf-dKIFQaT(0=xP|=V%vJRw_>4>v6vS=JeRv3E@@aK9)lOmm*M+0OO7m+G zW20DcdB0cRxqbm&oV0o9#l{YeuH9YOczm_w9zPgB?*gV7%cpV0aBWE6aV=F!YFk}l zu`b_xdiY~u>N6(tV8HGuZsCT9^Yr*qG?20#b3^;{GufAF6CY1`P~K)D#i_HNTaXHt zY|>s^Q(cA25VuUit3DNJ;15ef|$L`*E#S*a_i zHTu6`v&^z38S-k+b)F@m;OhrRr10nx!CZHs90-|k4@!6{3)R2kxUDVM`d%CXgZXWy$ Jy&kZt`x_AeL#_Y- diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/.nbattrs b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/.nbattrs deleted file mode 100644 index 7964ad6ec6..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/.nbattrs +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ArgsManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ArgsManager.java deleted file mode 100644 index 49b934efd0..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ArgsManager.java +++ /dev/null @@ -1,103 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Options; - -import javax.swing.*; -import java.io.*; -import java.util.*; - -import FoamX.App; - -import FoamX.Exceptions.FoamXException; - -public class ArgsManager - extends java.util.Properties -{ - //-------------------------------------------------------------------------- - - private String foamXSystemPath_; - private String foamXSystemConfigPath_; - private String foamXUserConfigPath_; - - //-------------------------------------------------------------------------- - /** ArgsManager constructor. */ - public ArgsManager(String[] args) - { - } - - //-------------------------------------------------------------------------- - - public String foamXSystemPath() - { - return foamXSystemPath_; - } - - //-------------------------------------------------------------------------- - - public String foamXSystemConfigPath() - { - return foamXSystemConfigPath_; - } - - //-------------------------------------------------------------------------- - - public String foamXUserConfigPath() - { - return foamXUserConfigPath_; - } - - //-------------------------------------------------------------------------- - - public void loadFromFile() - { - try - { - // Load the properties object from file. - String propFileName = foamXUserConfigPath_ + "/FoamXClient.cfg"; - File propFile = new File(propFileName); - if (propFile.exists()) - { - load(new FileInputStream(propFileName)); - - // Add the config paths to the properties bundle. - put("FoamX.SystemConfigPath", foamXSystemConfigPath_); - put("FoamX.UserConfigPath", foamXUserConfigPath_); - } - else - { - throw new Exception - ( - "FoamX client properties file not found at '" - + propFileName + "'." - ); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/Assert.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/Assert.java deleted file mode 100644 index 154c0ac4cb..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/Assert.java +++ /dev/null @@ -1,41 +0,0 @@ -package FoamX.Util; - -import javax.swing.JOptionPane; - -import FoamX.App; - -public class Assert -{ - private static void perr(String msg) - { - JOptionPane.showMessageDialog - ( - null, - "Assertion Failed", - msg, - JOptionPane.ERROR_MESSAGE - ); - - App.printMessage(msg); - } - - public final static void True(boolean exp) - { - if (!exp) perr("Assertion failed"); - } - - public final static void False(boolean exp) - { - if (exp) perr("Assertion failed"); - } - - public final static void True(boolean exp, String msg) - { - if (!exp) perr("Assertion failed: " + msg); - } - - public final static void False(boolean exp, String msg) - { - if (exp) perr("Assertion failed: " + msg); - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/BusyCursor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/BusyCursor.java deleted file mode 100644 index 3108914a84..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/BusyCursor.java +++ /dev/null @@ -1,103 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.awt.*; -import javax.swing.*; - -public class BusyCursor - extends Object -{ - //-------------------------------------------------------------------------- - - private java.awt.Component component_; - private java.awt.Cursor prevCursor_; - - //-------------------------------------------------------------------------- - /** BusyCursor constructor. */ - public BusyCursor() - { - component_ = null; - prevCursor_ = null; - } - - //-------------------------------------------------------------------------- - /** BusyCursor constructor. */ - public BusyCursor(java.awt.Component component) - { - component_ = component; - prevCursor_ = component_.getCursor(); - component_.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - - // Put a restore cursor event into the event dispatch thread event queue. - // This will restore the previous cursor when the current activity - // has finished. - SwingUtilities.invokeLater(new RestoreCursorEvent()); - } - - //-------------------------------------------------------------------------- - - protected void restoreCursor() - { - // Restore previous cursor. - if (component_ != null && prevCursor_ != null) - { - component_.setCursor(prevCursor_); - } - component_ = null; - prevCursor_ = null; - } - - //-------------------------------------------------------------------------- - - protected void finalize() - { - // Restore previous cursor. - //restoreCursor(); - } - - //-------------------------------------------------------------------------- - - class RestoreCursorEvent - implements Runnable - { - public void run() - { - //? Container parent = component_.getParent(); - - // Restore the original cursor. - restoreCursor(); - - //? parent.repaint(); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ButtonActionChangedListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ButtonActionChangedListener.java deleted file mode 100644 index 09cfaba554..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ButtonActionChangedListener.java +++ /dev/null @@ -1,61 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -import java.beans.*; -import javax.swing.*; - -public class ButtonActionChangedListener - implements PropertyChangeListener -{ - private JButton button_; - - public ButtonActionChangedListener(JButton button) - { - super(); - button_ = button; - } - - public void propertyChange(PropertyChangeEvent e) - { - String propertyName = e.getPropertyName(); -/* - if (e.getPropertyName().equals(Action.NAME)) - { - // Change the label on the button if the action name has changed. - String text = (String)e.getNewValue(); - button_.setText(text); - } -*/ - if (propertyName.equals("enabled")) - { - // Disable the button if the action has been disabled. - Boolean enabledState = (Boolean)e.getNewValue(); - button_.setEnabled(enabledState.booleanValue()); - } - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/CollapseTreeAction.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/CollapseTreeAction.java deleted file mode 100644 index 803e37dd56..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/CollapseTreeAction.java +++ /dev/null @@ -1,82 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.tree.*; -import javax.swing.event.*; -import java.util.Enumeration; - -import FoamX.App; - -public class CollapseTreeAction - extends AbstractAction -{ - //-------------------------------------------------------------------------- - - protected JTree tree_; - - //-------------------------------------------------------------------------- - /** ExpandTreeAction constructor. */ - public CollapseTreeAction(JTree tree) - { - tree_ = tree; - - putValue(Action.SMALL_ICON, App.getResources().getIcon("Tree.CollapseTreeImage")); - putValue(Action.NAME, "CollapseAll"); - putValue(Action.SHORT_DESCRIPTION, "Collapse All"); - putValue(Action.LONG_DESCRIPTION, "Collapse All"); - } - - //-------------------------------------------------------------------------- - - public void actionPerformed(ActionEvent e) - { - try - { - // Get tree model. - TreeModel model = tree_.getModel(); - - DefaultMutableTreeNode root = (DefaultMutableTreeNode)model.getRoot(); - Enumeration iter = root.depthFirstEnumeration(); - while (iter.hasMoreElements()) - { - DefaultMutableTreeNode node = (DefaultMutableTreeNode)iter.nextElement(); - TreePath tp = new TreePath(node.getPath()); - tree_.collapsePath(tp); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ExpandTreeAction.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ExpandTreeAction.java deleted file mode 100644 index bff66540cc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ExpandTreeAction.java +++ /dev/null @@ -1,82 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.awt.event.ActionEvent; -import javax.swing.*; -import javax.swing.tree.*; -import javax.swing.event.*; -import java.util.Enumeration; - -import FoamX.App; - -public class ExpandTreeAction - extends AbstractAction -{ - //-------------------------------------------------------------------------- - - protected JTree tree_; - - //-------------------------------------------------------------------------- - /** ExpandTreeAction constructor. */ - public ExpandTreeAction(JTree tree) - { - tree_ = tree; - - putValue(Action.SMALL_ICON, App.getResources().getIcon("Tree.ExpandTreeImage")); - putValue(Action.NAME, "ExpandAll"); - putValue(Action.SHORT_DESCRIPTION, "Expand All"); - putValue(Action.LONG_DESCRIPTION, "Expand All"); - } - - //-------------------------------------------------------------------------- - - public void actionPerformed(ActionEvent e) - { - try - { - // Get tree model. - TreeModel model = tree_.getModel(); - - DefaultMutableTreeNode root = (DefaultMutableTreeNode)model.getRoot(); - Enumeration iter = root.depthFirstEnumeration(); - while (iter.hasMoreElements()) - { - DefaultMutableTreeNode node = (DefaultMutableTreeNode)iter.nextElement(); - TreePath tp = new TreePath(node.getPath()); - tree_.expandPath(tp); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEditor.java deleted file mode 100644 index 450e415c4c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEditor.java +++ /dev/null @@ -1,418 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -import java.util.*; -import java.io.*; -import java.awt.Point; - -import org.omg.CORBA.StringHolder; -import FoamXServer.CaseBrowser.ICaseBrowser; -import FoamXServer.FoamXIOError; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; - -public class FileEditor - implements FileListener -{ - String fileName_ = ""; - File workFile_; - ICaseBrowser caseBrowser_; - SimpleEditor simpleEditor_; - - public FileEditor - ( - boolean modal, - boolean followMode, - ICaseBrowser caseBrowser, - String fileName, - int startLineNo, - int endLineNo, - int columnNo - ) - { - try - { - fileName_ = fileName; - caseBrowser_ = caseBrowser; - workFile_= new File(fileName_); - - // Get file. Use case browser if nessecary. - - boolean nfsFile = workFile_.canRead(); - - if (!nfsFile && (fileName_.length() > 0)) - { - if (caseBrowser_ == null) - { - throw new FoamXException - ( - "Cannot open file " + fileName_ + " for editing." - ); - } - - // Generate temporary file for the editors to edit. - workFile_ = java.io.File.createTempFile - ( - workFile_.getName(), - "" - ); - - App.printMessage - ( - "Working on temporary file:" + workFile_.getName() - ); - - // Quick and dirty test for availability of file - if - ( - !copyFromCaseBrowser - ( - caseBrowser_, - fileName_, - new File("/dev/null") - ) - ) - { - throw new FoamXException - ( - "Cannot open file " + fileName_ + " for editing." - ); - } - } - - - String editorMethod = App.getOptions().getProperty - ( - "FoamX.Editor", - "internal" - ); - if (editorMethod.equals("internal")) - { - internalEditor(modal, followMode, nfsFile); - } - else - { - externalEditor - ( - modal, - followMode, - nfsFile, - editorMethod, - startLineNo, - endLineNo, - columnNo - ); - } - } - catch (java.io.IOException ex) - { - App.handleAllExceptions(ex); - } - catch (FoamXException ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - private void internalEditor - ( - boolean modal, - boolean followMode, - boolean nfsFile - ) - { - // Start editor. - App.printMessage("Starting internal editor on " + fileName_); - - simpleEditor_ = new SimpleEditor(); - - // Center on screen - Point topLeft = App.getRootFrame().getLocationOnScreen(); -// System.out.println("Size:" + App.getRootFrame().getSize()); -// System.out.println("Position:" + topLeft.x + " " + topLeft.y); -// System.out.println("Here"); - -// java.awt.Dimension screenSize = -// java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - simpleEditor_.setLocation(topLeft); - - if (!nfsFile) - { - // Make sure we are warned of any changes (FileListener events) - simpleEditor_.addFileListener(this); - } - - if (followMode) - { - simpleEditor_.followFile(caseBrowser_, workFile_); - } - else - { - simpleEditor_.openFile(workFile_); - } - - simpleEditor_.setVisible(true); - } - - - //-------------------------------------------------------------------------- - /** Starts External editor. - * Since no events blocks until editing finished - */ - private void externalEditor - ( - boolean modal, - boolean followMode, - boolean nfsFile, - String editorMethod, - int startLineNo, - int endLineNo, - int columnNo - ) throws FoamXException - { - if (!nfsFile) - { - copyFromCaseBrowser(caseBrowser_, fileName_, workFile_); - } - - // Start editor on workFile_ - - Process editProcess = null; - - // External: replace $FILE etc. in editorMethod with actual values - try - { - // Execute the desired browser passing it the required URL. - int hasFile = editorMethod.indexOf("$FILE"); - if (hasFile == -1) - { - throw new Exception - ( - "FoamX.Editor property malformed " + editorMethod + - ".\nIt should at least contain $FILE " + - "(expands to file name)" - ); - } - - Hashtable vars = new Hashtable(3); - vars.put("FILE", workFile_); - - if (startLineNo <= 0) - { - startLineNo = 1; - } - vars.put("START", new Integer(startLineNo)); - if (endLineNo <= 0) - { - endLineNo = startLineNo; - } - vars.put("END", new Integer(endLineNo)); - vars.put("COL", new Integer(columnNo)); - VarString editCmd = new VarString(editorMethod, vars); - - // Start editor. - App.printMessage("Starting external editor : " + editCmd.string()); - editProcess = Runtime.getRuntime().exec(editCmd.string()); - } - catch (java.io.IOException ex) - { - App.handleAllExceptions(ex); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - - - // If nessecary copy working file back to actual one. - - try - { - if (!nfsFile && (editProcess != null)) - { - // Wait for editing to finish before copying back - editProcess.waitFor(); - - copyToCaseBrowser(workFile_, caseBrowser_, fileName_); - - workFile_.delete(); - workFile_ = null; - } - else if (modal) - { - // Wait for editing to finish - editProcess.waitFor(); - } - } - catch (java.lang.InterruptedException ex) - { - App.handleAllExceptions(ex); - } - } - - - //-------------------------------------------------------------------------- - /** Copies file inFileName, located at caseBrowser, into local outFile */ - static public boolean copyFromCaseBrowser - ( - ICaseBrowser caseBrowser, - String inFileName, - File outFile - ) - { - try - { - StringHolder holder = new StringHolder(); - caseBrowser.readFile(inFileName, holder); - String contents = holder.value; - - DataOutputStream out = - new DataOutputStream - ( - new BufferedOutputStream - ( - new FileOutputStream(outFile) - ) - ); - out.writeBytes(contents); - out.close(); - return true; - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(new FoamXException(ioErr.errorMessage)); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - return false; - } - - - //-------------------------------------------------------------------------- - /** Copies local file inFile to caseBrowser as outFileName */ - static public void copyToCaseBrowser - ( - File inFile, - ICaseBrowser caseBrowser, - String outFileName - ) - { - try - { - // Limited to editing files < 2Gb only - int size = (int)inFile.length(); - - FileInputStream inStream = new FileInputStream(inFile); - - int nRead = 0; - byte[] data = new byte[size]; - while(nRead < size) - { - nRead += inStream.read(data, nRead, size-nRead); - } - inStream.close(); - - caseBrowser.writeFile(outFileName, new String(data)); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(new FoamXException(ioErr.errorMessage)); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- FileListener Interface - //-------------------------------------------------------------------------- - - // SimpleEditor wants to read file - public void fileOpened(FileEvent evt) - { - File file = evt.file(); - - try - { - if(file.getCanonicalPath().equals(workFile_.getCanonicalPath())) - { - copyFromCaseBrowser(caseBrowser_, fileName_, workFile_); - } - } - catch (java.io.IOException ex) - { - App.handleAllExceptions(ex); - } - } - - // SimpleEditor has closed a file. - public void fileClosed(FileEvent evt) - { - File file = evt.file(); - - try - { - if(file.getCanonicalPath().equals(workFile_.getCanonicalPath())) - { - // event can only happen once per FileEditor so cleanup - simpleEditor_.removeFileListener(this); - workFile_.delete(); - caseBrowser_ = null; - } - } - catch (java.io.IOException ex) - { - App.handleAllExceptions(ex); - } - } - - // SimpleEditor has saved a file. - public void fileChanged(FileEvent evt) - { - File file = evt.file(); - - try - { - if(file.getCanonicalPath().equals(workFile_.getCanonicalPath())) - { - copyToCaseBrowser(workFile_, caseBrowser_, fileName_); - } - } - catch (java.io.IOException ex) - { - App.handleAllExceptions(ex); - } - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEvent.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEvent.java deleted file mode 100644 index 2f328baf01..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileEvent.java +++ /dev/null @@ -1,55 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -import java.io.*; - -public class FileEvent - extends java.util.EventObject -{ - protected File file_; - - /** CaseBrowserEvent constructor. */ - public FileEvent(Object source, File file) - { - super(source); - file_ = file; - } - - public String toString() - { - return "FileEvent : " + file_; - } - - public File file() - { - return file_; - } -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileListener.java deleted file mode 100644 index 73b9542e0e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileListener.java +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -public interface FileListener - extends java.util.EventListener -{ - public abstract void fileOpened(FileEvent evt); - public abstract void fileClosed(FileEvent evt); - public abstract void fileChanged(FileEvent evt); -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileMonitor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileMonitor.java deleted file mode 100644 index a62306d72f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FileMonitor.java +++ /dev/null @@ -1,221 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -import java.awt.*; -import java.awt.event.*; -import java.io.*; - -import javax.swing.*; -import javax.swing.text.*; -import javax.swing.event.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; - -import FoamXServer.CaseBrowser.ICaseBrowser; - - -public class FileMonitor implements Runnable -{ - // Objects interested in file status - protected EventListenerList listenerList_; - - // Casebrowser reference - protected ICaseBrowser caseBrowser_; - - // Current files to monitor - protected File[] files_; - - // Delay before checking modification - protected int sleep_; - - // Last known modification dates - protected int[] fileDates_; - - // Stop flag - protected boolean stop_; - - public FileMonitor(ICaseBrowser caseBrowser, File[] files, int sleep) - { - // Create listener list. - listenerList_ = new EventListenerList(); - - caseBrowser_ = caseBrowser; - - files_ = files; - - sleep_ = sleep; - - fileDates_ = new int[files.length]; - - stop_ = false; - - try - { - for(int i = 0; i < files.length; i++) - { - String fName = files_[i].getPath(); - - fileDates_[i] = caseBrowser_.fileModificationDate(fName); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void run() - { - for(;;) - { - try - { - Thread.currentThread().sleep(sleep_); - } - catch (InterruptedException ie) - {} - - if (stop_) - { - return; - } - - try - { - for(int i = 0; i < files_.length; i++) - { - String fName = files_[i].getPath(); - - int currentTime = - caseBrowser_.fileModificationDate(fName); - - if (currentTime != fileDates_[i]) - { - fileDates_[i] = currentTime; - - fireChangeFile(files_[i]); - } - else - { - fileDates_[i] = currentTime; - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - } - - //-------------------------------------------------------------------------- - - public void stop() - { - stop_ = true; - } - - //-------------------------------------------------------------------------- - //---- FileListener Interface - //-------------------------------------------------------------------------- - - public void addFileListener(FileListener l) - { - listenerList_.add(FileListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeFileListener(FileListener l) - { - listenerList_.remove(FileListener.class, l); - } - - //-------------------------------------------------------------------------- - - - protected void fireOpenFile(File file) - { - // Create event object. - FileEvent evt = new FileEvent(this, file); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FileListener.class) - { - ((FileListener)listeners[i+1]).fileOpened(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireCloseFile(File file) - { - // Create event object. - FileEvent evt = new FileEvent(this, file); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FileListener.class) - { - ((FileListener)listeners[i+1]).fileClosed(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireChangeFile(File file) - { - // Create event object. - FileEvent evt = new FileEvent(this, file); - - // Process the listeners last to first, notifying those that are - // interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FileListener.class) - { - ((FileListener)listeners[i+1]).fileChanged(evt); - } - } - } - - //-------------------------------------------------------------------------- -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXAny.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXAny.java deleted file mode 100644 index 4acb48ca79..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXAny.java +++ /dev/null @@ -1,342 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.text.DecimalFormat; -import java.text.MessageFormat; - -import FoamX.App; -import FoamX.Exceptions.FoamXException; - -import FoamXServer.DimensionSet; -import FoamXServer.DimensionSetHelper; -import FoamXServer.FoamXType; - -public class FoamXAny -{ - //------------------------------------------------------------------------- - - // Reference to the managed Any object. - private FoamXServer.FoamXAny fxAny_; - - //------------------------------------------------------------------------- - /** FoamXAny constructor. */ - public FoamXAny(FoamXType type) - { - // Create an uninitialised any object to manage. - fxAny_ = new FoamXServer.FoamXAny - ( - type, - org.omg.CORBA.ORB.init().create_any() - ); - } - - //------------------------------------------------------------------------- - /** FoamXAny constructor. */ - public FoamXAny(FoamXServer.FoamXAny any) - { - fxAny_ = new FoamXServer.FoamXAny(any.type, any.value); - } - - //------------------------------------------------------------------------- - /** Returns a string representation of the value with the Any object. */ - public String toString() - { - return anyToString(); - } - - //------------------------------------------------------------------------- - /** Returns the raw Any object. */ - public FoamXServer.FoamXAny getAny() - { - return fxAny_; - } - - //------------------------------------------------------------------------- - /** Sets the value within the Any object by parsing the given string. */ - public void setValue(String val) throws IllegalArgumentException - { - try - { - // Don't bother if the string is empty. - if (val == null || val.length() == 0) - { - // Reset the Any object to null state. - fxAny_.value = org.omg.CORBA.ORB.init().create_any(); - } - else - { - switch (fxAny_.type.value()) - { - case FoamXType._Type_Boolean: - try - { - Boolean bVal = Boolean.valueOf(val); - fxAny_.value.insert_boolean(bVal.booleanValue()); - } - catch (NumberFormatException ex) - { - throw new IllegalArgumentException - ( - val + " is not a boolean" - ); - } - break; - - case FoamXType._Type_Label: - try - { - int lVal = Integer.parseInt(val); - fxAny_.value.insert_long(lVal); - } - catch (NumberFormatException ex) - { - throw new IllegalArgumentException - ( - val + " is not an integer" - ); - } - break; - - case FoamXType._Type_Scalar: - try - { - double dVal = Double.parseDouble(val); - fxAny_.value.insert_double(dVal); - } - catch (NumberFormatException ex) - { - throw new IllegalArgumentException - ( - val + " is not a number" - ); - } - break; - - case FoamXType._Type_Char: - if (val.length() != 1) - { - throw new IllegalArgumentException - ( - val + " is not a single character" - ); - } - else - { - fxAny_.value.insert_string(val); - } - break; - - case FoamXType._Type_Word: - case FoamXType._Type_String: - - case FoamXType._Type_RootDir: - case FoamXType._Type_RootAndCase: - case FoamXType._Type_CaseName: - case FoamXType._Type_HostName: - case FoamXType._Type_File: - case FoamXType._Type_Directory: - case FoamXType._Type_Time: - - fxAny_.value.insert_string(val); - break; - - case FoamXType._Type_DimensionSet: - throw new IllegalArgumentException - ( - "Cannot create a dimensionSet in FoamXAny.setValue." - ); - - default: - throw new IllegalArgumentException - ( - "Invalid type " + fxAny_.type.value() - + " in FoamXAny.setValue." - ); - } - } - } - catch (org.omg.CORBA.BAD_OPERATION ex) - { - App.handleAllExceptions(ex); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //------------------------------------------------------------------------- - /** Static formatters */ - static private java.text.DecimalFormat intFormat_; - static private java.text.DecimalFormat fixedFormat_; - static private java.text.DecimalFormat expFormat_; - - //------------------------------------------------------------------------- - /** Initialisation for the static formatters */ - static - { - // Get and set decimal notation format object for labels and integers. - intFormat_ = new java.text.DecimalFormat(); - intFormat_.setGroupingUsed(false); - intFormat_.setMaximumFractionDigits(6); - - // Get and set decimal notation format object for fixed-format doubles - fixedFormat_ = new java.text.DecimalFormat("####.#####"); - fixedFormat_.setGroupingUsed(false); - fixedFormat_.setMinimumFractionDigits(1); - fixedFormat_.setMaximumFractionDigits(5); - fixedFormat_.setMinimumIntegerDigits(1); - fixedFormat_.setMaximumIntegerDigits(5); - fixedFormat_.setDecimalSeparatorAlwaysShown(true); - - // Get and set decimal notation format object for - // exponential-format doubles - expFormat_ = new java.text.DecimalFormat("0.#####E0"); - expFormat_.setGroupingUsed(false); - expFormat_.setMinimumFractionDigits(1); - expFormat_.setMaximumFractionDigits(5); - expFormat_.setMinimumIntegerDigits(1); - expFormat_.setMaximumIntegerDigits(1); - expFormat_.setDecimalSeparatorAlwaysShown(true); - } - - //------------------------------------------------------------------------- - /** Format a long as a String */ - static public String format(long iVal) - { - return intFormat_.format(iVal); - } - - //------------------------------------------------------------------------- - /** Format a double as a String */ - static public String format(double sVal) - { - if (sVal == 0) - { - return "0.0"; - } - else if (Math.abs(sVal) >= 1e3 || Math.abs(sVal) < 1e-3) - { - return expFormat_.format(sVal).replace('E', 'e'); - } - else - { - return fixedFormat_.format(sVal); - } - } - - //------------------------------------------------------------------------- - /** Format a DimensionSet as a String */ - static public String format(DimensionSet dimSet) - { - java.lang.Object[] args = new java.lang.Object[] - { - new Double(dimSet.mass), - new Double(dimSet.length), - new Double(dimSet.time), - new Double(dimSet.temperature), - new Double(dimSet.moles), - new Double(dimSet.current), - new Double(dimSet.luminousIntensity) - }; - return MessageFormat.format("[{0} {1} {2} {3} {4} {5} {6}]", args); - } - - - //------------------------------------------------------------------------- - /** Convert a Corba Any value into a nice string. */ - protected String anyToString() - { - String text = ""; // Return a blank string by default. - - try - { - // See if we have a null Any object. - if - ( - fxAny_.value.type().kind().value() - != org.omg.CORBA.TCKind._tk_null - ) - { - switch (fxAny_.type.value()) - { - case FoamXType._Type_Boolean: - text = new Boolean - ( - fxAny_.value.extract_boolean() - ).toString(); - break; - - case FoamXType._Type_Label: - text = format(fxAny_.value.extract_long()); - break; - case FoamXType._Type_Scalar: - text = format(fxAny_.value.extract_double()); - break; - - case FoamXType._Type_Char: - case FoamXType._Type_Word: - case FoamXType._Type_String: - - case FoamXType._Type_RootDir: - case FoamXType._Type_RootAndCase: - case FoamXType._Type_CaseName: - case FoamXType._Type_HostName: - case FoamXType._Type_File: - case FoamXType._Type_Directory: - case FoamXType._Type_Time: - text = fxAny_.value.extract_string(); - break; - - case FoamXType._Type_DimensionSet: - text = format(DimensionSetHelper.extract(fxAny_.value)); - break; - - default: - // Buggeration and damnation. - throw new Exception - ( - "Invalid type in FoamXAny.anyToString." - ); - } - } - } - catch (org.omg.CORBA.BAD_OPERATION ex) - { - App.handleAllExceptions(ex); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return text; - } -} - - -//----------------------------------------------------------------------------- diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXListRenderer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXListRenderer.java deleted file mode 100644 index f87af4afbf..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXListRenderer.java +++ /dev/null @@ -1,131 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.awt.*; -import javax.swing.*; - -import FoamX.App; - -public class FoamXListRenderer - extends DefaultListCellRenderer -{ - //----------------------------------------------------------------------------------------- - - private Icon defaultIcon_; - - //----------------------------------------------------------------------------------------- - /** FoamXListRenderer constrcutor. */ - public FoamXListRenderer() - { - try - { - // Get a reference to the main resource helper and load a default icon. - defaultIcon_ = new ImageIcon(App.getResources().getResourceURL("UndefinedImage")); - setIcon(defaultIcon_); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //----------------------------------------------------------------------------------------- - - public Component getListCellRendererComponent - ( - JList list, - Object value, - int index, - boolean isSelected, - boolean cellHasFocus - ) - { - try - { - Component retValue = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); - - // Object should support the FoamXListItem interface. - FoamXListItem item = (FoamXListItem)value; - - // Set label text and icon. - setText(item.getText()); - setIcon(item.getIcon()); - - if (isSelected) - { - // Hack for X where the system colors are not all defined properly. - //if (SystemColor.textHighlightText.getRGB() == SystemColor.textHighlight.getRGB()) - //{ - // setForeground(Color.white); - // setBackground(Color.blue); - //} - //else - { - setForeground(SystemColor.textHighlightText); - setBackground(SystemColor.textHighlight); - } - } - else - { - // Hack for X where the system colors are not all defined properly. - //if (SystemColor.textText.getRGB() == tree.getBackground().getRGB()) - //{ - // setForeground(Color.black); - //} - //else - { - setForeground(SystemColor.textText); - } - setBackground(list.getBackground()); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return this; - } - - //----------------------------------------------------------------------------------------- - /** This interface defines the methods required by all items using the FoamXListRenderer - * list renderer class. - */ - public static interface FoamXListItem - { - public Icon getIcon(); - public String getText(); - } - - //----------------------------------------------------------------------------------------- - //----------------------------------------------------------------------------------------- - //----------------------------------------------------------------------------------------- - //----------------------------------------------------------------------------------------- - //----------------------------------------------------------------------------------------- -} - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTreeRenderer.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTreeRenderer.java deleted file mode 100644 index 8a9bc8317f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTreeRenderer.java +++ /dev/null @@ -1,161 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.awt.*; -import javax.swing.*; -import javax.swing.tree.*; - -import FoamX.App; - -public class FoamXTreeRenderer - extends JLabel - implements TreeCellRenderer -{ - //----------------------------------------------------------------------------------------- - - private Icon defaultIcon_; - - //----------------------------------------------------------------------------------------- - - /** FoamXTreeRenderer constructor. */ - public FoamXTreeRenderer() - { - try - { - // Get a reference to the main resource helper and load a default icon. - defaultIcon_ = new ImageIcon(App.getResources().getResourceURL("UndefinedImage")); - setIcon(defaultIcon_); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //----------------------------------------------------------------------------------------- - - public Component getTreeCellRendererComponent - ( - JTree tree, - Object value, - boolean selected, - boolean expanded, - boolean leaf, - int row, - boolean hasFocus - ) - { - try - { - // User object should support the FoamXTreeItem interface. - DefaultMutableTreeNode nodeItem = (DefaultMutableTreeNode)value; - - // See if this object has a user object associated with it. - if (nodeItem.getUserObject() != null) - { - FoamXTreeItem item = (FoamXTreeItem)nodeItem.getUserObject(); - - // Set label text and icon. - setText(item.getText()); - setIcon(item.getIcon()); - - if (selected) - { - // Hack for X where the system colors are not all defined properly. - //if (SystemColor.textHighlightText.getRGB() == SystemColor.textHighlight.getRGB()) - //{ - // setForeground(Color.white); - // setBackground(Color.blue); - //} - //else - { - setForeground(SystemColor.textHighlightText); - setBackground(SystemColor.textHighlight); - } - } - else - { - // Hack for X where the system colors are not all defined properly. - //if (SystemColor.textText.getRGB() == tree.getBackground().getRGB()) - //{ - // setForeground(Color.black); - //} - //else - { - setForeground(SystemColor.textText); - } - setBackground(tree.getBackground()); - } - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return this; - } - - //----------------------------------------------------------------------------------------- - - public void paint(Graphics g) - { - int textstart = 0; - - if (getIcon() != null) - { - textstart = getIcon().getIconWidth() + getIconTextGap(); - getIcon().paintIcon(this, g, 0, 0); - } - - int textwidth = getSize().width - textstart; - g.setColor(getBackground()); - g.fillRect(textstart, 0, textwidth, getSize().height); - g.setColor(getForeground()); - g.drawString(getText(), textstart, (getSize().height + g.getFontMetrics().getAscent()) / 2); - } - - //----------------------------------------------------------------------------------------- - /** This interface defines the methods required by all items using the FoamXTreeRenderer - * tree renderer class. - */ - public static interface FoamXTreeItem - { - public Icon getIcon(); - public String getText(); - } - - //----------------------------------------------------------------------------------------- - //----------------------------------------------------------------------------------------- - //----------------------------------------------------------------------------------------- - //----------------------------------------------------------------------------------------- -} - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTypeEx.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTypeEx.java deleted file mode 100644 index bfc6cd7f79..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/FoamXTypeEx.java +++ /dev/null @@ -1,242 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import javax.swing.JComboBox; -import javax.swing.Icon; - -import FoamXServer.FoamXType; - -import FoamX.App; - -public class FoamXTypeEx - extends Object -{ - //-------------------------------------------------------------------------- - - public static final int NUM_TYPES = 20; - - // An appropriate icon for each type. - private static Icon[] icons_ = new Icon[NUM_TYPES]; - // An appropriate description for each type. - private static String[] names_ = new String[NUM_TYPES]; - // Named pair types for combo boxes. - private static FoamXNamedType[] namedTypes_ = new FoamXNamedType[NUM_TYPES]; - - // Map between the integer type code and the index into the icon and name - // arrays. - public static final int UNDEFINED_TYPE = FoamXType._Type_Undefined; - public static final int BOOLEAN_TYPE = FoamXType._Type_Boolean; - public static final int LABEL_TYPE = FoamXType._Type_Label; - public static final int SCALAR_TYPE = FoamXType._Type_Scalar; - public static final int CHAR_TYPE = FoamXType._Type_Char; - public static final int WORD_TYPE = FoamXType._Type_Word; - public static final int STRING_TYPE = FoamXType._Type_String; - - public static final int ROOTDIR_TYPE = FoamXType._Type_RootDir; - public static final int ROOTANDCASE_TYPE = FoamXType._Type_RootAndCase; - public static final int CASENAME_TYPE = FoamXType._Type_CaseName; - public static final int HOSTNAME_TYPE = FoamXType._Type_HostName; - public static final int FILE_TYPE = FoamXType._Type_File; - public static final int DIRECTORY_TYPE = FoamXType._Type_Directory; - public static final int TIME_TYPE = FoamXType._Type_Time; - - public static final int DIMENSIONSET_TYPE = FoamXType._Type_DimensionSet; - public static final int VECTORSPACE_TYPE = FoamXType._Type_FixedList; - public static final int LIST_TYPE = FoamXType._Type_List; - public static final int DICTIONARY_TYPE = FoamXType._Type_Dictionary; - public static final int SELECTION_TYPE = FoamXType._Type_Selection; - public static final int COMPOUND_TYPE = FoamXType._Type_Compound; - - //-------------------------------------------------------------------------- - - static - { - try - { - // Load icons. - icons_[UNDEFINED_TYPE] = App.getResources().getIcon("UndefinedImage"); - icons_[BOOLEAN_TYPE] = App.getResources().getIcon("BooleanImage"); - icons_[LABEL_TYPE] = App.getResources().getIcon("LabelImage"); - icons_[SCALAR_TYPE] = App.getResources().getIcon("ScalarImage"); - icons_[CHAR_TYPE] = App.getResources().getIcon("CharImage"); - icons_[WORD_TYPE] = App.getResources().getIcon("WordImage"); - icons_[STRING_TYPE] = App.getResources().getIcon("StringImage"); - - icons_[ROOTDIR_TYPE] = App.getResources().getIcon("StringImage"); - icons_[ROOTANDCASE_TYPE] = App.getResources().getIcon("StringImage"); - icons_[CASENAME_TYPE] = App.getResources().getIcon("StringImage"); - icons_[HOSTNAME_TYPE] = App.getResources().getIcon("StringImage"); - icons_[FILE_TYPE] = App.getResources().getIcon("StringImage"); - icons_[DIRECTORY_TYPE] = App.getResources().getIcon("StringImage"); - icons_[TIME_TYPE] = App.getResources().getIcon("StringImage"); - - icons_[DIMENSIONSET_TYPE] = App.getResources().getIcon("DimensionSetImage"); - icons_[VECTORSPACE_TYPE] = App.getResources().getIcon("FixedListImage"); - icons_[LIST_TYPE] = App.getResources().getIcon("ListImage"); - icons_[DICTIONARY_TYPE] = App.getResources().getIcon("DictionaryImage"); - icons_[SELECTION_TYPE] = App.getResources().getIcon("SelectionImage"); - icons_[COMPOUND_TYPE] = App.getResources().getIcon("CompoundImage"); - - // Load display names. - names_[UNDEFINED_TYPE] = "Undefined"; - names_[BOOLEAN_TYPE] = "Boolean"; - names_[LABEL_TYPE] = "Label"; - names_[SCALAR_TYPE] = "Scalar"; - names_[CHAR_TYPE] = "Char"; - names_[WORD_TYPE] = "Word"; - names_[STRING_TYPE] = "String"; - - names_[ROOTDIR_TYPE] = "RootDir"; - names_[ROOTANDCASE_TYPE] = "RootAndCase"; - names_[CASENAME_TYPE] = "CaseName"; - names_[HOSTNAME_TYPE] = "HostName"; - names_[FILE_TYPE] = "File"; - names_[DIRECTORY_TYPE] = "Directory"; - names_[TIME_TYPE] = "Time"; - - names_[DIMENSIONSET_TYPE] = "DimensionSet"; - names_[VECTORSPACE_TYPE] = "FixedList"; - names_[LIST_TYPE] = "List"; - names_[DICTIONARY_TYPE] = "Dictionary"; - names_[SELECTION_TYPE] = "Selection"; - names_[COMPOUND_TYPE] = "Compound"; - - // Load name-type pair objects. - namedTypes_[UNDEFINED_TYPE] = new FoamXNamedType(FoamXType._Type_Undefined); - namedTypes_[BOOLEAN_TYPE] = new FoamXNamedType(FoamXType._Type_Boolean); - namedTypes_[LABEL_TYPE] = new FoamXNamedType(FoamXType._Type_Label); - namedTypes_[SCALAR_TYPE] = new FoamXNamedType(FoamXType._Type_Scalar); - namedTypes_[CHAR_TYPE] = new FoamXNamedType(FoamXType._Type_Char); - namedTypes_[WORD_TYPE] = new FoamXNamedType(FoamXType._Type_Word); - namedTypes_[STRING_TYPE] = new FoamXNamedType(FoamXType._Type_String); - - namedTypes_[ROOTDIR_TYPE] = new FoamXNamedType(FoamXType._Type_RootDir); - namedTypes_[ROOTANDCASE_TYPE] = new FoamXNamedType(FoamXType._Type_RootAndCase); - namedTypes_[CASENAME_TYPE] = new FoamXNamedType(FoamXType._Type_CaseName); - namedTypes_[HOSTNAME_TYPE] = new FoamXNamedType(FoamXType._Type_HostName); - namedTypes_[FILE_TYPE] = new FoamXNamedType(FoamXType._Type_File); - namedTypes_[DIRECTORY_TYPE] = new FoamXNamedType(FoamXType._Type_Directory); - namedTypes_[TIME_TYPE] = new FoamXNamedType(FoamXType._Type_Time); - - namedTypes_[DIMENSIONSET_TYPE] = new FoamXNamedType(FoamXType._Type_DimensionSet); - namedTypes_[VECTORSPACE_TYPE] = new FoamXNamedType(FoamXType._Type_FixedList); - namedTypes_[LIST_TYPE] = new FoamXNamedType(FoamXType._Type_List); - namedTypes_[DICTIONARY_TYPE] = new FoamXNamedType(FoamXType._Type_Dictionary); - namedTypes_[SELECTION_TYPE] = new FoamXNamedType(FoamXType._Type_Selection); - namedTypes_[COMPOUND_TYPE] = new FoamXNamedType(FoamXType._Type_Compound); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public static void initialiseCombo(JComboBox combo) - { - for (int i=0; i -* Handy for use with NetBeans Developer's internal execution. Then the -* statistic of free memory in the whole environment is displayed. -*/ -public class MemoryView - extends javax.swing.JFrame -{ - /** bundle to use */ - private static ResourceBundle bundle = - ResourceBundle.getBundle ("resources.MemoryViewLocale"); - /** message of free memory */ - private static MessageFormat msgMemory = - new MessageFormat (bundle.getString ("TXT_STATUS")); - - /** default update time */ - private static final int UPDATE_TIME = 1000; - /** timer to invoke updating */ - private Timer timer; - - - /** Initializes the Form */ - public MemoryView() - { - initComponents (); - - setTitle (bundle.getString ("TXT_TITLE")); - doGarbage.setText (bundle.getString ("TXT_GARBAGE")); - doRefresh.setText (bundle.getString ("TXT_REFRESH")); - doClose.setText (bundle.getString ("TXT_CLOSE")); - - txtTime.setText (bundle.getString ("TXT_TIME")); - doTime.setText (bundle.getString ("TXT_SET_TIME")); - time.setText (String.valueOf (UPDATE_TIME)); - time.selectAll (); - time.requestFocus (); - - updateStatus (); - - timer = new Timer - ( - UPDATE_TIME, - new ActionListener () - { - public void actionPerformed (ActionEvent ev) - { - updateStatus (); - } - } - ); - timer.setRepeats (true); - - pack (); - } - - /** Starts the timer. - */ - public void addNotify () - { - super.addNotify (); - timer.start (); - } - - /** Stops the timer. - */ - public void removeNotify () - { - super.removeNotify (); - timer.stop (); - } - - /** Updates the status of all components */ - private void updateStatus () - { - Runtime r = Runtime.getRuntime (); - long free = r.freeMemory (); - long total = r.totalMemory (); - - // when bigger than integer then divide by two - while (total> Integer.MAX_VALUE) - { - total = total>> 1; - free = free>> 1; - } - - int taken = (int) (total - free); - - status.setMaximum ((int)total); - status.setValue (taken); - - text.setText - ( - msgMemory.format - ( - new Object[] - { - new Long (total), - new Long (free), - new Integer (taken) - } - ) - ); - text.invalidate(); - validate(); - } - - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents () - {//GEN-BEGIN:initComponents - jPanel1 = new javax.swing.JPanel (); - text = new javax.swing.JLabel (); - status = new javax.swing.JProgressBar (); - jPanel2 = new javax.swing.JPanel (); - doGarbage = new javax.swing.JButton (); - doRefresh = new javax.swing.JButton (); - doClose = new javax.swing.JButton (); - jPanel3 = new javax.swing.JPanel (); - txtTime = new javax.swing.JLabel (); - time = new javax.swing.JTextField (); - doTime = new javax.swing.JButton (); - addWindowListener (new java.awt.event.WindowAdapter () - { - public void windowClosing (java.awt.event.WindowEvent evt) - { - exitForm (evt); - } - } - ); - - jPanel1.setLayout (new java.awt.BorderLayout ()); - - - jPanel1.add (text, java.awt.BorderLayout.SOUTH); - - - jPanel1.add (status, java.awt.BorderLayout.CENTER); - - - getContentPane ().add (jPanel1, java.awt.BorderLayout.CENTER); - - - doGarbage.addActionListener (new java.awt.event.ActionListener () - { - public void actionPerformed (java.awt.event.ActionEvent evt) - { - doGarbageActionPerformed (evt); - } - } - ); - - jPanel2.add (doGarbage); - - doRefresh.addActionListener (new java.awt.event.ActionListener () - { - public void actionPerformed (java.awt.event.ActionEvent evt) - { - doRefreshActionPerformed (evt); - } - } - ); - - jPanel2.add (doRefresh); - - doClose.addActionListener (new java.awt.event.ActionListener () - { - public void actionPerformed (java.awt.event.ActionEvent evt) - { - doCloseActionPerformed (evt); - } - } - ); - - jPanel2.add (doClose); - - - getContentPane ().add (jPanel2, java.awt.BorderLayout.SOUTH); - - jPanel3.setLayout (new java.awt.BorderLayout (0, 20)); - - - jPanel3.add (txtTime, java.awt.BorderLayout.WEST); - - - jPanel3.add (time, java.awt.BorderLayout.CENTER); - - doTime.addActionListener (new java.awt.event.ActionListener () - { - public void actionPerformed (java.awt.event.ActionEvent evt) - { - setRefreshTime (evt); - } - } - ); - - jPanel3.add (doTime, java.awt.BorderLayout.EAST); - - - getContentPane ().add (jPanel3, java.awt.BorderLayout.NORTH); - - }//GEN-END:initComponents - - /** Exit the Application */ - private void exitForm (java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_exitForm - //System.exit(0); - // Close this dialog. - setVisible(false); - dispose(); - }//GEN-LAST:event_exitForm - - private void setRefreshTime (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_setRefreshTime - try { - int rate = Integer.valueOf (time.getText ()).intValue (); - timer.setDelay (rate); - } catch (NumberFormatException ex) - { - time.setText (String.valueOf (timer.getDelay ())); - } - time.selectAll (); - time.requestFocus (); - }//GEN-LAST:event_setRefreshTime - - - private void doCloseActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_doCloseActionPerformed - exitForm (null); - }//GEN-LAST:event_doCloseActionPerformed - - - private void doRefreshActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_doRefreshActionPerformed - updateStatus (); - }//GEN-LAST:event_doRefreshActionPerformed - - private void doGarbageActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_doGarbageActionPerformed - System.gc (); - updateStatus (); - }//GEN-LAST:event_doGarbageActionPerformed - - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel jPanel1; - private javax.swing.JLabel text; - private javax.swing.JProgressBar status; - private javax.swing.JPanel jPanel2; - private javax.swing.JButton doGarbage; - private javax.swing.JButton doRefresh; - private javax.swing.JButton doClose; - private javax.swing.JPanel jPanel3; - private javax.swing.JLabel txtTime; - private javax.swing.JTextField time; - private javax.swing.JButton doTime; - // End of variables declaration//GEN-END:variables - - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/MenuItemActionChangedListener.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/MenuItemActionChangedListener.java deleted file mode 100644 index 3808dc7826..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/MenuItemActionChangedListener.java +++ /dev/null @@ -1,63 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -import java.beans.*; -import javax.swing.*; - -public class MenuItemActionChangedListener - implements PropertyChangeListener -{ - private JMenuItem menuItem_; - - public MenuItemActionChangedListener(JMenuItem menuItem) - { - super(); - menuItem_ = menuItem; - } - - public void propertyChange(PropertyChangeEvent e) - { - String propertyName = e.getPropertyName(); - if (e.getPropertyName().equals(Action.NAME)) - { - // Change the label on the menu item if the action name has changed. - String text = (String)e.getNewValue(); - menuItem_.setText(text); - } - else if (propertyName.equals("enabled")) - { - // Disable the menu item if the action has been disabled. - Boolean enabledState = (Boolean)e.getNewValue(); - menuItem_.setEnabled(enabledState.booleanValue()); - } - } -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ReferenceCount.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ReferenceCount.java deleted file mode 100644 index 4b6c6cf12c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ReferenceCount.java +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -public interface ReferenceCount -{ - public int addRef(); - public int release(); - public int refCount(); -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ResourceHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ResourceHelper.java deleted file mode 100644 index c1554cc257..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/ResourceHelper.java +++ /dev/null @@ -1,249 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.util.*; -import java.net.URL; -import javax.swing.ImageIcon; - -import FoamX.App; - -public class ResourceHelper - extends Object -{ - //-------------------------------------------------------------------------- - - private ResourceBundle resources_; - - //-------------------------------------------------------------------------- - /** ResourceHelper constructor. */ - public ResourceHelper(String bundleName) throws MissingResourceException - { - try - { - // Get the application resource bundle object. - resources_ = ResourceBundle.getBundle(bundleName, Locale.getDefault()); - } - catch (MissingResourceException mre) - { - App.handleException(mre); - } - } - - //-------------------------------------------------------------------------- - /** Extract a simple string from the resource bundle. */ - public String getResourceString(String key) throws MissingResourceException - { - String str = null; - - try - { - str = resources_.getString(key); - } - catch (MissingResourceException mre) - { - App.handleException(mre); - } - - return str; - } - - //-------------------------------------------------------------------------- - - public String[] getResourceStringArray(String key) throws MissingResourceException - { - String[] strArray = null; - - try - { - String str = resources_.getString(key); - strArray = tokenizeString(str); - } - catch (MissingResourceException mre) - { - App.handleException(mre); - } - - return strArray; - } - - //-------------------------------------------------------------------------- - - public URL getResourceURL(String key) throws MissingResourceException - { - URL url = null; - - try - { - // Get the Url string from the resource file. - String name = resources_.getString(key); - url = getClass().getResource(name); - - // Check that this Url is valid. - if (url == null) - { - throw new MissingResourceException - ( - "Invalid Url", - "URL", - key - ); - } - } - catch (MissingResourceException mre) - { - App.handleException(mre); - } - - return url; - } - - //-------------------------------------------------------------------------- - /** - * Returns the Icon associated with the name from the resources. - * The resouce should be in the path. - * @param key Name of the resource specifying the icon. - * @return The ImageIcon object or null if the icon is not found. - */ - public ImageIcon getIcon(String key) throws MissingResourceException - { - ImageIcon icon = null; - - try - { - // Get the Url string from the resource file. - String name = resources_.getString(key); - URL url = getClass().getResource(name); - - // Check that this Url is valid. - if (url == null) - { - throw new MissingResourceException - ( - "Invalid Url", - "URL", - key - ); - } - - // Load the icon at the Url. - icon = new ImageIcon(url); - - if (icon == null) - { - throw new MissingResourceException - ( - "Invalid Icon Url", - "ImageIcon", - key - ); - } - } - catch (MissingResourceException mre) - { - App.handleException(mre); - } - - return icon; - } - - //-------------------------------------------------------------------------- - /** - * Returns the Icon from the specified URL. - */ - public ImageIcon getIcon(URL url) throws MissingResourceException - { - // Check that this Url is valid. - if (url == null) - { - throw new MissingResourceException - ( - "Invalid Url", - "URL", - "null" - ); - } - - ImageIcon icon = null; - - try - { - // Load the icon at the Url. - icon = new ImageIcon(url); - - if (icon == null) - { - throw new MissingResourceException - ( - "Invalid Url", - "ImageIcon", - url.toString() - ); - } - } - catch (MissingResourceException mre) - { - App.handleException(mre); - } - - return icon; - } - - //-------------------------------------------------------------------------- - /** - * Take the given string and chop it up into a series of - * strings on whitespace boundries. This is useful for - * getting an array of strings out of the resource file. - */ - protected String[] tokenizeString(String input) - { - Vector v = new Vector(); - StringTokenizer t = new StringTokenizer(input); - String cmd[]; - - while (t.hasMoreTokens()) - { - v.addElement(t.nextToken()); - } - cmd = new String[v.size()]; - for (int i=0; i - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/RunPanel.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/RunPanel.java deleted file mode 100644 index c7148d011c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/RunPanel.java +++ /dev/null @@ -1,872 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.Util; - -import java.io.*; -import java.util.*; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import org.omg.CORBA.StringHolder; - -import FoamXServer.*; -import FoamXServer.CaseBrowser.*; - -import FoamX.App; -import FoamX.Exceptions.FoamXCancel; -import FoamX.Exceptions.FoamXException; -import FoamX.Util.BusyCursor; -import FoamX.Util.FileEditor; -import FoamX.Tools.InvokeUtilityAction; -import FoamX.CaseManagement.HostChooserDlg; -import FoamX.CaseManagement.CaseManager; -import FoamX.Util.FileMonitor; -import FoamX.Util.FileListener; -import FoamX.Util.FileEvent; - -import FoamX.Editors.CompoundEditor; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryCache; -import FoamX.Editors.DictionaryEntryEditor.EntryCache.DictionaryEntryCache; - -public class RunPanel - extends javax.swing.JDialog - implements FileListener -{ - //-------------------------------------------------------------------------- - - private static final int DEFAULT_HEIGHT = 400; - private static final int DEFAULT_WIDTH = 400; - - //-------------------------------------------------------------------------- - - protected java.awt.Frame parent_; - protected ICaseBrowser caseBrowser_; - protected String caseRoot_; - protected String caseName_; - protected String appName_; - protected String dictName_; - protected DictionaryCache controlDict_; // Utility top level dict - protected boolean hasArgs_; // has 'arguments' entry - protected boolean nonDefaultArgs_; // needs other than - // just case/root - - protected String[] args_; - - - //-------------------------------------------------------------------------- - /** Creates new form RunPanel */ - public RunPanel - ( - java.awt.Frame parent, - ICaseBrowser caseBrowser, - String caseRoot, - String caseName, - String appName, // application to invoke - boolean isApp, // application or utility - String dictName, // dictionary to edit (if any) - DictionaryCache controlDict // entry of dictionary (if any) - ) - { - super(parent, "Run Editor", false); // Non modal. - - parent_ = parent; - - try - { - caseBrowser_ = caseBrowser; - caseRoot_ = caseRoot; - caseName_ = caseName; - appName_ = appName; - dictName_ = dictName; - controlDict_ = controlDict; - - initComponents(); - - - // Title - setTitle(appName_); - - // - // Initialise various input fields - // - - // Enable background running for Applications - if (isApp) - { - backgroundBox_.setSelected(true); - } - - // Start without args - argListText_.setText(""); - argListText_.setEnabled(false); - - // Run on local host - StringHolder holder = new StringHolder(); - caseBrowser_.getHostName(holder); - machineText_.setText(holder.value); - - args_ = new String[1]; - args_[0] = ""; - - if (controlDict_ == null) - { - dictNameText_.setText(""); - dictNameText_.setEnabled(false); - - editDictButton_.setEnabled(false); - - // Set argument list to root and case - setArgsField(true, null); - editArgsButton_.setEnabled(false); - } - else - { - dictNameText_.setText(controlDict_.getEntryName()); - dictNameText_.setEnabled(false); - - editDictButton_.setEnabled(true); - - // Set argument list from entries in controlDict - setDefaultArgs(controlDict_); - //// Disalllow editing - // editArgsButton_.setEnabled(nonDefaultArgs_); - } - - if (isApp) - { - String rootAndCase = caseRoot_ + "/" + caseName_; - String logName = rootAndCase + '/' + appName_ + ".log"; - logText_.setText(logName); - } - else - { - logText_.setText(""); - } - - - setVisible(true); - } - catch(FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch(Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - // Fill in root and case in arguments in controlDict and check if more - // than root and case are needed. - private void setDefaultArgs(DictionaryCache dict) - { - hasArgs_ = false; - nonDefaultArgs_ = false; - - // Get the arguments subelement of the utility dictionary - DictionaryEntryCache argumentsEntry = dict.getSubEntry("arguments"); - - if (argumentsEntry != null) - { - hasArgs_ = true; - nonDefaultArgs_ = true; - - // Loop over all argument entries and replace rootAndCase with - // current values. - DictionaryEntryCache[] args = argumentsEntry.getSubElements(); - - for (int i = 0; i < args.length; i++) - { - DictionaryEntryCache arg = args[i]; - - int typeValue = arg.getTypeDescriptor().getType().value(); - - if (typeValue == FoamXType._Type_RootDir) - { - arg.updateValue(caseRoot_); - } - else if (typeValue == FoamXType._Type_RootAndCase) - { - arg.updateValue(caseRoot_ + "/" + caseName_); - - if (args.length == 1) - { - // Only one argument which is case and root. - nonDefaultArgs_ = false; - } - } - else if (typeValue == FoamXType._Type_CaseName) - { - arg.updateValue(caseName_); - } - } - - // Update displayed argument string - setArgsField(false, argumentsEntry); - } - } - - //-------------------------------------------------------------------------- - // Set arguments textField from control dictionary arguments or - // straight from root,case. - private void setArgsField - ( - boolean isApp, - DictionaryEntryCache argumentsEntry - ) - { - if (argumentsEntry != null) - { - //- Get arguments as vector first - Vector argsVector = new Vector(); - argumentsEntry.toStringRaw(argsVector); - - // Set both args_(for calling) and argString(for displaying) - - args_ = new String[argsVector.size()]; - String argString = ""; - - int argi = 0; - - for (int i = 0; i < argsVector.size(); i++) - { - String arg = (String)argsVector.elementAt(i); - - args_[argi++] = arg; - argString += arg; - - if (i <= argsVector.size() - 1) - { - argString += ' '; - } - } - - argListText_.setText(argString); - } - else if (isApp) - { - args_ = new String[2]; - args_[0] = "-case"; - args_[1] = caseRoot_ + '/' + caseName_; - argListText_.setText(args_[0] + " " + args_[1]); - } - } - - //-------------------------------------------------------------------------- - // Has dictionary been modified (and needs to be saved)? - // If only 'arguments' entry changed don't bother saving - private boolean dictModified() - { - try - { - if (controlDict_ == null) - { - return false; - } - - // Underlying dictionary has not been modified - if (!controlDict_.getDictEntry().modified()) - { - return false; - } - - // Has been modified. Check if only arguments have been modified. - - int nSubEntries = controlDict_.getDictEntry().nSubElements(); - if (nSubEntries == 0) - { - return false; - } - if (nSubEntries > 1) - { - return true; - } - - // Only one entry in controlDict. Is arguments? - if (hasArgs_) - { - return false; - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - - return true; - } - - //-------------------------------------------------------------------------- - //---- FileListener Interface - //-------------------------------------------------------------------------- - - public void fileOpened(FileEvent evt) - { - } - - public void fileClosed(FileEvent evt) - { - } - - public void fileChanged(FileEvent evt) - { - String fName = evt.file().getPath(); - - int index = fName.lastIndexOf('.'); - - if (index >= 0) - { - JOptionPane.showMessageDialog - ( - this, - "Application " + appName_ - + " (pid " + fName.substring(index+1) + ") finished", - "FoamX...", - JOptionPane.INFORMATION_MESSAGE - ); - } - FileMonitor fm = (FileMonitor)evt.getSource(); - - fm.removeFileListener(this); - } - - //-------------------------------------------------------------------------- - //---- GUI - //-------------------------------------------------------------------------- - - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to - * initialize the form. - * WARNING: Do NOT modify this code. The content of this method is - * always regenerated by the FormEditor. - */ - private void initComponents()//GEN-BEGIN:initComponents - { - mainPanel_ = new javax.swing.JPanel(); - editDictButton_ = new javax.swing.JButton(); - dictNameText_ = new javax.swing.JTextField(); - editArgsButton_ = new javax.swing.JButton(); - argListText_ = new javax.swing.JTextField(); - startRunButton_ = new javax.swing.JButton(); - machineLabel_ = new javax.swing.JLabel(); - machineText_ = new javax.swing.JTextField(); - backgroundBox_ = new javax.swing.JCheckBox(); - logLabel_ = new javax.swing.JLabel(); - viewLogButton_ = new javax.swing.JButton(); - logText_ = new javax.swing.JTextField(); - buttonPanel_ = new javax.swing.JPanel(); - closeButton_ = new javax.swing.JButton(); - - getContentPane().setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints1; - - setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); - setTitle("Run Editor"); - setFont(new java.awt.Font("Dialog", 0, 10)); - setName("Run Editor"); - addWindowListener(new java.awt.event.WindowAdapter() - { - public void windowClosing(java.awt.event.WindowEvent evt) - { - closeDialog(evt); - } - }); - - mainPanel_.setLayout(new java.awt.GridBagLayout()); - java.awt.GridBagConstraints gridBagConstraints2; - - mainPanel_.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10))); - mainPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - mainPanel_.setPreferredSize(new java.awt.Dimension(400, 200)); - editDictButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - editDictButton_.setText("Edit Dictionary"); - editDictButton_.setMaximumSize(new java.awt.Dimension(117, 24)); - editDictButton_.setMinimumSize(new java.awt.Dimension(117, 24)); - editDictButton_.setPreferredSize(new java.awt.Dimension(117, 21)); - editDictButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - editDictButton_ActionPerformed(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - mainPanel_.add(editDictButton_, gridBagConstraints2); - - dictNameText_.setFont(new java.awt.Font("Dialog", 0, 10)); - dictNameText_.setText("dictionaryName"); - dictNameText_.setMinimumSize(new java.awt.Dimension(250, 17)); - dictNameText_.setPreferredSize(new java.awt.Dimension(300, 17)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 0; - gridBagConstraints2.gridwidth = 5; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - mainPanel_.add(dictNameText_, gridBagConstraints2); - - editArgsButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - editArgsButton_.setText("Edit Arguments"); - editArgsButton_.setMaximumSize(new java.awt.Dimension(117, 24)); - editArgsButton_.setMinimumSize(new java.awt.Dimension(117, 24)); - editArgsButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - editArgsButton_ActionPerformed(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 1; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(0, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - mainPanel_.add(editArgsButton_, gridBagConstraints2); - - argListText_.setFont(new java.awt.Font("Dialog", 0, 10)); - argListText_.setText("root case"); - argListText_.setMinimumSize(new java.awt.Dimension(250, 17)); - argListText_.setPreferredSize(new java.awt.Dimension(300, 17)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 1; - gridBagConstraints2.gridwidth = 5; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - mainPanel_.add(argListText_, gridBagConstraints2); - - startRunButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - startRunButton_.setText("Execute"); - startRunButton_.setMaximumSize(new java.awt.Dimension(117, 24)); - startRunButton_.setMinimumSize(new java.awt.Dimension(117, 24)); - startRunButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - startRunButton_ActionPerformed(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 2; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(0, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - mainPanel_.add(startRunButton_, gridBagConstraints2); - - machineLabel_.setFont(new java.awt.Font("Dialog", 0, 10)); - machineLabel_.setText("machine:"); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 2; - gridBagConstraints2.anchor = java.awt.GridBagConstraints.EAST; - mainPanel_.add(machineLabel_, gridBagConstraints2); - - machineText_.setFont(new java.awt.Font("Dialog", 0, 10)); - machineText_.setText("penfold"); - machineText_.setToolTipText("Machine Name"); - machineText_.setMinimumSize(new java.awt.Dimension(60, 15)); - machineText_.setPreferredSize(new java.awt.Dimension(60, 15)); - machineText_.addMouseListener(new java.awt.event.MouseAdapter() - { - public void mouseClicked(java.awt.event.MouseEvent evt) - { - machineText_MouseClicked(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 2; - gridBagConstraints2.gridy = 2; - gridBagConstraints2.gridwidth = 3; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - mainPanel_.add(machineText_, gridBagConstraints2); - - backgroundBox_.setFont(new java.awt.Font("Dialog", 0, 10)); - backgroundBox_.setText("background"); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 5; - gridBagConstraints2.gridy = 2; - gridBagConstraints2.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.EAST; - mainPanel_.add(backgroundBox_, gridBagConstraints2); - - logLabel_.setFont(new java.awt.Font("Dialog", 0, 10)); - logLabel_.setText("log:"); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 1; - gridBagConstraints2.gridy = 3; - gridBagConstraints2.anchor = java.awt.GridBagConstraints.EAST; - mainPanel_.add(logLabel_, gridBagConstraints2); - - viewLogButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - viewLogButton_.setText("View Log"); - viewLogButton_.setMaximumSize(new java.awt.Dimension(117, 24)); - viewLogButton_.setMinimumSize(new java.awt.Dimension(117, 24)); - viewLogButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - viewLogButton_ActionPerformed(evt); - } - }); - - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 0; - gridBagConstraints2.gridy = 3; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints2.insets = new java.awt.Insets(0, 5, 5, 5); - gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; - mainPanel_.add(viewLogButton_, gridBagConstraints2); - - logText_.setFont(new java.awt.Font("Dialog", 0, 10)); - logText_.setText("log.icoFoam"); - logText_.setMinimumSize(new java.awt.Dimension(250, 15)); - gridBagConstraints2 = new java.awt.GridBagConstraints(); - gridBagConstraints2.gridx = 2; - gridBagConstraints2.gridy = 3; - gridBagConstraints2.gridwidth = 4; - gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; - mainPanel_.add(logText_, gridBagConstraints2); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 0; - gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints1.insets = new java.awt.Insets(5, 5, 5, 5); - gridBagConstraints1.weightx = 1.0; - gridBagConstraints1.weighty = 1.0; - getContentPane().add(mainPanel_, gridBagConstraints1); - - buttonPanel_.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT)); - - buttonPanel_.setBorder(new javax.swing.border.EtchedBorder()); - buttonPanel_.setFont(new java.awt.Font("Dialog", 0, 10)); - buttonPanel_.setPreferredSize(new java.awt.Dimension(400, 100)); - closeButton_.setFont(new java.awt.Font("Dialog", 0, 10)); - closeButton_.setText("Close"); - closeButton_.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - OnClose(evt); - } - }); - - buttonPanel_.add(closeButton_); - - gridBagConstraints1 = new java.awt.GridBagConstraints(); - gridBagConstraints1.gridx = 0; - gridBagConstraints1.gridy = 1; - gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints1.weightx = 1.0; - getContentPane().add(buttonPanel_, gridBagConstraints1); - - pack(); - java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - setSize(new java.awt.Dimension(480, 200)); - setLocation((screenSize.width-480)/2,(screenSize.height-200)/2); - }//GEN-END:initComponents - - private void machineText_MouseClicked(java.awt.event.MouseEvent evt)//GEN-FIRST:event_machineText_MouseClicked - {//GEN-HEADEREND:event_machineText_MouseClicked - // Add your handling code here: - - // Pop up host chooser panel - HostChooserDlg hostChooser = - new HostChooserDlg(parent_); - hostChooser.setVisible(true); - - if (hostChooser.getHostName() != null) - { - machineText_.setText(hostChooser.getHostName()); - } - }//GEN-LAST:event_machineText_MouseClicked - - private void viewLogButton_ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_viewLogButton_ActionPerformed - {//GEN-HEADEREND:event_viewLogButton_ActionPerformed - // Add your handling code here: - - if (logText_.getText().length() > 0) - { - new FileEditor - ( - true, // modal - false, // Edit mode - caseBrowser_, - logText_.getText(), - 0, - 0, - 0 - ); - } - - }//GEN-LAST:event_viewLogButton_ActionPerformed - - private void startRunButton_ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_startRunButton_ActionPerformed - {//GEN-HEADEREND:event_startRunButton_ActionPerformed - // Add your handling code here: - - try - { - // Try to save first - CaseManager caseManager = App.getCaseManager(); - if (caseManager == null) - { - throw new FoamXException - ( - "No caseManager in top-level App." - ); - } - caseManager.saveCaseNice(caseRoot_, caseName_); - - // Actually invoke utility on the caseBrowser. - int pid = caseBrowser_.invokeUtility - ( - machineText_.getText(), - appName_, - args_, - logText_.getText(), - backgroundBox_.isSelected() - ); - - if (backgroundBox_.isSelected()) - { - // When running in background print pid started with and - // install filemonitor to check for finishing. - if (pid != -1) - { - // Do like JOptionPane.showMessageDialog but non-modal. - // (from sable-vm) - JOptionPane pane = - new JOptionPane - ( - "Application " + appName_ - + " started with pid " + pid, - JOptionPane.INFORMATION_MESSAGE - ); - JDialog dialog = pane.createDialog(this, "FoamX..."); - dialog.setModal(false); - dialog.pack(); - dialog.setVisible(true); - - // Install new file change listener - StringHolder holder = new StringHolder(); - caseBrowser_.getEnv("FOAM_JOB_DIR", holder); - - File[] files = new File[1]; - files[0] = - new File - ( - holder.value - + "/finishedJobs/" - + machineText_.getText() - + "." - + pid - ); - - int sleep = Integer.parseInt - ( - App.getOptions().getProperty("FoamX.FileSleep", "5000") - ); - - FileMonitor finishedMonitor = - new FileMonitor(caseBrowser_, files, sleep); - - finishedMonitor.addFileListener(this); - - Thread monitorThread = new Thread(finishedMonitor); - - monitorThread.start(); - } - } - else - { - // Foreground running. Warn when finished. - JOptionPane.showMessageDialog - ( - this, - "Application " + appName_ + " (pid " + pid - + ") finished successfully", - "FoamX...", - JOptionPane.INFORMATION_MESSAGE - ); - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXException ex) - { - App.handleAllExceptions(ex); - } - - }//GEN-LAST:event_startRunButton_ActionPerformed - - private void editArgsButton_ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_editArgsButton_ActionPerformed - {//GEN-HEADEREND:event_editArgsButton_ActionPerformed - // Add your handling code here: - - try - { - if (controlDict_ != null) - { - // Get the arguments subelement of the utility dictionary - DictionaryEntryCache argumentsEntry = - controlDict_.getSubEntry("arguments"); - if (argumentsEntry != null) - { - CompoundEditor compoundEditor = - new CompoundEditor - ( - parent_, - argumentsEntry.getDictEntry() - ); - compoundEditor.setVisible(true); - - // Update displayed value - setArgsField(false, argumentsEntry); - - } - if (dictModified()) - { - controlDict_.getDictEntry().save(); - } - } - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - - }//GEN-LAST:event_editArgsButton_ActionPerformed - - private void editDictButton_ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_editDictButton_ActionPerformed - {//GEN-HEADEREND:event_editDictButton_ActionPerformed - // Add your handling code here: - - try - { - CompoundEditor compoundEditor = - new CompoundEditor - ( - parent_, - controlDict_.getDictEntry() - ); - - compoundEditor.setVisible(true); - - DictionaryEntryCache argumentsEntry = - controlDict_.getSubEntry("arguments"); - - // Update displayed value - setArgsField(false, argumentsEntry); - - if (dictModified()) - { - controlDict_.getDictEntry().save(); - } - } - catch (FoamXError fxErr) - { - App.handleAllExceptions(fxErr); - } - catch (FoamXIOError ioErr) - { - App.handleAllExceptions(ioErr); - } - - }//GEN-LAST:event_editDictButton_ActionPerformed - - //-------------------------------------------------------------------------- - - private void shapeTypeComboActionPerformed (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_shapeTypeComboActionPerformed - }//GEN-LAST:event_shapeTypeComboActionPerformed - - //-------------------------------------------------------------------------- - - private void OnClose (java.awt.event.ActionEvent evt) - {//GEN-FIRST:event_OnClose - setVisible(false); - dispose(); - }//GEN-LAST:event_OnClose - - //-------------------------------------------------------------------------- - /** Closes the dialog */ - - private void closeDialog(java.awt.event.WindowEvent evt) - {//GEN-FIRST:event_closeDialog - setVisible(false); - dispose(); - }//GEN-LAST:event_closeDialog - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel mainPanel_; - private javax.swing.JButton editDictButton_; - private javax.swing.JTextField dictNameText_; - private javax.swing.JButton editArgsButton_; - private javax.swing.JTextField argListText_; - private javax.swing.JButton startRunButton_; - private javax.swing.JLabel machineLabel_; - private javax.swing.JTextField machineText_; - private javax.swing.JCheckBox backgroundBox_; - private javax.swing.JLabel logLabel_; - private javax.swing.JButton viewLogButton_; - private javax.swing.JTextField logText_; - private javax.swing.JPanel buttonPanel_; - private javax.swing.JButton closeButton_; - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/SimpleEditor.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/SimpleEditor.java deleted file mode 100644 index e7a7c0d2fc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/SimpleEditor.java +++ /dev/null @@ -1,705 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -import java.awt.*; -import java.awt.event.*; -import java.io.*; -import java.util.Hashtable; - -import javax.swing.*; -import javax.swing.text.*; -import javax.swing.event.*; -import javax.swing.undo.*; - -import FoamX.App; -import FoamXServer.CaseBrowser.ICaseBrowser; - - -public class SimpleEditor extends JFrame implements FileListener -{ - JTextPane textPane_; - DefaultStyledDocument lsd_; - Hashtable actions_; - JFileChooser fileChooser_; - File file_; - - // Listen for changes to followed file - FileMonitor monitor_; - - // Casebrowser reference - ICaseBrowser caseBrowser_; - - boolean followMode_; - - // Objects interested in file status - protected EventListenerList listenerList_; - - //undo helpers - protected UndoAction undoAction_; - protected RedoAction redoAction_; - protected UndoManager undo_ = new UndoManager(); - - public SimpleEditor() - { - //some initial setup - super("Simple Editor"); - - monitor_ = null; - - caseBrowser_ = null; - - followMode_ = false; - - //Create the document for the text area. - lsd_ = new DefaultStyledDocument(); - - initComponents(); - - // Create listener list. - listenerList_ = new EventListenerList(); - - //Start watching for undoable edits and caret changes. - lsd_.addUndoableEditListener(new MyUndoableEditListener()); - } - - //-------------------------------------------------------------------------- - /** Access textPane */ - public JTextPane getTextPane() - { - return textPane_; - } - - - //-------------------------------------------------------------------------- - /** Initialize gui - */ - private void initComponents() - { - //Create the text pane and configure it. - textPane_ = new JTextPane(lsd_); - textPane_.setCaretPosition(0); - textPane_.setMargin(new Insets(5,5,5,5)); - textPane_.setFont(new java.awt.Font("Monospaced", 0, 12)); - - JScrollPane scrollPane = new JScrollPane(textPane_); - scrollPane.setPreferredSize(new Dimension(660, 400)); - - setContentPane(scrollPane); - - //Set up the menu bar. - createActionTable(textPane_); - - fileChooser_ = new JFileChooser(); - - JMenu fileMenu = createfileMenu(); - JMenu editMenu = createEditMenu(); - JMenuBar mb = new JMenuBar(); - mb.add(fileMenu); - mb.add(editMenu); - setJMenuBar(mb); - - pack(); - - setDefaultCloseOperation - ( - javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE - ); - addWindowListener - ( - new WindowAdapter() - { - public void windowClosing(WindowEvent evt) - { - exitEditor(); - } - } - ); - } - - - //-------------------------------------------------------------------------- - /** Open file */ - public void openFile(File inFile) - { - try - { - // Inform file status listeners - fireOpenFile(inFile); - - // Read data from file - int size = (int)inFile.length(); - - FileInputStream inStream = new FileInputStream(inFile); - - int nRead = 0; - byte[] data = new byte[size]; - while(nRead < size) - { - nRead += inStream.read(data, nRead, size-nRead); - } - inStream.close(); - - textPane_.setText(new String(data)); - file_ = inFile; - - // Clear undoes - undo_.discardAllEdits(); - - // Does not work. Todo - SimpleEditor.this.setTitle(file_.getName()); - } - catch (Exception ex) - { - System.out.println("Cannot open file " + inFile); - } - } - - //-------------------------------------------------------------------------- - /** Follow file */ - public void followFile(ICaseBrowser caseBrowser, File inFile) - { - try - { - caseBrowser_ = caseBrowser; - - openFile(inFile); - - followMode_ = true; - - // Disable editing - getTextPane().setEditable(false); - - System.out.println("Positioning cursor"); - JTextPane textPane = getTextPane(); - textPane.setCaretPosition(textPane.getText().length()); - - // Install file change listener - - File[] files = new File[1]; - files[0] = inFile; - - int sleep = Integer.parseInt - ( - App.getOptions().getProperty("FoamX.FileSleep", "1000") - ); - - monitor_ = new FileMonitor(caseBrowser_, files, sleep); - - monitor_.addFileListener(this); - - Thread monitorThread = new Thread(monitor_); - - monitorThread.start(); - } - catch (Exception ex) - { - System.out.println("Cannot open file " + inFile); - } - } - - //-------------------------------------------------------------------------- - /** Save file */ - protected void saveFile(File outFile) - { - try - { - FileOutputStream outStream = new FileOutputStream(outFile); - - outStream.write(textPane_.getText().getBytes()); - outStream.close(); - - // Clear undoes - undo_.discardAllEdits(); - - // Inform file status listeners - fireSaveFile(outFile); - } - catch (Exception ex) - { - System.out.println("Cannot save file " + outFile); - } - } - - //-------------------------------------------------------------------------- - /** Exit panel */ - protected void exitEditor() - { - if (undo_.canUndo()) - { - if - ( - JOptionPane.showConfirmDialog - ( - SimpleEditor.this, - "File has changed. Are you sure you want to quit?", - "Confirm Quit Operation", - JOptionPane.YES_NO_OPTION, - JOptionPane.QUESTION_MESSAGE - ) - != - JOptionPane.OK_OPTION - ) - { - return; - } - } - - if (monitor_ != null) - { - //System.out.println("Uninstalling fileMonitor on " + file_); - - monitor_.removeFileListener(this); - monitor_.stop(); - monitor_ = null; - } - - // Inform file status listeners - fireCloseFile(file_); - - // Delete my frame - setVisible(false); - dispose(); - } - - - //This one listens for edits that can be undone. - protected class MyUndoableEditListener - implements UndoableEditListener - { - public void undoableEditHappened(UndoableEditEvent e) - { - //Remember the edit and update the menus. - undo_.addEdit(e.getEdit()); - undoAction_.updateUndoState(); - redoAction_.updateRedoState(); - } - } - - - //Create the file menu. - protected JMenu createfileMenu() - { - JMenu menu = new JMenu("File"); - - ReOpenFileAction reOpenFileAction = new ReOpenFileAction(); - menu.add(reOpenFileAction); - - OpenFileAction openFileAction = new OpenFileAction(); - menu.add(openFileAction); - - SaveFileAction saveFileAction = new SaveFileAction(); - menu.add(saveFileAction); - - menu.addSeparator(); - - ExitAction exitAction = new ExitAction(); - menu.add(exitAction); - - return menu; - } - - //-------------------------------------------------------------------------- - //Create the edit menu. - protected JMenu createEditMenu() - { - JMenu menu = new JMenu("Edit"); - - //Undo and redo are actions of our own creation. - undoAction_ = new UndoAction(); - menu.add(undoAction_); - - redoAction_ = new RedoAction(); - menu.add(redoAction_); - - menu.addSeparator(); - - //These actions come from the default editor kit. - //Get the ones we want and stick them in the menu. - menu.add(getActionByName(DefaultEditorKit.cutAction)); - menu.add(getActionByName(DefaultEditorKit.copyAction)); - menu.add(getActionByName(DefaultEditorKit.pasteAction)); - - menu.addSeparator(); - - menu.add(getActionByName(DefaultEditorKit.selectAllAction)); - return menu; - } - - //-------------------------------------------------------------------------- - - //The following two methods allow us to find an - //action provided by the editor kit by its name. - private void createActionTable(JTextComponent textComponent) - { - actions_ = new Hashtable(); - Action[] actionsArray = textComponent.getActions(); - for (int i = 0; i < actionsArray.length; i++) { - Action a = actionsArray[i]; - actions_.put(a.getValue(Action.NAME), a); - } - } - - - //-------------------------------------------------------------------------- - - private Action getActionByName(String name) - { - return (Action)(actions_.get(name)); - } - - //-------------------------------------------------------------------------- - - class OpenFileAction extends AbstractAction - { - public OpenFileAction() - { - super("Open"); - setEnabled(true); - } - - public void actionPerformed(ActionEvent e) - { - if (file_ != null) - { - File parentFile = file_.getParentFile(); - if (parentFile == null) - { - parentFile = new File("."); - } - - fileChooser_.setCurrentDirectory(parentFile); - fileChooser_.setSelectedFile(file_); - } - if - ( - fileChooser_.showOpenDialog(SimpleEditor.this) - != JFileChooser.APPROVE_OPTION - ) - { - return; - } - openFile(fileChooser_.getSelectedFile()); - } - } - - //-------------------------------------------------------------------------- - - class ReOpenFileAction extends AbstractAction - { - public ReOpenFileAction() - { - super("ReOpen"); - setEnabled(true); - } - - public void actionPerformed(ActionEvent e) - { - openFile(file_); - } - } - - //-------------------------------------------------------------------------- - - class SaveFileAction extends AbstractAction - { - public SaveFileAction() - { - super("Save"); - setEnabled(true); - } - - public void actionPerformed(ActionEvent e) - { - File parentFile = file_.getParentFile(); - if (parentFile == null) - { - parentFile = new File("."); - } - - fileChooser_.setCurrentDirectory(parentFile); - fileChooser_.setSelectedFile(file_); - - if - ( - fileChooser_.showSaveDialog(SimpleEditor.this) - != JFileChooser.APPROVE_OPTION - ) - { - return; - } - saveFile(fileChooser_.getSelectedFile()); - } - } - - //-------------------------------------------------------------------------- - - class ExitAction extends AbstractAction - { - public ExitAction() - { - super("Exit"); - setEnabled(true); - } - - public void actionPerformed(ActionEvent e) - { - exitEditor(); - } - } - - //-------------------------------------------------------------------------- - - class UndoAction extends AbstractAction - { - public UndoAction() - { - super("Undo"); - setEnabled(false); - } - - public void actionPerformed(ActionEvent e) - { - try { - undo_.undo(); - } - catch (CannotUndoException ex) - { - System.out.println("Unable to undo: " + ex); - ex.printStackTrace(); - } - updateUndoState(); - redoAction_.updateRedoState(); - } - - protected void updateUndoState() - { - if (undo_.canUndo()) - { - setEnabled(true); - putValue(Action.NAME, undo_.getUndoPresentationName()); - } - else - { - setEnabled(false); - putValue(Action.NAME, "Undo"); - } - } - } - - //-------------------------------------------------------------------------- - - class RedoAction extends AbstractAction - { - public RedoAction() - { - super("Redo"); - setEnabled(false); - } - - public void actionPerformed(ActionEvent e) - { - try - { - undo_.redo(); - } - catch (CannotRedoException ex) - { - System.out.println("Unable to redo: " + ex); - ex.printStackTrace(); - } - updateRedoState(); - undoAction_.updateUndoState(); - } - - protected void updateRedoState() - { - if (undo_.canRedo()) - { - setEnabled(true); - putValue(Action.NAME, undo_.getRedoPresentationName()); - } - else - { - setEnabled(false); - putValue(Action.NAME, "Redo"); - } - } - } - - //-------------------------------------------------------------------------- - //---- FileListener Interface - //-------------------------------------------------------------------------- - - public void addFileListener(FileListener l) - { - listenerList_.add(FileListener.class, l); - } - - //-------------------------------------------------------------------------- - - public void removeFileListener(FileListener l) - { - listenerList_.remove(FileListener.class, l); - } - - //-------------------------------------------------------------------------- - - - protected void fireOpenFile(File file) - { - // Create event object. - FileEvent evt = new FileEvent(this, file); - - // Process the listeners last to first, notifying those that are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FileListener.class) - { - ((FileListener)listeners[i+1]).fileOpened(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireCloseFile(File file) - { - // Create event object. - FileEvent evt = new FileEvent(this, file); - - // Process the listeners last to first, notifying those that are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FileListener.class) - { - ((FileListener)listeners[i+1]).fileClosed(evt); - } - } - } - - //-------------------------------------------------------------------------- - - protected void fireSaveFile(File file) - { - // Create event object. - FileEvent evt = new FileEvent(this, file); - - // Process the listeners last to first, notifying those that are interested in this event. - Object[] listeners = listenerList_.getListenerList(); - for (int i=listeners.length-2; i>= 0; i-=2) - { - if (listeners[i] == FileListener.class) - { - ((FileListener)listeners[i+1]).fileChanged(evt); - } - } - } - -// //-------------------------------------------------------------------------- -// /** Starts SimpleEditor. All the reading to/from casebrowser is handled -// * by FileListener events -// */ -// public class KeepOpeningThread implements Runnable -// { -// SimpleEditor editor_; -// File file_; -// -// public KeepOpeningThread(SimpleEditor editor, File file) -// { -// super(); -// editor_ = editor; -// file_ = file; -// } -// -// public void run() -// { -// try -// { -// while (true) -// { -// System.out.println("Trying to load " + file_); -// editor_.openFile(file_); -// -// System.out.println("Positioning cursor"); -// JTextPane textPane = editor_.getTextPane(); -// String text = textPane.getText(); -// textPane.setCaretPosition(text.length()); -// -// Thread.currentThread().sleep(1000); -// } -// } -// catch(InterruptedException iex) {} -// } -// } - - - //-------------------------------------------------------------------------- - //---- FileListener Interface. - // Callback from FileMonitor (only if in follow mode) - //-------------------------------------------------------------------------- - - public void fileOpened(FileEvent evt) - {} - - public void fileClosed(FileEvent evt) - {} - - public void fileChanged(FileEvent evt) - { - File file = evt.file(); - - //System.out.println("Followed file changed " + file); - - openFile(file); - - JTextPane textPane = getTextPane(); - textPane.setCaretPosition(textPane.getText().length()); - } - - //-------------------------------------------------------------------------- - - //The standard main method. - public static void main(String[] args) - { - if (args.length != 1) - { - System.out.println("Usage: java SimpleEditor file"); - System.exit(1); - } - final SimpleEditor frame = - new SimpleEditor(); - - File file = new File(args[0]); - - frame.openFile(file); - - frame.setVisible(true); - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TabSelection.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TabSelection.java deleted file mode 100644 index 1cd8bec65e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TabSelection.java +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -public interface TabSelection -{ - public void tabSelected(); - public void tabDeselected(); -} - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableMap.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableMap.java deleted file mode 100644 index 1c99a77fb0..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableMap.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * In a chain of data manipulators some behaviour is common. TableMap - * provides most of this behavour and can be subclassed by filters - * that only need to override a handful of specific methods. TableMap - * implements TableModel by routing all requests to its model, and - * TableModelListener by routing all events to its listeners. Inserting - * a TableMap which has not been subclassed into a chain of table filters - * should have no effect. - * - * @version 1.4 12/17/97 - * @author Philip Milne */ - -package FoamX.Util; - -import javax.swing.table.*; -import javax.swing.event.TableModelListener; -import javax.swing.event.TableModelEvent; - -public class TableMap extends AbstractTableModel - implements TableModelListener { - protected TableModel model; - - public TableModel getModel() { - return model; - } - - public void setModel(TableModel model) { - this.model = model; - model.addTableModelListener(this); - } - - // By default, implement TableModel by forwarding all messages - // to the model. - - public Object getValueAt(int aRow, int aColumn) { - return model.getValueAt(aRow, aColumn); - } - - public void setValueAt(Object aValue, int aRow, int aColumn) { - model.setValueAt(aValue, aRow, aColumn); - } - - public int getRowCount() { - return (model == null) ? 0 : model.getRowCount(); - } - - public int getColumnCount() { - return (model == null) ? 0 : model.getColumnCount(); - } - - public String getColumnName(int aColumn) { - return model.getColumnName(aColumn); - } - - public Class getColumnClass(int aColumn) { - return model.getColumnClass(aColumn); - } - - public boolean isCellEditable(int row, int column) { - return model.isCellEditable(row, column); - } -// -// Implementation of the TableModelListener interface, -// - // By default forward all events to all the listeners. - public void tableChanged(TableModelEvent e) { - fireTableChanged(e); - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableSorter.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableSorter.java deleted file mode 100644 index d80c992acc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/TableSorter.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * A sorter for TableModels. The sorter has a model (conforming to TableModel) - * and itself implements TableModel. TableSorter does not store or copy - * the data in the TableModel, instead it maintains an array of - * integers which it keeps the same size as the number of rows in its - * model. When the model changes it notifies the sorter that something - * has changed eg. "rowsAdded" so that its internal array of integers - * can be reallocated. As requests are made of the sorter (like - * getValueAt(row, col) it redirects them to its model via the mapping - * array. That way the TableSorter appears to hold another copy of the table - * with the rows in a different order. The sorting algorthm used is stable - * which means that it does not move around rows when its comparison - * function returns 0 to denote that they are equivalent. - * - * @version 1.5 12/17/97 - * @author Philip Milne - */ -package FoamX.Util; - -import java.util.*; - -import javax.swing.table.TableModel; -import javax.swing.event.TableModelEvent; - -// Imports for picking up mouse events from the JTable. - -import java.awt.event.MouseAdapter; -import java.awt.event.MouseEvent; -import java.awt.event.InputEvent; -import javax.swing.JTable; -import javax.swing.table.JTableHeader; -import javax.swing.table.TableColumnModel; - -public class TableSorter extends TableMap { - int indexes[]; - Vector sortingColumns = new Vector(); - boolean ascending = true; - int compares; - - public TableSorter() { - indexes = new int[0]; // for consistency - } - - public TableSorter(TableModel model) { - setModel(model); - } - - public void setModel(TableModel model) { - super.setModel(model); - reallocateIndexes(); - } - - public int compareRowsByColumn(int row1, int row2, int column) { - Class type = model.getColumnClass(column); - TableModel data = model; - - // Check for nulls. - - Object o1 = data.getValueAt(row1, column); - Object o2 = data.getValueAt(row2, column); - - // If both values are null, return 0. - if (o1 == null && o2 == null) { - return 0; - } else if (o1 == null) { // Define null less than everything. - return -1; - } else if (o2 == null) { - return 1; - } - - /* - * We copy all returned values from the getValue call in case - * an optimised model is reusing one object to return many - * values. The Number subclasses in the JDK are immutable and - * so will not be used in this way but other subclasses of - * Number might want to do this to save space and avoid - * unnecessary heap allocation. - */ - - if (type.getSuperclass() == java.lang.Number.class) { - Number n1 = (Number)data.getValueAt(row1, column); - double d1 = n1.doubleValue(); - Number n2 = (Number)data.getValueAt(row2, column); - double d2 = n2.doubleValue(); - - if (d1 < d2) { - return -1; - } else if (d1 > d2) { - return 1; - } else { - return 0; - } - } else if (type == java.util.Date.class) { - Date d1 = (Date)data.getValueAt(row1, column); - long n1 = d1.getTime(); - Date d2 = (Date)data.getValueAt(row2, column); - long n2 = d2.getTime(); - - if (n1 < n2) { - return -1; - } else if (n1 > n2) { - return 1; - } else { - return 0; - } - } else if (type == String.class) { - String s1 = (String)data.getValueAt(row1, column); - String s2 = (String)data.getValueAt(row2, column); - int result = s1.compareTo(s2); - - if (result < 0) { - return -1; - } else if (result > 0) { - return 1; - } else { - return 0; - } - } else if (type == Boolean.class) { - Boolean bool1 = (Boolean)data.getValueAt(row1, column); - boolean b1 = bool1.booleanValue(); - Boolean bool2 = (Boolean)data.getValueAt(row2, column); - boolean b2 = bool2.booleanValue(); - - if (b1 == b2) { - return 0; - } else if (b1) { // Define false < true - return 1; - } else { - return -1; - } - } else { - Object v1 = data.getValueAt(row1, column); - String s1 = v1.toString(); - Object v2 = data.getValueAt(row2, column); - String s2 = v2.toString(); - int result = s1.compareTo(s2); - - if (result < 0) { - return -1; - } else if (result > 0) { - return 1; - } else { - return 0; - } - } - } - - public int compare(int row1, int row2) { - compares++; - for (int level = 0; level < sortingColumns.size(); level++) { - Integer column = (Integer)sortingColumns.elementAt(level); - int result = compareRowsByColumn(row1, row2, column.intValue()); - if (result != 0) { - return ascending ? result : -result; - } - } - return 0; - } - - public void reallocateIndexes() { - int rowCount = model.getRowCount(); - - // Set up a new array of indexes with the right number of elements - // for the new data model. - indexes = new int[rowCount]; - - // Initialise with the identity mapping. - for (int row = 0; row < rowCount; row++) { - indexes[row] = row; - } - } - - public void tableChanged(TableModelEvent e) { - //System.out.println("Sorter: tableChanged"); - reallocateIndexes(); - - super.tableChanged(e); - } - - public void checkModel() { - if (indexes.length != model.getRowCount()) { - System.err.println("Sorter not informed of a change in model."); - } - } - - public void sort(Object sender) { - checkModel(); - - compares = 0; - // n2sort(); - // qsort(0, indexes.length-1); - shuttlesort((int[])indexes.clone(), indexes, 0, indexes.length); - //System.out.println("Compares: "+compares); - } - - public void n2sort() { - for (int i = 0; i < getRowCount(); i++) { - for (int j = i+1; j < getRowCount(); j++) { - if (compare(indexes[i], indexes[j]) == -1) { - swap(i, j); - } - } - } - } - - // This is a home-grown implementation which we have not had time - // to research - it may perform poorly in some circumstances. It - // requires twice the space of an in-place algorithm and makes - // NlogN assigments shuttling the values between the two - // arrays. The number of compares appears to vary between N-1 and - // NlogN depending on the initial order but the main reason for - // using it here is that, unlike qsort, it is stable. - public void shuttlesort(int from[], int to[], int low, int high) { - if (high - low < 2) { - return; - } - int middle = (low + high)/2; - shuttlesort(to, from, low, middle); - shuttlesort(to, from, middle, high); - - int p = low; - int q = middle; - - /* This is an optional short-cut; at each recursive call, - check to see if the elements in this subset are already - ordered. If so, no further comparisons are needed; the - sub-array can just be copied. The array must be copied rather - than assigned otherwise sister calls in the recursion might - get out of sinc. When the number of elements is three they - are partitioned so that the first set, [low, mid), has one - element and and the second, [mid, high), has two. We skip the - optimisation when the number of elements is three or less as - the first compare in the normal merge will produce the same - sequence of steps. This optimisation seems to be worthwhile - for partially ordered lists but some analysis is needed to - find out how the performance drops to Nlog(N) as the initial - order diminishes - it may drop very quickly. */ - - if (high - low >= 4 && compare(from[middle-1], from[middle]) <= 0) { - for (int i = low; i < high; i++) { - to[i] = from[i]; - } - return; - } - - // A normal merge. - - for (int i = low; i < high; i++) { - if (q >= high || (p < middle && compare(from[p], from[q]) <= 0)) { - to[i] = from[p++]; - } - else { - to[i] = from[q++]; - } - } - } - - public void swap(int i, int j) { - int tmp = indexes[i]; - indexes[i] = indexes[j]; - indexes[j] = tmp; - } - - // The mapping only affects the contents of the data rows. - // Pass all requests to these rows through the mapping array: "indexes". - - public Object getValueAt(int aRow, int aColumn) { - checkModel(); - return model.getValueAt(indexes[aRow], aColumn); - } - - public void setValueAt(Object aValue, int aRow, int aColumn) { - checkModel(); - model.setValueAt(aValue, indexes[aRow], aColumn); - } - - public void sortByColumn(int column) { - sortByColumn(column, true); - } - - public void sortByColumn(int column, boolean ascending) { - this.ascending = ascending; - sortingColumns.removeAllElements(); - sortingColumns.addElement(new Integer(column)); - sort(this); - super.tableChanged(new TableModelEvent(this)); - } - - // There is no-where else to put this. - // Add a mouse listener to the Table to trigger a table sort - // when a column heading is clicked in the JTable. - public void addMouseListenerToHeaderInTable(JTable table) { - final TableSorter sorter = this; - final JTable tableView = table; - tableView.setColumnSelectionAllowed(false); - MouseAdapter listMouseListener = new MouseAdapter() { - public void mouseClicked(MouseEvent e) { - TableColumnModel columnModel = tableView.getColumnModel(); - int viewColumn = columnModel.getColumnIndexAtX(e.getX()); - int column = tableView.convertColumnIndexToModel(viewColumn); - if (e.getClickCount() == 1 && column != -1) { - //System.out.println("Sorting ..."); - int shiftPressed = e.getModifiers()&InputEvent.SHIFT_MASK; - boolean ascending = (shiftPressed == 0); - sorter.sortByColumn(column, ascending); - } - } - }; - JTableHeader th = tableView.getTableHeader(); - th.addMouseListener(listMouseListener); - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/VarString.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/VarString.java deleted file mode 100644 index 45f23c2553..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/VarString.java +++ /dev/null @@ -1,90 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ - -package FoamX.Util; - -import java.util.*; - -public class VarString -{ - private String expandedStr_ = ""; - - //-------------------------------------------------------------------------- - /** VarString constructor. */ - public VarString(String str, Hashtable vars) - throws Exception - { - int i = 0; - - while (i < str.length()) - { - char c = str.charAt(i); - - if (c == '$') - { - int varEnd = parseVar(str, i+1); - String varName = str.substring(i+1, varEnd); - if (!vars.containsKey(varName)) - { - throw new Exception - ( - "Unknown variable name " + varName + " in " + str - ); - } - expandedStr_ += vars.get(varName); - i = varEnd; - } - else - { - expandedStr_ += c; - i++; - } - } - } - - - //-------------------------------------------------------------------------- - /** Get expanded string */ - public String string() - { - return expandedStr_; - } - - //-------------------------------------------------------------------------- - /** Find end of variable name. Returns index of first non identifier - * character - */ - private int parseVar(String str, int i) - { - // First character after $ is always excepted. - i++; - while ((i < str.length()) && Character.isLetterOrDigit(str.charAt(i))) - { - i++; - } - return i; - } -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/filesystem.attributes b/applications/utilities/preProcessing/FoamX/Java/FoamX/Util/filesystem.attributes deleted file mode 100644 index c8bfa47f359766ac4e574cbe97b41c105991ab2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4402 zcmeHK&2Jk;6d&7ha3QEk8X5!wg5$V|=3rD=-&4)(N7y50J`g zM_lwhPe`4dr>=}&eQ)#6naLj!$UN!M4G%PVIgjVD|UJG`XHx`)YFCK(R82$U+D{IWvQlf!hvKM^#W3i!P4FPR^;Y$7S?r{#7j(Y$dec{M3dyU z@;dl$Ph&4^rA{#3xz2bUmR72$v_z7(Pb703fpDGMU)vx3o}@zopoy~2*c`3xfM*f= zi&qf49*+N+`|rcX8r?5gJ4nRtZ@hW=_051Anw$^#XQw=mxg~1IlwnkrLgB;aN=`0Pb)%?IBSM@41r{mZEIKjAmKwuR%G@QeLsEq6W6(Rqc5x%!p8S8N2hGHDS{> zKFT&T#SWbt`t4VtNoz=xsqJa}OQemn;R7PQ6h_KW1+$dX3e*Z*DD*I% z&g|*QOexbP+g%x`2XM$Q0t=^66VCQXHW9e`vxNBY*x+S#dNd(zGDI4#8u1#+I^_I-$L`h+Gg?wdn9xZ&nW!}tEYsJJ}qQYI>0 z>HhQ_=(O2dMi6D8=vOKr&G-pgIsVHRk--+@$*m^ipYI&viy&9s5||^&a4k7>?9SWI z-b|oW%99f%Gp!G^9wI@XHs#q!m|ec7HPLyn+xYu4TvOYCd_uzBe2lodxb2 z)e^omWU8nzL-h;1tK!D9p+YxG`GFPs#?{ZiYEeA)?a?S6JEr)fq4 - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.form b/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.form deleted file mode 100644 index caeedfd944..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.form +++ /dev/null @@ -1,24 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.java deleted file mode 100644 index d4cfd0893c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/FoamXInternalFrame.java +++ /dev/null @@ -1,95 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.WindowManagement; - -import java.awt.*; -import javax.swing.*; - -import FoamX.App; - -public class FoamXInternalFrame - extends javax.swing.JInternalFrame -{ - //-------------------------------------------------------------------------- - - protected int windowID_; // The ID of the window hosted by this frame. - - //-------------------------------------------------------------------------- - - /** Creates new form FoamXInternalFrame */ - public FoamXInternalFrame(int windowID, JComponent component) - { - try - { - windowID_ = windowID; - - // Default GUI initialisation. - initComponents(); - - // Set the component for this window. - getContentPane().add(component, java.awt.BorderLayout.CENTER); - pack(); - - // Set the frame title. - setTitle(component.toString()); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public int getWindowID() - { - return windowID_; - } - - //-------------------------------------------------------------------------- - /** This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always regenerated by the FormEditor. - */ - private void initComponents() {//GEN-BEGIN:initComponents - - setMaximizable(true); - setIconifiable(true); - setResizable(true); - setClosable(true); - }//GEN-END:initComponents - - //-------------------------------------------------------------------------- - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/WindowManager.java b/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/WindowManager.java deleted file mode 100644 index 9ceae61422..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/WindowManagement/WindowManager.java +++ /dev/null @@ -1,433 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -\*---------------------------------------------------------------------------*/ -package FoamX.WindowManagement; - -import java.util.*; -import java.awt.Rectangle; -import java.awt.Point; -import java.awt.event.*; -import javax.swing.*; - -import FoamX.App; - -public class WindowManager - implements FoamX.ActionManagement.IActionProvider -{ - //-------------------------------------------------------------------------- - - protected JDesktopPane desktopPanel_; // Reference to the desktop panel object. - protected JPopupMenu contextMenu_; - protected Hashtable windowMap_; // Map of FoamXInternalFrame objects. - protected int windowCount_; - protected Point windowPosition_; - protected int defaultFrameWidth_; - protected int defaultFrameHeight_; - - //-------------------------------------------------------------------------- - // Window manager actions. - private Action[] actions_ = - { - new ArrangeWindowsCascadeAction(), - new ArrangeWindowsHorizontalAction(), - new ArrangeWindowsVerticalAction() - }; - - //-------------------------------------------------------------------------- - /** ModuleWindowManager constructor. */ - public WindowManager(JDesktopPane desktopPanel) - { - try - { - desktopPanel_ = desktopPanel; - contextMenu_ = new javax.swing.JPopupMenu(); - windowMap_ = new Hashtable(10); - windowCount_ = 0; - windowPosition_ = new Point(0, 0); - - contextMenu_.setFont(new java.awt.Font("Courier", 0, 10)); - - // Listen out for right mouse clicks. - desktopPanel_.addMouseListener - ( - new java.awt.event.MouseAdapter() - { - public void mouseClicked(java.awt.event.MouseEvent evt) - { - OnMouseClick(evt); - } - } - ); - - // Get the default frame size. - defaultFrameWidth_ = 400; - defaultFrameHeight_ = 350; - if (App.getOptions().containsKey("WindowManager.InternalFrameWidth")) - { - defaultFrameWidth_ = Integer.parseInt(App.getOptions().getProperty("WindowManager.InternalFrameWidth")); - } - if (App.getOptions().containsKey("WindowManager.InternalFrameHeight")) - { - defaultFrameHeight_ = Integer.parseInt(App.getOptions().getProperty("WindowManager.InternalFrameHeight")); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - /** - * Create a new window and adds it to the desktop. - * @return The id of the new window. - * @param component A reference to the component to be hosted by the new - * window. - */ - public int createWindow(javax.swing.JComponent component) - { - int windowID = -1; - - try - { - // Allocate a new Window ID. - windowID = windowCount_++; - - // Create a new FoamXInternalFrame object and add the component. - FoamXInternalFrame frame = new FoamXInternalFrame - ( - windowID, - component - ); - - // Add new window to the map. - windowMap_.put(new Integer(windowID), frame); - - // Add new window to the desktop. - desktopPanel_.add(frame, javax.swing.JLayeredPane.DEFAULT_LAYER); - - // Reset initial position if desktop panel is smaller than required. - if (windowPosition_.getX()>= 50) //desktopPanel_.getWidth()) - { - windowPosition_.setLocation(0, 0); - } - - int width = defaultFrameWidth_; - int height = defaultFrameHeight_; - - // Use component provided sizes - java.awt.Dimension componentSize = component.getPreferredSize(); - if (componentSize != null) - { - width = (int)componentSize.getWidth(); - height = (int)componentSize.getHeight(); - } - - // Clip to desktop size - width = Math.min(width, desktopPanel_.getWidth()); - height = Math.min(height, desktopPanel_.getHeight()); - - // Set the frame size and position. - frame.setBounds - ( - (int)windowPosition_.getX(), - (int)windowPosition_.getY(), - width, - height - ); - windowPosition_.translate(10, 10); - - // Subscribe to the FoamXInternalFrame object's frameClosed event. - frame.addInternalFrameListener - ( - new javax.swing.event.InternalFrameAdapter() - { - public void internalFrameClosed - ( - javax.swing.event.InternalFrameEvent evt - ) - { - FoamXInternalFrame evtFrame = - (FoamXInternalFrame)evt.getSource(); - if (evtFrame != null) - { - onFrameClosed(evtFrame.getWindowID()); - } - } - } - ); - - // Finally show the window. - frame.toFront(); - frame.setVisible(true); - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - windowID = -1; - } - - return windowID; - } - - //-------------------------------------------------------------------------- - - public void closeWindow(int windowID) - { - try - { - if (windowMap_.containsKey(new Integer(windowID))) - { - FoamXInternalFrame frame = (FoamXInternalFrame)windowMap_.get(new Integer(windowID)); - - // Remove window from the desktop. - desktopPanel_.remove(frame); - desktopPanel_.updateUI(); // TODO : Check whether we need - - // Close the window. This will fire a Frame Closed event which - // we handle in onFrameClosed where we tidy up the window map. - frame.setClosed(true); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void showWindow(int windowID) - { - try - { - if (windowMap_.containsKey(new Integer(windowID))) - { - FoamXInternalFrame frame = (FoamXInternalFrame)windowMap_.get(new Integer(windowID)); - - // See if this window is iconified. - if (frame.isIcon()) frame.setIcon(false); - frame.setVisible(true); - frame.toFront(); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public void hideWindow(int windowID) - { - try - { - if (windowMap_.containsKey(new Integer(windowID))) - { - FoamXInternalFrame frame = (FoamXInternalFrame)windowMap_.get(new Integer(windowID)); - - // Hide window. - frame.setVisible(false); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - public FoamXInternalFrame getWindowFrame(int windowID) - { - FoamXInternalFrame frame = null; - - try - { - // Check for valid window ID. - if (windowMap_.containsKey(new Integer(windowID))) - { - frame = (FoamXInternalFrame)windowMap_.get(new Integer(windowID)); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - - return frame; - } - - //-------------------------------------------------------------------------- - - protected void onFrameClosed(int windowId) - { - try - { - if (windowMap_.containsKey(new Integer(windowId))) - { - // Remove window from map. - windowMap_.remove(new Integer(windowId)); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - protected void OnMouseClick(java.awt.event.MouseEvent evt) - { - try - { - // Show context menu for the desktop. - //if (evt.isPopupTrigger()) - if (evt.getModifiers() == evt.BUTTON3_MASK) - { - // Construct context menu. - contextMenu_.removeAll(); - - JMenuItem mnuProperties = new JMenuItem(); - mnuProperties.setFont(new java.awt.Font("Courier", 0, 10)); - mnuProperties.setText("Properties..."); - contextMenu_.add(mnuProperties); - - // Display the context menu. - contextMenu_.show(desktopPanel_, evt.getX(), evt.getY()); - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - - protected void arrangeWindowsCascade() - { - try - { - int x = 0; - - Enumeration iter = windowMap_.elements(); - while (iter.hasMoreElements()) - { - FoamXInternalFrame frame = (FoamXInternalFrame)iter.nextElement(); - - frame.setBounds(x, x, defaultFrameWidth_, defaultFrameHeight_); - x += 20; - } - } - catch (Exception ex) - { - App.handleAllExceptions(ex); - } - } - - //-------------------------------------------------------------------------- - //---- IActionProvider Interface Methods - //-------------------------------------------------------------------------- - - public String getPrefix() - { - return "WindowManager"; - } - public javax.swing.Action[] getActions() - { - return actions_; - } - - //-------------------------------------------------------------------------- - //---- Action Classes - //-------------------------------------------------------------------------- - - class ArrangeWindowsCascadeAction - extends AbstractAction - { - ArrangeWindowsCascadeAction() - { - putValue(Action.NAME, "ArrangeCascade"); - putValue(Action.SMALL_ICON, App.getResources().getIcon("NewPatchPhysicalTypeImage")); - putValue(Action.SHORT_DESCRIPTION, "Arrange windows cascade"); - putValue(Action.LONG_DESCRIPTION, "Arrange windows cascade"); - } - - public void actionPerformed(ActionEvent e) - { - arrangeWindowsCascade(); - } - } - - //-------------------------------------------------------------------------- - - class ArrangeWindowsHorizontalAction - extends AbstractAction - { - ArrangeWindowsHorizontalAction() - { - putValue(Action.NAME, "ArrangeHorizontal"); - putValue(Action.SMALL_ICON, App.getResources().getIcon("NewPatchPhysicalTypeImage")); - putValue(Action.SHORT_DESCRIPTION, "Arrange windows horizontally"); - putValue(Action.LONG_DESCRIPTION, "Arrange windows horizontally"); - } - - public void actionPerformed(ActionEvent e) - { - arrangeWindowsCascade(); - } - } - - //-------------------------------------------------------------------------- - - class ArrangeWindowsVerticalAction - extends AbstractAction - { - ArrangeWindowsVerticalAction() - { - putValue(Action.NAME, "ArrangeVertical"); - putValue(Action.SMALL_ICON, App.getResources().getIcon("NewPatchPhysicalTypeImage")); - putValue(Action.SHORT_DESCRIPTION, "Arrange windows vertically"); - putValue(Action.LONG_DESCRIPTION, "Arrange windows vertically"); - } - - public void actionPerformed(ActionEvent e) - { - arrangeWindowsCascade(); - } - } - - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- - //-------------------------------------------------------------------------- -} - - - - diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/bold.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/bold.gif deleted file mode 100644 index e521b7081dbc416fec189c2e1317a46fb59ebabd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j z$kdeUHeCP%5MZ?kDE=Rt1U1F6Sq>5d12oG)V*mex2viBE2!;e5#DM{aVJ%1m0#Mxv U5(Bv&-TAj~|AzonUr~Vv0Jw{;@&Et; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/bullets.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/bullets.gif deleted file mode 100644 index 845085cf192f5f9b3ce0d313638fd888f1ffb13e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 657 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$}b rOcabvO}YLLJYZsC!tMyL1OpTxE5WG)SrKt;oJI|M%ZUpga#aBU5dkpH diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/center.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/center.gif deleted file mode 100644 index 15d6798ffd3dec8b169516bc007d55bfb0e4f73c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmchQO$vY@6ogxQiohFW5wtB07iwfkI}hGr%6^_o;woqmW^{(nsVxbq5MGU;v*t>6 z2y-!V$&^b}4puSSDI^Q@i`ykNW>Wc diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/copy.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/copy.gif deleted file mode 100644 index de22235a0059969af6678b901469a8d7c4a8008e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmb7>Jr08~423=C6iD0viYl?Tp~{e?Di!L+!8uH7$8P?ZYM~Im*zY;!dF{q=Q2l4y z^lLTV&8j!{Vcg(`%YO6LYWH4eHC#G+rb!)t2c)P=K|TRObpS`8z}GK>kA)+x z3z#R9R3!Z5Lc&1ujZ5Spyl^3s@~JOzXgG;Ruf!2xI+k()a%z%S+yuEtB(a~E9}3Q6 rKzHgObFyKVit`9g`uU>LPc=W%k!ZLKj=YK=#3r&9Jj;+;u5EW;Lphtn diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/cut.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/cut.gif deleted file mode 100644 index 1fcafecdd8ab7870148290ff2f5164f73412c2fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmbVJ(F%hw49s)CLhuiCGVpcN(TBEU4%wR@-jC^0tLYUS!h#RyC28)G=e26vM%ABr z9$u4nwpX<_4{b-sXt4Lijmym$GuZdktL9S0uj`cmBM1W9Nq&feVDHI?6by0=@XTU^ z)Q6bJ4*?%=0`i=YhJuF)!bcwmJVmuIV5{FG2C-K1GIsZime%A+ecH{D{vSHmr55_L W2HtMg3HM?s{C<{noa_rj<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th49ygP z$jH=`>o#_vqN0K4gIZhHc1Ppg5ch07bv8Z~y=R diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/dot.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/dot.gif deleted file mode 100644 index e30ccf20e5b8ff756d8ccd98b531400da8b0d9ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 104 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th%oWTP kj7&|r{{LrSVE7Ltnb?^aKqNbmW>5!G>*`wJ3HO-l`J%|3$pkexlcmhiJi&1@TV_ z2S0g_1dhoU2$P%c&aCjfJh?@t`VQO^sRd6tL2wxsAubI1|t}9jU+h&$% zgV(CGZnAz1(iuM-VLbZaobhYas%nbswXNbmiU_(AQ9^?ZW`=6y@XBN@nhQp8ayTU@ eXTivZIg4|0$ZvO$|B6ZJc_2*X|3Hhb@|B%Hf7h7+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/left.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/left.gif deleted file mode 100644 index d798fed8531f5a78c97652e47b24bd365b22905d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmcJIK?;B%6hvElil7^45wtA}7iv^UI}hGrDiQI2`O6xFKf?^qwXcQXtT~;N+peq` zSfli!%xqsL&E)OuN2|3o$38IL*5P#>yZ%=Ngnqk$P(cTPi8jpuCfZccx8USa!N~>f d5C={W2NtwPoDk9saY9H1eG5(=6`Wjr;2x_ly3POq diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/mini-exclam.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/mini-exclam.xpm deleted file mode 100644 index 4e10d97a6c2dc8d96a76410b5c2e1b90e14f2a38..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th49ygP z$jH=`>oycj5`eM5^rZg+0+SFTAg%xdf)C^&^CyA12=!>vw^3E!2Jw*$1MyL~x6!z_ dQDs4nK{y3$8nRo##v$ASR5^(Og^R5BHUI~ZzFq(T diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/new.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/new.gif deleted file mode 100644 index 6dfc96c714ceb6816ae32c83a1a54903f877485e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j z$kdeUHW`2c3H(RW&+s1x7#L8+p^AVCkR{-3hTGW1Z=*`U)!zn6Aajr`LzX~N0@Q)v eAy^=HA$SPZFcU|LFCY^UTCnJX($H8Ui2?vGS;-v$ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/newAppClass.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/newAppClass.xpm deleted file mode 100644 index be257efabc721f11da02ebb8d85e0ff703c98d48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcma(|OA3G>5OwV-f=*CTLEEx$p+-ft>*^k*H>3TaMbFWBKgT*Lid?4Kx~gf`&NedD zX3(~GV9Iv8>-W|fqwF#_GOH3yUY1gP!4vKv(8~bfI2t4c-)NAec}dSD0Z?==Fi1M= ZvJ4zA0~_-wkl~|?;QR>Z1Y#=u!2yv;J0Ji6 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/open.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/open.gif deleted file mode 100644 index caee52994cec7e2fa181121821cddd43f1aa0f3a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j z$kdeU_MiqS5P`PqR0 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/open.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/open.xpm deleted file mode 100644 index f36df68754d66fa4162314048789b590ed021734..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th49ygP z$jH=`ivbf%0s(~Zr2ilQ7nt<__8%bp4^{;fo%A2X1qwh_LFFNWlNcb%pyVGQAFK|l m_%?_S)(ut;R17i?E&!B8m=96`;=?Tj3V^sMHXvM0EDHc0?Sk$A diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_crop.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_crop.gif deleted file mode 100644 index b45e730b8f4d3e2abb950cdb4b899fa64139528e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th49ygP z$jH=`>-O#23=BX52_W&oG6+79%YY1knvl6rbD-*hG7v){Gy~ioFdu9bLLQ_PNj+F6 Zf)6nWiI1=qyA!|$!_-4;L70!i2LM#jmVf{N diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_draw.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_draw.gif deleted file mode 100644 index a1d75adc04142256610e7d5f3bc6889c19ffdc8b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 200 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~ThEENpR z6pTzwxo(310|Ntu2C=~cPzD2t3lafQP#P`(lfWea)e15lVm^$9+XpcdW+8~a4FDGv BWsd*= diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_hand.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_hand.gif deleted file mode 100644 index c6bf964351a039b0a499002d6b17bae107f03fcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcmZ{cI|_g>5JXew6oMyEiGr<0Ns&ZU#Lk0z8TTtTE(>`xli8&!nx?kpc^rP-LQcIc zL!3jJGLTQ>m8WaSG5WM`y{*~;wsy|mJjMvX0}RTjMGTr2W6VUuDj<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th3@sE4 mjTDSbO}Q9=;P&m?NEC>R0>BDTMNoJ+IP^3J$@xInfOr5}s;8O& diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_text.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_text.gif deleted file mode 100644 index 4690974f9cb14c9fa50360ab068eec8ae1dc058e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 213 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th42={F mjTMYcO}Q9Q!0p?&85qC>h=j0jgPBk^NE9YcD>lSMK+^##n`^TG diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_zoom.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/palette_zoom.gif deleted file mode 100644 index b19c2718ed8281c9d9b786857a4cbbf317432a32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th3{4e) z$jH=`>-O#23_t*+AOOOI3qU1MDWDdxVz@41xKKSX3TP|H3?!?;&OqWrtbn@&%tcmD HocwJ7ZtAC+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/paste.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/paste.gif deleted file mode 100644 index 6c15b63be9d837c0d919f7e89ce2d9d95bb25bfc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmbu5F%E+;3`H~N6iD0viYl?TP%)5Hr9$0UyynC?MNZ(_Kq`}hI`j)E=K05R{{5Vl zWuf!eI5v-=v!>R0*WWtRTB;gzooqW@Y~MHLIn=s1W&Bl@_CMvE!yS`D#GM8q=Y84$ zScn6VqX1zYO_gZSUsQ+=ZUcs(6cs8YoGC3t4e4L$7YD^=mRHh$$WdGnVZeveN*f;L q3q-f`kvY?Je|pzUcQ|=jn>{IqsDHSRDbp#|r+}Aq=7c!-W4!@Is@1jt diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/pause.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/pause.gif deleted file mode 100644 index 06ac403861ba9f8fdda56feb888087de6ccbda7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j p$kdeU_5cC~FaSCL&VV?EK?VpIK;kgQs5m4*py7Zc+#s^_B>_CPbu|D0 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/right.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/right.gif deleted file mode 100644 index 8c74cb419920e7ffdab13ec9ccec87a73c00d748..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j z$kdeUHk|+i5Irfxu$%}SkC)s$ oa(N!OJcr})L+^j$-ElYq?0DcnA@&J;@z`PeR2ej<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j z$kdeUHtB!?9YBm=`2T;>|NsAUp#aEa0823ZzdZ@a011Pr|F>@gMSy^g;vl<`?Y#|j y91K8Q0w+N(g8_s)Cm{i3_rnYU(a7R36M!^|_&}(?jUHVPZ-JbK29R7$G!p=?Z@7d2 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/save.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/save.xpm deleted file mode 100644 index ed3d0d0f558fa94768aab203ee82954dbce56bb2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Th49ygP z$jH=`i;0N=0hpL>Gco-^0H7oj(|-h@37-iW0PO=h0s=rx2p=Lu79Z##6!UK1MtB#* F0sugZdw>7{ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/stop.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/stop.gif deleted file mode 100644 index d806ca1219a8a1b8bb0e5f64c8605360de37de75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j o$kdeU_Mij|2!P@~h6gaf@E=)X$crQVi{h`_{}BM$zk`Pj0LMMtz5oCK diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/swirl.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/swirl.gif deleted file mode 100644 index a7e1d360be..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/swirl.gif +++ /dev/null @@ -1,6 +0,0 @@ -P7 332 -#XVVERSION: -#IMGINFO: -#END_OF_COMMENTS: -9 9 255 -IÛÛÛÛÛÛÛÛIÛIIIIIIÛIÛIÛÛÛÛIÛIÛIÛIIÛIÛIÛIÛÛIÛIÛIÛIÛÛIÛIÛIÛIIIIÛIÛIÛÛÛÛÛÛIÛIIIIIIIIÛ \ No newline at end of file diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/underline.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/.xvpics/underline.gif deleted file mode 100644 index 64bdd3f15cea06f79c271e4ab659e4ff403844c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 633 zcmWGAS1>j<;!=(X3v&$$_Vo9&;!^hXb@%jh^9QnA{aoVx-Qu17eSKa1LV~Thj7$_j z$kdeU_OJ#FKmhb0ltS_<1H=FSUDzfNY?w1dwetrGMq=xBQQ} zO-_U!^sQX{PBLLe=(W^k8EiemOFIipcKO;mR|xF?lbAds#Xd@_LsL<@VcBN!F0bXR G4AuY%#w1h# diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/bullets.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/bullets.gif deleted file mode 100644 index 23aff77cc92fb315bb42558bb1bcb2287f4353b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 136 zcmZ?wbhEHblw^=#c+9}?|Ns961_p)(h6XSNq=76TIB?*=f1o&60ZCNz|Ww=!ob2H$RNPLz@q%&q^Gv(jaTiRAqgCDH`C^=xViMw WuMVY`8%tt$uHDzfNY?w1dwewrGMq=xBSUG yTi7}q?lDxSv??7fc($_khKAFNm8;&g?v2$so0GZNV#(?qRV(Lze4)X>U=0B7Y$SF7 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/copy.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/copy.gif deleted file mode 100644 index 2178eb5d1866adc14def20da3b430f265ac3cb74..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 159 zcmV;Q0AT+|Nk%w1VHf}y0FnOy|NsBY%>MuY0KmY&A^8LW00093EC2ui02lxm0007T zoR6u?odTnDNQ8?61k_jnf}hY0UnpuEb&ArLo#LdEg^I^v za@d<0D^B0WC4B@V+ZRAZmHK8&5cnWNmcLU^O)WCFO|P8yd?0R@Iy^8M;@4F3wh~iU NXUG5;RZ>y_06SF+Ko9@` diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/cut.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/cut.gif deleted file mode 100644 index 9dca1e2f84c5d68e7d3c336ef164389a03ac30fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 139 zcmV;60CfLHNk%w1VHf}y0FnOy|NsBY%>MuY0KmY&A^8LW00093EC2ui02lxm00079 zoR6u?y#k|z&WM0>hM-;mhQKFyfhb-=*L-NGI_?W{?McHWGv~p|!=WTUmZDcn0UyF- t0u&q?D+A<`T5XP|rq|B$J!)%_Vl)RbGd1iD_b`b|-Usvxi_bd>06T#LHva$s diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/dictionary.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/dictionary.xpm deleted file mode 100644 index acba639e9a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/dictionary.xpm +++ /dev/null @@ -1,27 +0,0 @@ -/* XPM */ -static char*mini[]={ -"16 16 8 1", -"c c #c0c0c0", -"a c #808000", -"d c #404000", -"b c #000000", -"# c #303030", -". c None", -"f c #a0a0a4", -"e c #ffffff", -"................", -".......###......", -"......#aaabb....", -".....baaaaaabb..", -"....baaaaaaaaabb", -"...baaaaaaaaaab.", -"..baaaaaaaaaabc.", -".baaaaaaaaaabccb", -"baaaaaaaaaabccb.", -"bbdaaaaaaabccb..", -"becbdaaaabccb...", -"beeecbdabccb....", -".bbeeecbccb.....", -"...bbeefcb......", -".....bbfb.......", -".......b........"}; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/dot.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/dot.gif deleted file mode 100644 index b6a13d7a469bd762bd779173c3b6d86d4fdc353a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 109 zcmZ?wbhEHbWM^P!_{_lY|Nnn=lYjEI|7Dq1Nph?cXWPcg%)-pb!z9nmAkD-eA0fhJuWTmAsDE?&O z6in&> diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/italic.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/italic.gif deleted file mode 100644 index 0042b7f4cf2015b24b3c72bc73687b669f0d6d6d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 97 zcmZ?wbhEHblwgoxnE0RJ|NsAI&YWRjU^sB#fZ|UUMg|6E1|1+5C@aChz+^P1f92`7 z{L=*{`ZBJX6}kFd>!R}B!>yefD-s#Z_kFNfU0ShGS3Kays^%w6q6`;Xe6qM0tO2{3 BB`N>_ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/left.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/left.gif deleted file mode 100644 index e9fe1b7ec04eec89cdf42343aaaceda915e5cd93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmZ?wbhEHblwgoxnE0RJ|Ns9C3=9Vj8~~DvKUo+V7?>DzfNY?w1dweorGMq=xBSZ7 xTcV^I@5P*6AG7F0$udr_$FJt({aP#jq|88Lv-jV7esMuY0KmY&A^8LW00093EC2ui02lxm00079 zoR6u?y#k|zzzqSi*3{wvh5-g(&L@IGP*x3^j;zVR@k&2HEaI+W<8^erR4x$|{*b$3 t=!i((meHnjL_J82S;My1y;z-4?YLO>o|UzUI}#pj=5&kwjyDtl06XuCJ6Zq$ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/newAppClass.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/newAppClass.xpm deleted file mode 100644 index 78a431ae5f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/newAppClass.xpm +++ /dev/null @@ -1,22 +0,0 @@ -/* XPM */ -static char * mini-frame_xpm[] = { -"16 16 3 1", -" c None s None", -". c red", -"# c black", -" ", -" ..... ", -" .#####. ", -" .# ... . ", -" .# .###. . ", -" .# . ..# ", -" .# .#. .# ", -" .# .# .# . ", -" .#. .# .# ", -" .. .# .# ", -" .# . .# . ", -" . ...# .# ", -" . ## .# ", -" .....# ", -" #### ", -" "}; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/open.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/open.gif deleted file mode 100644 index fe0914f2832310a80a05be1741cbe2401a76e0bd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmZ?wbhEHblwgoxSoELaKMRVR1Yj3X$YIESrXPhmW-gM=x`|X#L r*2pP7U!ywx%qr7gSy{nMIp4U&`cFQ4nR(VvxbMTvG{5sI3=Gx)p1?TS diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/open.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/open.xpm deleted file mode 100644 index d1cd8bb28d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/open.xpm +++ /dev/null @@ -1,29 +0,0 @@ -/* XPM */ -static char *mini-ofolder[] = { -/* width height num_colors chars_per_pixel */ -" 16 16 6 1", -/* colors */ -" c None s None", -". c black", -"# c #808080", -"g c white", -"h c #c0c0c0", -"j c yellow", -/* pixels */ -" ", -" ##### ", -" #ggggg# ", -" #ghjhjhg###### ", -" #gjhjhjhggggg#.", -" #ghjhjhjhjhjh#.", -"#############j#.", -"#gggggggggg#.h#.", -"#ghjhjhjhjhj.##.", -" #ghjhjhjhjh#.#.", -" #gjhjhjhjhjh.#.", -" #gjhjhjhjhj#..", -" ############..", -" .............", -" ", -" ", -}; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_crop.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_crop.gif deleted file mode 100644 index 636b66870bee9da6b8e2013af38f91131b8ffbd5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 81 zcmZ?wbhEHb6krfwX!y@?;J^U}1_s5SEQ~;kK?g*DWE_|@T7;LKu6V^atHdav_{hsg h*KDOtispsSN?(*3p4m9z%O>wzVd^_iyD>6Y0|2wl8&?1T diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_draw.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_draw.gif deleted file mode 100644 index bfda313419d78891876d10f922403e7e5516d2e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 69 zcmZ?wbhEHbZ UJXuL*VRJe>mpqy1$H-s}0BPYAFaQ7m diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_hand.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/palette_hand.gif deleted file mode 100644 index 0dd4d38ef781318e852570c2ee98c3c340ca8264..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 81 zcmZ?wbhEHb6krfwX!y@?;J^U}1_s5SEQ~;kK?g*DWE_|@TKEMkvd_sCebJqJg+ zp{J{~e!&btFf2ll0%eAo8$k*{sgmh@V58clq3bw;wM?rQkVU6=0N+_SR+r;hI?>+X n$$ve2a6N#5f<|$Mie!C>ih+y_evgMnH}FQw|t+s^k{_g?hdmV?*Nr$1(3JgGc!=N#SH#=d90PG)Vtvu+6k GgEasy6)6n> diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/right.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/right.gif deleted file mode 100644 index 64b7995052ba4b503c8d67e7f56ee7113cbc8545..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmZ?wbhEHblwgoxnE0RJ|Ns9C3=9Vj8~~DvKUo+V7?>DzfNY?w1dweorGMq=xBSUG xTcV^I@5P+fk6Co0WEp4E<5zR?W~~!{Qf8pC+57LkioDE^7W)bl1Zi!(!`z?w%=JQ)Q>>94ls*ywLP)n+c+(DrF>!_KRI z7k4YhJ1u&vE~VMNXGZ$&QeAG-=@oB|8g(~qshYdb%lgg^Yirfri%Kf?Xd5?omnBuC iYgWe;x41Pn*SEIGb@)h37Oms%uNIm$dk!BbgEatAE=J1$ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/save.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/save.xpm deleted file mode 100644 index 1d26807ca8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/save.xpm +++ /dev/null @@ -1,29 +0,0 @@ -/* XPM */ -static char * mini_diskett_xpm[] = { -/* width height ncolors cpp [x_hot y_hot] */ -"16 16 7 1 0 0", -/* colors */ -" c #000080", -". s iconColor1 m black c black", -"X s none m none c none", -"o s iconColor6 m white c yellow", -"O s iconGray1 m white c #e0e0e0", -"+ s iconColor2 m white c white", -"@ c #C0C0C0", -/* pixels */ -" ........... X", -" ooooooooooo .", -" OOOOOOOOOOO .", -" +++++++++++ .", -" OOOOOOOOOOO .", -" +++++++++++ .", -" OOOOOOOOOOO .", -" +++++++++++ .", -" .", -" @@@@@@@ .", -" @ @@@@ .", -" @ @@@@ .", -" @ @@@@ .", -" @ @@@@ .", -"X @@@@@@@ .", -"XX.............."}; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/.xvpics/dictionary.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/.xvpics/dictionary.gif deleted file mode 100644 index ab89df94c723b485845a6f137ace27e7ddcd574b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 325 zcmWGAS1>j<;!^hXb@%jh^S3fIt1vWE@XSj|tw>E#&@ePKR!FKWNiEjoQg-!oiT8Jl zclP)7b@dAg<^rk%A|q2%uK(D9imC^)gvx}R2@DKy5e6U^2w@^nE=&!Ao5QgC|9@oe z?QLjW22@#w{|pQsV6%ay-`)nak>USshzNuW diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/TreeClosed.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/TreeClosed.gif deleted file mode 100644 index 92906710d56ef1e4808fa8175d7d696b70a22d93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 882 zcmZ?wbhEHb6ky&h0$%UOpNh6%Ta@^C!hr2qqut;o&Xd@!YiJKm!AV FH30br36=l= diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/TreeOpen.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/TreeOpen.gif deleted file mode 100644 index 642fb09daf638bc97c23ae2dd968ec3ee8ce1a2b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 906 zcmZ?wbhEHb6ky@59crhv%H4d>@uBsM+COla_5Y*)-T_vhra^KA?cZ8{8F WUU{z+-yAokN@3OY_3_M14AuZHtsw^h diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/back.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/back.gif deleted file mode 100644 index e331454726bbc19cdcdd3867ffcae217a0fde8f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 129 zcmZ?wbhEHb6krfwSoEJkQBl#*&@d`0s->l+r>Ez@fddR+p!k!8k%57gK?lSGsbyex zi`aFC_kd@D&y?=4?(Pes3MEI<1Y!g8G%~jxUU1@6RIiH;$6BEo^BN2cqBwk-7hXtI c(vnrUxMBN-xh<~83yn{BaU>KdGcs5M0L&38p8x;= diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/binary.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/binary.gif deleted file mode 100644 index 995f79b9b10d5a49fd6e6d9f641d3bb65cfffa02..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 134 zcmV;10D1pMNk%w1VGsZi0HXf@|Ns9vIXP=4 o#kZK`47H){6`LuGH;j-%Jne!zs_mH6LPMOYA{Q)|S&IY!JF>VnX#fBK diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/binhex.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/binhex.gif deleted file mode 100644 index 3d54a5458e6edfde1f60b8a35d549e3af1552ffd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*PNk%w1VGsZi0HXf@|Ns9vIXP=NV?p<;}t+_F|n1vIhdG61y)fInX+{xz%o-MD*`-pgKX5xCVZ_5 lPsPf~hJ=DqCWLWTOyuOYZ1$d>Ba9hs3e#^gj&X!xZAVnu4@CeN-d>06V1HFU9}> diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/burst.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/burst.gif deleted file mode 100644 index d882ceba9cbf05051d5081f2e102ebff5f24edac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 128 zcmZ?wbhEHb6krfwSoELaz<~priULty691oD&Y82+%PWWh3>1H|FoGC5AOfV8f!UQ~ z*PVX`hZb>6bP*BCs6S}H;Vd99C5S^ubKfnY9r=Gl6W4NkFT36}`PFx$95FVrz#Gvo Z(|nHUXljWp;?_Q1GLa!b)18UI8UVh_DDeOQ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/cog.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/cog.gif deleted file mode 100644 index 58fd098a969ce9c9bda4a9f460ea15097710d283..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 256 zcmZ?wbhEHb6krfw_{_-w1b6P-S+HQi;lqa;8XEqui1>eJ#sB{Y{{R0U5fK5BMg@vL zSr|bgIv@gM1_R4lAOQglU`l}nCt>_Ko%okppW38IZAE}0s?{^md6%2H#M*@ObAkVrr^xv19GIKqJU6>1klt52bGBo u%$_VjK@KHGjur-mPLNp+3=R$;nt_3dfx!c0JIHAe&;VlqUDd$BU=09MgD=_u diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/cog.xpm b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/cog.xpm deleted file mode 100644 index d5ca309cfa..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/cog.xpm +++ /dev/null @@ -1,30 +0,0 @@ -/* XPM */ -static char * mini_kpipe_xpm[] = { -"16 16 11 1", -" c None", -". c #000000", -"+ c #DCDCDC", -"@ c #A0A0A0", -"# c #C3C3C3", -"S c #808080", -"% c #FFA858", -"& c #FFDCA8", -"* c #FFFFC0", -"= c #FFFFFF", -"- c #585858", -" .. ", -" .. .++. .. ", -" .+@.@##@.@+. ", -" .@+S@%%@S+@. ", -" .S%%&%&%S. ", -" ..+@%&SS%&@+.. ", -".+#@%&%@@&*%@#+.", -".S@+S&*&&=*S+@S.", -" .--+S&*=&S+--. ", -" .S#++SS++#S. ", -" .@=S-S++S-S=@. ", -" .+@-..@@..-@+. ", -" ... .+=. ... ", -" .-S. ", -" .. ", -" "}; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/comp1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/comp1.gif deleted file mode 100644 index 712f36afdb27370918ce1eb008be6073aba769e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 130 zcmV-|0Db>QNk%w1VGsZi0HXf@|NsA#l$5~0z$qaZT4Q55rOtD`-T(jqA^8LW00062 zEC2ui01yBW0009=D7xJKFt$LdB@lxJ4RqIg#Z8m diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/comp2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/comp2.gif deleted file mode 100644 index 7759eb11f95a4bb3803ca55eae6c3ff8fd100b96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*PNk%w1VGsZi0HXf@|Ns9O7#M_vgsrWuz`(##T3U0)=KufzA^8LW000C4 zEC2ui01yBW0009>NV?qqFg8)DEpK4KIl+xqbkqNgD~s^aKww; lWe8G`jyjbQNm3FtI?)idj0B1>qD63^77l^1cw9^X06XYXE$jdQ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/compressed.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/compressed.gif deleted file mode 100644 index d3b156072ac0b62c0248694d2d05791379e34927..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 128 zcmZ?wbhEHb6krfwSoELa|NsBl+1YdE%sFu2!277EYykl;1`tsE$->CMz|5cn;(*jL zFuPjpx+AC8q?t7P$~sH6D{%rMQ(HBiPS!|-)_OUXyj2ijRTh5h@?e)dzw#N~vZiai c6)G%M%rgTM8yr{}o0lx>>ev_S%EVv|0H!@EhyVZp diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/continued.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/continued.gif deleted file mode 100644 index e1c9f2cfa68034f0439e336d3b3903deb44a0883..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 114 zcmV-&0FD1gNk%w1VGsZi0HXf@|Ns9vIXP=|;7%PM|whF~X2*V%{U5E|8iMaEOD$ U0n_;{NXL`HRB1Y&&_@CQJD2_|n*aa+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dictionary.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dictionary.gif deleted file mode 100644 index 587c259afe8d53cfa40ea2a7101c1cbc9da058cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 113 zcmZ?wbhEHb6krfwIK;qk;J|@~1_lQQ1|TpnFxYh9&VmI?{{R240}=qKVPLka*mY-} z%09Oy+2nbN)d%>VS1wTMyBjb=gL6%~H3P%7WhHH#MR{_ja_hF8&}fpEU(7N`P+s+L OaI>L==}}K625SJTIwzL^ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dictionary2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dictionary2.gif deleted file mode 100644 index 2600d76f8920674a28488e2e4bb71ff65bb5e37e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmZ?wbhEHb6krfw_{6|);J|@~1_lQQ1|TpnFxYh9&VmI?{{R24_>+Z^fq|Vt2P6Sf z%fLLXqP)Dlyu2JjxqFmAcTbw3I=2DOn z2|>dK1BenshGGk4kQ_5dv3a|J5KxIhdwFp=hcZwJ&`jg&GNR2Uen0VOOkQ~&?~ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dir2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/dir2.gif deleted file mode 100644 index 425d6e4b77ceb7ba16ded08c4915c809acf69c12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 122 zcmZ?wbhEHb6krfwSoELaz<~qrvy+Q06{i$?9a~$xbV@b@7%2W^VFWRBKmt>yewCRwrrVbz0%P@q&p!pQbR!HK;_&hjwjs0n_k|_ba-tRk+{-#(^XuDzww$<6?>GMY zw`$2;tAGFgEbPkr_v_vcpzNg5uU~im`?qmnQ{K#`ykEcWE$u3O_IT&NUpx12SiELx z%cbLsKYl!NZhz0eU$Ym{huU`kw?U;S< z+~R-#cJ5eOT2Y}gwLIZ+^3EOZ*|894-J`u-uj0}vf(r)gm${wE5 z(zg0uASW?;D@*(M`boR{`pbarV_*yjlnx3G2@M0e1_BrZyu%|RVLUJ$70K2BQs2m6 F4FJp0-=hEk diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/file.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/file.gif deleted file mode 100644 index aad4ab7164d0a68942d2c0108ad365555c1f76e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 862 zcmZ?wbhEHbwD&4~}$+Nm{jVI4C*w$Z00+xna<7vP0Z) SnM|dDbLVt}#54{L25SIXRNct{ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/folder.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/folder.gif deleted file mode 100644 index ac9f77111ebdbbaeb979a37d7cbfe2765893f658..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 680 zcmZ?wbhEHb6krfw_@>1G1WZgUMn)!!@=X4nYx#F?$=kPYuU@^nEYC(-g5&k;*MI;1 z{r&s*R6~w{Ks$a^>jJqx<*o-@SYH+_`h_-@kwP^5v5!PaZjPWbfX+ z+qZ9DzkdDHsZ%dqx^&>cfgL+`EM2;^x3_op?AgbUAK$ul>xK;*mM>pEfByXL?(Wvs z*3FwY@7%ewwzhWh;>Fq7+0&;_cXoE37H0zT$q)pJKUo+-&ej1Dpg3V*|JMLyGJ-`x zf?&YJ%)*K+!p6?T!NSVP02AZlW@Bdnim*aeadC6=@bd8s2ns<2gtjK4}F#aeV_F z9YZ59-&jW7M9b97+}y$v%x7S5qz z$^ZZV-@SWt?b;PDFQ586o7cB19zA;U_wV07fBqagbmZ-&gb(-Xe!lEKb?VHQFQ4AN zeShoL9U~)?&kx)G-CFYP+t;^m-#mZ*^xnPuSFc_^di2P)ZClzqy3TD6|NQy$^XE_Q z-o1D2+U0ZS&K^B_bkCkW+qP|;J9pms^XE^TIJ$4&zU|w$tY5!w)~q?ZcI`QL?$nVZ z2lwvXyJ5q+<;#~&n>Lw|k!jhoC7U*FS+Zo&v}seCTiO{JnI}z}vS`tg1q&9;o;`cU zjHzvH&24QheSJOCr%!Hg@BFtdr>v}`sj21Psu%|=^J#G=pdc7Hp!k!85oEg#hycY2 z1N*-QAd?X+3KE0>CMISS5f)YkHfDAPs2B$WCl@PFgqxciEW*Rf$1flV5@7-h2nmY_ zi3*5`OMpax21*J`Ny|v`3&;w{G01}~P*7A-R*_UyQ`caSZvY8sYH91}>ggL83NSE( z_%hl$M#d(lX6CXGzJ;izm9>G5t(`0b8%UnP-oX*bb#iuLU;*CMz|5cn;(*jL zFuPc2E&As#5ERnD*ARJtfp=NqymCk7r3mVwz!V%Hr- z1E&XvCVaS5R(RiAy>mgUql=e;(y~pho8&ujXu&V@o)YW0l^; H!e9*mJvSwK diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/image.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/image.gif deleted file mode 100644 index dc3d95ced763c4a905d8ceee4b2550e2131fd42f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmZ?wbhEHb6krfwSoELa|NsBl+1WikJqHdPcpnwjl5F_?nk54RgW^vXMg|6E1|1+9 zs8RsPcDC4c=iE~pb*_oUQ#(Fu98;_~oS3sjVNNUao_t9rW#;4UEG%bvrx?u3by&?> e&3OOfw2*gItqmas!g_N~w>q49yG@Lf!5RRR*e}ok diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/image2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/image2.gif deleted file mode 100644 index a5c40f15508516b54f02ecb77b9995116dc11308..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmV;50CoRINk%w1VGsZi0HXf@|NsBMz`*}fQUH4)0DHBJjFeJRS^xk5A^8LW00031 zEC2ui01yBW0009|7`oiPyDJdxp4Gld#J-xlX6DLlbH*em;g$q}$TD5xh>K!|F?Af#D@ZrO!PMv!4C4frY16PKyuukkq f7U*U1rHa2#4c0N8nfq{X+!ND;x zG4b*7$;ruSX=xc58D(W<6%`e=wYBy2_1)dwy}i9NXU?2EckYrUOEzrSuw~1ZojZ3P zKYskonKS3kox6JV>dl)sA3S*Q^y$;*&!7JX1CXs$0*XIb7#SGU7<549f&9e4w%%d# z$rPiR4(t;^l#d#S=gJ@s76kEHI2rW7fTrddFqW^sf=6N5DXiQ0hl diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/A2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/A2.gif deleted file mode 100644 index 3e5757e4a06752cdca62a36d4716751f4d203f28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 402 zcmZ?wbhEHbW1_s8)#x^!KK0ZEyfq}un z!7(v0@$vD=$;oMHX&D(AWo2a*6&1C$we|J&9UUFr-QB&ty)$RdoI7{!h7B7wZQ8VD z%a)xxcOE}}{LGm%=gytGaN)wGOP8)*y?XQJ%?A%2JbwK6`Sa(mUcLJD>(_rU0J(!K zp!k!8k%2)62!R0PCkD3l4r1L$lQw#A3W2By9T3lxK@uzo;w|N5FaisLAMx{q=t253xSJRs%hC&0M6C4n(gM~vx! zlwgD+L-wRZpqVTUKx@^yJsuxS+Njj)cI1dwWEkAO*Da2oU^AIEMd(ahDGlq|_4Tc-t=-+-6DCZUF=NJ@IdfL5Sg~r=sx@oYtX;eI zz<~n?4<0;p=+Loa$4;F(b>YH=D_5@ExN+moojXsTK7IcD`P;W|KY#xG<;$0^U%&nb z1CUcl2Z}#g7#SFJ8NfaP`H6vT@qw__SF^U-v4nuAsI_6Mw^}i{0VyzVnhJviSP;nb z5aUa@0#R~xS4V^HffW!9+K)4~GAw{-&~{2OViW+Gay6^gVEJXvgba{&?-U@V+pzFz w6r=ajYs!~_rZ70IZY>Cr;qq9Wnxr8i(ADrU6K0Xx9H{L;ii=lbjsk-<0J&nI?*IS* diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Alpha.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Alpha.gif deleted file mode 100644 index 98fb56d69bc0117ea369c20a5efee52465113a9a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHbyDJdxp4Gld#J-xlX6DLlbH*em;g$q}$TD5xh>K!|F?Af#D@ZrO!PMv!4C4frY16PKyuukkq f7U*SktUwzjtR_Vz9= zF7EE`zP`SJfq_9mK~YgrF)=Z*v9WP+aTysI+1c5Jg@q+0B^4DF_4W0Qjg3uBP0h{C zEiEl=ZEYPL9sT|NlP6D}K7IP!xpU{wpTBV7!sW}CuUxru{rdHrHf`FwckllF`%j)c zdG6e~^XJcByLRo)ojdpL-Fx)t(c{ODpFVy1?Af#D&!4}2`}Y0&_a8od`10k;*RNlH z|Ni~&-@pH00P@3-1&Tje7#SEG7<52B0L2Ld`>zHEFwo;Nf-vButr&wQoC9GfGNKC^ z%jhtpsZ!T*U`G|w5_E82RYNw*mRC$likSr{)BqRORWdg>X9bDDfB`3n1r)M2GBh#- zB1;De6{wI91A`1ZgS@!1n2?x*gSD8DkeDftj6Iivy@n12o=# Nb2z97$TTuo0{~lEq-_8I diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Amu.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Amu.gif deleted file mode 100644 index 66975766fde8bfb84bdae9d22be03ffa961f8e27..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 457 zcmZ?wbhEHb6krfw_-erb1RNY3yu7@Ef`X!=qB1fv#>U1L78dsQ_KuE@&d$!RuCBhm zzW)CHVPRqM@$o4sDLFYg`T6;!rKMF>RkgLX?d|Qoy}f;Xef|CYQ>ILrK7IPES+nNM znKOU>{H05mE?>TU#flZHR;^mUe*K0G8#Zs=ylvaI9XodH*|X>H;loFc965FB)cN!0 zA3l8e^5x4{uU@@={rb(DH($Pd`TF(i_wV0-{P^+b&!4}4|NaL9kaJOi;!hSv1_nz8 z9gr}{PYi6&4#en9Km9bKBMd|p?F8{2Dlr5jc!dlNfpA`RpbaBft^urarrXX#8Zdp) zmPI?8G@-oq?vxO%CPgSuJ-Wndt|O4gSPaz1?)(I3(ZUH3`^;BCd0QQJUdeDucv7^f z)4^b3q~6ZMY;4U>i!3B~*q9$lES7PZ26Ny^g$=@wCc$`}EW#Jl5IhI4%fMb?Kl4;# L1<*&_ObpflH~`s1 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Aplus.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Aplus.gif deleted file mode 100644 index ad403accc4393dd197f1eec4eadf60596e861dbf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 300 zcmZ?wbhEHb6k_0E_#(;x1YBHPA|fJka&j6P8pg)Pwzjr`fq`jhX$1uZRaI3jEiHY0 zeKTjyT)TGd!Gj0SoH=vt+O-D{9=v+>>dTie|G@xc3J#$7lZBCiL5x8MBoDHafpz7A z)W~TN#A*s*T$|!EEwxeXN(6+;VF6 z<~BAq-rn8;0Rh3m!66|bQBhGbF)^8$nH3ck?d|Qoy}i?>O`AJ+?!0;PmM>qvX3d%{ zTefW9zWwmw!^e&tJ9+ZtrAwDCU%q_h%9Z=~?>~I_@Y%CxA3l8e^y$;ruU~)u{P`aY zKu#eYDE?$&WMI%`0Q&^wCkD3Y17X^SEdn$|+E!f6ij-L!b~-p?YY3Oe>Z`vvqI5+L zT*;a!G$ZUa^NA8GcD_|tCplQn^-F5X+S)M5YxUJEQ-ihr3750BdU5)^cFx!ursVqA RrIJNs3g?5OELKJaYXFDnaxDM= diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B0.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B0.gif deleted file mode 100644 index 222ac5408aec1501457da603bc5b1f71bbe3af31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmZ?wbhEHb6kygwv6nwnZ#T1G}jW@cs<78X`k zR@Ty(Q$EciHV6RDJi+RxuvD0m6erMRaG@LHTCuN z9UUE=ot@p?-4iEHoHJ+6!i5W$E?v4}#fp_HSFT#MYQu&N+qZ8&eE9H@BS%i1I(7Q= z=_^;RT)%$(;lqcIA3uKj^y#x_&z?Vj{^G@pH*em&d-v|chYz1Vefs?Q^N$}t{(}L? z=?n~tKUo+V7;G7IKpc>t7}$0nhuR`ReD<&97v^ZUZ@+N+%vW;NBbU0Q=Dti62 z2|!ckow(r4$iDaL;_pl+fM#ktyv+35E9$U}X-A3?cT&=8-T)wP@x=@iDc;rB!Mp`f aCtYX$CNXc`sS6OJfr1G<-Yz064AuZZNX@DM diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/B1.gif deleted file mode 100644 index de5bc0220109ce37e3ed966af15abc181551e5fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmZ?wbhEHb6kynwpwgT3SX%MkXdEW@cs<78X`k zR@Ty(Q$EciHV81xw)mKrInSH_4W0wt*sp$9i5$> z6DLlbGiT1ig$tK1UAkh$idCytZP>73`}XaJ4<9~t>eT7er_Y@`cjd~J>({T}y?gim z{re9eK79Q6@zbYIpFMl_{Q2`2FJ8QR_wK`o51&4L`uzFxj~_q&g8|6JNI>x?3nK%A z6@v~)4CE&Uw%rbM^S*FI=uBgCUw-*ziPc;`cc~X8yJjjaf$+j5UzAwMHZO+o%o$#m z>^gIB+2xlFK$Y#%Jz1vb7eiIHE5_(eZ)O6@flO)d1nQg4wrKHEGu^p)Z5=?~-Q^3i z8Eq#{_1n&L0LasHxcIVU&Q!iMrWFYWrxTrk`sPg4n|w0GXyzGDkXzgwv6nwnZ#T1G}jW@cs<78X`k zR@TQ%Cr+F>bLOmBv*yg1vvA?UrAwEtSg~T&s#O~{Y}mei`{Bcf zj~qF2?AWnWr%s(defsR#v**s8yK?2q_3PIkK79E2@#CjYpFVr`?D_NOFJ8QO{rdI0 zcke!Y`0(k|r_Y~1|M>CaKNx^KGt_|MPZmZ724@Bxki$W7!oYsH!P!}hpHWg$l2;KJ z;t-(C45Y2OG@x8(2@v0z2d;ow9mtjCum_0(fg`h)ot-kj4wwTZWLTu7r8&4P;Cvw< z%S=wd*-lCWt8%P_mNeD7DGFSruTHl?r diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Bm.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Bm.gif deleted file mode 100644 index e3a4852284bf32280879f1276cef9425bd439432..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_~y+31WZg!tgNi;?CgAed?F$u;^N|xl9JNW(z3F$a&mGiDk`d~ zs%mO#>gwuxdV2c$`nI;V9v&Xv-rl~xzW)CHfq{WRK|$f+;W05WiHV6RDJhwmnORv` zIXOAGxw)mKrInSH)z#H?b#)C54Xv%M-QC^&{r!_BO`17#=B!z>7A;z|WXY0Mt5&U9 zvu548bsINs+_Y)awr$(CZ{NOW&z^nz_8mTa_{fnXr%s)^aN)w$t56NP^4z3_ z+>pe)n2p`s6eLiz%JBiCms12;nU9>Lk57Y-jkGM1UI%`lppTD|2$Glu14x@5v$Bts zE(F*(nKIZpIEeAddbtTQup6_p8mnt6DJdxcu{B61r>+m5wvVO-k|{p?rVe6m4$5G8 UsJJ0lgP4z+ppS-#Y9oU+0RNf3OaK4? diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C.gif deleted file mode 100644 index 2339ecaf6780aba4cbdc711a650bae82c0b098da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHb+vllL0xMt0owQJWNK79Dtv11o5T)1@U z(w#eZ?%uuo;>C-PA3uKm`t{eZUw{7m`40vlE2#$*f3h$#FsL%0L9B~l>h($ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C1.gif deleted file mode 100644 index d86323060d66111045b42d669524708ea4dd4189..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 402 zcmZ?wbhEHbU20R#t9qZoa<00RaI)K|$f+;c;-X>9fBpLP9}GYiQv)deWMO1rP-oBq83ytb z1KauomtQ{N!&`6c@g7W7pVi!N`O4R!!JQp!&x9z%QE9Kh^MdwNKN8s zSPtg-fhZ;eFa=Zz_fs;b)B+Pb>B`uh3?1_nk( zM#jd*W@cvQ=H?a_7FJePHa0ePc6KfiRtO-Sy@@Rxw$1JCH3|7t*x!??d`q2y?uRs6DLlbGG)s2>C2A@#4j+R;^mQcJ0QE8#iy>yk*OlZQHhO-@bj3wlr%s(YbLRZ{^A|5(ymIBr)vH&pU%!6y=FK~I?%ch5_rZe)4<9~!{P^+Hr%#_f zd-meRi1_F#WF_uzFNktzY&gKO-0LbvNw6^xPwzi82u(S?$wghVTc2`DL PfQ2o@X%iFE$Y2csz3w*< diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C2.gif deleted file mode 100644 index 16f9ea546243e3740edd8f7bb6eaebf85653f237..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 402 zcmZ?wbhEHbQ4wR*sI2Zf~I_@Y%CxuV26Z^y$;ruV24^|NiUO zum4~Gat(<<@h1x-1A`ue4oDx!PYi799j2dF~1ii(O#N=hm!Dypig+S=N>y1M%M z`UVCDMn*=)#>Qr5X6EMR78Vv(R#rAPHgxw*L|B_*}Bwe|J&t*x!??d`q2y?uRs6DLlb zGG)s2>C2A@#4ixmMmGdYSr4cYd3D(xOwyDEnBv1+qP}{_U*fN z?b@?v&;I@U4;?ymeXx4uHC$O^VY3f zckbMI@ZiDY$B&;pdGhq>(`V0~y?F8B<;$0^U%!6y=FPiz@7}+E|M~OhFJHcV{rdIC zj~_pO{`~dp*YDrI|NQy$@87@wU;qj)sshEIEQ|~cDGWLwQ$caU!2YiR7+l_*LaGW9 zs?tCvRuHAC;~AC`@5y9=RT?O$s+bIxVza`b!j;b%B4dfF0AxKBsBptrxM&6wxJ;O* zCy)&!J%KKR0Y6U$m@Q#Z8u~)20V$qr()wBgQ7{#f`V87&c7Rq&7=vHb;|2zg6holJ zkzz1o^aN52`RtNY{2X*bQ<6R6U0M864A~s)bUc!sRi*7xQcQ%HoKozhRaHey0zhWP ztGK452xytBE2KE{sY(MwAX&=@W+9l?^KcGL0Xof7EX4v6Kv6(zK>+Igcol6kMh9~t zs}vI!Svvu9L!gQAoc>@X5F*~r!NDQG!NEBt)XpK^!vUy0z)uZH0XC)xw?j%wBZD;n Dl$=hC diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C3.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/C3.gif deleted file mode 100644 index 52ea0f8fd16b870b5fc62019793507908ade3f24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 402 zcmZ?wbhEHbU20R#uLVj&5#l9v&XPzP ziMhGC`T6-JB_)-WmDSbN&CSgn9UT)VPF%HW)tWVH)~#E&dGqFN+qUiAz5CFiLubyM zxqSKZjT<)}K79D>*|XQLUw``a>Fd|8-@kwV_3PK4KY#v%0myEOf#OdVMg|5A1|5(| zAU`p%t#=UNddkTo(SCGMqtn6wji8iGj0;_)8Q5EaJV6#N5XHa;q-t3tML;|?6(F^U zqd^1A3jk3}Hed>*U4)DE!2%HV)v;HG$CdSfBT(>)d($I^0GXzQ1}DZqjS$yntImL_ vXO=fGG^+9N0L?TMP!{20ZghZ{Qpg80I%IhRP#@TaMFAQi9EU7)ni#ABM4o|D diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CDES.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CDES.gif deleted file mode 100644 index 10e931cf6a0d9a1c71e2643539ae40e46f6120b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 828 zcmZ?wbhEHblxN^&_!h?i1WZg!tgNh@oSY&eB4T1<5)u+}a&ig^3d+jL8X6kf+SOTlCZ?vQmX?+_Ha2#4b`A~>j*gBlE-r3vZtm{xUS3|_-rhbwKEA%b zetv!d0RcflLBYYnp`oGS;o*^ykufnb@$vDAiHRvGDOp)r`T6-pMMcHM#bsq>m6etC z_4N%64NXl=&CSiNt*xD%ojpB0y}i8?Cr+F^dGf-A3zsZevSP)GRjXEQ*sx*q=FQu; zZ{N9d=dNA5_U+qu=+L3VhYue;di2DJ6L;?1xp(j0g9i^DJ$m%)*|X=*pTB(h^7ZT2 zZ{ECl`}XaJ4<9~${P^k9r_Y~1fBEv|>({T}zJ2@t{ris}KYsrF`RmuOzkmP!`}glZ z7=QwZmO$|*3nK$VJcAC%5>T8lu>WfS29Y}#zq+!ljx>;o2_g**oxS2Comp)#<$xlF z(ve_scC6A~0=5ucCgIq0TkwFa#|;>?aLWN@7+fLJ-jU(b!s_bE7IEH^qU!33qVbOE z>cTuw=|IE4coX6HcwbSAcpYV+Z$;zP zS;r0tnr+}Kwcw*H2@MU B7Ulo| diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CRT.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CRT.gif deleted file mode 100644 index b2ab193d8cd2cd9b7b677567f412a460351874cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 762 zcmZ?wbhEHblw#mz_!i6n1Z-?Qr5W|o$g*4Ebc_V!LrPHt{)9v&XPzP4Gj$~EiD}#9esU$lO|1? zHEY&_1q&80Uc7ACvXv`Wu3EKf{rdGAH*VatY18J-o40S@e&E1?Lx&C>K79Ddkt4^C zA3u5WYA9^z}wWQigS&t;iMifoQcE$Ss%injwFJ@ zWUz;D-GSCQ2#YBzYFJAuOYtg8i9=<)G<`!t9C__Re8okKLR1t(?DhEszsk7nO8%*HttD$s4jL%j$$g0PXkT1q+0jX=rFb9L-`D;w%VMqYENX g0HiOI>yX=!O$Sy|cH*@cCLB_$mG$-Y&CShiZEd~1z5V_D z6DLlbJ$v@z#fz6NUAk=9vJD$HY}vA9+qP}{_wPS+=+NoYr_Y@`ck$xID_5>uyLRo? zty{Nm-+u7m!J|iyo<4p0?Af!IFJHcY|NiUOum8aS2zsfEpUkfGHraWH)0NSa5Hivg0eZ2#|)iD!cBoER#+w1ghMA_H|h{gX_BMj|3-& qDy_clyF?>0&s>o0@lK%JndfdG3T&o{k@!Q9(IB3;tHx>t25SHb%)71t diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cb1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cb1.gif deleted file mode 100644 index 57d3f070a4547130e9d4288ba89d41a6a91c9eba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_~y+31cHKs;^N|}s;X*gYI=HlMn*=)#>OTlCZ?vQ=H}*BR#vXA zuI}#cK0ZGF{{Df1fk8n*!NI|yp`r2d@rj9vNl8h0d3gl|1;xe1m6es%)z$U&^$iUT z&CSi7ot@p?-F z2^4>_FfuUsFzA3>2Z|F0_J0k)pf+dW5ET{>7XUJ$z(Y>X(8|ZdkWmjN;^QO3=Kzm18BXKw-dXlkB^IqyqOO~(8pfR#Yc`8 zD5WM~>ch?f)?uLI<0Gf23uLRA`dIJ^SXe2F0EO(CHT5*XVm>~4($dl{Km}IZ_D+&e eF(4NV>|}hz)zQRUWVjkc)qH$3I0Qr+8LR=NAI;zZ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cb2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cb2.gif deleted file mode 100644 index d4c342dce657b2f376883496c8c9c021a10984b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_~yp|1cHKs;^N|}s;X*gYI=HlMn*=)#>OTlCZ?vQR#sN7uCDIx z?w+2WK0ZEyfq_9mLBYYnp`oEsQBm>n@rj9vNl8h0d3gl|1;xe1<>lp-m6g@i)%ErD z4Gj&=&CP9XZ5S1eSQ7?{Szikm^^v%lqplDPMtb^`t;eeXD?W=VEOXpYu2n; zzkdD3jT<*@+O%!kwu1)`9y)aB#EBE9PMtb^`t-ST=dND8dgI28+qZ8&eE9IuqeqV) zKYsf3>9c3gol| zIYiLkN!G((p2y$cnAcyPfsF&K!%)}XUtZb3-$K~mgu$AJ-`ZA9RL9@niABpm3#dRu z#^2vSN=C*5$hPHjas}FG0uqM-M;U){4Sx$YN1#mDSbN_4V~FEiD}#9o^mCy}iBt{rwXsPMkDp()8)mXUv!}fByUh3l=P1 zym;x-rOTErTfThxiWMtXty;BV!-g$ewrtzBZP%_{d-m+vzkmOM0|yQtK791((PPJs zoj!f~+_`fXFJ8QK>C%-eSFT;VcI(!y2M-=Rdi3b=#fc^W<1#cD!I(aZ9xx_| zW`GzKY!K|qs)Qn;4(3?^HHw)cOK5Rg1qVA?Y5D|v^2(}s1{=xp$_2adO0Wc*i^$6I z82JPTn==O+n;M7(%UQWI+t@P%2d99%4+f^j!II_*dLBGJj)Fn&d$y*E-q0~QAtTjsi~Sd3kvS1qH>$#bsq> z6%`fL)zwW+P0h{C?d|Oy9Ua}>-90@$eSLisCr+F+Y0{J_Q>IU!K5N#jIdkSLTC`}% zk|oQRFJH4}&DynVH*em&ef##^yLTTtbm-{OqsNXNyKv#crAwEtUcGwl+O?ZEZ{E3c z=kDFR4<9~!^5n_$=g(iheEII(yN@3~e);m{>({T}zkmPnCM;K!f?au+C07}yUs`1$$Sv2sa>3CIa}0@;2hj6!~H(n=PNe!dp0 znjjHBKUOV2X%VojACDGT#En(gg3A=l^fLfa8ft2Mep0Lu5fEuFY-Pj8=f?n14-#>c zQ1J7W*YjgA1M&R)%pCpn8WHEEdQ5J9#w?D0${ZHHeoht|c7A?( g%ziGy(k4cJ2123|JPI~IwKiN5GHP60R*ekS00*A7R{#J2 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CdLimit.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/CdLimit.gif deleted file mode 100644 index e9f3cd71671a9f704b31ee00f23b8ba10ddab5b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 906 zcmZ?wbhEHbRAu00_?E!{1Z-?gt-Bn%dghdU|^L`uYY2 z21Z6kCMG7PrlyvbmNqsvwzjq|E-r3vZXO;Uo}QjwUS8hb-oC!R{{H@ffq}un!66|b zVPRo0F)@jWiAhOGDJdzbsi|pcY1!G?#l^*CWo6~%<&~9{RaI5h)z!7Nwav}VEiEmr zt*vcsZSC#tot>RsU0o9kiU9n=t%9Sfu zty;Bq?b>zg)~#Q^e#3?h8#iv;vSrJ*ZQFM2*s*ix&Rx59?cTk6-@bhZ4<0;p=+M!l zM~@vlcJk!OGiT16J$v@z#fz6NUAlbv^0jN%Zr;3k>(;H?w{PFOckllF`wt&JeDvti zvuDpT$-HF~=yl0o7}20>c|*eTt@L zn73wlrZP|i7|F}?rer$v0$q#=V2bp@5@oD?jqD+TiK@ ziMhGC`T6-JB_)-WmDSbN&CSgn9UT)VPMkS&=F+80SFKvLZr!?#8#iv=ym{NUZM%2x zK6L2NnKNfDU%q_f#*Mpo?>>C^@Y%CxuV26Z^y$<0@85s@`t=_SK-N8hDJt4CMG6UR#pxU4o*%^&d$y*E-tRF zu0B3Ketv%b{{A5$A(4@h(b3T{F)?v*afykEX=!PhnVGq{xdjCUrKP3i<>i%?mDSbN z_4W0Qjg3uBO)V`gt*x!??d_eNoxQ!i{r&w@rc9YRbLQ;Xv**m2vvA?UMT-_KS+Zp1 z%9X2Dt=h0*!`7`^w{6?DYuBzld-m+zyLaEdeTNPmI&$R5@#Du&oH%jr+_{SvFJ8KI z>GI{v*RNl{dGqG2Tet4ryZ7M1gNF|vK6>=%@#DwOo;`c@>eZV!Z{EIr`}OPBZ{NQC z`0?ZC&!7MP{re9FAa4&2p!k!8k%1wQK?mdg476qB66KQS(gZRQz(-ou z+#}FKhrtga24qPKfw>N-!pG9x85*f?yFa;UFQz RAnL3n<|ZvDs?^9}4FGB`<3j)d diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ceps.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ceps.gif deleted file mode 100644 index 15bd26326fb2e211d6c23906f12a92182f6bd4e7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 390 zcmZ?wbhEHbmG$-Y&CShiZEd~1z5V_D6DLkwx^(HXWy@Br zTD4})nhhH^Y}~kU%a$#B_wL=lfB&IFhmIdVe(v14ix)3mxpL*fg9ncuJ$m}|>9c3g z-oJnU>C>mLU%&nb1CXblNGFI&6a=c==&dE@&1gOM%At)(t_mw6-b|fPl4Qu&x(KA?R6`KZXo#6w^C3oq Mc*cSXixe2F0Z^}+L;wH) diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cl.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cl.gif deleted file mode 100644 index c4cc14bd426c6d4ffb27423f3027cfa77387ba99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 379 zcmZ?wbhEHb_fs;Zirn%dghdU|?BMn)zkCZ?vQ=H}*>mX_Am z)~>Fu9v&VcAt5m_F^P$Z85tP`1qGFrl?@FI?d|Q|-Q9hCef|CY6DLlbHf`G6xpNmU zUc6$(ip`rh@7%fb(4j*|j~+dD?%dU@SFc~ce&^1e`}glZe*E~!lP6D~K7ID=*^3u1 z-o1PG@#Du&pFVy5{Q2k4pTB?q{tpHq_u&PKKUo+V7)%&+K&n7~Vqlx$Al2LEC7?9X zb=iSM7n8)iPPi=Y6cdr^P0KuxVItLgZNY_%6)o*FIX6%>fbw@)}H}coi02 zgzy%6GzfqMGxWrDMHpHjf(tSf9Tqu&^i6DY<7N!#b?3a=$Y5$L_11XdMF$ZsR#%`L W6CYR~$V}@LsL>fFx10o67_0&P37kLx diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clg1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clg1.gif deleted file mode 100644 index e13ac4c2a2c97b4d30797aa18a87b48ef648b6f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 577 zcmZ?wbhEHblw;s!_-erb1oHCoYHDf*1_s8)##UBV_V)IUj*c!aE^cma9v&XPzP$WW{(}L?xu`(#CkrD3gC&Cw zNEqZN2DX0(V)Tx4i70V%v`jkvv}k9H-gE@Dt^1hB>5D!LA;^MYC9w@XV3iCjP&5GL zzAN>BO}Tsn&9I#@?GsKj7Ngn#1Ms0L@&tt4gkCW6m|7f(M!;V}O7lP@kBh&_anK%l(*`Fym{NUZM%2x-n)12p+kp`A3uKP%$alN z&RxEI`NoYKw{G3KfB*i&hYz1TdGhSpv)8X*fB5j>)2B~gzkdDx{rj(9zy5;($lYL| z_>+Z^fx(7B2gC#UiGl5(gIxc2E)kV(k0Xa3f2^>P>pza5EPdTwAKwjO5JMIOE6Hr& z0jp%tLD2w|Q&*k?Hs$pbG{bDGx@(y z^blgX=FXJJ7y(i_xv;|KUgJ@at0#0HcV={9k7IYx_yDq<#RVwH&`=Vr(%y(@3hAsHN@rCPdS+avf{+zfC?M2UiXI|DET{GeYu549&co@k>d%O47Ld*C&L(^AQ(`wN8C|qqeO*4V+tb&6N5DX DgGmzz diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clrr1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clrr1.gif deleted file mode 100644 index 94c1fb3fbe2f9634267371f9fcb5a661377f0415..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 919 zcmb_ZPe>wh6rQAIMO>B!K|u+e*ygf^(*!2E8j62PnNVq5GevvXpksMb>7XJ};lYDJ zr$q4LMS>0yC5RVOP!C@|~sZ>%FH9b8|)AY>Dj7p_atJNBfMyu88bUM9WZ!j24CX>Zt zv0AMQ3kx=zjbWI@#YLynxwN#zvaH+fUS3}Idc7+vD?Xpk@An4+fnYEQ0BdV&>+9JC>D!HM@PrU$0sKzr>Cc9XJ_Z<=cQ7qTrO8Cm1?zmadAgxLX`sU`Q-EMa}oo=_=>-BDLZ}0Bz?(gp(9v&VaAN&3O z)6>)Q^YhEg%MT8NWBqT)zm1My7+@a<#)F?=Z@)*-p%~s6fqxJyQ8*Mnk}`b;j~-)( zN)SQHIF|jV%EdQuDvxRv2IGf-77ig^l`-;FIwZktzX%rqh0D1XqfkP~zC>nGg+DIG z8NZ#j!*3l!19${puE#83fE@#%MLsYSURrJj{(Fv5&jUCy4;QP@vRVQ_q5z+Q0#KX5 zh09o0K^PHlC;XgBIZDVr0r*8iV%&}@nh3H09Z4!U8lM6%A|=|wBmpq+&~AgLAhW+9 zngTnCR3i@1;0~BWljTzmWH#{ngGru%;L+eB-Y9_L@#pX{J>UX4XoX@TifMiV@b^m* diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clrr2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Clrr2.gif deleted file mode 100644 index f6c3d4fe12fbfce4cb66271166652f71ab824397..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 919 zcmZ?wbhEHbRAb;}_?E>01mfc25)u;9($dPx%IfOsT3T8L1_p+PhDJt4#>U1bCMM?Q z=9ZS0*4EZGHa51lwsv-Q_V)HpPEM|_uI}#c9v&WEUS58Fe*XUcK|w*Gp`l@6Vd3H7 z5fKqlQBg55F|o0+adB}82?>dbiOI>yDJd!G>FGH+Ir;hdWo2dM<>eI>6_u5h_4V}) z4GoQrjm^!??d|Oy9UYyWo!#Bty}iACeSQ7?{Szikm^g9b)TvXaPoF+}_Ut)x=FFcz zf9cYtD^{#ny?XVA4I8#@-MW4I_FcPn?c2BSz<~pY4jnpt`0$Ya}avu3x`?>(;G1ckbN3fB)gbhmRgTdi?nDlP6D}J$v^2`SVw= zUcG+(`pug+Z{NOs|Ni}#FJHcY|Ni60kDot({`&Rn_wV0-{`~n52B1JB7byN@VPs&) zX3zl{0E!a^_J0l8+1Y_i!pb5V5+*<KT`v;LH$*QwdN)TNW%E!w`crI`DAB@GbDi7Hr(0S4$9ft zQhM1bh88hWX?_e5BC;_thRW_hd4J_JuqqQ4Wm(7U>@+c6WqE&)NQ1gocD9qYwjo$r z#3(!49jKDQKigX>JKK#3=r&NK_}hS`p@f)Gw!bz|6;o)oy+~-b3ow|JOhU86E#lM> k$~2j{m6 zQE_o`DJdywX=&-{>Dk%Yxw*L&6%|cQO>J#$9UUFLy}c7BPMkb>^7QG`XU?2CXU?2? z^X4sCvSih&RU0>M+`4t^?%lih?AdeRz=1=D4jnso?97=n=g*(Nc=6)Zt5@&cyZ7M1 zgGY}Zy?F8B)vH%;-n@DD?%n(M?>~S3{2vTJPQ(oqf3h$#FqksvfRupz#K3m_K-Ai4 zLNYS!ol3#0uV!t%XRseYoTW>810P&*M zg5%n6bLA30qyL zx3y_mSoB=Kl^|0zZMGg;4b~3iF<+B0y?hXELnRAe-%+s3Kq_l3V2%LsblreFF%|}E E0JBETW&i*H diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cp.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cp.gif deleted file mode 100644 index 01e5136a56ca7e0fc948d6952c749accd58c4d46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 416 zcmZ?wbhEHbqL<6AslZBCiL5V>JWH!i83~YNHCVFfUl#t+TU8E?~ z>9XiN)25Fd4$=;8DnMR$s|Sc;>;+P(9Fh}3JRKz<6(!IBqJVNBipd8|L3k`DIzT)V zL698B0|6ivsHOyx3v6i+WOS7|b69y543qvE|GqZ5=$KyZn$AvB1$;mMn6~R b41w6t1=P;ga1v}Z$l6704k|*dj11NQYZZCK diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cs.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cs.gif deleted file mode 100644 index e55d4d186138f705d022bcfc22267bf68805cbd9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 390 zcmZ?wbhEHbEv>DsZEbD6y}kYY{Szln zT)1%I(xpq6EnBu~)v65}Hf-6lW&i&DhYlS&ckbN9ix;n4xpM2)tp^VtJbLu#>C>mr zo;`d2{{7dlU;l#v$XUbz#h)yU3=D=0Iw0jBKQXW^J`kak#-*duc3M%S`)HEB*YYP_ z8?Blnbi}%SRW<@CW!|KX5k9UOM}gEElP(~|t0dNav;ias)WF~krocSL05G)@s8WZ` z0iQ4wR&H)?9v&Xv-rl~x zz5xLNK|w*`;o)&{afykEX=!O$Sy{QcxkW`qB_$=5m6g@i)y>V#9UUEAU0wbC{Szln zoHlLR%$YOi&Yinx(W2$cm#TOXwr$()-MbGRI&|d7k&`D+o;h>o+_`g? zFJHcT_3DiqH*Vd!b@%Sw`}glZeE9I$vuE$#z5Dd()A#S+fBpLP9}GY)MgodISr{1@ ztQd4aVjw>;u>EtG>-SwsL5YW>WzprAC029&mV>Cfyo((#mY9hoEJYHOUA7R!lLZMj zz*W9UxCGW$jHEL5`2r*!)J)j}i!L*k!t_A}=kjd;YtLH-*0ApCMUY_-!Mi$(A*Os~ zcm;Agt-Bnp#>~IyyRfdU{4iM#jd*CMG6sZf@@G z?%v+sK0ZFd!NCy`5%KZy2?+^_iHS)`NvWx+X=!PBd3hxzC1qu0m6ersb#;x6jh&sH z6DCZUJbChzDN`0LTC{B0vQ?{AtzW->^XARlwr$(9XV0NShmIdVe*XOV3l}b2xpL+1 z-Mjbi-+%b<;iE^7o;`c^{Q2|OuU~)o@Zr;^PoF=3{`&Rnw{PEm{P^+n=g>$^FT}eSrz&-8Y&2F?|&Sr*g#Oi(R!!igNj(ic>1~OmbTcG}C5Y`(dCGh?zxgS6e_vgLs<-WhN^y GSOWmQj=X^Y diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau.gif deleted file mode 100644 index 1955e8bbf998ce7338422f74e43c8974898bf5c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmZ?wbhEHb6ky({T}ym|BK)2Gj$ zKY#uD_2Hn&#Y6HKE8A@kGcG=Mw#ObSLLwkD0|X?XM)R;S UA4=fkfb)Q6atrW?u`pNz0JspHU;qFB diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau1.gif deleted file mode 100644 index 6d5506ca4338005bc17b51c6f89ad2deca193dc7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 460 zcmZ?wbhEHb6k*_H_-e@j1VTbW($dm~hK5E)Mm9D!c6N4-j*iaG&Mq!4uCA_LUS8hb z-ceCev9YmnadC->iJ6(1+1c48B_(BLWfc__m6erMRaG@LHJzQEeSLisCr+F;ZQ7hU za~3REuxQburAwDCU%q_BiWRF?ty;Z$^|o!>cJAD{Z{NN{hYlS+eE8IRa#K6mci z#fuj&UAlDr`t^JF?mc|?@X@13&z?Pd`SRu4w{Jgv`t~kQm5M3~VnQ=K5XdQc-9;9Pm!UGD*9$g5O+a>0( z9IB+5w?Q4G@}Lt~14!Sp1u*SUQy2~4azK?JQx+_}%vfqQmv0%Ex9(`=5F#?%Zeey`=1d-bOGfXx&H lYUf@Gcjw$ZRiO4=0YD{SN3dUcS)$SDw_I6NVuAvLH2_Q|->?7x diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau2.gif deleted file mode 100644 index 47a2c9fa2fdc50f66144bafa6e2d9c20b2436b04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_~yg_1VTbW($dnpy1IsjhDJt4mX?+_Ha2#4c8-pY&d$y*E-tRF zuHN3>0RaJ_p`qd7;Zadh(b3Vdv9XDXiK(fnnVFf{+1Vu}C8edMWo2a*6&010l~q+$ zH8nMzot=GseG?~6oIH8*lqpl@%$c)b!GcAL7A;-6bouh-D^{#nwQAM2ZQFM4+_`Vx zzC(u&9X@>c)TvXaPoF+_?%c(T7cX79bmhvG>({T}yLa#5!-tO^J$m-+*~^zNU%!6+ z=FOY8Z{L3X`t{qlZ$E$j{0{~o&kQx7_>+Z^fx($U2jp;2oG`HeYXAnjF(bDKyDX72QVM!@&ep07FaaPfB@E^mBZ--_=z_(}H4y3)*b!_Pi$M;?LeLDxAU4o?bBLIu zvWTD|M9|q#1tMn7=Ag*H!U^UmnmIe`XlZE~^E((bm~#qRS;>kRI6I4I@M>#YJ3EU> sIXi2~%F07Dih(E-We5jC8ZrTCb45E*Btbo{261O+J7z&XhDHW!0PFFxpa1{> diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau3.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ctau3.gif deleted file mode 100644 index c75ecf25f17553a264e3a4b807cc7fecc989d4b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_~yz01VTbW($dm~hK5E)Mm9D!c6N3S4i1ivj?T``E-o&vuCCtR z-oC!Retv!d0Ra&a5m8Z5F)=Z*v9WP+afykEnVFecSy|cH*(D_K79DpsZ*yV8d7paxfNx zW-tb^f!3Qr#GGY?1vMdpZbr%wF*62xV^(GkFh|kU%}rNRQ`6GPRZH89OVH9%R@BhV zO;nvnN5{rZjL+W9O;c7@0isb1Od0b*cwo|q$<57@%L&=}Zu(pe5^ioza-#ggjSSWR D{%O5| diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cv.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cv.gif deleted file mode 100644 index 9d91c675a2ac72f82c353ce13a11cac41ba7c31a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 402 zcmZ?wbhEHbU20R#t9qZoa<00RaI)K|yhGafykE$;ruSX=xc5 z8M(Q+B_$=5m6g@i)y>V#9UUDLCr(_oYSp@R>o#xRylvaI-Me=mI&|pBkt1i$oH=*y z+>IMI9zJ~d?Af!IFJHcU_wLiDPv5_P|MlzFe=q>qN+qE9lZBCiL5)ENWFE**3~cKi zCZD{*$s@$dvMAALrq41#mq|ZoxJVv2mICAnG@k@f4ZT3Bl0|$nh^L|qq-Jq6sDXJt zAd1NXOaWB_c`P?(fT$;iARgxiFr}UZmP<%5V)RuLW=-Y_G+Wl&p75hag|qwQln5Ok nzR4#)RoH;^ZHfSE2U)8&Ig{~L4M;GBX%>*uoGeh%#9$2oIS!E4 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cv1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cv1.gif deleted file mode 100644 index f6d56ab7e3661d287d10c31e885bf1bd74474d83..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_~yv~1cHKs;^N|JYHFIAntFPA#>U1bCMKq)rsn46uCA``?(RN5 zKK}mxfq{WRK|#U6!J(m{5fKrQk&*H7@rj9v85tRQd3gl|1(lVR)z#JY_4N%64b9EX zot>TC-Q5!=Oqe)v;-pEFCQqI`ZQ8V1vt}({zI@fHRcqF)S+{Q8#*G^{ZQ8VL+qQ!T z4<0&n=){Q=r%s(ZckbNz^XD&IxNz;-wHr5X+`M`7_U+qu?%cV1_wK`o4<9{x^!V}P zCr_R{efsp-vuAJLzWwy+)925hzkdDt?c2BS-@pI(@#EL8U%!9<{tpHq9}Z%m_>+Z^ zfx(MG2joUjoG`HeYw+^&GG}HN7334=12Un&O;%RV#>-8QQ41#GU1bCMKq)rsn46uCA``?(RN5 zKK}mxfq{WRK|#U6!J(m{5fKrQk&*H7@rj9v85tRQd3gl|1(lVR)z#JY_4N%64b9EX zot>TC-Q5!=Oqe)v;-pEFCQqI`ZQ8V1vt}({zI@fHRcqF)S+{Q8#*G^{ZQ8VL+qQ!T z4<0&n=){Q=r%s(ZckbNz^XD&IxNz;-wHr5X+`M`7_U+qu?%cV1_wK`o4<9{x^!V}P zCr_R{efsp-vuAJLzWwy+)925hzkdDt?c2BS-@pI(@#EL8U%!9<{tpHq9}Z%m_>+Z^ zfx(MG2joUjoG`HeYw+^&GG}HN7334=12Un&O;%RV#>-8QQ41#GCMV9KBaQUdZ51KYm?QER73 zNyv1$IR~x2nzc1*Z5W7}wPupy)+|Gz2O&s;QK^9-o)k#10j5%FwZJNnK3!!bm9v%w zAn~APN+krXX3U1^g9=9R7J#+)h9YZ#2ui(%If?li*ku-1K$P;TqgKmqWnO(*Vl~$< z{iu^plx`1m$ZAWa3Ab1n1zI?oCZq+guGA3mTFbWPs*Qlh+A!^$tXALLWUxhG{|Q`Q g8EV}S(;XqTdJ{ra)m_om>55tFEw&X0fB|I<0P~6MD*ylh diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cw1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cw1.gif deleted file mode 100644 index 7b071d22adddae52db730f364469092c8d7a8426..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 710 zcmZ?wbhEHb6l36J_~ym{1d@`HN=iybMn>l5<~BAqc6N65_V$jBj;^k*ZfhrR65*2qGU32QOxnQS-ARkV3N8d>i1CAY_6#;iqE^g0V4kyr8b~K)_%Oq2ZRfn8=vGM9pO&lJ4$KG6F{K%eqw5_NZ17ZZ~Nsn_C`RA&M)z@i`q2&go;3p%MQyDOQa Uio0tGa&Q3+Q)cBBY-F$o08-b=QUCw| diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cw2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Cw2.gif deleted file mode 100644 index d8674c6ecd00c1731d8efca10da09958a6de337a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 710 zcmZ?wbhEHb6l36J_~y$11d@`HN=iyvT3SX%M&{<`c6N65_V$jBj;^k*ZfFMcNSy^ReWfc__m6eqZ4GoQrjZIBW zt*x!y-QB&ty?uRs6DCZUIC0|CsZ;08o40uJ;w4L#tXj2d_3G7Y)~s2(cJ2E0>o;xM zv}MbdUAuPe*|TTgzI_J{95{67(6M93jvqgM?%cVH7cXA9a^>pPtJkkzzj5QnojZ5# z-o5+q;loFd9zA~i`03N9&z?Pd`SRtfSFc{be*O0C+jsBYefaR<`}gm^e*OCW`}dze zfBu63$hU(GDE?$&WMJ@P&;hv%6ekSq{~CY+Zo$Yd#3jxv2V}y5rsXM!0Z>w$p53_`;#^HdZPFoTL(DMBQH z4(0GvWME+jb5%|K95gNbjIHd<`8~}U?6~+H9At$I{rq@DWIg$9wM_i{L?rzDw4|hD yLF#q6Wwn?<409C_2?Z(*enReA>VE20wul5=5}^=_V)G;4i1ivj;^k*ZfnB_$OV6_u5h)z#Gv4GoQrjZIBW zt*x!y-Q9hCeG?{3m^yXpym|8$FJ8Q4$&yv8R;^yWdd-?OYuBz_zkdCuO`EoC*|K%( z)?K@H?b)+u-@bhZ4jedi=+Loa$BrLAe(v14D_5>uy?XWf_3L-<-hKG+;iE^79zTBk z^y$-Q&z`+_@#5vnm#<#Edi(b6yLa#2zkmPX!-r3wK7IZA_51hlKYsl9_3PK4KY#xH z`}ZFVK)xMhK=CIFBLjmUgAT}Dpg3V*|JMKva5F|WVJTM8LZ$! zK!zkgnCHM?gCuIjtOw?~D)}ObDzG4N;7kTdI1|hOSq}sZrVtu#nTNQrfErZPLIENP zbSQ&|DLXS8n5%5!XQO83XJlsO;Nh#GZNcHkXGf147(STbP|o*uYs*m`AXY!5RR+hTkjz diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/D.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/D.gif deleted file mode 100644 index 4791a457b193420b5e5f2aba386f6524c8695ea8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 218 zcmZ?wbhEHbCBlm&;FvFI~!PLPiP{dV|;VJ_sYY>#-8Yq&=0MggpOA8v6SB1_lOZW@fgw zw)Xb+E-o$}9v+^ao?c#FzP`SGetv<0fe{fAk&%(Hv9a;-@rj9v>FMd&+1dH|`NhS> zm6etC_4N%64ejmi9UUFr-QE5D{nMvUpEYaNoH=tAFJ8QS`SLAWwrtGLNuiw3U_x}C+FJHcV{rdIWw{PFS zfB*60$IqWXfBpLP`}glZfByXa`}aQ>fV?zxfZ|UUMg|5~1|5)-L2<&s{;R>&Rh^qv zQc{vl*vb_FRCs}GLs=Pwm;)b3$kmlu8%%)+2L?Sb8%fBL!4NEiBqYIU3KEiMKxmYZ z0V|S{Fl-Qz6y=f-6?Qe^0E?M2m?|l{Du_7ftGenkIslcK@@l$RIk@tuxH>qPYB8Fc n8VLxffV5ljr~ye}3IYKOkcg`$JD5TyFoaAcdBBcqWUvMR0_3o< diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Delta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Delta.gif deleted file mode 100644 index 4724585b5e7037488c8120158845cc979a86ec6b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 336 zcmZ?wbhEHb0ojpB0y}iAYCr@6rYSo%GYu2w{zj^cK9Xoa$ zJ9g~s*|X=)ojZU2{H05mZr;3k`}XZej~=~#{rdg;_a8rg{QUXzmoHzwfB*g;3_$K6 z3n>0%VPs&?0YV@E`H6uo*FmiNsFSXT4v!{K&d$zmZf>5Q zp5ETxzP`SJfq_9mL7}0cadC0+@$rd?iOI>y>FMc(g@xti_^?mT|{`03N9&!0bk|Ni}#FJHcX{rc_Ox1T?M{{H>@KNx@<4Fifl zSr{1@tQmAb0w6yzu+2MgH*fo7-Ll<4>h@bO#Vu$B=3O)bQq!wk1h#sAYnXgDFTMIkfpBZ?_SwFCeJAt8joy}NHf91%VOo8+uk9w#u-3%wxA$_bzpM8Z z$g>Vs*m9due-cn1Nbc^rjR)T9O_Jr>61g^P_0?6(5pVSjCaVG62L>H)^n}i8b1+x~ E04AWjMgRZ+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/E.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/E.gif deleted file mode 100644 index 029f98b1955e6b72b6c5ed1286e67a282d3fd700..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHb-Q7JsJ*!r&TD^Mpnl)?IuV24q z%a$EGb{so)?9{1Kmo8npa^=d^t5>gIzy9#y!?$nWe)#a=)2B~gzkdA>1|Ua}3lx8{ zFfuS`Gw6T}0Qrf5E&0Gzuf-Z3Dng#j8=}@4wO!5H`imiK_0&fjqLzluKbW;ut0Zjo ziB&97Yu%c?o-c}68@Bo?%f*)=4Ksl%qkQF7Uv1rTX-(MT1F2iR*1Gjx&0?`w8@60v T>E=le41%34j2<(>92u+u$ZL4O diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/F.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/F.gif deleted file mode 100644 index 02d23d22a655500a3a295bc9846460eb7f37a64e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 210 zcmZ?wbhEHbd>s;bX^+J$(4^?c28>K79E2@#EL8 zU%!9<{vQk!f3h$#Fvv6LfNTQU$-wIW;JYW=LkmBqn)~9i_rI5({9fq#srLT&hWpDI zZ+r(bYQ+>nd%xA*Kdv&BCF4GOojh}G)Ro%%>6}-OTlCZ?vQ78VxP*4EC> z&TejQ?(XhhUS58Fe!;=PVPRp>(a~{nafykE$;ru?nVGq{xs{cbRaI5BwYBy2^$iUT zjg5^>O-)^0UA?`%Q>ILrK7IPknKNh4o;`Q&+yx63tXsEk^XAQ4wrtt6XV1QU`wkvF zc<9ifW5i<)w3K-4JMA*oejM&iJk3=%M=Hkbjj9tarpA+&{^ z3_q8souw#`xRad$RMbw|(n%F;ny8bL1Oq24SgoGA6GD`k)r3dT*i=;nihHHg&SomvK^rI0z=G$|)+uZ|9_F=+wwy4FIj{w7dWS diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/FoamXIcons427x.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/FoamXIcons427x.gif deleted file mode 100644 index 86aae62a651dd0367dd8bb2dcf214c186b64e2f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 433 zcmZ?wbhEHb6ldUK_-f1m1e~0l0s;a;LPD~#vI+_c8X6k9y1J&Orsn46*4Ebc_V&)s z&VGJ=VPRnr5fMpANy*8{X=!PhnVI?d`NhS><>loyH8o95P3`UNy}iBt{rwXrOjx{l z@#@v9*R5N(ZQHipyLa!~x9{M=gQrfNI(zo)_3PJf-MaPg;lsy|A3uHi^x3m#FJHcV z|Ni~w&!4}3{rcm_kDot({`vFgKNx`AhZiXRWMO1rFk#REsRH?lf$f}wRIl6Oiy0qyhMg=M zXEZy_4rLM$Nq1Z}<@)Xeia1{04AuZf C8mbfk diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/G.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/G.gif deleted file mode 100644 index 5543f1718e6b131d07f1bb03c9dddf9714b67354..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHby z(aFilnVFe+d3pKy`2__9g@uJBB_*Y$r5zm|{r&w@rc9YOZQ6_(GiJ}8y>Q{eHEY(a zUAy-1;loFc965IE*o6xhE?v5G=gysn4<9~${P@X}Cof*S`1I-1=g*(Ne*OCE*RMZ+ z{`?06kZVW;ia%Kx85r~!bU^w*eqvxtc9?$JR7yss_sEk6L5^ArC$CQB%!v^=cIs)- z&X`u;6Aub^#^_C7{kVz;NSy`=HuM0gsSPSZo~#T&x$8?A8d?~{Kytcls^LoovUbL3 VupW6@R4T;Vo?OJZGscm@8UQHyfcO9a diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Gamma.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Gamma.gif deleted file mode 100644 index 9bb6121be719116b00fb8aa79cfd84b8cffd9d86..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmZ?wbhEHbC(f84}bpr`5z2GhQfg2 zPZmZ725ANzkO0U|2G+O-+g#f(xJ0vXoZXhozcKeVo67BNxkooP-rmM|bz81^p4O2+j3{K=G@+FMd2nVH?)-Me<}x^UsbojZ4) zKY#x6<;(wIp!k!8k%57qK?kH0WCjC^!H2yr4uLmC!NIIw74Gj&=&CRW?t?ljY6DLlbJbCimxpS8- zTefP|stp@9Y}>Z&`0?Xs&z?PZ?%b6tSFT^be(Tn)+qZAuxpU{yqeoAlK7ID=+3VM@ zKYjZ2?c28>KYslA^XESpfLuldQ2fcl$iQI4paW71@)HAFnZwLCmpOb4jBav$m~kS- z=z@dVU3a&o3w_C?q7LprD|orKPK@Yj1Dw?Ccy65D*j;l$4Z| zl9G~{nORX$(ca$P(a|w$)~p2!7A#%5bk(X=>({T}vSrJ*ZQBkWJb3^9{Ra;oyng-q z?c29szI^%q{rk_KKY#uD^&bovXaf{~vM@3*C^6`Oj0gFNfi3#LF@}o|I$Ro$xTehL za9PxISXoF?ZBYQ*C&5maw$2lW1Ug-mCMqU*+5jn!6bAzx<}MEvA;|{ei5f*8I$V?v gyQtg}5mTCY!T_jY=0Vph5(-i>6Il&1fL2)p0H={)ivR!s diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/L.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/L.gif deleted file mode 100644 index 31d8af819363ceb82a5f053e6d46cd13ff8b0f21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmZ?wbhEHbQr5W;Ql9_V)H39v&efA>rZSX=!PhnVHk3 zO`AD$=A1cmmM&eodiCmc>(-q)bLRZ{^Or7Ndie0+hYuhAg8|4a450Xvg^__lf@wrzusXj@{0ae_o!qJ*0Sh-_c+;#rlzLW*48dAE}ovA2?+_w$;oMH zY31eR_4V}~9UT)UOqe-y=Dd0H7A{=4e*OAm$BvyjbLQg3i%*|EefRF&hYuhAg8|4~ zFi`x-!pOiN!=MA=f$U^p^;0-rD08?_21uF)fXH?RK_Gd&u}i1`$PGwllmsbAWIJ4V pC$&I^SxxGAq~P($hNFc+M+;>>6oB+T7m+z3z;)cWeL)L@H2@Q!PjUbN diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/M.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/M.gif deleted file mode 100644 index b3be9924185b8db5fd3b7b1d70eec11eb70100ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 353 zcmZ?wbhEHb?0 zL7}0c5fKs5(b4ho@tK*KSy@>*IXU(9^-WDp?d|P-eSQ7?{Zpn)nKo_O?AfyyFJ8QK z>C$D(mMveteATK|TefW3zkmPX!-tO?IdbgSv9o8-oKta~OlIgvF`DV4Ch3u4 zB+05U>14_#o)pE&C!?k?xu{Lvs>3wVM=dzefgPx1vZ#yE%$z5TvJFNzHCiGM0QI@B zS)GWQA+i*xAw@{?g@WE_Lw4<9~!^ytycmoLA4`}Y0&_y1r3G86_B zf3h$#Fi11#fCNBxGO+q9FxcGQmOF)k;n1es+uJx89(U-v>w^kT3W`&#`gC1etv#wX=$06 znK?N*6%`eAb#;>`Po6ey+RT|Vmo8npdiCmc>(*`GzJ1rOU3>TLJ#*&F`Sa&5UApxA z`SWkzzWx09^FJ7X?4TJ?{K>+|z@WgO1F`|+CkD102Z4-93?2>&7akp8Xmk*AW@KS1 zlv5DkcyfTnN@0QvGgG4j_k|=zCQl;;fedCwM;7UT!$83XZUGLH9SveYm0LjiSdKC= mHJS(taI`40I4B6baAIt9P;dnrX2{1Qz`=3}XhVPigEaup6;QkY diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Nx.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Nx.gif deleted file mode 100644 index b81cf0ae089ce0f8827d85a849accd62b972f998..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmZ?wbhEHb6kyKYmv+S=Ntrlw|Q zW;Ql9etv%b{{8_00TB@qF)=Z*v9XDXi76>5>FMbi85!Bx*@cCL6%`egm6cUhRdscB zjg5^hEiLWs?HwH*y}iA&XU|@+V8N(?JYe*FCT^VhFmzkmP!4+bEo zGcYLrWMO1ruw~EzaX@}zVB38lE`JNdlqy>()rBv=R_%>juP&uiwO7vf@@o*!|GFk; z)!un+*TB5@(=OWD?VYCvFMcNSy}n{`GtjrWo2a*6&010l~q+$ z4Gj&=&CM+>E$!{?9UUFLy}i??PoF(|_JRcq7A{=4c=6&@t5&UBw{GLcja#>F-M)SM zjvYI8?%cV5|Ng^=4<9>r?BvOlr%#{0e*OB*n>X*=xpVjK-A9ieJ$?H0`Sa&5U%q_v z=FPiz@7}+E|M~OhuV24@|Ni~Qj~{>k{{0UIAYTm;p!k!8k%7UDK?mesP@FKZKW=by zQ|D#SbaS&4r2}H}@wwTG@H?7uh;d7T`1<;8 s+EQ$ehN2)26qqqMa;v~NK-!E!om(G?Z*Cwfh{Sah5|g!ZYhgwt`Iyy#1M$XR8Zf%$YNH?%ZX|maST~YR#H88#Zj%wr$&eRV&=Pq5kbp87EhYueKYslD`SZ`8 zKY#!J{SO9;KUo+V80;BzKt2KaiGgkRf&2MW7(D9s&wqBH;&0vl`|rcK1XA|T?+f}3 z<}D9oOxhox^BKbX{vlEf!fODkT;BZ0g7HeeFhov$<=;BC3-3Q7cuG#bpTNBSwv&JB zv>cqi{${KP>Jz{Gr_Mf}dBLy0CCXE>-8_HR?U(ln{QcKP&86LG;S-=E`o946X`O%n c9b(vb=6`kT*tEVvdB6Y0i8U~aurOEy0LcF9rvLx| diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/O.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/O.gif deleted file mode 100644 index bf5a26303c4750ccab077170120c528ec5874ab5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 210 zcmZ?wbhEHbDjYq&!0bk>C&YuSFYT@fB(aW5C6dcWCU)Y_>+Z^fkBi(2c!gKCj+a0LTKo@ zCWXeJ(8~usLPbTrQdL5MfTiKwhY%pm-yi_uUS)6y2GJ}`O#VRXDGwi5xHC}GH6&E1 S*he%%ld*}zFEmtILtHf{d=`Ae5BUAAo5v17;1ojZ5w z(xsa>Z{EFo_x}C+4<9~!^ytxx7cXADdiCzzyN@3~{{8#+KNv7j11SDvVPs&?V9)^> z2J#aFTeL&SNv8q@hG{}xTV_-QsPri-?&1m15aBw?7^BB5!qw`ukZt;D1|St6%g7dT yVgXRDg~2JZK|qAd)hZxBDv+_oDOFCrmznkBf&iWiZA^tC3K}7YCLRDVF6<~BAqj*gCQZf@S* z-T?st!NI{HAt6ywQJI;UIXO8M6&3C6?Q`eOoi}gZ^5x67Y}vAX`}V_!4<9>r?BvOl z=gytGeEIUjhY#Pref#0VhfkkAef|3NKNx_lq#jWG$->CMpvs^FG7{t`2Daz}K`Way zT$BV`mWOBsN-PcHbk>;a#^$~<1=65Co)_26-B5fT)!snJh{Rf`D?Yj11NQD|}u| diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Phi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Phi.gif deleted file mode 100644 index ab978461ede9ac9bee5485b25f2c13263cd723c7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmZ?wbhEHbc+;#_V)IHfq}`%$(fm%rKP3S)z!Vd zy)$RdT)K4Wu3fthA3l8M%$ciKuin0W`{BcfKY#xG4+bEEumQ!NEQ|~c;tV<gt}Jo_>CQK|w(wAtCYc z@rj9vnVFe0XU?2IfBx>>yZ7(kf9lk!yLa!tdGqGOhYvr0{`?OHAmdPh;!hSv1_nt6 z9gr}{P6k&0gfPo1yiAAi!JNI6)wlSHQK&NFwqYLtq+1^Tbph rg;aJ1C#NZ<4I-SUTur?gRCr5MBf}IMrld;F2<sTwS-5cF%9ShEuV24q z%a$EGcI?`<>)^qIM~@yodGh4hvu7_{xN!OM<*Qe(UcY|*?%lgjo;-Q>?AhD5Z{NRv z|LN1G&!0d4{Q2`g7=WBb98mnp!pOj2$e;sK4)PNN+sp$II-4y#R3^1*igh1N+8CiD zw%GzmJr{uTid7XhM(~JqK;*jDGOUcy*;a6*LBsn*ir~>Cg@$F9GXr7_yH+&(6iG5X zvH0@K2}v6zRti;awc04LLYWK0Ix;B9CHq}a4Tf;wW|wLCydt&l}! QHHdfAY6_6zW@4}g0OIhJkpKVy diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Psi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Psi.gif deleted file mode 100644 index 48f4378120945768f2d57594e6a128bd125430f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmZ?wbhEHb4ZftC9Z*QNRoSd1NSz1~;bLPzX^XD&Jy7chj z!&k3fefaR<=g*)2g8>66K=CIFBLjl~gAPa&$W8`UcZDkwEC~|4TPy^O942fQVQb+L zND(=~(0GEuk-3QnD0rbkqq&)9g0aSh1_fpoC1w^wS3!+VW=DY%4sI65fMkJ&M3Vpx G25SJPqBAo9 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Q.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Q.gif deleted file mode 100644 index 23197b8640572460baab95b64187da3fabb3269c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 345 zcmZ?wbhEHbS?mre7A;z|a^=d^t5>gGyLQv2O{Y(vK701;`Sa&5T)1%Q(xn?WZrroRZ{ECl z_wL=tj~_pO{`}?3m#<&H{`m3Z=g*&i{`~n51|V1B0E$0Z7#SGM7<54LAU`p%l{w5l z8+OY>rL*Vkv#yd5v*^_uH`;2M%|4sv%;?iR>1^8On?4Pv4g#qhGXaJV8-dj9w*m|^ z8bC@m%UUo@(N&GQ>C$(7=_jce5nZ;EX|F@rrZJ`gHDs;7u5A?D3)FD7&1eRn5=aAM NF4ut*Y1~W<)&QSNngRd- diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/R.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/R.gif deleted file mode 100644 index 934b565dd4d1083d79d740863392c92c825f028d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 318 zcmZ?wbhEHbSj}Qc_ZKa&r3m`o_k_=H})W78W)( zHs0Re0RaJlfq}un!66|bQBhGTDJhwmnH3ck&CSj2?d{X1O`AS_`rNs5=gph9eEIS% zTefW9zWwmw!$*!BId<&W@#Du&o;-Q^^5usQA3k~VZ?+MQMw`v zu4HYMm>I^+a-l?xTVU1INe)(XPdZ=C+S)M5YxPyFnkZd?#>-h-x#owx4$jybCCPBY QrIJHqxmd@C9YCwB0Ui->nE(I) diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Re.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Re.gif deleted file mode 100644 index a81c3848aa8e0bb06292cfee4733623ccbe90e16..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 380 zcmZ?wbhEHb6lCCH_-e-h1Z-?VcOO1{_~ONjmoHzwd-v|chYue=e*E<5)7P(GzkmP! z>({UUV4(Pug^_{5oa&lx%UgsxW zdiwhMMn*=)#>OTlCT3=478VwkmX=mlR@T35kh`+1c4SIXStxxrK#=rKP21 zWo6~%<&~9{jg5`1t*vcsZ5S1eSQ7?{gWq8o;GdT^y$-Q%$PBA=FC~MX3d#1 zXWqPd3l=O`ym;}FB}o;uJuyNzY&6_uG z*|KHZwr$(DZ{N9d=ia@0_wV0-=+L3VhYz1PapLsp(`U|{IeYf(`Sa&5Uc7kq>eXx4 zu3f)={pQV^w{G3Kef##EJ9qBhy?gK8z5Dm?KX~xq@#Du&o;-Q_^y#x_&tATK`TqU; zPoF-0{`~pdw{PFSfB*60$IqWXfB*jd9}GaDi~}hCWMO1rC}Yq8$%EpAf&E`YS(&pq zi>9U~k2^3#@Bk++pkxMD2p%P6WeOlgW$eCq6)}UPO=Swo%1Q$p0yD6yEoKhP4^cJ- zS{JG2?yiSjkq(!Rjw}aAj?=v?Qy7OLwX(8YaqF@&2Q~#wWlI!AFM!^MfJ`2svN9Q? zvNB^ym>32f!;lXQ10I;7@G`Y{cdvLa_qehGclQh+yDZ2(GlU_fxXhPHFC;QW*ef&K zy39#9&|1*f!MMy=MOQqn@kvQZ$;rtnDJiL`shOFXIXOAGxw-lI`2__9g@uL1 z#lO-=3X?Ok16eSLlX{r!_BO`1G;^0aBwX3Ur| zbLPwi3l=O|v}nnaB}C%-eSFT>YdhOb^>({T}xN+moojVU6Jb3u<;nSy2 zU%Ytn>eZ{aZ{L3S@Zsafk6*rg`TF(iw{PEm{`~p-_wPS{{`~#>_dghb!jUYX_>+Z^ zfgy)M2c#PmCk*WW8ggIs zduWMxC*`E6*u=(y?O^fnaFa4h%hB>?xA9=l$x%`C@X(S?1E~#P*Aj?6(4dm0D HMh0sD(90mm diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ReSc.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ReSc.gif deleted file mode 100644 index e68a46131bc31e7fdce798194bed2b9290b7869f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 523 zcmZ?wbhEHbRAk^{_-f7o1Z-?U2GW@eU_ zmNqsv_V)H39v*&vejyhyxN+l_EnBv4-+ti0fiq{$oIij5(xppR zuU@@<`}V_!51%}F^8ESpSFc{Zef##qhYz1WfByFE+kY?sxfKH_{$ycfV6b4&0m*>; z#K88?K_>5sLWtH>XRh|c4+|`0_}UL|)e&uHX@K&WHGzUT7Y;$?cG{WU$(eHSVFOs@ zLoq%XzI5(25Pc5|M1b0(TVXr~QNH%Y0U+(08-dzSakd|3EClM?eiNuctf6?9f{(Gx zyQIp!Iu|zy1iEWlYMB(?V#c_8uM{-rnARetsb# zAyH9LX=!PhnVC5`ITaNZEiEm*y}i?>O6R^94j(>z^5n@gXU?2IfBwmnCvV@r z{rvg!w{PG6g8|46ngPY1EQ|~c3Jf|R8$f~WkW;DQ6|n12L%BQ=7I(XNhSssrbZ(M gb`BOR1_P+z0_Fn`J8dKy4n1a?#lY3$Cct0~06#HKj{pDw diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/S.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/S.gif deleted file mode 100644 index 1de3bc7ee994e300dcd3f07e647a9011d899bfcf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmZ?wbhEHby1afk61_lO}mX`MR_8}o5QBhIJ$;oMHX_=XsMMXsw6&2Oh z)pd1slP6D}Hf`F>nKS3lpTA)yw1PngWE03v23Ge4&nu@-5@35!Ipc8UtSc3Ak1FSdyUuHGnEbqQ v-t)>^0xZ*jjCR|`1`u~1yVF$hP#}Z-spF()g<+d2d7KqmA6CY3FjxZs_)uP} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Sc.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Sc.gif deleted file mode 100644 index b1aa975c787008dbd734e8f4a2a2239ad05d5fce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 362 zcmZ?wbhEHbZQ9J4Gw08rzhcFT)vH%;-@g6KnKS3lpTBhJ z($%Y1Z{NQC@ZrO^Z{L3S@Zt04&)>d%`ws>nE2#$*f3h$#FsL%uxjIWBylx+eV35it&8ZCwnj8*jPW4*g(Ne52 z)l04`;elqa&{QG!0FWs`sllsQ%$5e71gi8>ZCw^3IRz;Alu3)xU8ZeCiDHA7@~Ov( S5eh;;qeUzYB<3nGSOWlD`Fd6W diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Sigma.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Sigma.gif deleted file mode 100644 index 1498d362de2fa9ee603c64bb90ac79b5b40d1fda..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmZ?wbhEHb)IlEr diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Su.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Su.gif deleted file mode 100644 index eb402fb08eb64d97e4cb996c9b80ba97cd50f42d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 390 zcmZ?wbhEHb5X=!Qc>FJr7nORv``T6;Ug@u)smG$-YEiEk*CQO((apIII zQ|8T^w`$d@jT<*^+O%ogwrx9i?%cnB|Di*N&Ye4V<;s<7*RI{Vb?f%++js8VxqJ8S zg9i_uJ$v@@<;yp3-n@JF?#q`iKY#xG_3PJvFaWs{2T=UU!pOj2#-Ia|2lCAC*(Tba79Hzg1{BwzjtR_VzI` zG4b*7$;ruCSy@x2Oqn)q+T6KwH*MOqWy_ZR`}ZF^cI?E76DLoeeEIU_`}gnvg8|4~ zFi`x-!pOiN!=MA=f$U^povCoVa83!wA;m(OGr*?XZt z#wbL_+*jtf=@C^p9^Ht1$n2W$Q-xj2kKSQ;67d`^TP(HeZm4AAbI|9p$t1` zz@$Q%?>0cg??kjw}F~&LOPAX5(vBEi5Ie3p3iYuvfEfP7wk_FTb Jb4)9PH3007X&V3l diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/T.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/T.gif deleted file mode 100644 index fcb127f2b3d4bf9faa34f05aa41c31d3364fabc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 318 zcmZ?wbhEHb~IyyQA1_p+P zhDJt4CMG84=H`}`mNqsvc6N3yE-oG(9-f|_k&%%J2?>dbiCI}$d3kvS1qEegWtEkc z)z#Gv4Gm3AO)V`g{r&wDCQO(*b?Wr#(`U?>F>~h3MT-_KUAlDT%9X2Dt=h0*!^Vvp zH*em&W5&~4!_wL<$@ZiDY z$B&;refsR#vllO3yn6NO?c28>K79E2@#EL8U%!9<{^Q4wU%!6+{{8#UpFe;9{{0UI zAg>NSp!k!8k%7UNK?meCP@FKZ|7-B&7L*WW;F1tyu=Pa%9W8rbLndoqdlXSsQ(s?0 zW?x??R8bFKUjYGMUuP8`gaKd{hbEc;h-=1*B-#L1pv>(AXDi9Vn971M7SLvWDBFWk z8qCts((*9W@^IGD*4A>fwPrB1_x1Hr)zV~F??D_NOKY#xG4+bDZVLd?)s)^5D=~leDk>_fs;U|q z8d_Rfy1KfirluAa7B)6EuCA_bZf*eq0fB*mp`oE+VPTPxk+HF{iHV6xNlD4c$?56o znVFgS`T2!~g=J-Bm6eq>H8u71^=)l!U0q$hy}c7BPMkV*>h$T;XV0EJckbLJOO`BK zwrtg^RcqI--LPT9=FOY8ZQHhY@7{g;_8mTa_~_B2$BrF4efsppix)3lx^(5rm76zj z-nw<`?%lf&9z1yT=+ToWPo6z{_UhHEw{PFRd-v|chYw%Be*O9L=dWMC{`~p#9}GZV z9ehCXCkrD3gD-;)$Z4QBVPOB);48o{CC0!eCB>}mivUKtPQH!|roO&B$fDX7zCck& zG*L}YUtcjU7hhjB4}<|=maqz%0ElbHgCyDjSD?@81Y}!j00}{$HBg|>4q{kH00~W? zy->g^;_K_F&nau^u5aOMV_>hZZ|~va#H8!w<7vb$ZzU%s=_<$|Y^1JjsRRP5>FMc}m6i4N^(`$eZEbD+{ryv>Oqnrb#=Lp+R;^mKX3d&) z>(*`DxN*ytEjxGa+`oVS@#Du&oH%ju;>F9CFJHNG<=VAtw{PEm`t<3uXU|@~eEI6t zt2b}neERh1%a<>|e*O9n1|XLa0Th3-FfuS0G3bEQg8an5w%FmOBBLjRzywxDwaF(f z=1k2A_BiRnGSf%x@RXEIXC2jqc~gvL>IhFh$;CG_=gGvAK%S49a!UhHm-;iqnla5lNeoBgs)=JSevrRy+z48!v(0gXyQp5KChLEFnyj; SbC|uLMzb}kuuW57um%7CFPa|! diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/U.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/U.gif deleted file mode 100644 index e0cb8026aee8bf3805a2c9dd00650e432f92529f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 225 zcmZ?wbhEHbV#c_8}o5$;ruSX=$06nbW3Cn>lml-o1Md zA3l8M%$ZA3u@v@2LSrgL(hQ25a7C+tspUWn`UdF!23}Fl3$rpWsTUbt;*zySh QwWu;T@tidARb;RR0J{-LF8}}l diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/UR.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/UR.gif deleted file mode 100644 index f4d7576a333361da78f1820d1220f0d817024afd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmZ?wbhEHb6ky$h*;e*F0H`}gm^fB*gm1CYDH zK=CIFBLjmCgARxX@)HBw?gQ=&A1gk3aItnCfBdn+Mvn0akXk6*59VEE0PzInz`Q;F z50All4K{Jd4*+?Kg&->B790ZdW{N?12}d7)ESnLYGcn;~#YA=xFG*DH{G|tsm3uh& zH$3_n*CXBEF1?^aSfu|`!A>Pfpbgw}vicU20R#q-9F226LadB~piHT`x zX}P(%m6esPt*u>MT~nq^nK^UjqD70AE?v5O`SMk(R&Cq1ZU6rLXU?3teEIUNTet4s zy?g)u{b$dfy?giW!-o(5!2o0v4S?cL7DfgJB?cXk*&shLuw6Rf%H$A{;4=59;zof^ z7o~|FQy2|El*-8tFeQ}Azyst7c^ZKPg*sg%8JvMsgOaBkh^I7BgE;}La*`leyUHmB z36RQ3DG=?QMhtBreJYY5?ToHUfouoB7O5zMwR;?qRImeT2zk)qvZ&|iA;C@)rq<(^ uBQjioDvLCIKsG#Luu=kKJp-vI`(}_@1z-~G9NT34fLu&wN;C@K} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ub.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ub.gif deleted file mode 100644 index 5c578595efc60d38a9f7ba56b2b73879d2e94769..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 425 zcmZ?wbhEHb6lCCK_^QtU1R^3Lva+&DN=hm!D#pgfR#sLvHa3oqj?T``uCA_ret!P` z{=vb)(b3WI@$rd?i76>5d3kxo#l;mB6_u5h?d|Q;rcIkQYu57R%h#@5yJ^#=ty{Nl z+qP}rzI_J{95{IJ;E59_E?l^9@#4j+SFhfP z-hKW0_4n`J|G@y{CZd7jPZmZ71_K5ikPeWa7}$a51TZj42XK1(Ey^F54th1gD49rFfT#5ff>k4km2R|_US;v z2EhZ2K%PM#8{2LcFM}H#4;mN~Ax1|v2=cTk$%Ft+N#i(}pzHFCrFkMtPsl1JMxX}n mW@C`;K1-9pj!0oD9 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ubar.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Ubar.gif deleted file mode 100644 index 5b1f0df8348e08256745f3963a0c65df3576e555..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 263 zcmZ?wbhEHb zm94F<{r&w57A#n`YSqDm2Tz?kb>YH=OP4O)x^?Tpg9i^EK78`z$>-0XzkU1m>({T} zzkmPv^XESpDE?$&WMGhI&;i*5vXgYxIju4BT5asK)R{{J8Wtwp zUn0`+sg{SK_C9-Ed~ogk;|v$R*WSM#a{s#_!S40j&5#lUS3|AnVC5` zIRym;-QC@NeSOoWO`AJ+?v^cEwr}6QckkX)r%qkEbm{Wt%bz}d`u6SHe=qHB GgEas@SY`bH diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/V0.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/V0.gif deleted file mode 100644 index f19e488649176c156d83a5d6f81f2b73123ba489..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 437 zcmZ?wbhEHb6k_0I_^QVM1S~8poSdBE;^NZM(wdr@dU|@s#>O@_HmT3X5hMuY#jO`_2&mfIu>LrN2NXQSpt3$(^)pBgti+75;Z;fnj0Y5C z{IDYfB=>YDgDFS}7o!mGHK6vXEGq<_0?iEJI`9l+wEW3z7LY!14g;`Zj-RC%!DcdT iiUH}f%7{}w0JpYkuh_Kf9UtJ<#_5YNUAh4Dp)~;cImmec diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Vs.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Vs.gif deleted file mode 100644 index 933b39563880eb0291d81e720b8880126607d302..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 425 zcmZ?wbhEHb6lCCK_-e%f1WZg!!otE*Qd08r@~Wz;+S=NBdU{4iM#jd*mX?;@-roNH z{(*sk!NI}d;o-5dv2k&6@$vDAiHRvGDH$0Vg@uLH)z!7Nwav}Vt*x!??d{#&-90@$ z{r&xuCQX_?efrFqGiT49J#XH;MT-{g*s){p-n~bU9zAvH)Y-FV&!0bk;lhQhSFhf= zbLZ~eyZ7(kfAZwX%a)Mp3>_QFta+b01imfXeb-Nw;Q)~0`+O6`%iG?~V6yw}yVe^J z-tChNZP)YKrQSAxyTgK+GBDoVJadK$nH3O~AVFnD#)%!d zAbk)eNgNJYVBXEwTY-Ys0u9?ha&y}jgY27|w+x~(kf8~x0YtG^%|)_d`)(JlnF)s;a75T3XuL+D1l3wzjrzZf?QB z!6_*znVFecSy?$bIb~&Km6etC_4Uoo&3%1+)22W5oUcY|*=FOXrA3y&1 z@#D{*KmWl1U2GW@h&G_8uM{-rn9(QBlds z$!Te6nVFe6IXU_H`9(!VrKP2fjg2iWE$!{?y}i8?CQO(-dGgGeGv~~ivvldw)vH%; z-@bkC-n|D795{UV@X3=W&zw1P{`~o?SFhf_ef!?Mdk-HzeEat8hYue+|z@X2d1JVTY69d~`2X}^zmAL|p$6tSSVzFC){q@(Xy*x9o zzn*HiCvN@pqo1qx#sLLWcK~_KjbE$QDnOJpte?*Kp{i7<;mqr+6(A+uL4tdE8p6FM zF{Z@LJ`FS_S42(tNh-r0yV*Pnle1>Ttq<=Cuw-;@5ocAnw8y2%$L$NyXi3IaC&j%k z3|%k38l}jr1KNH{0%V^mlMm4L!~~G-;>R19_JvKKp79aLYdZ>ZV4ObpAwfk}Mh0sD D)#J6{ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/WeberLimit.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/WeberLimit.gif deleted file mode 100644 index a28df8d5fb12d70dba06c9c5a6c525b82b3b7cf9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 960 zcmaKqT_`MJ7{^~92dP=+LY&PgZw7l&b3N=iy0t*xu8^Z9%n$MHNb2!bezjg5^> zO-;?s%`Gi0k|edZwzjpkwYRr-baZrfcFM9G2n4#iy1Ki&dwP0$dwcu(`uh9(2L=WP z2M33ShK7fSM@B|QM@PrT#>U6TCnhE)Cnu+-rlzN-XJ%$*XJ_Z;=H}<;7Zw&47Z;b7 zmX?>7S5{V5S6A28*4Ee8H#RmlH#fJowzjvocXoDmcX#*p_V)Mp4-O6v4-b!yj*gFy zPfkuwPfyRz&d$%zFD@=FFE6jIuCA}IZ*FdGZ*TAJ?(XmJA08eaA0MBdo}QndgTdg- z%ggKQYbX?YdwY9-fB*RS`273~hr>T3Qb+u?bfNedgaGBKi25cdF)S0`a635C<8%E0 z+Sm&CS{kcTvnQ*7&G|J3prIuIJXtaH>;K1r2FVh*zatue6e6UR@b=n51vXRd0@unBM`fP4f%JeK zr%W2kOag=JwX8k{v=sOwg!r2SN%_|R94YYzB|yx{N(RY>c_SD8o47pS^FScM?BTPV fEX`E^#pK9;mNZ7_uv{I+RS}snIL<%@5kS^o@*0=z diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/X.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/X.gif deleted file mode 100644 index edb783963ea3be0b626dfea7041f353af110328b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 335 zcmZ?wbhEHbgrlrTDrQr1_lPk#>Qr5W;Ql9_V)IHfq@|* zAyH9LnVFdt6&2Oh)pd1s?d|Qoy}i?>O`AD$=F+80_wL<$`0(MACr_R^bLRZ{^H;B4 zy>a8l?c28>K79E6`SVw=UcG($_S?5_KY#xG4+bDxsRR^%vM@3*s4?h(%mev}fi1^j z^2tRE8a`^m4G#@w`Y1UaO?lTm diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Xi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Xi.gif deleted file mode 100644 index 7397d52ac99ef788d7d879632b8de540c777a6bd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmZ?wbhEHbC>k#UApui3_vQ7fZ|UU zMh2i(9grBv3bknR#>U1bCMM3#&hGB+K0ZFazP^5b zeu063!NI{{VPWy{@rj9vDJd!W`S}F}1*N5>Wo2cRm6cUhRrU4t4Gj%VO-&sg9i5$> zlO|1?JbCi0S+kZdUAk)3s)*eB|G_}vB^f1tw$_io|JLol@4x-#f;f9wErVYm z-uvx=FF=&K1eo{TY66J&{q>6m5cRv33rs=ee*a~d3=)L#>Kd+qd4{sOf}Ji(oDQ$P z|7NVWzx7OQ^`E-^^N%F_0IHnt`Q`JufHDCPe1(z hG)&{>`|nK4z}A9{_IeGpK@Vna{9*y1(aj1B)&SM_`f>mO diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/XiFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/XiFoam.gif deleted file mode 100644 index 1e9a0bfa7d742f8e04851142a83cbb54c367340c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1371 zcmZ?wbhEHbG-BXl_}FJr7nc3Odg@uJhMMcHM#bsq>m6erMRaMp1)wQ*?b#-<1_4SR7jZIBWEiEnW?d_eN zon2jB-QC?iJw1JWeG?{3m^g9bv}x0(PoF-2{``dt7cN?~Xw|A!YuB#buwlc-jT<*@ z+O&D|<}F*cY~8wb`}XZSckbM?XV2cfd-v_zw}1csg9i^DK79Dtv17-NA3t&8#L1H< zPn|k-`t<2@=gyr!fBwRS3s({S8fByXa`}g0!fB(S%6f2{EE+L@!lZBCip^ZTYWE&_?FmU{1NK{~8 zNbXhC<4aI6R5{$D=xihu)4If-5-NwpvijnbqR(k9jEyf6Y4k&S)L#7w*na$vecp93CQ?$_z=*8 zZDvb47A-kCea9n7UZ{xYSBKd>>lSUiQRmKg+1g0^mI^`IocyKd1xBX*~NapBd1$wOGLGp_8 zY|22lPD%u6m#qWZwH(OcTp(c-!rm}jL-^Vs!AXogin=U7|1c-?C@Kr{NH!@g2C4~A zcwm^~(Z&f3#M~c=keK6i1csD^NWI6BAHf~R*u>hl2pFWi;BPQ&>+vzLVqtb{0|rc? zV*w+ZI0sLe#H57>n0TZ?VfN%02akl)4v8!#23H(a~{nafykE$;rvNxw%C}MU|D6RaI5BwYBy2^-WDp zU0q#Mrc9YWefsR#v**s8yI{eBRjXF5UcGwVx^-K&Y}v76$F5zw_Uzen@ZiBihYlS( zcI@=&)922eyLRo`ty{P5-o1P8-n|D89z1;b@X@13&z?Pd@#4kHmoMMEdGq1Jhp%71 ze*5z&!j0_A;3_2jUgW`mN{a=HVlanzko2W3i6c>;Q z2X-Ga1C;OfUmvJrFSHLTF2f z31)nvK)?+ZwUxF4%bLl6C{a!}Fi%GrNNK6)I_d-USQ(gb3mTg#iYNgE)#cR0ouq|D zMfrfPR0pOwuy#F0J~byTAk#z-tRGCMG&o6_7>Y`mfOt{}aVJ($QFT5xkSmxQ8LRZ+=qN1W=Vq)Ur z;t~=PQc_YXDk>Tp8k(A#`uh5YhK5E)M&{<`78VwkmX=mlR<^dbc6N3S4i1ivj?T`` zE-o%^Zf+hP9-f|_etv#|fq_9mK_MX_p`oEsQBl#+(J?VGv9Yo7@$rd?iOI>yX=!O0 z85vnwS=rgyIXO9bd3pKy`Q_#16%`d#RaN!%^$iUTjg5^>O-=3X?HwH*U0q$>-QB&t zz5V_DlO|1?JbCiesZ*y-n>Ky=^cgc|%$_}a-n@AW7cN}9c=3`YOIEB{v2x|gRjXF5 zUcGwFnlkiUA}zz%9SfuuU@@&?b?kSH*Vg%dFRfZ z`}glZc<|uyeZ{)uV24;^XBc_x9{G)d;k9Z$B!RBefsp} z%a^ZTzkdJz{l||VzkmP!^XJdszkmPz`}ZFVKoK(vXdeQKKUo+V7}^2L zr@{D1rYiWsDKrCJjx$YhZZlhg)h?hF`AioqOEeBnLw81iAYp;F zRS*)XQ=Jq2SS*gH90w|%5wRe>_ym8ac{|I&4@xVJO?7T>k+4j0IW)&PoaqVBtp}z$ zSLr-4c*5SXP`H@y>BR?1jcq`W#ab>ncyx}oWy}tTMb8Be7}-Yb(D?N1!fZK_h$|cg cO1vVB^6O+4J#uvIF=_X@QXqKP!-2sX0Pj)m6#xJL diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Y.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Y.gif deleted file mode 100644 index 35e09499a69e6dad9d20a71ddfdef07e7dcc31f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHbUw&51_lPErlwX_Rv{rFp`oGS;o-5d zv6-2fg@uKcm6i4N^<7CCr!pEz;i?AfyyFJ8QK>C%-e zS8m+6ar5TQ=g*(Nc=6)HhY#Pref$3X`+qP1SxG&h_>+Z^fkBl)2V^A3PYi6y2ih16 zG^ctgwJZuuVsKg-lo>2I)k}t9MaUr!ucbkpB>_|P+I&}rXie2(u4Z?T5-&#vYXCDEYM%fA diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Z.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/Z.gif deleted file mode 100644 index ec29a4a569bb6152d700e5ce431e0e24a545b428..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 318 zcmZ?wbhEHb*ejyRW{xNzaprAznk-+%b< z;gcs%UcGwt?%lf&A3l8k{Q3L$?>~S3{Qdj)e=q>qN+qE9lZBCiL5)ENWFE**3~bR3 zlQo$P3?zCQ4qnlWu~QRF`Dj?EqBi-(LXMd}YLib+NtgkmQi@buK$KA|o20NuiqXu5 q>5j)zx^jHfyc&~@T9xE3A30z+(`Z`9NfrkK37!UqWFuBa25SIuPis^F diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/a.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/a.gif deleted file mode 100644 index c59e04e200be475bd269e61003810092a88cf9f9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 170 zcmZ?wbhEHbWM^P!_#({!1blpa;^N{aCMMR_*3Qn(uCA`0o}K{#0YO1Q5fKqFF)``s z>BYsxO-)Txr%s(WZ{DIsig8y?_+o=(uf<$J1tTd|vxRMn#!Mw{Q(D+fcBQyA@Od1l2xwUBowg*? d!Hxf9M#;$@kanOxy;)$&O}Xdc1r8<#YXH!kV%-1$ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alpha.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alpha.gif deleted file mode 100644 index ab8e94ae51c356fdfa7979b30b680a9e573391b2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 278 zcmZ?wbhEHbV}4fCMG7<*49o=P97c}{{H?kF)_u( z#kIAy6DLlbI(6!d88c?jp1o+%qNPihZrZeI+qP{xckVoJ;K1R-hmRdQcK!PGTeogK zdGh4->(^hue*F&yAUkLV6o0ZXGB7AG=zweh`H6we*g@d=1_K`l1%GDdE*1j;S0)xF jUOB!4tRPDE02`2!Sis22vWY`$fp6l*2?hew6d0@lQF}#q diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaEps.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaEps.gif deleted file mode 100644 index 3a8be2c19327172c68a131287521e58cbd852792..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 332 zcmZ?wbhEHb^!YH9`s2BxN_R#sN__V$jBjvgK!0RaKw;o&hc zF>!HmiHV8H$;oMHX}P(%&CShSU0o9=PMkS&=G?h+moHy_=+L1fM~<94dGgGeGnX%4 ze)#a=vuDpFd|8-@kwV_3PJvFaTLh4WRgwg^__lok0g=7|2fy zY?%jwH4YXiI4r;Xvc#%UY4#2!YxnNmd+^}F z^XJcBym;~U?b~$HGp zK-Si%wPCCGYAue^xbSlckoPuV#nmjHo+V+@YqJ^x*M=oq#F<`E5Mo@AwN>h|;p)JK z#ZkHwS6($^@>v_UGr`TsQ>Dqv(qdD$y3*>aV8bp0Rf5a}@}!bJu7n7#X3W;{IrMN9 Nly}vsB}9P18UW-UpIHC^ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaMin.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaMin.gif deleted file mode 100644 index 8687941d495d08673b638e3a6fa59ea19c710f26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 437 zcmZ?wbhEHblw#my_-e=i1R^3L3JMCEnwolgdgkWlmX?+_Ha2#4cFxYuuCA``?(SY* zUOqlPfq{X+!NE~cQHhC(X=!O085xCzg~i3iWo2bmRaLdMwe|J&jg5_MZEfA%-P5K` zn>lml{Q2{jELpO8_38~9Hf-9o>G<*EXU?2CckbMU3m2|ly?W=)oyU(KKY#xG)vH$@ zKYslD`SaJWUw{4j^&bpCE+Yac{$ycfU@&6P0jUM~iGl5sgXC$2#DEl|nLcWhPa>!u zSHqJYjQt#{$bvp<))GJ^&c+i@Hb684h(YuTJ0>sU&6Ev>c_$ zo+(D1KGPnZ@RJ4Fz5Q zp8o#+At51=k&!7WDQRhG>FMd2nVAIz1w}PoFt+ z=7I$a7A{=4c=6(;OP4NRzI@fHRr~kvKXT;AsZ*!UoH=v;{Q1k5FJHNG<^KKqj~+dG z_Uze<7cXAEeEI(U`wt&JeEIU_=g*(NfB*jb_wRo&067#JQ2fcl$iQIEpaYTw`H6w8 z>p(QOU}Qqx_Sp10mxr4`QyN?P}wX4ncjul6Dw5ow^V9eh> cJL^MNMP66XQ-}>`MGhRuGjDz@$iiR^03s2vyZ`_I diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaR.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaR.gif deleted file mode 100644 index bfa85ed60bcb26f733d466b8edcedd57beb0814e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 365 zcmZ?wbhEHb6lCCJ_-eoa1nlhWTwGkDqM|Y~GV=2BT3T9$hK434Cf3&0wzjrzZf?H5 zz9AtY;o;$tk&#JBNoi?mnVFdd1qDS#MWv;sm6es%)zvjMH4P07Jv}`O7A#o2c=7V( z%h#`8zkmP!g9i_uI(6#o*|X=*pTB(h^6lHV@87@w@ZrNJPo6w`_Uz@$m+#-d|MKO_ zw{PEm|Ni~=@8ADm0CE;_K=CIFBLjmWgAPbJ$WIJxT?Znx1S1oYHb&@(bstUIIHSv` ztCmfsPZP|G(3#kAG>O~yh)Ac4(!?+wHVL2-*TbUOj15a?sDJ2W^w=1YVyquc04m!x* diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaZeta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphaZeta.gif deleted file mode 100644 index 5d3fe347fb0a0768d8f84d9cfa8e549b10baf0e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 356 zcmZ?wbhEHbSSGmbSLG_V)HpPEPLb?j9Z<-rnB+{{Df1 zfuW(HVPRo0F)_)>$r%|LnVFfnxw*x~#igaC_4W15&CRW?t?ljY-QC?2CQO(zWy-8s zvu4kpy<)|R)vH%;*|O#6(WA$X9XoO2#DxnNE?&HN<;s<7*RI{UbLZ*Pr_Y~1fAQkQ z>({T}zJ2@d-Mi19KmYjg_V)HJE-pSkJ^=v%p`oFXk&$U> zX<1oWd3kw7MMdT1<<-^I_4W15&CL@gOqeod%FLNF7cN}5bm`Jnt5)say?g)u{l||V zKXc~Hg$oz1T)A@h?%k(PpT2zg^3$hJzkdDt4+bDxsRR^%vM@3*s4?h(%mev}fvw0P zc*Ow=A0M^JCsT}Oy72dV3ZIB^S~B5eik1XWaN#9`Kn~@}oF5El`n0v4RAK7yQ9E!v z#YnP2VDif52Q@z39VfpCg!rhj9-3q@Q-$Z4#*qUvq|^cq0SyD0c|~%DQCmC6Xdku9 O#}ZF5aCa*(SOWk_D0C_S diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphak.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/alphak.gif deleted file mode 100644 index fed5803a0f6b2fa014af99b2593a25f82f073000..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 341 zcmZ?wbhEHbgqZ=I(m9~1_lP!*4B1*b`A~>PEJmqo}RwG zzW)CH5fKrwv9XDXiOI>yX=!O$Sy?$bIeB?`#l^*ym6ffnt?ljYy}i8?CQMkdV#WIP z>-X&0bNu-6GiT0Rx^(Hvl`Ge;U%!3(_Wk?!A3b{X5tE_0TT7T*F zS0{nE_19YkD|^}IT<88!xi?PS>E+j=kU0GV&%aj1HgH_^zG~5H*MIW$QbU6{eSe2d pmV1nZPQFOpxW|UU^%c-Cpmv}sDLV2OKt=<3*@2fB1p5^jtN~nAj+_7h diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/angle.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/angle.gif deleted file mode 100644 index a0441594715278c98f0f0c28b2baf4be6b075899..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmZ?wbhEHb0UAJ!C_U+prK79E6`SVw=UcG($_S?5_|G|I(FHro+!pOiN%Af;M1+tTY)jc5; z1Ofv6 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/application.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/application.gif deleted file mode 100644 index d6fe9bb862e30c2fb723be0e24e5692e261540fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 403 zcmZ?wbhEHb-O#2_w3oTZ{NQC z`}ZF{eE9hB>0&;NioEj~_pN_Uzg7=g(igdiCzz zyU(9LfBEv|>({T}zkmPn>#;!hSv1_omW9gsqhpBUISI2_74W^pF1 z;X+U0j6j=J7cxy|SE_8D%wRk_mud6O9JASH(-t4fQA@6k1Mz;BfT(8;XBvPMo9CId z%{Nm)N;co*F$Pi-E`l_OEClJ>E71$2Zkqt*fRusXX2~?O*^KERUb3XxW)>h1q%X%z ia6`ayAO+^FVfq0w6U@^QX)%E+VLs0 zof|i9+_GiMwr$%kUAlDZ)~%N>Uw-=Z=|32NjKB>Pf3h$#Fo-hffRupjWMH*d5E9`C zQV1}$2{o1V0+OMw4j{5oFp#(Fvq4)hZ}Ve|pio}tP$1xSW(@;UhXa6wqGLlyXlN^g FH2^_fIm!S4 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/beta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/beta.gif deleted file mode 100644 index 98874fc49a42e9a9a1f18a7f91cc6efed6c15f18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 321 zcmZ?wbhEHbjdU|>m78VW;4o*%^uCA^=K0aY#VUdxMxw*M{d3nXf z#WgiG?d|Q|-Q5!=Oqe)v;tNo#UiXu&k) yD2QU1au`T8a4>2)I4;y_=6_|7U?3wu#l=}^qMwFHOS99$0F4mm7BD5iU=0A^CvM~b diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/biscuitFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/biscuitFoam.gif deleted file mode 100644 index b89770a0fb62b95d98edcbe4c855503bf3c6ca9d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1790 zcmeH`{ZCV86vrHK5+sq3X)(Pz2r(5p zY!#5MU|7cmT3*^hLW;Zu!mEra5KOSW5{x=QP}?dI>Xa9u+bs-@V6uN;&rc`MIp=fE z`99D2jujjJby@=81T0np*umj&L?Y4A(b37t$=TW2)zy_mBDuS}@7=rC!^4A2CQ~RB zPft%TFR%Uk_j`ML`}z4%sZ<(`=I`$x5D*X;7#I{36dW9UCMF&`c8tsACM6{$Cnu+*r0{sW6DLlbJb5xT zHI>ijr=_K(r>AFRWSl;IIx8#d?Afydfgn3O``o#6FbtnRfBwRS3pqJCxw*M{d3hHv zUKEK$`T6;Ug@u=%@#Du+Q&ZE^(@&l}nVFfHot=I9^y#x_ z&z?VjZZsNACX?B0e(~bP%aW(EL4}UX`7Udxj zs&LUiJAZ+IiOO-UTlpb`3a=PuVhIccl(k%997P~xxQ4?Ya@ZN3az-M;v~wWjfolun z_40B80^amNO}p_?^n4D(UX*YU$OB;&zn)8@go4>PAGJ*d4Oy2~a7hLs)+vD%Wx2R8 z5KeS9v(QcnArrt4`haV=!-zs)L<3^vn0QzpBXME~`CcGuad06!ARt?HSo;|eg@E7c z^jf!Q@&~kvV??D_Fm$d4lfxkKK_>nxJ&FgaG4d`Wn&~P6*U8e4$e`?~U9{L8BikhV zK;Gqrgxi%G0^-%saetv%Jj_-@-yFwYK69uPN{nP?ViT&NEC->PPK-t%cDT?yq-0?e z3UtO(hZt%I1lf&lzVYHn>}&su5^QZ8;FwTiVKGz*44as>e{$9Sq>Trs1qNY;cyQE{ zPy&YFqIblrL-Ck+_BD{2x(|dcq5}z4zQLX_59hm^MoO{_Q0@*p>Kvf8}XuDN?(#i z$TMiMg{lPMe0?3UKIDu7YfQr5W|o$gHa0f)_V%u>u6}-gfq{WhQBi4W zX%!U}jg5`Hy}i?>O53IA)~#E&apT4z&!j0_Aa3_2iFL4IOj3vv*8xhO(M zL|mZB#W2NXQIF$?0|I6$LY+?nCMfU2!*y3hWDd!(5Ng^5jOb1G-9lXAV_&g zTcEo@h&&Wgs=@>m_@NR6JCLkJ0TodZvOZ!|zy}4fyTc>9CL3V=z2C1dGiUBS_uO;F zKS1d25gQAb0TT@XevFNcNhFe~sp*OpE6mKy$Yipmr6r9PTqJV&az`($uprGL3;E<4z(9qDZ zu(0s(@Q8?r$jHd(=xDK6ynXxjn3$LyJ9g~cxpUX9UAuShj*X3ti;F`LL?V&w-McqF zK0YBKAu%yADJg0H{{06I97s-1K79DFR4P4kiii(Si)oOJ~Nl9sG zX<1oWd3pKSvu7(SE32xi&Ye3~Q&V%{!iCz}+Dn%%UA}zz%9SfuuU@UMuWx8*KvA@@ zv9YPC>Dskx*RNl1Zfa8l&6_vd+S=ON+dDfu@7%eg)oL*e>+0(2?(V*O z_pVN->*?vackkZ)`}cc$d;9wO`uqDIJb3W%;loFd9t{i(JbwImaB%R+lP6D~K7ID= z+0f9?@bK`+$jFNqFJ8WU`RdiH*RNl{dGqG&+qduDy?g)u{pjfE*x1Z$y~iF>gD{FTVgK5e2?>h%L2ovp-7XQF{6t*OuGPPerDPau1gS_*SDB>OSF&* z5f(hPCL#}+R4lp-HE0%r=oOU#cpbTHP|Je)sg!D@jb|NtT7 zo$F&V&KoHJVOv0_EMDL40B7CC!5sx41bAYq%nCCfyb!=)Y2Z)yLi7z9J0@0|JC=$)VUu^*LkiIeA>5x-g6j{|` zUKa(z{#jbpAAV|$+e%NVr>_9-#htNjMvf-jsaMy-^Hqc1L?ISv!Z0X7S6c)dp7mrr zTT2=8S8GIo5GLwyU5%v(mN>>&gN_^o%h3t(wcws~lo}DrNfHDbf9^N4LyBNe6k7qp zN%mTm^kOauhsNMGsq3(S8@gOlhK(4eFgi_AIBcY*@zL7{6%M%>YjD4mmoT6-I*c+2 zfW#Ewz$m#_Ir|k_TY-bqe}vIM!XC@IOiLJbEW%j7WUrocnbGfsQGZ(!MZ6O1aHVLW z$VCDnu%Bu!MJCM|kk}EBBl71Ah<2LQfC#$qxzxBoJ>e9{!pIv1skOLvxrX&963(-O z#5T*6hzaplt!0`U>MY=l_^DUZ=bRi&aKbM$o}3L5v9GES40H0qREMggK)St5JI?Y^ zYoY)OMk&O7Ym+F`Yw>0vB$4UK?IN{?Z!J4Ws!tDLn%cHz6U?7yYeFRM`etTYC!M}h zCaNSV_>2uyNBs~B9|N*yVyeDn9Yp%J+3?eB+1rY4DIGQzq}gm6NFx{eFC)-XWu&lV zp|R0C!#QH#1hX!GiOkPOKF`p&M4tauda=LbB4C=WHQH+b4aM)ML*#r1c&>$#JFDhW NDy;m65S0x4^cU!nr+fea diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/bubbleFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/bubbleFoam.gif deleted file mode 100644 index 5c4b602c8181a08efec3b7d27e5bf9f9fd3feb32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1790 zcmeH`{ZCV86vv<5-a>no@v>W?1F;mr+cFj`g%nui@?OBOTV#VMMg&X>VnT;TqZ02e zilu{$LP-n^xhW+Yf+&Xlf^T(#bX7=siLw|ciX!6ckcdTPyQS7-WZPe`^V7*W&+|FY zdA{eQrKiecc76j^frU1}7@N)Ja=APn4?z$Q4-ZdIPj7E;KA*p4%^F`{Uq3%Tfk5Ez z?;j8l5EvM^Zr!?|pdgV*Bo>P$5=mHCSa^82R4R>(jFib_QBhIR(b00bJSHY4Ha0dc zE-pSk9>?*7goLD|q~zq})YR0pv^0f6k&%&+nVGqH^X9CqETvMJot?d9%a+{S+`PQJ zty{Nl+qNw~KY#o7?K^htC@3f>EG#T8F5b0kmrA87DJdx}E#19)cUf84o;`cY%gfbj zbwx$R{{8z895`_3(4or8$|FaPkR(Y_lt!aDdi1DPtF5W2sjaQ8tEBNZ>&CSg%EiJ9Bt!-^>G))_g#`gAhlgZT4(Q)e3sm{*MuCA^#XU=qYcb`3b z_T0I1Jv}|=&!6w@?d|L9yKv#c#fuj&UAlDn^5rX6u9(f{YuB#z_xBGB3|zl{eQQWT< zW*U_ItXv3vP4^T|7 zVbgoB5e|w)!z!EkzR?FGJS}A6-bcrg5E>UCG&d*EpO)=w?tM6Td=v8?-Dq$XH-(+2z8{1~?y_psKx{xQhFZ8B7su}8eDaXe})9^dM++vO``k0gac~sVbP` zAlqOh2gK4{`3zaJlAKY!OpbApbrEjkY$@&1unNK;j&3zZ6o?pkGqkG-y4a#^KL%k$ zC8S~^U@h_8S0uFWK7tXgxXMnmv2fkB}HhsDt;r z7na0AmxVel7ck0)n0Q!7xQv=jys8bwSuzUZlb>N>zKmivk(V%7E}^7*6ElT;2$UET zG+9D%I7$_Mem{f$S};NCOhTPVj-G@Y3RONWKn+ruDHUQwd>?GAF#4PhMTX(;l?hto zM%H37w4SULg`j}ajHNRR_=3r#wlxX3bK}HGAcI0 mrS*>Od*~cMwQ29N6P9gKeKEFyFkniMu7|4YP_Yt%K-^y(8ZeOn diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/buoyantFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/buoyantFoam.gif deleted file mode 100644 index fc311270fff50df344f5b8c66f0cfe2ab7d74a4f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2170 zcmeH{e=wAJ9LJyC!Dc0GJ+!CA5zE$9me#H1w47bxJZ&B)Vj2>aoY^0?k(w;!XOdX? z(QYB@X{CwgPCutMD@rcWPRW=XYj@dps=*Mc*}KQyUrcAl|M&UpJM(;gyg#qc=ktVw zvgy8w(ZCvDwh2HDgTa`Ync;9aD=RB&Yik=D8v=mL}etv%b{{8_00Zb+{FfcGEC@45Mn8jkT+3b*zkkHW3u&}W3@bHL;2nd39@7~Sf za3UikVHl2%j^4X>Z%j-~Y;5elef#3#;^O1u_wV1IkdTm+l$4yDoRX4q`0(K)M~apKgeQ`yg($p8X6iK z8)Y(CQ&SUyAlI&4Yi@47e*Jn&OUsQLH*Vg%+1lFL*4EbE-hTV`?K^kw+`W7E-o1PG z@85s$;K9R(4<9{xq);e2Iy#g}WoKt+S65eeclWbr&w6@#oeVZiO7;5n>o;%S3=R$s4Gj$s508wDsMYGx(NT>?qt$A4I^EdV*!cLkUavP84Da8+ z|M20%$B!Q;CMKq)rlzN-XJ%$Tefl&zJ3BWwH$OlB<;$0^U%wiS#=lLrF!=us0GvOY zVE_ODeprC9a1+2PBk-h*lVMQFVFZ#gge!TNhm{bi2RaK0>&KT3-?_e1va-xVLsTWI zr)FMR*K=j($vTghf@OtSP**Hor!i?ZM$k>ELx=xEB1L3MoqD=@rGSbEJdkQce9X!OhI6=Z z3D$!l#OKz+$P2x%QAWliaAu~2Asc%thrQ-NuUlA^+!@m#S*KA)*%AJ29$P}DuR#H^ z`zW+MbSZ-sL~tarA!#Hi!YN?BPob|{ic$`5Y?UyQoAFi<29z?)1OKG>uSR>eHSd$Gu7Mifq63@E*v;k5lat$hq2OW}*w&^0)twJCQ zel6M|<|I_~7X4(JbB{|d46qO=kRu2y%|*jmIXnXh5|P>%hA^z(oEVE0F=(A=(F6XH zp;0yHj`~D!1cs<`m=B^|;PE9eqWy(fZf5L|!v$EBS+U{@e85M-_#?0vJ%n3jBOtS1 z4zE>7%CC-~d$K114SQ;K*&9KJpcq%x1KBRtlRSf%XoIvD(kpc@taZrBf@>}!NQ=(Xrev}bt5Dl;%Zg$pbZu|wIgF-qj@UC>*&{m9*%h^sV5x@ z89Elv!i=5>fO;~2jxJ0+TL8yxW_t1Ura7Y*T3m6CjW9pcGny@n!jT5%u8z<>0E9r+ zBZ9Erd>G+MCe=yGIv4?qCY)Uq_#ct!s7b1JHG)!*w_#AeyEg8c8^m4>tv6b2XegmR zPAF`!bWPx5bw5AGJH?zsy-@kwV4+bEEumQ!NEQ|~c;tV<8!ezf6yfr38=gEau~CpdZl diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/c1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/c1.gif deleted file mode 100644 index 0da23e9feaad2a7cf13828091321960cbd0b9f40..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmZ?wbhEHb8K=CIFBLjmxgAT|hkev*yeh;<_wguJR|6Y4LsFLF|kimQCyXRH$Mvu>o zSH9QIUsA)x5ODu^>Xi?H4GU}JS;FprS3GuI;l$V4`Cn^*y6%5Z?B7-+|D*PPIjaX_ H3xhQPPN!*< diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cB.gif deleted file mode 100644 index 23f01eb3fdf19d47d3e3d2a63a19fa8073e2d6d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 341 zcmZ?wbhEHbgwt`Iy!oKdd9}amX?-wc6LrqPQJdr5fKrwv9XDX ziD_wRSy@>*IXQWGd9AIj?d|PTrc9YVd-nSE>o;%Symjl=!-o$aKYsk=$&+W!oH=*y z+=UAlu3x`?_wLKbEQ|~c>I^y{!$5vw zU@JOsnd4wXf#34WFH5ZEx=iTl6ttWR;qmyXb3ZTHWFf=D#x?;gxYGE<96Kh5XC+FF z4aUpx*7o-H0RaJ#k&$U>X<1oWMMXvB<>l4Y z)%ErD&CSg{Jv|d9Oqeod%EE;Umo8npYSpU!`}beCaN)|8D^H(3efjd`yLazCefsnt z3_wORFev_HVPs&CWzYd}Kz1^)CMUEDo@gqKy$(dFT~~QSL5xz_z=l}$#Mo8^j!Pv6 zu7X7RE|&H)$HcN{MPKI(xn6qmV9DI((zy<$vT7x~O*yhRTwSl1ieChq6H+plH5Fu_ OxnM$r0?V~l25SIq@M4_+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cD2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cD2.gif deleted file mode 100644 index 6552109c86c7d3d2645e5321c80f3189514c5ab7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 388 zcmZ?wbhEHb6k*_G_-euc1R5F|IyyRfdU_@%CYF|#wzjqo4i3J)z5xLNk&%(n(a|w6 zF-b{DDJdywX=$06nK?N*xw*Od`T51g#nsi-ZEbDc-QE5D{SzlnoHS|D+_`fXEn2jC z_3E{2*KXLbVdKV)2M-=Re*E}}6DLlcI(6pEnX_llUbt}K^5x4{uU@@*^XBc_w;w!s z@a);M=g*(NdiCnfn>X*@zyJRI``^ER|APU@iMWB{PZmZ722%zdkP?ue7}ypbka}}r z#+jdU|@6mX^-W&Vhk}K|w)bVPP>bF|o0++1c5-xw*x~ z#Z^^R-QC@jCQVwnaN+9JtJketw|@Ql4I4IW+O%o+?%n(L?K^z<@UdgZPM$n@?b@|l zw{G3JbLY{cM=xHyc>VhIyLaz?{rdGE3_$i#6)65>VFY@CK?h_i$WIJxxek-k7i83U zs0ejFi7fD7kyVS)!=i`(ZPHVv~pS{+x} kC@q@M?xLgs(hk(;(ar;=RD?Voq52Ly1X@~J78VwEc6KfP20M4>#<|U&YU@O@#4iRSFSvL`th!cv>m8Q1}zI_Drf*}@Ksydzc`3X zmuI?AL$Fq-%hI64NfTRurgRo*s>&=CIufiU%EjppGFoFs(94AZ49-i1TnlyzSOK-W l?3@CzHjr)UCB`72MIt^BM|3$BXzDUe4O*GxpwYx&4FIp4g~|W` diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK2.gif deleted file mode 100644 index 2ea8513c906f6372961f951c64820af4b1ff6a48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 388 zcmZ?wbhEHb6k*_G_^QnS1Z-?KIrI(&=KoCnzRv2X*t@hIot;00R`6_ZajLbBSN-a z`LLIzo=$J_A*O}~u!ckfok=c-g)~Ei7#NNu&Gpl{#&~(>j0hbeMOG#Q6&*3xBT2G+ zJe**oh1jwm6)^bfgt;AfDB%RuF1l(1#M)Fgov@}uNgG|J3$=i)<#jrcXv-uut@A7Y1ulgJ+utQ0|`1Uyn3o9 zN{&tWvX`NrE^qTi#+C-KhC~D1AeYNhjD8DQ6|Q8>^;;Xp_;}}xC|yyHqbqfk){3QG z$r9!2_5c|z(;k+6D1pIuZJ67ImjW&z?OeJLYg5_QiZxxznkckVU;)Tl-CoBFnWjv$ Nu6Z5`&}m|@1_0~hpF98n diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK4.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cK4.gif deleted file mode 100644 index 451379b2798752ddffb16967066e864aa54b29d3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 388 zcmZ?wbhEHb6k*_G_^QDG1Z-?0v;!hSv1_n(A z9gr~~KQXW^JaFa2g^re>l_6SFy_SM0B}W_0W;GZOD5%-2IQ39V&>T1B$yTO1D?_*@ zGu1SJHN@(zoTxI{YpFw*$b-pVGksQ0d3b2!l%SPYI5v6cs;m@Io#G|Q!|e$)+S8;j zBaN)v5ixw?ix^&g5RqNNU-??+={{8z8A3l8K$dRK*j~+XA?8J!^Cr_R{efsqI z^XD&IxNzmlm76zj-nnz}BM1-*wPH6@+oKheO2CIgMh+vW1_tKl=9ZS0Ha0ePc6JU9 z4z8}Q?(XhBK0d+0!BJ6BF)=am@$rd?iD_wR85tS*`T2!~g~i3iWo2dc_4SR7jV&!L z9UUFr-QANWO`0-g%Cu?IX3m_sXwjl2OO`BKwruU%wOh7q*|~G)fddDQ9zA;e`0+Dm z&YU}U?!tu&SFc{ZckkYV2M-=Ue*E<5)925hzk2oR&6_vx-o5+y@#B9m067{46o0ZX zGB8*(=zs)3eqvy|bYQM-;Kd_lyYJ?0zx@_Loog$6E3q6+FmHRXN||+V&hw_X4Z9;# zku)@12Wj`4bT=>TCc+fi2U~AH&Cz8(k(PZkXWg{bSBn^9cg|gVwJW2{nmEXkN&!0bk_3G8zw{Jgu`0yVLKqevq#h)yU z3=C2XIv_ESoeZq*3&J?roHA!Ei)>%Q*}p7vmO{oXXCSxnz!D&tIg8C_R$JmNRY#Xa inLJB1dl|C25@Vu*B-(&d%Ty=3fz(KeNceCtSOWm)K2s3@ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cgamma.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cgamma.gif deleted file mode 100644 index c782f902b1f4ba111df57055cb3bae84d36e13d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 336 zcmZ?wbhEHbjdU|@6mX^-W&Vhk}K|w)bVPP>bF|o0++1c5-xw*x~ z#Z^^R-QC@jCQVwnaN+9JtJketw|@Ql4I4IW+O%o+?%n(L?K^z<@UdgZPM$n@?b@|l zw{G3JbLY{cM=xHyc>VhIyLaz?{rdGE3_$i#6)65>VFY@CK?h_i$WIJxxek-k7i83U zs0ejFi7fD7kyVS)!=i`(ZPHVv~pS{+x} kC@q@M?xLgs(hk(;(ar;=RD?Voq52L`%sN+F3HZa zSj*e-94t=;Y*d?AS49 zXJ;1|7bcU*VzJ!Z+}z#WJv=--Jw3g=yu7`=eSCa;eSQ7>{QUj>0|Ej90|SGCf;b#b zaBy&FXegJ<4GRkk4-b!sh=`1gjEagnapFXDbaYHi3QWb8`g( zfk-6E%gf8p&o3-2EGjB0E-n^}#igaCWo2a-E?l^H@nU&-c|}DguFYX?=ZtLqkJjV`EcOQ*(23OG`^@YinCu8w5euuU~I(Z--&Hqobp(=etw|jbe?%usClgWB}d;9wO?%%)v;K76b{{Df1fx*GSp`oGS z;o*l5AC8QSjE;_ujg38e^k`yYVsdiw@#Du&o;-Q_^y$>p)b#Z9%*@Q}?Cjj!+^biw z=I7@Z78Vv47hk`A{pQV^rKP3i<>i%?mDSbNwY9bN_4SR7jkj;#Zf2P(jIrl4 zq^?cR{lqzgyC}q;CLH=~9)6}ok@DpdM8xOU{CfgCk=ts)B^-z-H#+!XROYE^B}-nI zxeRUo!za{INdM9l@1u6*BEGRA65j*qqg$X;y+0aW;GZTFjWuIFt$|u%y|JGw|2bza zS0=hr;(i$2%V0>o>W4n;Wh@0cs`1e_AvZ?8jv=1dTjj`3$`Y+5{wdLliI$7TsD;KR z?4CP@{GUsx28?x?Xl;;l&>)T@@94l#AV<=_c}(m;xnY+_u?7bQfA_V!S0d4a!6rFC z~p}K9ukMS zfpQM+nM{udix-6j&xw{iSBcEGYsz10Kn3OMA1i!`dApu#@HxRsx)A5jR6pM$IG<7dpUdnH{`pI2d`_k>>aa4cUxfG zheB~YrDg>{=t2>=qKJj)q?f}rcC(>UP5kj^3O^C{z(WxjSEa&BN&UD5Vu>q^(?VJ# z3w+@2YD590IAjYjW)BkxMS5IpfzHEMX3}`yCLsWq;;QUb5lg`gf^@REEHO`EFY}Ht z-Bd|nK|3PjMn*>V_Vz9=E*>5p@$vB~DJdBl8M(Q+RaI5>_4O?+ zEfXhBoHlLR;>C;Cu3fur+qPZ1c3r!6?bfYZj~_pN^XARRj~~B&{rcNeA(*8*;D3v5`@aC=*>$cG#tDLxTM hCZ0`9xxLNw3LDdvZI-9Du?mK%-rnZRWYo%F4FGT6RP+D< diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ck.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ck.gif deleted file mode 100644 index 7a5470afdfe268eeb7d9ba2d7b30032865e23f77..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 317 zcmZ?wbhEHbi%}oV;brmj7VD00W9YSr{1@SQvCb0wA>v%#9u{E-fN1 zE*>H-EiORH#ibEQNdN`GJVzkq2vP##IRYt1pc0iPB_$@1pn{T;hLTc~5))961t_RQ JhGA0}tO3=_GN}Ln diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cm.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/cm.gif deleted file mode 100644 index 11f47d0a7e115333f3214b98c5e6002b87155633..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 237 zcmZ?wbhEHbU3Bwzlr>?ty`U(b3UqX=w!o1yxm5EiEm5eSI@$ z&Ro2B@!GX(4<0;t=FFLE*RDNy@Zi;}S6{w-`40vlQ*Z#qpDc_F3}OsAAbF6T46IoT zOnKRbBB!N-kT6puYcho0*qjjQmjYokP5{e-)UYy5NDaKq;wZr4cp*h$+Ey241_Qh8hjoq5yUnfK54_t$Tp^E~JIJm25< z;c(eLzEQgX4Dh}iK#rN2nT3UgrKKebg+imz7!1bB%4*S~MT-|Nwz09XwY9agvvY88 zz+$nEj*iQgEpu{mTE2X_i;D{$k0%fauCA_bZf@@G?i31zN~L;uczAkx(r7d~oz7q| zR<2y><>lq=?Y(N%Djy#oUteE8KRtFw>kdi82wU*ENB*REf`e&fcCn>TOv_xBGB3=9qq4h;?6x^>H7Fc^)-+qZAu zxpU|4-Mjbh-MfGP{(}b(9zJ~d`0?Z6;o&Dwo{Wr)Jbn6fbaeFDvuDqrKY#J!#n{-` z%a<=-y?XWf_3QER@wac^PE1U^d-rZ~a&l^F>izroA3l8e`0?YXPoF-2{`}?3m+9&0 znVFeCXOGEY|HsGqqxk{=fB}k$(XT1B9WumxJ>nrktr@Q!(%x^k3qQlRP%%bv6@YT9?iXw7u6Cr~Estu%n zn&NBuQu9FMlDkAv_|2pH_mVrcc5>Kf$Ftf(=PxXUfiMH;0a3)4_S(r8fvGH(enZ~3g6N}@FZY!Sww?1=^v zkT&~Za#xg>-oV9n37qLWA#yZ<$oBx@N114Qr9%xZO8-Hmu};ThG3PIJ-v1O01{bT;?iGkmjF#}H^-sf=>bEh?D|=9OMe*Zd?OxJ zA(Ewch^8L1JwZhzN!(nQW)e|lXwT_e2*Mh3w1(en2Z~c?y`cM&IcAq{@Ao%ko_+aq<#CqIp{Y&MuC^xD|n3&aSZ&pP4Lnh zGg7?yoxv5{A_9T0M3&YPz|eOKf0XGsYMnr|fihmz%ZCWO-tZJ#kc$m$Epf=wX67Rt kJGF8hzGnqkiW!jUyV|iKz5qV?jCtGP)l>%x8U^_O1>NO?ZU6uP diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/contactUnderrelaxation.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/contactUnderrelaxation.gif deleted file mode 100644 index 1b1822e3fbee20f79200559207bcbc10d3df88b6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 332 zcmZ?wbhEHb^!YH9`s23A&9_V)IUj*cE49svOXK|w(=F)?v* zafykE$;ruSX=%B+xpj4Q&CSiNt*u>MT@xoxoH=vm+_`htty{Nokl73eERh1>({T}zkmPr>(_rU0NG73Q2fcl$iSe%paU`q zarNwDs00S>q>nautkP@bh z0F4k=0jGrx^Up53=&(?Sm5EEWD}qbo)Z>kgo^nfA*jj-az=oLyXz&Bg1o5;!SNJqB GSOWks5o|L6 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/convertToMeters.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/convertToMeters.gif deleted file mode 100644 index 674e265fb122e3f9cea4fe939eef5a3bdc04c280..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 422 zcmZ?wbhEHblxJXP_^QqT1WZg!TwGkj!ongVB64za3JMCEnwmN~IwmG2=H}+Mwzduq z4n96Up`oEMF)_u(#g&znb#-;!-QB&ty%Q%+oH}*tv}x03&YU@S?%btIm#$j1YWMEl z`}glZaNxk%vu7_{xN!OMU3BwzhV5cJ}u6K0ZDH0Rf?* zp;(%JELyZ^?b@~L*RS8XbLam3 z`;Qzsa{Bb?vuDpcfW*fBpLP`}gnvU;wh4Vxahwg^__lgFy#m z639;sYz_`0T&=%2_%wi&mrsC($f=SI3j$`HNNsR3HCu9&p)_zofEXv&1c!x8G9nL} ZnRs0^8eV+KC~1&tXExH5aByU>1^^iYT>t<8 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/d2dt2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/d2dt2.gif deleted file mode 100644 index 19fd6c3f2e670aee036476b9eed20bc4aa5cc9ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1494 zcmZ?wbhEHbRAUfe_+HNd1gxyA?Ck8kyu4CUQu6ZhN=izqs;U|q8k(A#+S=NBdU^&1 z2FAw5CMG84=H?a_7M7Nl*4EZGHa51lwvLXDPEJm4Zf@@G?j9ZFK$-xrK#=B_$Ep2UW?d|Oy9UWa=UEST?Jv}|Wy}f;Xef|CYlO|1?JbChz zDO09TpFU&8j9Ig0&7M7b&YU^(=FOWwfBu363l=R}v}DPWrAwDCTefWF%9X2Dty;5Y z&HDB0H*em&Wy_ZB+qdu8vuFSQ{Ra;oJbLu#v17-MA3uKbgPoFz??)>@lmo8np zdiCnHYuBz{zkcJ!jhi=b-nw<`_U+qu@7}$4@813U_a8iX@bKZoM~@yoe*E~!lPAxf zJ$w1`<(oHe-oAbN?%lih@85s;@ZrmsFW`~Lm=j~_pN{`~pt*RS8dfB*UO=kMRY z|Ni~^4+fw(7zG0q0*XIb7#SEE7<54PgYpCe$3F%}MkW>x0R@N5kU0|ySb&TM2B-)U z<6vW96QiI*!@rc1lUOf^ur<_3Fo1P6oVfvF%+-n9#{e-Wp5s9y6T=00W%s^_h(pIX z71Y@w1}+d*XJGtQeE7sf_DG;e%X9v@$`zY97^bAMC^(d=NHDT^9FhRr{>6<6=!`NJ zMwS=c%{mP)A{H=n2rS@@WT-vJ0CcLf#D^aepIO09E$w6kN~voC4cx-Ww!nnp1p`xx z%4u<+Qx7yYA8%`w4qIgdajHfS*oATy1^;RS7?+=JH?L^==kqd&K|oqsH|oHFgaxcU zV&-7CUf=||d+u2uygB0NGLK|ZAxaBf!P7Hb=3n#Q1seZgCYTBv~?Lo n1W64zqy!EaIzkwb;D96w>>?RF(iqxt=(2)`FNT3!91PX~u;+zl diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/da.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/da.gif deleted file mode 100644 index 5dd4e1df2ccad1c885a09534fd0661a92989853c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 367 zcmZ?wbhEHbQ4wR*sI2E-o$s0Rb^F zF>!HmiHV76X=x=TC6$$xt*xyc9UWa=T|GTLQ>ILrIdkURxpNmSTC{ZO(&fvSuUfTg z+qP{xcI-HG=+McNC(oQYbNTY+TeoiAy?gim{rk_JJ^S$C!>?bz{(}L?1rz|qpDc_F z3|b62ATvOIVqoiWnCi7uOO#6$NCmA7(YpG0A&3I;Y~{ezN|(9*50-!gLzf&%WB|(v z={9JEYJgRWK3ou_s|QxesG)WB;UbVqQH3RkWC9dII}R&y+Nd3EWa138YU9xm3S`t3 a1S+Xo0kOf*Pv(dR*xISf8YMiM7_0%_PJdYd diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/db.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/db.gif deleted file mode 100644 index cbb99b2bb8f60c2e79cb2e4578e2ee33aa15dfa2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 356 zcmZ?wbhEHbU2GW@c_~ zZeCtq0RaKg(b2K7v5AR^$;rtnDJfZ5S$TPR#l^*ym6bI$HTCuNjg5`X&CQ*iof9TZ zm_B{_ym|AMFJHcD)v9&t)@|OrdCQh9+qP}nwQJX*Lx+wXJ9g^Ssne%VpF4N%;>C-X zFJHcL<;t~d*KXdtdFRfZyLazCdi3bovuAJLzJ2%Z-G>h!zJLGz_`>x-nWL1#S+i%ZQnHny@U=09fOs&)a diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ddt.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ddt.gif deleted file mode 100644 index 996aef75a46741d7f584e28fce682f2274fec092..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 845 zcmc&xK}%v$6uw0>ITKApV)l?kQ7jSV&C~3S7oIrc>>S`j9NG6kOYisN4>l+&zo12@dR4ScLXEK?st*!0t?QAxi z%jNRh*e~(YU_8zPY)%y}fNVo2^#s?(XjX{{G?N;qmeD>FMeD z`MKS0cRHPymzUSq*KW7l>-GBm{;z?t;s3YUevAwe0>r~E!v2Je{>%fwXWpmd2B3Um zsPR65?P$7}N={B?l)ghyJrd;{m@ET?$Cm(X(@dM?5&RtHo8~~AMA?E`aF}Tp2GoHt zKLOq`=1Gz~(EKyN+QSl+)cG-LcT0HC$2%w4L2sBz)XMYru~9E^@{x}sz`_tV)IMN) z2pJ*(ZZfBnFgT|$Aiw_t5V0cDr&&KbEZfaG5Q^MkM3@O7gbAC~=m0Zje$Nw(X;TV@ z1YD?USZD&|alhj58Yyp@!%65O({%eRb(jR8Ba&5x1s~6D0dkZfdqkcU7WsvNJAlFL Z|J=7s{>r?;_;161`263RZgu|>y2i%Fc6N3yE-pSkKK}mxp`oGS;o-5d zvB}BFX=!PBd3l9}h2`btm6es#rcIkUbLOg5s}3AEaQN`yW5{Q29rZ~wsnWFJ+5;!hSv1_l)d9gwLYKQXY`ItaZq@-XmF zad$6KoG2qI)afE5>!30zT`8i&ql1UlVPc4fB9rR@#fe-Z?44UQV-%EvTpS ziMhGC`T6-JB_)-WmDSbN&CSgn9UT)VPMkS&=F+80SFKvLZr!?#8#iv=ym{NUZM%2x zK6L2NnKNfDU%q_f#*Mpo?>>C^@Y%CxuV26Z^y$<0@85s@`t=_SK-N!{K&d$zmZf>5Q zp5ETxzP`SJfq_9mL7}0cadC0+@$rd?iOI>y>FMc(g@xti_^?mT|{`03N9&!0bk|Ni}#FJHcX{rc_Ox1T?M{{H>@KNx@<4Fifl zSr{1@tQmAb0w6yzu+2MgH*fo7-Ll<4>h@bO#Vu$B=3O)bQq!wk1h#sAYnXgDFTMIkfpBZ?_SwFCeJAt8joy}NHf91%VOo8+uk9w#u-3%wxA$_bzpM8Z z$g>Vs*m9due-cn1Nbc^rjR)T9O_Jr>61g^P_0?6(5pVSjCaVG62L>H)^n}i8b1+x~ E04AWjMgRZ+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/diameter.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/diameter.gif deleted file mode 100644 index 1054638f281d23efc5ef81daae65cc3f5b33770f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 309 zcmZ?wbhEHbQr5W|o$gHa0f)_V%u>u6}-gfq{WhQBi4W zX%!U}jg5`Hy}i?>O53IA)~#E&apT4z&!j0_Aa3_2iFL4IOj3vv*8xhO(M zL|mZB#W2NXQIF$?0|I6$LY+?nCMfUZyh6dahArNRV-XrT%ei#W1%L1ghDU`>$WGJpijPOiWBjB$An#8JSGBu&~&;aigWBrInQxg+j5mwzjdcv9-0e zv$LboXqz@|vbVQ)aBy&Rblkjovy+pPv$ONoty{Nk+eW9;U0hsTU0oRrhMSw4ySuxG zhX<3%^z`)HxpOCr#q#p<+O=z!x3~B1-Mjbf+2iBm&;@7}$4@813U_a8iXFf%jr@ZrNpj~+dK{CIYD_Q{hcPoF-0 z_Uzf*+}!;9{PX9}7Zw&47Z+c=c=7V(%U7>nEiEm*e*OB*n>TOYzJ2%Z-TU|N6$-`w zmXC7D{;7xb8jS(~7@#N8R zMl~^C(~+D9VmV*tj9|jj>QUyblJ662+rB7g1zqvE)CIKQ`s(6of{$n#7hqF)6CORw zm@x65dHn3~LlcE$3Stod^WBQ5Ut>On@CGvfOsXkM%m8H&yqReV}07Y%l1FC|12J1{vvnKr8!2VIYoy$Gog@Mk+`;G60DI3zcOx^PF#*=3se1QSny0BVm4Lb^J!#2=sMD$f zb-SN{L~5UDgxm~Y2a$ATbvfyFNX`tOD5B9O7@DG` z8W46ynRN0+029V==)z1Ku*Fa(lFQ)Z(c3eZfcPDnz)27`G>+eK()SoL1g5U+Ajbx% zR?_(*j3W$rF_FxSaS|v?MW$(Dh5A*8v_%#{Bw^bl{D^1xqEaIy57p3cPK!~Jj(GyY zss$tvUUf2(ctRHjg1Mbi0uTyA*!*^B9uicC zf&_nCr@WHWT>Qw`k97MigEP}Gf~hBSI&;@%fbe$IjGqR*WqDoGKhk+WrVk*PxLA(5 zEDsw9k5#hUS%m@+&P2_%YwgMc!&zNi3k=W(!e|ffgr=H4vN&^`Gkju&og~PY{I!8wWZQbmQpq@xWi>zX`q z7I_dpaYTS6cq1#oOUGyuC_;#OkPKi5+bkxWhYp)$)sj_O=UhlBgUgLpJ^NQ58l}Te za`sWLRn7qYEzN(zDE>hI9fpX8O^TpC-Z3a$F5~YAvHT680zcKWIs{={O|8h-t@v|a PR$zYk%Y9W*0i6C12H>rq diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dieselFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dieselFoam.gif deleted file mode 100644 index 4fadafd2a0ec2c7deca1d55248a5395429fa3e17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1678 zcmZ?wbhEHbbYtLV_`Z?>2pAa|Sy))u+1WWcIk~vFczJpG`S}F|1cZf!MMOkIMMcHM z#U&&pi%>l+@JJ)Ya8BG&D3dHMO*~baZs|^z;l23=9nojf{+pjg3uBP0h^A zEG;dqtgLKoY;0|99UL5-oSdAUon2jB-Q3*V-QB&synKCq{rvm_0s;a91A~Hsf`fxY zLPEmA!otJDBO)RqBO_yDW8>oD;^X5J5)u*<6O)pXl9Q8DQc}{=($dq@Gcz-@va+(X zvvYEC^7Hcx3k!>ji%UvMN=r-2%E~G$E32xis;jGOYHI50>gwz38yXrK8ylONnwp!N zTUuJ$+uJ)kJG;8Ny1To3dU|?$d;9zQCrp?yapJ^DlO|1>GG+So=`&``m^pLitXZ>W z&z?PJ&YZb(=Pq8nc-gXLD^{#nwQAMs)vMR7TeorJ#!Z_xZQi_j%a$$Mw{PFEW5>>& zJ9q8cwR`vOy?giW-@pIBfddB*9z1mD(BZ>}j~qF2^ytxJ$BvyiapLsp(`U|{Id|^d zg$oxhUc7ku^5rX6u3Wu(_1d*-*RNl{apT6#n>TOWx^?^Z?K^kw+`W7E{{8z89z1yT z=+WcHkDokw^6c5O=g*(Nc=6)Zt5>gIzkc)P&D*zc-@SYH{{8z8A3l8i`0>-HPhY-# z`TF(iw{PFRfB*jD$B&;sfByRQ>-X>9fByXW`}gmEFaV{15eyW6vM@3*tYXjsg#jo} zFmU{12wfSJs?o_8x+<*{B891VRY;(a zvcpuZAQ2ICbD)Z+v8@Wxy!0^f{5;!yF_}PAyRaDeiz5J!ny+b%KsV1>0#dWe)&#@x z=mxH`V?wC;hv~$PnG1jhscMF-oTTD;m9GI^KWYFmEpcX-U|bc_Y5CA&s+Lz&i45n~ zmmPev>hD%eYH>Y2F<{j_6OhX$ivZPBE2zu(=u4Tpzbp6(rLqh7T z_f`Z=J?Xi^$M4*Vpr;2X&JlADS!u-5(6-84;=l@~X2+|Hma9U(3NG*x)nsT2={%_L z+;=K-sK<%G5Y>?Bd__+zBL6LT<;x6=a9vA9&!7(TRUt=LECPC-tvY0>fbw$=*3eZf zj1z!~qQP#}frJ27h6!4swJa-wT)7$)L!&h2SQe}CI=K3AxkOCzI@M~Ner`kH*JYsC zmj2 zT)4PfIW*k{DCHU2!(?rgdGLWld!H{bnQ*bD9p_Uo0S0-26Z;Ilpm$ps7BDNw$}-f< M__)Er-GRXx0BE*+;Q#;t diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/diffusion.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/diffusion.gif deleted file mode 100644 index d12ce6a16b1f1398dd7ca5f334c9a4cabafd6ddd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHbKgaYHDg)T3UvNh9)K^&d$!hzPAj@`R=@87@w%$YNnE?v5E<;t~d*Pc9i^7if9_wV0-{P^+n=g(iie*OLX_kS<| zIfZnf_>+Z^fkBr6>=Tfm7}$~zgk?7y_^3^8TzWNYt44p=YS*rWDBa7Bm$J4-DLbqV zWm*umHY}SZW2+5A$m*+Eg$!%O9v{rw+OT$7(}gTUgSBC+O}$#87BDUcY3~br9h|W> XWYHPstFv@iCUZJ3aNHW@$Y2cs>YjPW diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dirPatchID.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dirPatchID.gif deleted file mode 100644 index c707d5b42b92ff4d804309e52d627e743df7dd86..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 669 zcmZ?wbhEHb6lUOM_!h(f1pNH`A|fIZ5)x8UQkt5YhK7d5#>OTlCZ?vQ78VwkmX=ml zR@T*IXMLd1;xe1 z6%`egm6g@i)ipIWwY9bN_4Uoo&8@Ai9UUE=ot@p?-TnRjQ>ILrHf`GU>C=}kUAlbv z@|7!Bu3fu!oH%*%C&akmoHzvdiBPQ8+Y#9xp(j0lP6D}KY#x2-MbGTK79WC`OB9t-@bkO{{8!pA3uKn z{Q2wGuRnkO{Qdj)-@kwV!2sm>fd+~{Sr{1@f*Eu`4gtjp1N*OrU?6bkWU&U(VBn$! zrj!Msd?01V3t|T;2_b|)EK?0L2B%6YXKA~Vu-e3lkU>9DX0l|DG!A=ZH z-r{Dq3}(SPEN&XXhMexf))La d66i)RFObVXz>C2a!hn;Gk_^J8FkT~rH2_1m(nA0M diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/div.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/div.gif deleted file mode 100644 index e4b6c015e57f373256cdf810be407c7b864b2b0c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 405 zcmZ?wbhEHb6k_0J_^QqT1RNY3!otGp>grlrTE@o4*4EZ`c6Kf(<@7cON)#;PBzY z$BrF4bLPyID_0&pdi47B>kl73eE$6T+qZ8&fByXQ=g)sI0NG73Q2fcl$iSe%paU`q ztm|7Sh)4<;9w6H<$ zI46(-s`Q#tFePBcq{q!5ovM~U;t8FJZ&H|12nFr90EClr@;|yG)M_hpH>M&5lB0j7b3u54FKjEd~^T+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divB.gif deleted file mode 100644 index 18d6aec72a660e291ec8010535397ea3cd7a0517..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1088 zcmaiyOGsj26vsb@#wndU^APS1;O|%Lkf@o3Eq9Uk3njX%4=Q_^lVwnHpe&_MyobR0Pnk^NDdM=xM zBtajc5(orBp)fu^UL+EU#bT*cDwD}lQc_Y=Q`6Jal}cr1W@c7a7Q--VwK^{^PovRj zwc3J$0=-^eR8&-4Tx>KNOG-*iCR2HNx!G*CSS(dlRn^tiR;#tPw$^5|)z#IpEL&e+ z?{GMrPN&=L<~XjQp`p3CxuvDWU6TCnhE)Cnu+-rlzN-XJ%$*XJ_Z; z=H}<;7Zw&47Z;b7mX?>7S5{V5S6A28*4Ee8H#RmlH#fJowzjvocXoDmcX#*p_V)Mp z4-O6v4-b!yj*gFyPfkuwPfyRz&d$%zFD@=FFE6jIuCA}IZ*FdGZ*TAJ?(XmJA08fp z!QkWLlE&38n(*mrz(Dk2#GV|DLPi;Nb;JZDOrV9ZY6#r;z%i)l*RE4Nd`V) zCjdr5r*tKGF<_4)a_qnnH@Z3^V;B|Dd_@OY5X%8nd?irRg*MSpV}zyS`E+sbk#!*Z zMQCMZ=mF0*(i7P(dWNqIiEl8;7lxz^Rb&sj41e`Mm!O5gnZUDrVW=c&(R-k2FOv=6 zapVxK-N7a#^3Na_Vf7|i%(FoN`)lap+=j69I0S$syb<1x{iN}$kBYe@k()*Z!)B>5 YHss5X?GF6-5vCIVi@);GvVLOt1^HIDNB{r; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divGammaU.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divGammaU.gif deleted file mode 100644 index e0024b46b1fb0c52c129d2ecb486d26ce9613f76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1225 zcmb7DO-N!<6u#5E5T;N9W0aoZ6o}QxNNP`Wih>-e&@>(cDLwq5K=4qsX%RuQDS}oJ zMT;V$2-+tU6x5=Kq6i8qq91}HsBlr1Q8RPzea@)hEaqF>bMHCld*}Dr>%W;TeiM?R zSQue243nLmEtAO<3WZXsEGQ^oSyrV|6&4m26&011mg;mmyq_^MMVY2ab~mG zVzE?KR#sJ2RaaNr?e>O-28YAZ)YRm1x!i7db8|D#^DQkc9*@WC^|rRQ3WDJC`TTx= zAP@)!gYE6@;c&R4qocF4v#YDCySuxmr>D2Kx4*xCU|?WyaByg7Xn1&dWMpJ?baZTN zYi7YNIE-fuBFE6jGtgNoCuC1-D zudi=xY;10BZf$LCZ*TAH?CkFD?(OaE@9!TR92_1V9vvMWA0MBboSdGXo}HbYpPye` zTwGpWUR_;XUtizc+}z&Y-re2Z-`_{0(T9hJ$H&K5EcW#D^!)rBkH=qLUS3~c-`?JS zQIJ;tKR(5ocL)LcOsHfgNb<7}{)OVk%$6D(04rs+B0f4(y~<14tZY8EXrx|FE0=3c z0A%>^ZnwlUu5r73@ z2OCZm<10d6h_vRCGle7}ZxAC9Qb?i(=ws`sT7l39a!IiAs1hG(pzvjN)5@Cs!H WUcq#f(D(_RK5e~H9C4%{$od;w1>Fq* diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffGradUT.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffGradUT.gif deleted file mode 100644 index fd80dddaa61d6bf85684e3f2f476fc856fc565ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1969 zcmb_cUnsMC9RHoOH+ySQV_KeC^KM$tVVXaC?X1nb=JlFcW?E#^(?g^E65>J< z$%V*;NG`;M3ohh>Bo`zpNfJpSN#aQ2oZp{qp68sLKXpDAzu))&@B4iJJSC++el_|% zKni{f0|b#sBo>Pk6BA`JnOrVUNl8&C6sf7HDwQfNEls1*uq>OAk&&61snhAQv$Jz^ zbM<gwv6nwr|$ zT8`sD2K zx390SzrTNAU|?`?aA;^~czAeZWMp)7bZl&Fe0+RjVq$V~a%yU7dU|?hW@dJFc5ZHN zetv#oVPSD`acOC3d3kwdWo31Bb!}~JeSLjnV`Fo3b8BmBdwY9lXJ>bJcW-ZRe}Dhr z;NbA^@aX91`1ttbmGD^>+eX(Eoxj&!2t*00J#`!aV`vw=PtZ{|_vy1gs|h9|AgTF@t~o zJST^h075;4Ru01ScQ|9Q5aE(m^H~9Hc=!3v5t@TrAzC5yU<-~{ONbz<~&o&+KYFbpXSeVd#H6#g%;ezGH3 z63$tebj*_Yf*jP(NV(9!VwFFtr1_CHt z(3lW{p#X4VJq$2v$1j9}R$#=0SGa^ULKaByQ7e4X&*u`#&;wGv9w%L7)qX!+Mt{wwrDf4C8oYl-~#5Lo3Y-#wSD4Z?W$4<%E`#LBJ#zZ!+Mu zkH>kj(XGXrzkx;fp)z2Mt*5W63QfM(i)!TeD?juQDokXMgt92-r@x6P%SfDPJ7nr8 P|L0p49e$po8<_q8iG%|) diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffaUaT.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffaUaT.gif deleted file mode 100644 index f07d791cb5954b5035e1d76520d027c65764f736..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2983 zcmdT^X;f3!7CxDLxlJA`CQt^gjX*AlmR>-S!Np3@6;lWlm&ghW&_+;O2b4inoI<=P zqcTVZ6@_9!A=XqaC^$gGC*&c5Rz$6Hkx`cu&gS*rbCVc4Jp1dd_3p2|?%Dg>-~RS@ z&de{QKEBEXFdDpQ0>nqB)0s>ri^bw{xmH$IJRXnF=UZD_+t}FH+S=ON+dDWoj2kyj zC=@z6I*LRh7Z(>-SJw#>CQO_-(cRr0!!QpI4^K}|FE6jjlP6D^GR525d+OAwK0ZFa zzP|qc{?n#S3kV31NF;%Qfzzi?mrA8FnJg$MC^$G+E|-UdgoK8MhJ}UAnl)?o?AhVr z;SmuL3WXvvGBPSEDmpqkCMIU?+`04S%~L9s^XJcxjg5_qi(9Z@!J(_7C zuwmoIjcI9VYPEXPrcF4Gr>CcH-n@CsmMs|>8JU@xSy@@x+1WWcIk~yHTeoiAwryKp zUS58FenCM&VPRoWQPGYaJBo{oOG-+1?%cU+*RI{WcbAry?%A_v@7}#-Wo6~%mU4wY0Rfwzlf^`nI;V z^XJdEx3^!oaG|ra^Ww#emo8npeED)$SJ#y*SGv2quU@@+?b@~L*RS8WapUIAo40P= zx_$fhojZ5#-o1P8-o2ilp8NOj_xASo_4W1l_YVvV3=R$s4Gleb@ZjOYhmRgTdi?nD zlP6D}K7IP^*|Xu{;pfkvzj*QD<;$0^UcGw#`t_SPZ{EIr`|jO4gTe40_>oTfKm5kO zV$uN6fk`BH@=gG@0i+`WR9=iJb@=}%P^5oiBOK}|pZ>w74HdEv<`Co+TF=tIL%ywp zkIK7CMLKmi56#KK{3>t*!r?p1@`MsK6X83vokyzhGi^Jj`a8NL2Wq|(yvLE1L_xq` z3$PF(NN_ajJIIt$^Kj-KaWQQqu43|Y$jzDna!mQwIYs)jq%1%$aa|lx@y3K zgVl+T5&JQ5l^1JmLr3tjI5Gpm;NOj;tVJI;j)vua)?^EwN(5W9A#U$QECVn{EA)oQ zhGMN1il-&6m_c?`YpHtE%z>;vHUac6x>$$L`EmSTwvR1T<&ivEWkND1M^0813jt)$ zEyG-D-jBgzIFg%>jBDwZKyO>qc<7Lf5vIex(Zh0GSSi*yljOq`L0!Zg9N~P7!xn#f zL)+y4fD?{7&}dK6=yM`zsKF#^obWJm|#5|)i^k#FGSQ#bb@@jC8R7xo(Z3Sif-5QIn4rOpn zIFLsTlSlMwsuqi<44gH#U;q^Z0=lM=IUy>ir9~h4nYN-VjVt4$Ip1c@syE5H&<`q( zDffe4kXl9oH6gPx69yIPAW}^#S?lC!s?r(ANW%xjSz2Nk${A}+>P%x$#_OPwf1)~i zyD}%~a8^=J&<;#_RCR)l%59y%4>)qEM}L_h-Ih!lSf}m>9s?|D4C&X6d0!FbNkvM+ z|Mk(wzY~#bnHgu~N)b|s02!n(#iPQhKW46qDsC2zFj`z0Hf}439BFS0Cs2o%_G7f| z+8{sh%V<=i&*%E%$foV(#+fVofGWU zfP^Yp3(UfpgSkGVQEodTAx0IT>}D(bJRE5lrf(;Jp7|hXTc(v#96=mSVvI3rSDaSGIlvjQO%ZVHV1>LWQkB3E9i+U-i z*=%xcu)RLK-&wAx;*rLy49v%rtMp@OViqAs1@VZ&_J59pa(Q-c;M-(AI>Z`poQE3B zKM6iPCicH8?{>qW^pL7}j)O>U=PLOMN5=dV1g~*SeKG=+jvIv(WSBs;zn2~g~|&j{#Trl$>yz+0i6!~ Fe*?g{Jyiez diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffbUbT.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divNuEffbUbT.gif deleted file mode 100644 index fbcefe3c449def1f8cd7fe4211e8730494b9b6d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2925 zcmd5-X;4#F6n+W2Nh+XHQY^~|f{2pEiJ*WWNM(_Ug291sw&WXY1iz`&(Tmj(w1 zhlGTLhK4R%wk#|xjLl{*U%q_BiWTAE;SmuLD_5?JjEr2hYE@KJRCIK7OiWB{Z0zdQ ztJkbq6Bie^cI{dihB+J#m&@hxc=7S^2?+^&K7ZZ1b%}|I8#ZhZ2m~89ZrrqK)8@^a zlai9QY}vAP>(=Dtc=6)p%a^ZSz3T7p9~c-I92^`P8hZWu^_w?u-oAbN?%liL;orF+RA0sSTg`Av?LZ3kYq9{Wv45#21BeR<9)Npaz>85++8!#C4jE&L zDILe=Dcj7!3L3lNVonpwatJjTAW`9I9GRYa)_K}DIB|{v1bXr7))&KA<==k;S)pX1 zAJ!Bx8{^K^nvFKqKq1(tzH}15+>wppao&bC)#Cc_>iaB+-r!PiXN@_NA1D4I4z{Bl z^KAfW1ie!<2`xRv00vng2pO}Yo3$tikzEhw8g%5%XadbxW)PDfVGq&;1tyr4X7*;1 z{841$Yyz5271c;I43~U89q1>W7~Pn3j$!zT($WqDto5d7))4{?m(U3v>=bS#a_tPP zg)Tjrh*pNUGJ2~Bx8xfLf(cA5dWnmvA)Zd-wKXoGji%9)Ko4<4$m{^yc!0w#XA1sF z&;kV_;tMXAbX=1h{mf9C5t2fOftmh@rIx%tZBA2jc2@% z$|V0P(;P0*Eeo$+5ivO$kqsPf{@L0cLKjo2(y7Wq#JRAvn2gmKZ#POhHyzW`L8cn_ z94JE}bc#vD>GTv306LUGBrDvK0c0(Dgb)tH?kxbK+p3cs&^2j4kE-NIp?+?Cs8Izt zar#BCs?yND)trsVLjDf&LIY`!A(**pxD%tp)OJ)c5GbZVC>^E5nsm2OTJbN}?$xOfb$&V_-K#mYW2P(mKYA@%MbB?~)cS*b6wz4s+~j&Y>z{Pjp+5 z$$umu#bq3624Dg5)z35Hk)r37)ONi-Z-xLhg`&_fu3Saq1!e}083%OT)sIug(5K_v zW9XS>3HqgzXzT+J=^RjJst^WD%_d|~m5xm@9JpSf$qU7ZMnO+}n{{LOJBg{^vk)nv zfRQm;5Cly=?f8o`nm#TVaBW844(vp$$T#ue2GeC^C&?m?n6g~>k>rn5BOLo?lVT(i%H7gSy!eelE;;j{S&o6fD1M9+@(MhPNE%)*+o z%Hxs+_ct^&G&VLiH8nLiH@CF3w6?akwY9akw|8`Obar-jb#--jclY%4^!E1l_4W1l z_YVvV3=R$s4Gj$s508wDjE;_ujg5_uk55cYOioTtO-)TtPtVNE%+Aiv&CSiv&o3-2 zEG{lCEiElCFR!eutgf!Et*x!EuWxK@Y;JCDZEbCDZ}05v?C$RF?d|RF?;ji-93CDX z9UUDXAD^6@oSvSZot>SZpI=;DTwY#YU0q#YU*Fu^+}_^a-QC^a-#~qY1+z05fs`Fbd*AEGN1<#`)NZ6Zsp4(gO(_jwiR-@kNk~Fgo+~Cy7kDAO+1&$L<5tKWyZ_+7+e(T>c(Tg jf^YAXVa+~7wT_I#kx_*(zWKp~5xh98<2&H{f1{NDNka;J diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiAlphaAlpha.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiAlphaAlpha.gif deleted file mode 100644 index 2ec3a16a18f335c2735bbd151f7234b21d4eea8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1757 zcmZ?wbhEHbv|!+8_};|;1dNP~OiWCytgIXy90CFYLPA1fVq)Ur;t~=PQc_ZKa&ig^ z3W|z~hK7blMn=ZQ#wI2vW@ctqR#tX)b`A~>j*gB_PEO9w&aSSm?(XhhUS2*vKEA%b z{{H>}0Re%5fk8n*!NI|yp`j5G5m8Z5F)=Z*v9a;-@rj9vNl8g5DJiL`scC6xnVFfn zxw(0HdHMPI1qB6#g@r{$Ma9L%B_$;l6&010l~q+$)z#ItwY7D1bqx&-jg5`X&CM+> zEgc;lU0q$>-Q7JsJ-xlX{r&wDCQO(%ZQAtd(`U|{IeYf(IdkSLSg>H>!i9?#En2c< z$9zCr+I@b>_^OOP4NPzI^%0l`B`T zUcG+(`pug+Z{NOs_wL<$_wL=lfB(UQ2M-@UeDdVU)2C0LKY#x6<;&NvU%z?t=H0t@ z@87@w@ZrP9j~_pM`t{up z6mt$`oY)M}?ih*13J*a+gYGE|4x1oqmag1@YL{CARM(CV*tBN^&gSbDb7fcn(Y00q zY8TWOnE^Ube^uSVs{Nu8hnLvDM8<%0kfYx<2%tF8Nz)3fU#X$#kOqp;N{-prwm?i& z5Yu_&taua@b_W?ytuJSY0jW{aGwa9^2uel@7g5bA4h~?&nG8BnEUXT|K)mG<0Jc4Y zgMlFs*K4y2TbsI>XqA)`Yo&<>F6flhSbR1H`Fu^t!-5scs@@Q&fe<_tkG*6w$AB9|~9 zS>)P0MPudWj6hBaU@CKBP5=eRHHHXK0O>GT@t`L_uB8ndGbSz&vF#Ih+1PYm$2jeqX)-B_&56jvWC;Kr0MbfR=7_zOcy5 zYs!L17dOuNuH6b6KsWCNxdThG*S%B#P84AfqYXmDo;C&`$DwPk!UUL~F>{S>7859d tKw-ayU1bCMKq)rsn46mX?-wc6Rpm_6`mXj*gB_PEO9w&Mq!4 zZfRXyIdkUn<;z#EUcGVS#@)Mj@7=q1|Ni|44<0;v^ytZx zCr_U~eg6FUix)3mzkdDZ&6~Gx-@beI?*04sA3l8e`0?YXPoF-2{`~dp*B?KA{QUXz z_wV0-{`~p-_wT=d|NeskC_Y939Ya9zCkrD3Lkoir$WBn6VBq-2z$vKY(jlPe)WU(u z@MLttC1uL#+!4UZshV)0fsvVwM?!v=0J1p&GkEeK1};3)mf(F1tEPfP+IMtwFk> zh2!K&h8B=JymS;y*qymSQmYn1oe1^w9fk?ukP0u7`5AD84P;KKrb9=7Jh$y7usb9f zS~zSO9ohsI8jG=kEuG28;PnOQ`T%K$BA|m*To28$4dIx3!?8nPA)92vnG8l~02whi z0Bz@S5m37F2ohwcfU($M33Nslvjd-^QkR2B8bp@^lU%d+LmjE#zoJ(8M2DkYG}R22ic^}-yUSgs diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiB2DBUB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiB2DBUB.gif deleted file mode 100644 index 849b3eb326d49e92ef3c2e1b9cca474d9b189e36..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1287 zcmZuwO-LJ25Ps2Blv0fv!37mVH^G7}QjJ7PAZq?rOq)badFUb9eR~#KqqQ zHu2%!+Ikjx^IB~$Ekb`Nk=zs^2XBQS^kO@+yNO1+Ji_CfnQy-L%_J;`yyHucNjs_Z z5cnJpM}L3+;NalM$cWG93x~t;czj`DK~>e2m6f%%wM-_H&1Q97-`UyO-QC^W+uPsY zKRi4v7K_Kn$7g3}l}hEW@gZIP=lmns2ocE;!q}5EU8Fdp*G|z(dHOnN<}|DS#l>wP z@g;cQ=bR*K(uULG1oH1ocrWFvT|&28my!JSk|ZZa>)4vrQr;2JBtc=c7|Qp>{pHn1eJ^Tsxr6?C6r&VR+Mg> zGN?hKWDbc2hO4+4>8t*B5p@9liOyi zxY;WeBFMAJ=xU2TFTs7I0BNT5=sMibhi)7Uo5>VSpP$lLNkCy@Rangz0eB{35bD}w z?ZYfJ)(v-EAQA8#OFY4(ES{ip>&yb!0lv@+PG+r<%2q5yWXLYF(j8tqMt3`tR$=jO-JXsXK&!+!~*P`eW~r*Whb<+SYs zE;FbU?UBN%H`_SP;rGp_^PFs$3 z5jS;r%&FrKFGFZSZC|P-uRL*RnPIVs7L_^>M{P0xFS+CTt?{8Wn6{=l#=#cP>Z ZC2qt2|7y8)zm#4VHCG*T68r_Z{||a^`kMd% diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiB2GammaBUB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiB2GammaBUB.gif deleted file mode 100644 index c01ae199bfa51a417634bf8a2d38c3b939258b6b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2454 zcmd^9`%hD67(Oj6ln$p98o7u-X3UV2cU|XS-f?QN6U>O&|Fx(I;W+6fC5L_w3 zT5gHL)Cw5nas<4!7zsEKs5%$5(GXCebV0<0n*uR*`_3s-Ztfr0`RU8|zVG)u@AE$I z2@c_Y6=HbJKj~+dmot=H`*s+|PoZQ^p zl{`KM2xmPjOpg@sb7w5X`4xVX5aq(m;4mzI{6mzP&oR-Qe3_T0I1 zRaI5h)z#0t*xu8yL|a_eSQ6vD_5GDnwp!NVHm!8^=eB?OKWRu zTU*<;YuBz{zkcJ!jhi=b-nw;5sZ_SNx8J^f`_7#^9UUEAU0rwY-tF%0?&<02?d|RB z>+A3DSF6?c@85s$;K9R(4<9{x^yJBtr%#`1G@576o;`p5d|+T;aBy&FXz0a@7cXDF z93CDX85tQJ9o1^JV`F1Foo;-5{MD;h6B84!U%#H5oP6`<&D7M?^z`)1%*^cU?A+Yk zyLa#A=jRs}7vH~s|KY<2y?CfMPhU{RSF*?F!J!_DQij2+`=N4(z4;im0yU$_WD;m~nVJRZKQF;gsHw}@ zn`42#jUF~a6=k{yAtY0-s~rfLe~E?)u*l1A*=HEO&^8pJ&bD?rRt2%p421|H%8XXf z$e8N_@1%GtMM0xQ2%k8S{&SOe*^-5Xz91t{PZ;9_7a}(SIVu?2a+ibYGAvk7CYtkQ z`PXhR6U|xPp<-cJt&zB`kYf#KLsn-+<31jjg*G1u2~~TH#4?7Um{*J5aPZI|52*@; zya6Bn?E9?(ou zZ(tt@mSY$(MHTeDNGG+FGT|nrsLqH;rPzxd}_h^2#^BV&pVp4$-XnrOi+erphj@V&j-~|09&IrN`7P7%cc76p8KVVycZ~civ z6=$>|3P*?enDns*`6&-jj-6A;k>uiqfA^7dq=)QmT*;Dr4vcKUyl=Jp0LHYgkx;{i83sW@8?(bXr#_ zL%{p!N$}#^Q7K~&vmNxqH%8hRlA|k1Hh7W@@j*@yL5xt;U>s`7k;BKas6@b%B(PA9 za?+pD3cCwJl?$F_Qff=+P`cn{g?St817ukRJR{4%Vzi1ZHRp-x5C;fky${^<1eY)b zWdt@|OfXk42;5j;3e5%r0`b-qZ@&@?v5AWZ2u1VFu+$VDpwVC{=EB17po{m)tlU$& zC2}qQ3^?cq4WqLZ2vw!nB(S0$_26crWQzdSOU#|PNYaEMXG03gY)Qpc2L3h-bt%=* zbF?!A+IY-FwO><3hm|54z7q@q?xgF8QJVu-D22?BYY%; VSIv2qF3Z4{%HuI$*Bl`Ke*k-dIX?gZ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiBT.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiBT.gif deleted file mode 100644 index 6103535328cfcf9617a43733349de2ea523ec579..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1225 zcmZ`&TSyy06dh}AQqocqtb&HX1|@W@ltfEvD$z%+}#Kpz2ESr#!pj0YVDpgWa zQgU*#TCGk=NzrIDTCFxMElsD>>GgVp!H}MwZZsM*Gc&WYvP>pZc6N47PEKB4p2cFZ zTCFyl&2G1I99K|K;BYt!3k#i2XHij+%jGI5DJd;2<$1oWtgO7eyrQC_va-_S@zm7R z)YjH|yDz7Yinz7Z|~^n=gww5?(XU7 z>Fw?9>+9?9?;jW#7#tiN8X6iN9v&GP866!R8yg!RAD@_*n4FxPnwpxPo}QVRnVp@T zo12@TpI=y5SX^9OT3T9OUS3&QSzTRSTU%RSU*Fi+*xcOQ+S=OQ-rm{S+1=gU+uPgU z-#<7wI6OQ&IyyQ&K0Y})IXyi+J3Bi+Kfk!RxV*f)y1Kf)zP`D+xxKx;ySux;zkhgm z@caG0D44sKVF&^GNG3sMf&_jaKI!u?eSJP}v;i<;22Y6~*7~^07F8TrW&k)@nOKes zR1Tc-YAv8g-vgWZQ6UbMm*)o7xjcDm5GGsYf_xl17yt<((*R(x?q6{6!8p}L0!jiM zGLnT@4`xKuZpK3rK~%Fc8hNZj`YjFe`>+=1!p$VlyaxWgf<&JzQ3xt$LwXln_DoP4Hs@X)`phB(Fe2wS9!zocJ$K}6% zOU=LrV(?Kp4NX5>n0oQGrJDSlgse9!bly({{0KD aHh9fK8y~2CaA~G@AhZ_>yjbZ6`t}>iMH=t` diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiBU.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiBU.gif deleted file mode 100644 index 532aa0a2d69969d15ef6db5d0ce6486c97b24d59..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1361 zcmZuvOGqPI5WR1VOc)oT5kGm*h9^QGXk##9o3YhiWF!bN5rdyVYdRQ+pUfg4DMfHV zT?o2R1Qm7T2mBz+LJ(c}K~zK+>Ow&g1wlkaK^%WD^X|QEW;!!-7JYBkthKY}lPfAKkPEOYA^(@P#q@);)#`N^`jEoG9d*2ke{DlP*6}*R8(AC>~J_rN=lqgr_1FkEiEl8D|5Tu z6%`egm6cUhRUVH=lBDYD>YADwuh%Qfvd`zMt*!O@{dIM9_4W0Qjg7%zu&Jpj91a6O zb8~Y`OG|5OYkPZpM@L6zXJ=PeS9f=JPft&8Z*N~;Uw?o9z`(%Z;NZ~E(D3l^$jHd( z=;+wk*!cMP#Kgqp~1%F4>>>gw9s z+WPwX#>U3x=H}Mc*7o-H&d$#6?(W{+-v0jn!NI}d;o;HI(ed%|$;rv->FL?o+4=eT z#l^+t<>l4Y)%ErD&CSj2?d{#&-TnRj!^6Yl+25+B6l?Yd)EAe z5TJD8CNn|rzqjG8{|?UccmGeX-3?&S8SuC;GXIr+KH!Ux`I(x2^-n~ON#H~PvytWe zQ0M{?wb>Mw%b;dA#Dx^ouJ!`NYN_oL@F8P{?j5y52ERH^B+mq#azwsrHZUSMP(W$l zYkW&bBZE4H9}t*^2$h~u{8TM8BxVx7N!=pYW4**_wWjfWRP|A82?5xU7uvwhl5kuL zvXImMfqYG7C=Z12`!D=K4{Ot~{4N^7B1DyO5OyF|1}lV+Y-9Btmp}#9D#FQyB;1RW zLt(7P%|@ml;nVDyCZe1T$sp(fcnzVv@u~0%AL2{~A9(`!%yG0*n%!)Ia;yw)owDgz zQ#EuqSiCO)q;=dUO2eABk!u9O1WXDrPJ?71WeQr3i;Jtnx1fnBmv~NT73+@CkQgO8 zap}p_d^{4J#1aw#Tu4U;D2bx@Heft;6~3zT`%+1a^cJA-c~vmE%1rrho`@N;5HWl- gH`okV__Rb)yBc`mqoGcp7q!CCaf*dge?cGr2L#AGbN~PV diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiCp.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiCp.gif deleted file mode 100644 index 2b0e3e1ad8af21f45300ef2e5c18c3820d812f5a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1857 zcmeHG`7fhs9DkTv=Q_rWT{0+wCE|SRT+~ckZKJYOL_{!_L`l{XjQcEct7#>a&`z7q z?yy4a4~WRDB^lRhjj%!(GOjpc-Dh{7x9!H1-DLlOeSUiKe81n%@%_ASAcf@V_1qii zgR^D;kD8jAwzjs8j*gz5o{^D}iHV7+sj0cSITnkxw6wIcva+_ewzajjx3_n2aBy^V zbaHZXc6N4gadC5VLl6Xq!@0Y=dw6(wd3kwzd;9qK`1<<#`T6<#`v(LB5C{Y!kr)^l zNTE=uRBBLA5RFC)4h{|p2?-4irPJwQVPWCn;SmuLk&%&6QBl#+(J?VGadC0+@$m@> z2}wyw$;rtnDJiL`scC6x>FMbi85x&+S}WCJRYCV7YGDGp-?0eb#!!ec6N4kb@lZ0^!E1l_4W1l_YVvV z3=R$s4Gj$s508wDjE;_ujg5_uk55cYOioTtO-)TtPm9H3i9|9pGc!9oJ2y8sKR>^) zu&}texU{siyu7@!va-6my0*5qzP`S(v9Yvq_AyhT;%@cryu$MR+2Y6euprqe2X$2W7qh1EQ?a6u@cUJ8^2zT zJVKOF+ytmTE!WYFZT%>gle*eH7iek&dpY}iQ$1xFcIscq0X2U!M=t}V00Sw0&{qLZ z6`B#-G7;GjLy)_`zf1ho4!!+RgTfaob%yyGl#o#hPNjwh1eD5bh_s@RR23E(MKo#n zN@*QM&8$SZ)`o{PvVg+oeFiuRj$r&PSr(5XW_~GyF0EGDCQcPkK#}*c3x9x$m*iXk zP#js0<=>YXjCzp`Em&hxBHW&4l2DxEz-OgTQ1!DKzzk|V$?hhxUy@zYc2xkjR*3?2 zVfX~VDJ}dnwhfjFr{IeLjQLn1q|mKE7JMO;mfJWsBMXT=>YxZgDWpnPY2O3rr?Oh* z>wL1p7y%-P1EJOi@IfNf)CDwd5`l_&MdYi43be-%50yz2VIqu@2YA?AW(Gor<$*IU z1^i#?(3K})0Q?ppMG|8Bo~!x-IWdUku}~Wcp=%`iE8nbBn4ydUVWg?X4$A`nBuu-9 znwDHd^9_DOx6#XR1F|!!RCS{e#_+elJ`j-2z|Y^55ZNMAfSTW~SG7hRDjN(&P=f~A z7?a4ia4%A*wWhn9Wno3)lDMvqLjlR~a~jvi6V_nqh3nmU7y`vW7F`6oSJ

F{Wbd zW{2RoZx!aDAKu*_3SHL`og%=X?uwm?0Afb7UjP6A diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiE.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiE.gif deleted file mode 100644 index e9cdc255fae6afb6d98d932ac42d011eaa90d8a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1133 zcmZ`&Z78c@7=Fh(IOQB?G)2>ny~S!eW;#1_+8VMoELNJ0+A(cnTH3TfyOsBZA_<8S ze@K*wDBnqvujYr4ACi3h5z0r7gq`y|?>5^x9oL`dxv%GX@8`a+_kNTr#W#uZ3-OWo zmVrKYBe#bSv>B9qDF za(PBZMpjmqLZMJ9l`54gJ3BikCnq;IH!m+QKR;ii(G(UI>U6rIqN3vB;*ye*($Z3s z$z(R0%gV|sDk`j2YgJX1-EOb0u68&a08mp?Q(Ie0QB+-BU44ChLqkJjV`EcOQ*(23 zOG`^@YinCuTYGzZM@L6zXJ=PeS9f=JPft&8Z*N~;Uw?o9z`(%Z;NZ~E(D3l^$jHd( z=;+wk*!cMP#Kgqp~1%F4>>>gw9s z+WPwX#>U3x=BCT#+S=OM-rnBX+1cIQ-P_yS-`_ttI5<2!JUTi$K0ZD^?xVXH$yt=x&zP`S>xw*Z)y}P@+zrTNYczAq#e0q9%etv#=d2zelziD98efa#y zWDo=p0!-k4LWH;}fAB9otla2cowGbYM8wgBEiM$?f^`>ufA7!BoUjR^tk zCmtpeeWiQbw-A|_Rtv=JuZaK-GEFK(?HCAvOhOM}jKD(!`XGX1N2`Uvy(-^V+7-YR z0GAI=?hlU~LSq1UbT+^?TYYjHTM8o7H{ZaFCV706Mvt;nAP+9kd9C?NuMP$v!4%5Z z2B8!fxEg>6F3;x-pHyRpu13uSiy4xlftDN5wKzQ>e`0XO0dSBB05&p7DiU#Blof0V z0)svci8vuxWo7xidHn`uMV`o*q!gR%Kra#>A@kn=8=H-a4}>w?S9Ksu(Lp*rGRPc1 T@aVh=wRd*>0w+rTllcAzv>o+b diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiEpsilon.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiEpsilon.gif deleted file mode 100644 index 8a78a8526050c8b016cebfb992a4050823ad9104..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1118 zcmZ`%TS#I-7@o~)aj_Ltge?*m4hXgyX@zA81}dQzcDi635?d1tAr&IXDe|FuiYVy* zP!v(nQxQRg-LF&-1Vs-KU7&g@h%71EojIp%&qn(_%*^-w-~2Q4|6|HGYOlxu~@Cvf`S5@%~n)YM3Q82adAmWNoi?m zSy@?mc{xQ<6%`c@hoiExvZ|`e?RI-So|>8(pU>y_`vZYMeSLjHLqlU@V<;4AZfFMq5?d$97@9!TN7#JKJ92y!L9v&VU85tcN z9UB`PA0MBXn3$ZLoSK@No}QkWnVFrPotv8rhr{#p^9u_Li;Ig(OH0ek%PT7@tE;PP zYisN4>l+&zo12?kTU*=P+dDfuySux4dwcu)`v(UHhlhtpM@PrU$0sKzr>Cc9XJ_Z< z=NA_jmzS4US6A29*Ecsex3{-KR^GXf$L7=do=bF z01*7Z4EF?lerbaLgR1adB;O99R3KF_NOG{lx|9G-eYQ6>yAbMuo}o6$n~WBIfsdgk z`1g316hZ-q)`NtbZ8vAWG6hQ&>Y)WxW5Fe>W9b1gv6UXfqY63Q%nQq=PCM6J^|HK%hsn5%`8W;T4 zVhT@eNN^cF8lcU`s#~uo(S(ZrF}xCdo+pbPbqmmc`4Dv(_yt}AtNW+}@4p*ss}^p#2Re!0V6z diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiGamma.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiGamma.gif deleted file mode 100644 index 4176b232d3d754c4ad7017c561245601c9a5b864..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1638 zcmeH{TSy~U7{|{{#%|CoPObE^h>dQuNYY}XQOp|K*`l%QgN<4*Ep4!?M)TmM#bDM4 zGiq$4qMa(mDxy(}1aIgnikF9I){;oXC@KgFf)_+YO~l)(Y0pVQo6yqNzVtjD&iQ`d z_y7LinMr;sjT3((1cBgE1K`4OJRl%|!{Lx5859&08X6iN9?s+O_6w|Cxw$!$$uvJdZ#J7P7R$oIg4JqWTwGjQTC&+}%gf6vD=Vw3t7~g( z>+9UcDvo-aGaf;ou8jyTwGjU zUS3^YU0+|{+}zyW-rn8aIi1emT?@_N|Med^5Oz&q0MOulR3Cj4fb9erh7)X(OVQx( z8|4%1AFgDte?WuhW!spae{h6MPjx@>_rZVumU+#cFbem=^&dYT0zvrpJx}l>+=s%x zv$NckBi)00gqhWVVB@sJrO;d#>?4)GgL%aNy6Y^Zb2_+0XOc=PXR2?aOlr`d^rdNp(xRAK^^J;k<5w_NdVj{0bhT? zVl!_68t^c^AE_6ShX^O%#(~I)5p3JLAQw_&JnR7_1(t2*B^E-ZckYgiz*ZvxywXxE zE*0^Ei{ggB`A{r2sh0pFz&|h4awy3@=$Wnl?E#cpC!0l1$>HCOFte)#@(4FY#X*cl z-f4guBkDQyWBQq~dX$Elq2``2fSj5E&`px-A13<>b9yFkq3i^@a{vIVz5`U-43a?IPNA4r4^1#e^~|7t@k#ynF^D4AvY*~V8{{U8SsdZ| z{Y823104(D{2F5|nXyE+*9#90arpVJg@+r7>GY*a6f#APU@{Ve4D7cSFo!K u*Gani77l~C?>Ujeptuxh-ocMef`7qipcHz)WLVV*C(pKZ!D4;{i2nlx;fVnN diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiH.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiH.gif deleted file mode 100644 index 043f02f84a8bafc82b68618b16484040dc88c679..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1638 zcmZ?wbhEHbG-Tjs_}6w|Cxw*M{ zd3pKy`2__9g@uJBB_*Y$rRC-26%`d#RaLdMwe|J&jg5`X&CM+>E#2MSy}iACeSH%q zOqeuj(&WjLr%#_gbLPxhvu4eiGiUz%`3n{-Sh#TEqD70AEnBu~)vDF2SFc^WcHO#l z8#Zj%v}x1k&6~Gu*|Kfhw(Z-u@7%d_*REZ=ckkY_XV2cfdk-BtbolV$qeqV(J9g~E zi4!MJo;-Ex)R{A9&YnGc?%cTx7cN}9c=6JuOINO3xq9{LwQJXI-n@C|&Yin=@7}w2 z@6n@2j~_pN`t<3uXV0ELfBx##t2b}nynFZV{rmSHK79E2@#CjYpFV&7{N>A+uV24@ z`}Xbo_wPS`{P_L*_n$w1{{H>@@87@wU;v7hQ9zdvQ2fcl$iUFXpaZfElqVQC{xR@M z8l{|=py=GjgUKk2OvEB}K~S%ar?1dazcG#MThm2h)+7~t+I0iA$DG8+A)P}_n zXvIP&+YJ(0Ob#6o#U^e|D7qvkDIS67;%bIypSl8K`?(&26b~i_2e1o0j)|Z+)yen} z)bU4HxyG4H$q@OAa(EI&1fV zEnO%JjGu^Ppf?;Cj!77?tZ3nNw*Mq?Nbrz=3~MA$t0BX2pq~>NfQmUd8FdnMz`7Kj zt%2G$fWoeop~W!e1y6%*Th^78%!(}wW#xDzPZ=Emh14Mi15kW(tA?c*{)5K+&4`cS zuxDVDNIr2vlA-$59K#kDCpl*e2MME=ENJP^|Dlo#6&^$BF=c Y9X#6FcnTfCDH%;oz(Sy9tSk)H002M)D*ylh diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiNuTilda.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiNuTilda.gif deleted file mode 100644 index fd4a56d5653b34485cb018f369cd786c1f614efa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1604 zcmZ?wbhEHb)Mwyl_+HNd1gxyAY;0_toSb4}ViFP(va+&ra&l^FYMPpw+S=L%1_nk( zM#jd*CMG6kW@hH*=9ZS0R#sNl*4DPRw)Xb+j*gCQZf@@G?w+2Wetv%b{{8_00fB*m zK|w*m!NH-Sq2b}-k&%(n(a|w6F|o0+adC0+@$pGXNoi?m>FMbi85xS1qB5~ zMMY(0W##4NRaI5BwY80njZIBW&CSg%EiJ9Bt!-^>?d|PdU0uDsy?uRs6DLlbG-=Z0 z$&;r~pFVTu%vrN$&7C`U-n@AW7A#n_Xwl-ui(}q!zyJLC^Y`!H zfB*jd4+fw(7zG0q0*XIb7#SEE7<54PgYpCe$3F%}MkW>x0R@K!1`Ni(o*ztbsTJoY zD0nb1PD*a%QgD!!D)E@8|<^?0zz@$A4tBjl5rVCo^>ACQbnQMUp zLk9!It^fxp17c~wEEbsUDh&)vJ()QI<|;Z*VNklvD6oKy3GA>5^Y}7RT)5)60MyL^ zTquq&GGLh?#0XY=f}6_@W->@k)8qsWuuqMeo1J7G8h-q%I2pt)pkP?Q&}hKG;nyMt zQf;EdjR=kgpomhE0}n{#?1hVr>^$lXuTnBDun8z|*)dcyGH?h8G9)oDF1o}B4n##p zh6Xl}V%|)k)B<~jG=@b??0gMo4Ji!_EFEXq92)j802%#_f(;D03n1ZZ0E!im_BIm+ zVAx4ArM>#Wz{2hzZKn~#z|_Lbso)UD01UDd?u|MjR?x7MU|?_nTA|?JECm$FXyJA! zO<;J%xWHG6p@_k-6XZgD22hY`Fm~~!LBq~cGiU-RdKM`10!99r9AaId-EhgJfJuXw z!O}(M15j>)IM6YSOf4)2I8Xu)70Co@uGf3B! zHYPEk=h2c9yE9Pa%hA>b#Q>00Du+Bo&547sI0T0simrfZzyM-oa&ZNE9@#*p#}9xB w5LpB%{d)9wn*gOgIkBP|__G0#kl`tsLj|Vj1%EF{8|2AUK+NTHMU`EjcHNbwTm&MCbaSYvLn0V6G}cP zr9@uJ7kP_P-bzY7kw|$-`}^?!KhJZ{@BE(UcaB!4Ns(Ek;4|>J z00M)-U^1C37K_8-goTAgL`3j-yvWGN=;&yHKp+$fV`F1QB2hv@LSkZKQc{vcB1uk8 zmdRvkX=zHOQms~JWMpJzWoa}TtyZhk>9Vu4b8>PF219OcuF+`B&(AL`EHs0)*w5+VmYPFV^m)mT%%F4>Bs;cVh>YAFG+S*#D(^*$nS6^RG)3nRwf)F+|G&D9g zHZ?UhH#fJmw6wOiwzajjx3_n6baZxhc6D`icX#*n^z`=j_VxAk_xBGB3=9qq4h;yD%HvUhwX7l# zg6D!}0HFq$P^;mjP18rfr%~Mo@Gv^I-KmFs2_|tVDwOMQ$Am~Q1U2IpA$-JwL7Npy`Dj6beWwA)gvcDCgfU41qf`iKEEBe}SLi UTYPf|Hl2h80`B6G1bW82yRwjldh)GD~CJ2;@z6vTL zii)Tp`U!#_L=e+2gD8bYB^V`F1eQ&V$ub4yE0Yiny; zTU&d3dq+n{XJ=b&;NalU(9rPk@W{x>=;-L!*x2~^ z_{7A-gwv++S>a1`o_k_ z=H}+s*4Fm+_Rh}E?(Xj1-roNH{=vb);o;%Y(b4ho@yW@_>FMd&+1dH|`NhS><>lqo z)z$U&_07%A?d|Q|-QE5D{lmk<AchRSG{Nx6`p*8Z%@geIz%FV?2P16U~D8akN7Oz)fHX zzsMC=fJ|L9lf|<<9T*cB9WAYmD|k2&xl^6wW$0QP?E?_A!Sh8<2#GDKj$U8Swi816 zU8MeI!V6lilUi^<0D6Q=6h0V69zrS-bzJ-jh?PKjJ;)6pryw6+h{$W%sQ^Ok69yll zPb4yON21fG0V3D%eUKNG2SLNKMZ3rJJiJMw0B;&(VtpER?zKGtM=ElXrT|`<%t4|q zDz|`(X9B;#gH6N*avE}ENxUzu+0Fa ziUge*N0(5S%?zGl<7KaFn}n<=Ba;i%5!%7Se!cyRAAP&@^~P#92PRFVS$N{B3?v>-zu1aGLzro9ot z!05Py5(ohT4G_m=L_y@*fzpT(Mokn5_uF6^f-GD#-OhK~Vs*dvf8Vbs-}k-G`#kSO z5EkllLL>m6fUQzM9t#T#OG`@zgMp$bo6WYfvvYKGh#%iG)A$H(X7$&}0RenIKPV_DI5;>oG*loEgoT9> z1Q8w{9uW}{85tQB6%`#F9TO818yg!J7Z)ENfA;LzbLY;9L?W?RoS2xHl$3P-{Q2bM zDz7YiqlA@813U_uJdsJ32ZZJb2LA+4=C{ z!>+Eb?(XiMo}S*`UX4aGFfcGUIQZz%qsNaQ4-E}zwc007o(vBUKYjZ2*|TROBO{}u zqhn)ZI-TzM^XD&Kyci!JpO~1KoSdARnwp-To|&1Mot>SVo134XUszaJTwGjQT3TLS zURhaLU0q#UTYL5D)$7-<*VorKHa6b8d9%5>xwW;my}iA&v$MOq`}XbIckkZm_4>c5 z1AF=Z`HvO&d9NY=O)B~PKqd?ghp~C+S_^1pWL9maWimDFm-9(6U`u4(+ zZw_FDvy(E1btE+JFi(6Pmw&*V?8nsTT$rX@)<%#^AZFRc343}vV-)+<7*H8+GQ8hE zQGZxTxQNa{4B{JwRz?@a8WS_j&NK7%YcQRyW&(H0srpbVt~d9r4YwwB(5z(!(HCbS zkU*;(3-bb*Gio^1sQM__rIc}Pe=%D|knVo&!YXrKe3ngp=nbe0PLMMe4vB#B;<<0Lskg1=}c zLK#QSP-8g;Ld@rDSeFX|>r*Dekc|Ba8l4p&Jo~7nL-#j>KtWR&3vZ9pEf zc1GY!7ztH4KW@Dm<-#XALiKsrCgt}56n-A;Q-p;SVP~i)q2l8WH79fgA`S8dwRB{Z zA(sJk6U@7&3W*bfqG`skB$puj_k#A6nSe{|-qw+WLov!WDWGPO3u(CF?f!Wh7#1@A z%MD9&K_(t51!6-!#q}i6Ia11)F`Q3|CYj-CKu}b4__JZJ3v-55kB=sYJP`Q)1MLc! Ax&QzG diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiStar.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiStar.gif deleted file mode 100644 index 17963ae54c1a4f16ba9a80a1dfab18d088cf8214..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1133 zcmZ`%Zz!u#7(Z8RTx#pOEo)i3$=h8M({S&0Tkk%wH@9WXeLpNVjhakvS4;L3Y6~fa z@Ie#_B`KvyQo;wsh(b!rpU9u`!Jn%o_ug|}lOex)&vTyN^PJx~@9!KY+xT7UNI@d> z$Ad5;A|eC=flw%nii(Pjjg?3wadC0+@$quGJRu>0q9~~?!mQBiSm zvD4`+EiElCFXuR}qN2j>c2`wZc|4x#>gt-Bn%df0pU+oUS65$O-_X#|*x1oG&DRsJTfve zIyyQwHa0#!J~1&dIXO8sH8njwJu@>iJ3Bi!H#a{&zp${dxVX5qw6wguyt1<5_xo2@ zSJ&3o*4NiJHa0dlH@CL7wzs!;c6N4mclY-8_V@P>4h{|v508$Hj*pK|PEJlwPtVTI z&d<*;E-o%FFR!kyuCK3eZfo@ok2>*Z(pd?ZucY=g} zz3>h^a@*?)V+N3kWcZc{BroczDmUM5w?41ZnLv*WkGV0fB>Zv86po5lPD`85rCs8 z2Z^*854ha|Wnz4IR^ieRGl)DnvLe(O%y6P?0EfsVvr01kUVLJ;4Rp!4fbGF3`~2h$ z$#`I!@$RZ{+JvK<+^+?HJd5KSunIz%u^}OFh{>AQz}sU*6}dw8(X*!x{B+)fC-ueC L;M=gc5B>NL@k{2U diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiStb.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiStb.gif deleted file mode 100644 index 8bfbe41c11ad06e4e242c1cf1c3d09c02598f46f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1791 zcmZ?wbhEHbv|`|A_}@(8X7t} zI{NzhhK7d5#>S?mremX=mlR@T}0Re%5fx*GSp`oE+VPO#w5s{IRQBhGbF)?v*aq;o-2?+^_ ziHS)`Nhv8QX=!O085x(;H?wr$(FbLZ~eyZ7wb zvv1$N{rmSHJb3WXp+kocA3k#A$kC%mj~zR9{P^(`Cr+F^dGge$Q)kYcIe-5Ag$oxh zUAlDT%9R^8Zrr?i^VY3fw{PFRfB*i&hYue;di415<0ns^Jbn7~`Sa&5Uc7ku^5yH- zuiw3U_x}C+j~_pN`t<3`moHzxe*O0C+m9bVe*XOV>({S8fByXa`}aQ>fZ}Ns&>#d9 zf3h$#F!V6!fXoKv2?maT43dUPM>+(R-FhT28Knyk;*tU@UaXcRVW{-6p@m1%DCNWi zMd!m}DCQI~ALN6W{G9?HL~Z z1FK%l?ky3^=+F*w*@p=ND8bRtT@a7}7HPeq(s8ImaIvBh3p}KDG6tyjf?PJy;J^uf zHgS+;TOM;E>;OuMG8KS4-*eA)$~|!qm{OWC7GQg^fYkEs$YK z;t>tL7ALTy(-;`|nt)Ov91Jo*b2=jv+9wLTSp*r}3TzSV*MfNLVyA2m7h}WWjzB2} zph(bxMnPpsKcKE79TR~O%y1#`NJpR|LxF^$mdhdb#R}~b4?PZYv@5t(#26&~3pvKQ z*of_offfq`FrqRUfWfiiB!hmY9yAo~fF^*$rIq0T&}F;~Zaoi|oB~B?JSS~&b`u4<-VkoZC+7Bxf?VwqhDDoN56^S* zX1m~VITaXW+RK2Jf~}A+yv5YetN_x56qy-U$j%xdT^A>@Xij?r443;Lw_aM4aKwWd7>B!bb^@ap z6m>d4IWPm+dZ@@R0dO)&fd-KEIs>oGO%wYSLMxymJrX-B17My%!l3{%5XGE}Q^BeI zNi)QXL(WRQ+-5z~cKm1nn+#OECBs7;T^EXb_P8LsFmSS}Hy5fEN`^fWtSk)H00rnn AkpKVy diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiT.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiT.gif deleted file mode 100644 index ec8887ac08af32df1a7845bc588d0289f70815b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1178 zcmb7COGq106n&L6p%@ad7($4WmI)eD#Wap-)6p&@O{yg7MA0x39YY-yF9-_a$`n5< zL3AUEu3QKr;tx?2K{qOhF8m;hq9B4OE(Gfr+xKR)ofNz1fth#jyXVZCd+u|8{qo@> z{~l@4k7|UWP$-m2rAnnztJSfwv3k8eE-o%UKAxf|i^YFG|VlVO;Qj10Hi?eTbWa&mk=UtV5bettg7vVOn6u&}VGsHnKOnB%yTl9JNWQl96_ z%gZY&Dg;5Os;UBjnwpy0+SS?mrsn46mX?;**4DPRw)Xb+j*gDb z&d#o`uI}#co}QlG-rl~xzW)CHfq{X+!NH-Sq2b}-k&%(n(b2K7vGMWoiHV8H$;qjy zsp;wInVFf{+1a_dx%v6|g@uL1#l@wirRC-2m6es%)z!7Nwe|J&jg5`X&CRW?t?ljY zot>TC-QB&tz5V_DgM)*^!^5MaqvPY_larIv)6=uFv-9)wi;IiP%gd{)tLy9Q+uPf_ zySw}Q`=26+mH&@7H;NYs0eVNIWF|=U5XR;_4-@;$er7g+L1QpWi1o`UHj5yp1y~r; zyfy1ICbQ81vpW5*980| z8-XZ5>wwHCk;+n)GDS!&DLC8f5ENtqlqszME*uzDz(0gz5($~gl}W&B zCQ%TD$O7O;08WIf*?KW&5K19|Q-fdC#$@pDA;jUBK|I-)6qPCycFiN^I)q-4KvZzy zmjQu>5F$UWOQ;qZz~V!IR_1yh&5Dpv3GmGVw4|^}0!abUlrbP}gv@5K1Mv_l5xh_q zLmJ6axFQrcVFsDxZs97g#Y|4)GO#*4G%nY!WJyC9*f5N;*FLhyfxX9#TB97~>mCP& z)GNe1O-s%uF^dfW@P^6UBM{JfBl16qU?C>4PYwJo;Oq5I*u)F*ci9W@9ew%*CrrnW diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiTheta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiTheta.gif deleted file mode 100644 index b4710bca641b36ab5f32a67207ca8045eb74996e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1604 zcmZ?wbhEHb)Mwyl_};((1dNP~%*@Q3oSZ^JLc+qrqN1YG($aEra!N`{%F4U1bCMM?Q=9ZS0c6N65_Vx}A4o*%^uCA_bZf@@G?p|JA-rn9mK0f~b{s932 zfq{X+!NFl+Vd3H75fKqlQBl#+(Fq9&Nl8h`$;l}xDXFQcX=!PhnVH$y*}1v7`T6-p zMMcHM#igaC)z#HCH8u71^$iUTEiEmrt*sp$9i5$>-QC^2y}kYY{gWq8o-$?1)TvXa zO`A4z=FB;B<}6&eaM7Ygix)3mvSi7!Wy_W?U%q0+idCytty!~X?b@~L*RS8OVZ)|P zn>KIWylvaI?c2BS*s){h&YinTOWx^?^Z?YnpH-oJnU(W6I?A3uKb zduzkmP!g8?WSM!`UYfZ|UUMh1pP1|5*)pgh6A@sEL-l}kh;V1Yv;6DC7*rXYrt ziHr9F2RWGvn1+NELMUpYGU3jJg>Vye=#z1o(2`Bk1aL{04EfP=(5N5~% zDemZPw}M##Qv9gd$ry2MPBgWP-p;( z6fqz00ExJE9%OFj6K`bdEfCZY=w}D&VieGrAjlBM#407+=nqm;Daml)@LV8cC*uP( zV6b|N9oe~A3?QK;ep_D`0`76j0=d zdIzJ3<0Fvky(g%F)tqpgfT#PoKH_O)e>sV^X&NTV_8*52hI6h{G>Cb3cEgz#;c~aXAE?mh+ zE=VCI7a|H#6cUl5kk3RZ$_3*H=e+N`&9;-@#ru1n=Y5{{`FeGk+GM6Of#OrH77BsG z;c&TJKA$fX3PmE3SS*%EBw=A;;o;#lO-DvXMn^|06bhwM85b89A0MBXn3$B5l$@N* zFic8Hib|zQOH0$~bXi$h+1c4SIXQWGdHMPIdcD4&prEj@u&Ai0w6xS{G?tZ>u`F9& zUT!j(Dl03is;bOpb9HsK#bU8qtu-|@_4V~Oo2{|2vAMa~ZnpzKYip~+;cz;gZEbDs z?d=^M9i5$>U0q$>-Q7JsJ-xlXeSLlX{rv+21A~KuLqkKu!^0yZBcr3EV`F3E+2gE8=IS( zTU%S(+uJ)kJG;BPdwYBP`}+q62Zx7;M@L7;$HylpC#R>UXJ=>U=jRs}7nhfpS65fp z*Vi{UH@CO9cXxO9_xBGE508(JE|=@+>FN3T`Q_#1_4W1b?d>lC9=aDl{&2of6i~mg z0q=zR_U=H9e~u{jbGz06K=Wz28=?R&CZ>S|nT-Hyxlkxq11O^;ato+)K|`gxU(BUH zUdHKbgInCXmJp9i$gDzSLZ18}qT6W;Vb7sPFB8bg=^q3F4P*vcv7MFS#d={2NhP9{ z2_;2th}S zG!_iC4HT-}8^qvC9AxK70UWd*>ma76@0dxHg=4m>z#YZIR&du>fubOlYt(zj7Z4;< zKvN8;aVoCg07)uoUaD})TX%l82>I9hp z7Qt_t6>G57CgU5}c$vEkG(d#f&=O4k5aMN-VuLilJyxSeqeh!?U{&DVr04E~SSkJ& uB^e(EpJ3(}`;-8wNr}Hng*TD^U23kshUA|lzsJas5A&Y~R#7G=rTPbB02E#T diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiUa.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiUa.gif deleted file mode 100644 index a87f848e23bb3f6ff07216f60a4144b6c5d074db..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1808 zcmZ?wbhEHbv}WLE_};<*1dNP~EG#UntgKvITtY%ZVq#+A;^Gn#60)+ga&mGiDk_?q zn%dghIyyQA1_p+PhQ`LmCMG6kW@eU_mR43)Ha0f4wzlr>?mj*~zP`SGet!P`{(*sk zK|w(wAt9lmpdbiAhOGDJdywX=&-{>6w|CIXO86 z1qFqLg{7sXWo2cRm6cUhRn^tiwY9Yk4GqoB%`Gi0?d|QIot@p?-90@$6DCZUIC0{n zNt32bnKFI)^qDhf&YCrA&YU@O=gyrsZ{Fg?iC)xPm#<#EdhOb^>({T}xN+mwty{Nm z-@beI?t=#p9zJ~d=+UFcj~_pK_U!rd=PzEoc=__>>({T}ym|Bf{ris}KYsrF`OB9t z-@bkO{{8!pA3uKm`t|$w?>~S3{09S2l#Bv;g@EEu7Dfh!Rt6oAg`hma!10fPTU0A# zMZiL*RxV7&!Vf{Xq@apDH;8CmQFLk-)ec(|u`!9Y%@D<$BZph(fldC>=DpC#DJ*2h z1}2Y%PKE&~5sk~Bma?RHDJn8_i9nnYYz1XN&6&$q3vrmD3Ron=u@P*b3cEYp&5CBS zT%uhD3%~}lzWM+&8RD-N22H33*J^+n++1KQ6fG^d{vrH4OJPaCWX2+pWhZ(%9iY}L zHh>r{>Q4O-TicJb*nmW~EN}o@KdE^!BJ30eIJxewe6R>45>NoM6>No~3i}1Ht$i}e zSywVZ!3r#cKvENAWT19|4D4kLSP>w|kijK-XwpKk$)=193*10bs+mBkg-&V-B8P&O z^D~&Va_MS-MOvRcfOrgSP6khdQ!A6IMBs{mc5SeT1~UT#C&(@h&t{-GCoLP=0{Wa9 z85U^%3&9qg3!Rb~fNteD!Kfb&iw#Kz1`n`h9#TN5jH6vnEiocmObomSoLa?1Al4TZ zfPDxK7cCPuZ~&P)FgE!@M3$r<miCmRtQK5w19O1lQcM_k(>xjUu>u@+(}0PBiNP8Gx1lk* diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiUp.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiUp.gif deleted file mode 100644 index 2d16db5788054c0c5dd6ac16f60fd232018fdd7e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1270 zcmZ`&T_|i(6yCQPKaqHtXr`RZgKj#SagD}|(=o*=L z@<911@*oc+MDc(JiIC(!N=iz}U%L0My^njZ>GD17z1RBIch=r(t&{$p*Xc`jC>%Zb z5I`c4NTt$%fPj#Y5SdIC6&0mWD59gI8HS08iD6kbK0aQpRwpDRXf&Fnq$I6Yo1C1i z)9F%DQaFw?7!0YYsXWi8r>9#imdwmdtJRv7m1VQpva_@8c6&}vj>F-|&CSir%PS}- z5CoyPxVWUGq_niOtgOuCa+Q~tS5{VfJf7Ox+Pb>B`ucjG&)3k<(Ae16+}zyK($d=6 z+Sbo zK0ZD%F)=wgIW;vkJv}`$Gc!9oJ2y8sKR>^)u&}texU{siyu7@!va-6my0*5qzP`S( zv9YtVL|I$~4dPTok-27K3 z1cytg&&#;pb4J6P#lH9cJx7>uhQv+G!mn=$C|4CmbmaMNPF6)-;^GxtH3G??48|Ur zia7l%VGb%JPOV<4`IbRWBD74X%A|KD$ac1h9bfYK{nJmOX6T($p zjL}3d1YP_Xg-Ra~`EMg-lew_lXu)#5810M@%lyB#Mhz{_ZNfz~AMm`ARq|Mnsl?%e WLH!h*-~7=qv&jU%1OW2=K-_N)bQ+cb diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiV.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiV.gif deleted file mode 100644 index ec644859a08e6f77547fa2ac7f021c683140b485..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1706 zcmZ?wbhEHbG-cpt_}W1_s8)#wI2vrlzK5W@hH*<`xzfmX?-QR#w*5*0#2` z?(XhhUS8hb-abA)zP`Tx{{8_00fB*mK|w(wAt9lmp^=f1QBhIR(b2K7v2k&62?+^_ ziHRvGDQRhG>FMcNSy?$bIr;hd1qB5~MMY(0W##4NwY9Z%b#)C54ULVB&CShiZEfxC z?HwH*Jv}{>CQX_$Wy;j4Q>RUvHhuc^nKNh3ojZ5lym<>2ELgmF@scG=mM&eoeEIT~ zD_5>swQ9|pH5)c;*tl`yrcIkRZ{ECh>(*`Cw(Z)rYxnNmd-v|$w{PG6{re9dJb38P zp`%BS9y@mI`0?W>Po6w|`t+GIXU?5FcmDkOix)3mxpL*|)vGsd+_-u3=B-<|?%cU^ z_wL<$_wL=lfB(UQ2M-@UeEj(F)2C0LJ$v@z#fz6OU%q+s=Iz_JA3l8e`0?YHFJHcX z{rc_Ox9{J-|M>Ca*RNlH{`~p-_wRo&0L98Epi2lS{$ycfU}$5|0oex16AT>x7P=ailf(JOHZ0i=hD0J=un)A$s zq2c%hMZsu@gCrT+cvKlD9GkFER|zZTy_F=4{-tOf<8iLbkkDdc=mQ%4r-PwjNs9tBE$}da z7)>7*xky7qJp6kkGC{7-;A91g?46PLg4@Bl)XW1C31MskJ0KwiR0DFfbK5M207YnI z!c)f~XGLHD6=+0gCO$hX2(?R~l@(|gM2)H#$gKf$`4V6vaH%#k5ujZGv!t2&BH%GU z>+%t3NTqZ*!3>0nAZ!0M`D?5SSLAUPWhoIXYos1A{dHvPca0 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiVV.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiVV.gif deleted file mode 100644 index d96edc39fdeca2d2a566383f90061a94d37325dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1859 zcmZ?wbhEHbv}53B_}<0<1kB9LEG#UntgP(p?7Y0Z{QUd^0s?}9g5u)h5)u-!va)h= za!N`{>gwt`Iy$<#x`u{^Mn*=)#>OTlCZ?vQ78Vv(R#rAPHnz65_V)J9&d#o`uI}#c zo}QlG-rhbwKEA%betv%b{{8_00fB*mK|w*m!NDORA)%q65fKrQk&#hRQPI)SadC0+ z@$m@>35kh`Nl8g5DJiL`scC6xnVFecSy|cH*}1v7d3kwdWn~o=6_u5h)z#HCH8u71 z^^J{U0q$hy}f;XeUm0lnml>(j2Sa#&YU@G)~wmHXU~~4XWqPd z3l=O`ym;}FB}$h&*x?{(V-Me@1-@pIh z!Gnhm9XfpY@R1`&jvYI8{P^(`Cr+F?b?VHSGiT49y?F8BrAwDCU%q_h%9X2EuU@}? z{l<+Ow{PFRbLY<8yLa#1yLbQo{Ra;oJbd`@@#Du&pFVy5{Q1k5FJHfY{r2tK4<9~! z{`~pt*RS8dfB*60$IqWXfBpLP`}gnvU;v7kQ9%0;Q2fcl$iUFfpaZfBlqVQC{xR^& zT9v%Gu+X`k50i0Gpct1FLh-CmPcJMK685^Vz_FQ)SIWX_fhCH8$`%Y@#fp}xNLFMy zCm(6yG670WIee5us)$eXVNnKWgF3_+0@H<1+_U95;{u2aGfts8^%rBpL9ocL!Y4pq z@WWd3}<;|DKSn&LUVnaLM z+Co8;P^eXtf%vezFXRPU08L>y08*?O2=;0~7i;^sgacs93{OE!h6VH#mTZuk4vvYU zHWfZ7L8fTQ&+r8((mVsKxP=YqAAg25K#|iO5D``e202gwnH&Xs{^*H9k2A8)47X&g zrnn>g%+8?7H@6V#)rE`&FD5Kx)#j7cItYv~pgB_+{xLuTFR`!y=xA%sYcfhj8UhSD zCTbxMidOWt33>tTP+@amG}OBWb$vDikm2FkWE2k$DS-pd?QRSV8ydd zWtI@g7bPnWH#_@pfW?8D3DBwkz`-D^wGr(4ZwVS`kqOkcrpZVmJtx3URY4Mhn~1~^Dt-~*z+epkEQOj= diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiVdjVdj.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiVdjVdj.gif deleted file mode 100644 index 1cfecb0fd64efbbe1f496cf8f8277523a79030f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1842 zcmZ?wbhEHbv}NFD_};|;1WZg!EG#TMJUsmT{DOjlA|fKv($aErataCx%F4=`nwr|$ z+WPwXhK7d5#>S?mrsn4678Vv(R#rAPHum=RPEJlPE-vow?j9ZFMcN zSy|cH**Q5md3kyH`S}F}1%-u$B_$=LrKOdXm34J>4Gj&=&CRW?t!-^>Jv}|Wy}kYY z{Szikm^^v%lqplDPMtb!+O(N7XU>{6YtEcG^XJcBuwcQ$g$oxgTC{la;-yQME?>TU z#flZHSFc{TZr%Fz>o;uJuxZn#ty{Nl+qP}{_U$`%?AW<;=dNA5_UzfSckkYP`}XbM zzyH920|yTtJap*L;lqcI9656Q`0*1bPMkb>^7QG`XU?2CckbMU3l}b4ym;lxm8(~; zUb}Yf`t|EKZ{ECp`}W@bKZo$B!RBefsp-vu7_}ym=E!4(_++>{a6!LA51MPi)}j0sjF z#Zdw=SxF7qidUDD4smD#MVc5Fw#vHNZ_}}2N;m;=MoZcuRQF^ZOo6!Ymr**ZQ)MS? z0=Y0g3TWvH-wxMq1qKa>cM@_UQT%194D+Dp8Mq7oLA=2n1d>ZT0=BiPAmyS6Lm^1y zgdaykBTO5}^-D6`TEQVD!qLm5j_jYPEiW3TxOR(t{Q-7Rx0OP~mg7xbAjO*uQ&Akv z#ApF=behaefhDdBk%J!OpFnwOh{+Qr8M?(R84c1dF0v5d0y$MsiiyF51;_|gV8{i! z=SV8!Tvs2lgAT~?q{PB1cJn4o#E3ZoXgimQPSlmAlVA^?0ww|mE1(rz|5z5BUF6#6 z^d;ho^F<{IjW-zwE&wf))Me6*GFft95nnXS^JxsgFw^j4)JxNX2A(C*5QlWZ1Fqdn zj2W9Vz;4|c;F8YRliKwpr_3s6K0^LjR|KGnv^}-ZGl!O9XNWf z#{pzl3G0Cgh=7(A09pDkP@X#+=0m81fNre|iP(}cagj2I56{ibAUl}nn7jZpx?dQ; z-2sg7gA)-ZBD6ydn{w_uTJ#e_xi#6|Mh fOok+FknN8iL9-9g&qygz7{&ELUw}q8FjxZs$TOVJ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiX.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiX.gif deleted file mode 100644 index fc37938ca5357fb64d55c9a130d4c38d5b37cee1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1706 zcmZ?wbhEHbG-cpt_}dbi76>5X=!Qc>FHTnSvfg5`T6-pMMY(0W##4NwY9Z%b#)C54ULVBO-)VB&CP9X zZSC#t9UUEAU0pprJ$-$BlO|1?GG)rtsZ*y-n>Ky=^qDhf&Ye4V-n@AW7A#n_Xwl-u zieXx3tl6+(!^VvpH*MOqdGqEiTefW7x^>&OZM$~u+P!=C z-o1PG?b~Po6w|`t;eeXD?sA zeDmhb+qZ8&eE9I`)2A~S3{Qdj)KNx^w zYZOp51QdU=FfuUoG3bCy1?33_j(-fYmPJoaOjLI7lfh){w0Mk5%8~K$i9k*+)szzx z6rJ06B;~GHAe$37L8=LC;Kez{eKLv@H$G(IP-#esNl;uoLD}7HheZ%mLnp-2BTHLQ zZ2#JM0cvT}BQT?g;l)EBgTE4FV1^&3d!GhJ0ocu*UN;I+9IxU5^Mw(ZAt=qpu!7?g z1JuA>4Mzk;8Nudw@bK<0=_F+OO7drXRU z8klv2sa@HimW6Q!*qn481_6lYWh{f34@_L_!V_Up6mqB=Y#hXKU!XflrTf{G|GFf=>>1&5!CMbW<}9BjPqtvMD> zOb7aaMz?$^c*1g^*%F)pNM1A}1F-%;0fwuQiJR zMuMQYNS_SjA_j+cuoFR!1~L{fBus>cJv?=MDsBV@P?<)I=0dg>A@{yFUn&xo^e=V^ z=im@n2E z0S&~|1r`yM7U=~tT#iB0-IEhtC`R9kk-(YSEwxe(g97MA0cv`KSth85!&Z(3;Nakz SbR5MlWG9*&o4B}v!5RSlnp=+m diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiXiSu.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiXiSu.gif deleted file mode 100644 index d9bab0079224666cd7dbdee77fc426f7e9db7729..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 867 zcmZ8fL1-F56dk);QAkrIMzT<4rK@-dg+>};TWM%Xwp%p8vLzs%I~~c&&lq`vu~;mTNXW9BPN#FZoTh2TVzE>zRVtNgwQ8DXyWQ?|I^Ax!*X#BB{lQ=` z8jZ%|@nkajYb}&pT%kX_gAjqNBaCN~n^y&c(Q7f-qDJ{TXmN(z3wrF4bxF~sHx0Yc z8SpnT-?w#c>33>6A|Re>#7|B!*XuUlD1WwU=luOcc78*pP7P?nkt#S;Og3hGp~(&` zH9GymDLN3scIVzbry~R4Q68$MonO>Z!S8!zApr8<_^e>H0m$1L-9f46)VN}x4$zQ? zANKX5xHKavA|aezFyz%Cm!zAkmU?{o1EZS`;HT=DgIzF-Ve63qn2I?B?z&|oUV&dZB5)u-!va)h=a%yU7nwpy0+S)og zI(m9~1_lO(hK9z*#wI2vrlzK5W@eU_mR43)Ha0f4wzduq4lXV(?(XhhUS2*vKEA%b zetv%b{{Df1fk8n*At525p`l@6Vd3H7k&%&6QBg55F|o0+adB}82?>dbiAhOGDJdyw zX=&-{=@}UrnVFe6IXMLd1%-u$rKP166&010l~q+$wY9bN_4N%64J|D#t*x!??d_eN zo!#BtJv}`WCQO(#Y0{J_Q>IU!K6B>GS+i!%nKNhZ+`04S&0D;9@scG=mM&eoY}v9E zD^{#pwQB9!wd>ZcTfct&=FOY8Zr!?V+qUi7x9`}oWB2ae`}XbIzkmP1g9i^CI&}2t z(PPJs9Y22j#EBE9PoF+>=FHi%XV0BGck$xIOP4NPzI^%W)vMR8UAun$`i&bmZr!?d z`}Xa-ckkZ2ckjW22M-@UeDvti4%{5K#Qd!pOkT$)E$W z1e7NjIQ}sRt9nh*2wddSDTK+`$T1n06jZVAHWe=xCZ-N?{kT09A0M@{8KIaXlHxWW zY%>@s!aw8U|)zbF#<)9ywfA#3H9J!4}?!U*x8lzG!!Og6u*sR~jgTtdD4c z*$NIRB{kMdV2}07sg*qGn1l${i;%EuR0KPEF5?7^Kp}=qA=O)(AR?}e3<~Zb|CmMs zr53qpWvSe9Vi#yILpZ|>92yNQV37`<2A57QS%Zlhf*c@!c}?kHW?*0kF;<*x0-AGC za{^mnze_8_l8gU7K04YhuDnCV>qs*wHV!?3gis0t(5)RFjRsM$*pOjhumD@{BLuBWEj!5pOF2^4W*a{xJ7H^Fd`FNmS)b>;cdZeuVb#Stiy zw!!0w>O?v2Kq1jzz~E5Q>#Q&_NIKFXsO;905C9BTB_jr~qd6IbTR{v&kOeNX6`iHx z<>KBXB9LMs;W=f6e={%vHh3HX`V11MJ Gum%8(emn;N diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiXv.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhiXv.gif deleted file mode 100644 index b44cc8b0a1d5fc6ccddca2a48bca467d34a5ec20..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1791 zcmeHGdn~JG7=P8R$1GZD)pF(=`ibsD;`9(X4vp&S)HRB^WpNjmxg<*_;SkDZN)FW- zaSOJxaEM4WLWtX#TZJNV2^rNI5>a*A5Zm{?C3Khn_UGQeo;;V|@A*B?^YVONzjTdz z1{QUj>0|Ej9 z0|SGCf`WsCLqbAALqo&D!otJDBO)RqBO{}tqN1atV`5?w5)u*<6O)pXl9Q8DQc_Y= zQ`6GY($mv3GBPqVGqbX?va_>ub93|Z^78ZZ3knJZ0zqM6VR3PBX=!O$Sy@FzMP+4W zRaI4Wb#+ZmO>J#$U0q#$eSJeiLt|rOQ&UrOb8|~ei$o%6ZEbC9YwPIf=gww5 z?(XU7>Fw>6N~L{$ef|CY0|NttgM&juL&L+vBO@cDqoZSEW8>rF6B84Ylao_ZQ!_I& zv$L~vb8|A8Y<_-zVPQcomoF_XEiW&xtgNiAuCA@Et*@_dY;0_9Zf4h{|v508$Hj*pMkYW2yo+=cU%RX$524yUQQ6z>K@P%8bp!-U?cOE zr&?XNPzL>p4-%?Z`71t!y>{=%6A#gOR)(6CNRgs0OL~p6f2Whix4X{Txy`u z`sFPjTMHzE!ZP3#i3F!u?j7_q02pd~RG*PB4^b%OiQ?U7ZDZ%Ks(1a_iLb#ZA^Oqb ze6GKZ16ud<@1?Jl3FvkFhtRUm)cfdb{9J?ZzTJz4yA;ZpenshTu_Ddxun2%o0-ZGVv0cAikh=amyye zy_q4C)+%~2Z;8ZPqUaUI2PBe7CTI}3geJ^e=+^U8X?L^F`?B-tn* z6_g$UoWQvpm=~Q+cXV`Qu~-}q$IZ>n-QC^8!^6|llgs7$`T6<#`v(LB1O^5M1qB5M z2Zx1)g@=dZIL_noA|oTCqN1XsqxpP(OiYYGAP@?Lv9YmnadGkS@gk8ZAt6C57AGbq zN+gn`q@SVo12%Hm!F?sP*6}@~E9G)|b#--ZZLLzNtgEZ5udi=tXlQI~eD&&8OG`^@YinCuTYGzZ zM@NTBrBbWaot>Q;ji#%stGl~ftJU`O^z`=j_VxAk_xBGB3=9no4G#~GjEszqj*g9u zjgOB{OiWBpPEJitO;1nH%*@Qr&g%90xw*Od`T2!~g~i3irKP2nm6g@i)wQ*?_4W0Q zjg8IC&8@Ai?d@%Y!LYNlv%9;yx3{;yzkhIWaCmrlbaZrld~7rtPfkuwPfyRz&d$%z zFD@=FFE6jIuCA}IZ*Fc(CevTUg3s{(`Y#;dUQ$Q^D1Z+HhkpVvOn^*fvb{wrT!Fm5 z;VwA;+m&50%JNkpPhlaLz|y{x#j~43H57SS<}{0++Hm#&%@n8tKhEMiIfP~tdI)0gNKzrO5!*Zl>IxKy7YRHO zVg61Ru(+uOfH0$(Jo+(^ndiLLMEo2qMr7K%uGeH;GeK2j5l>~Bpl5ynR?8z*xc841 z7hTQq(7KqfJ_iQ#$#+#v_?HOPAbMoATuYaG5mE(I9Wl|OP!G()P-oh`=J=4?nIY1-jU-JJ7|fv6+Ic3H)(aM=?^eZ`zTt!s5Q4$ Sy!SQ#vj*CM;gApmg!~O94f|98 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhibUb.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhibUb.gif deleted file mode 100644 index ee29c63411148ad950112d76c4477e2078039e36..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 867 zcmZ8fPl!@M7@vnGD-t?!$+yQIS~%>2IJ_xt{hl1axC&+d@RWO0?i@_0Oc zzdsU*M5EDUGN~v^p-?E7%c`o@YPEX3-fFcpO*0H*Fc=Jn!_jCo9*-xJ$#goM&1UoY ze6d*k6$|B-SMZNrB19(F5yqJ0!bycQy0WKn%A2d8;Fz{Y^w6c~p^P4S**kM|_`H3* zZwtbg^pqBP=O{NRAs4(m(5eY+-F5y z+^v%{dmEpX)2BP{kV>F%un(Y>`L_-#cs)-9!cY*!5rqA!O&_4|L&{GWr~_o$;laMV z3tSYr(lil$30n@Py=vOBG#}v%?FxRkDP>n_WCWV}1P zPvOL7Cw60}(*Rull{I&mC%DRozT_b3PdKQle$I!_NFNs&U0>#l|3ZH+Wr*Tpq8NRH I(KT}GA3s}FY5)KL diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhidP.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhidP.gif deleted file mode 100644 index 9c84436caa4fe126b5db50ebe6c948738ce140b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1706 zcmZ?wbhEHbG-cpt_}<9?1S~8ptgNiu+}xs~q7o7kl9H0r($ccBvT|~AN=iyvT3R|f zI=Z^L1_lPk#>OTlCT3=4=H})W78aJ4mR43)*4EaxwzkgB&hGB+9v&WEUS8hb-oC!R z0RaJlfq_9mLBYYnAt525p`qd7;gOM%QBhIR(b2K7u?YzYiHV8H$;l}xDQRhG>FMcN zSy|cH**Q5mxw*Od`T0dfMP+4W<>loS6&2Oh)ipIWwY9Z%b#)C54ULVBEiEl=ZEfxC z?HwH*ot>RsU0pprJ(DI)nml>(lqplDPMtb^`t+GIXU>{6Ywp~+^XAQ4uwcQWMT-_M zUc6+TU)v8r%)~wmEVZ)|Pn>KIWyk*Olty{Nl+qP}ju3fu#@7}w2@4kKe z4jw#s=+L2~M~@ymcI^1^<0ns^Jbn7~nKNh3o;`c++`04T&tJH3;o`-MSFT*SdiCn{ z>(_7GxN-C5&0Du_-MMq;?%lih?%lh8|Nesq4<0^z`1tYTr%#_gd-m+*%a?E7ym|Zf z?S~H^K7IQ1<;$0^U%!6)_U-%k?>~P0`1R}8pFe;8{{8zO3_vk73TPGria%Kx85p`4 zbU-$M@&p6NKL%0Fpd}s?m0Y_-Fc}La7UPm~{J6;DVmrHh)Rv5ki(I?KBrju$$Yg9t0vgevz^} z%on;a2D0r<6I=vE87sh2yoG_@(|SN&rEDxSE=F;ir3z?TKRO6uG|DQ1U>O3oZU8bMzgyTK;k zVqj=s0y(4T5>U#ul;ebL#@RumN1A~l zU;!vt{iHO4{w-N?l-spANyCb10mz46awL{?v~jq0vFQXX(conO*%7tCsYM1794Gv{ z#d1NeKjFy?6j@oZP=m+8wMr`_aEXTRBn4X$-dhjcCoWVr~Qm zP^m)9&k1SHLatp`UPv@6b}q7F2w9@J$QkG|B>|9I1?O`ogF^}>ptWRx5gsTl#WX1f z$hgQZ+ZCq~)biYUl1dgxF~=c6h*Qxm1sWJACEN*AV{#0V?y44Mba6MDG#mYaq@}JW zHXJxpyQY-OVo(5G$$_M|+^CKf6I6U##X&(1GgFr<*vKg`h_3&1h6w|Cxw*M{ zd3pKy`2__9g@uJBB_*Y$rRC-26%`d#RaLdMwe|J&jg5`X&CM+>E#2MSy}iACeSH%q zOqeuj(&WjLr%#_gbLPxhvu4eiGiUz%`3n{-Sh#TEqD70AEnBu~)vDF2SFc^WcHO#l z8#Zj%v}x1k&6~Gu*|Kfhw(Z-u@7%d_*REZ=ckkY_XV2cfdk-BtbolV$qeqV(J9g~E zi4!MJo;-Ex)R{A9&YnGc?%cTx7cN}9c=6JuOINO3xq9{LwQJXI-n@C|&Yin=@7}w2 z@6n@2j~_pN`t<3uXV0ELfBx##t2b}nynFZV{rmSHK79E2@#CjYpFV&7{N>A+uV24@ z`}Xbo_wPS`{P_L*_n$w1{{H>@@87@wU;v7hQ9zdvQ2fcl$iUFXpaZfElqVQC{xR@M z8l{|=py=GjgUKk2OvEB}K~S%ar?1dazcG#MThm2h)+7~t+I0iA$DG8+A)P}_n zXvIP&+YJ(0Ob#6o#U^e|D7qvkDIS67;%bIypSl8K`?(&26b~i_2e1o0j)|Z+)yen} z)bU4HxyG4H$q@OAa(EI&1fV zEnO%JjGu^Ppf?;Cj!77?tZ3nNw*Mq?Nbrz=3~MA$t0BX2pq~>NfQmUd8FdnMz`7Kj zt%2G$fWoeop~W!e1y6%*Th^78%!(}wW#xDzPZ=Emh14Mi15kW(tA?c*{)5K+&4`cS zuxDVDNIr2vlA-$59K#kDCpl*e2MME=ENJP^|Dlo#6&^$BF=c Y9X#6FcnTfCDH%;oz(Sy9tSk)H002M)D*ylh diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhik.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhik.gif deleted file mode 100644 index 3ebdc1fc2c27846ba5accec9e06f60a28aaa5434..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1638 zcmZ?wbhEHbG-Tjs_};((1WZg!0s;a;LPBC@QGBPr9a&oGws#;oF+S=Os`uc{3 zhDJt4#>U1bCMKq)re5fM>QQE_o`$;rtnDJf}bY3b?dnVFfnxw(0HdHMPI1qB6# zg@q+0C8edM<>loS6%|!gRrU4tjg5`X&CM+>E$!{?9UUFr-QB&ty?uRs6DCZUG-=Z0 z$&;r~pFVTu%vrN$&6zW2-n@D9=g(iTV8OzL3l}X~v~=mxWy_YWTD5BR>eXx4u3fio z-G&VtHgDd%Wy_Xr+qP}rzJ2G;ox67J+P!=Co;`aG9XfRQ@ZqCJj~+XA?8J!^Cr_R{ zb?VfaGiT18J$vE8g-e$%UAc1Q>eZ{)u3fu%^X8p9ckbT3`{>c5$B!RBefsp-vuCef zy?XQJ&AWH+-oJnU;lqcIA3uKj^y%~G&tJZL`TF(iw{PFRfB*jD$B&;sfBydc`_G?0 zfB*jd_wV0-FaSlvC>V$kQ2fcl$iUFZpaZfTlqVQC{xLAKa*1dJEO2OK!epd63SyC( zFj1$Gsj+|ors1HY7mD_Yg$-&D1FeKW+KnuJZ~(1PaIjv*BE`hu0adK#grbYJh*1Ti z>z5Nmd*=j*?Z+B8L^zljY{4!((K-disY=XBP{$ux0(OR{pa9g(Q3fgkA`BTIXJ+tr zSR#9nN#(F3$o7A%tAy1WCxT2|rKE6SjzJbs^^=1R3(Up5Sb*Vjfv3SA=1s7E4uJ+a z5aUbg(Ft4*0cSWxGLCdPSS#!R`tX7{LnD(W;{w$H1rvc+AngGXj0_fgI7KuB6c`eL zx|XOOoax}sbn%0L#so%HlY2agpa9Ybg=9;E^8yEr9ROd zE0$Y{j{Vbs0aVKf4%Z-tf*C-U!JP=s9GPI+$aGaQNIgJ7%?%Xd8IV}Po;DQ(Qb1}}04)VY z2GkcIT|Ldfw23T&a4OK!pehESVu3!WE;qP4F7#>P(bmY6Y6(usXleu$bb%r)4Auaj C7s7)8 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhirbGamma.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divPhirbGamma.gif deleted file mode 100644 index 3b69c41f6b5dec6b626faaedeb801d3c33b915c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1859 zcmZ?wbhEHbv}53B_}<9?1S~8p?Ck7(e0%}|0zyJUl9H0r($aEra`N)>ii(Qb+S)og zI=Z^LhK7blMn=ZQ#%5+_R#sNFwzhV5cJ}u64h{~Ej*d=FPR`EGE-o(a?(UwRp5ETx zzP`Tx{{8_00fB*m!NI|yp`qd7;gOM%QBhGbF)^{RvGMWo2?+^_iHS)`Ny*8{si~=H zX=$06nORv`IXOAGxw!=e1%-u$#l^*?rKRQN<&~9{)z#Gv4Gm3AP0h{CEiEk_9UWa= zUA?`%eSLkCCQX_$WyvyLR2Wb?eu!-?(w(=FOY8Y}vAX`}Q3>cI@1_bJwn2d-m+vyLa#Y{re9cI&}E( z;iE^79y@mI#EBCpPo6w|`t+GIXD(d0aPi{BOP4NPzI^%0l`B`TUcG+(`pug+@7}$8 z@7}!!4<0;x`0&xAM~@#re)8nW)2C0LJ$v^2`SaJWU%z?t=Iz_J@7}$8|Ni}l4<9~# z`tEu93~`2_1UIUCG+IOmnVeK{vhQ(L{ zsCR}r#Pxw4EL|T$0>HK!Z-IsaMCzh6LlDT)j#In}vJF=t1|s=6SCL_XqpWKjFzi&= z8kAgp89D-&aP+n~fz+_LF*FFY0vTV}7(l^c+IV3(zo@HR39=O&zVh017(kxqaOxCE05L#P#xWV7gtN$;;e$qy%h85K=J_IbITpU?6;yWX(^!>! z#6#ZINekjb12M2J9tMyVi=hoto;fkO_}oV zL5@Q-_sC{~U1$gK>MQ}E?W>Fr9i8A*Z*>M_@*+i5pwtwP4l$6!aOUe35n!jP;8MiF Q3rbX~pB8xpIxtuR0OjakGynhq diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divR.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divR.gif deleted file mode 100644 index 3e0ca4c6eee14304e1b7639d46fe4a227cdfd387..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1088 zcma)4Unr|#7=Lz-W1>c~DEfBJjJ_PgY|X4@!_Jy%TASFC`CRy1tk`p*xY}-{BzMY% zMv)s)B5@)ALUN@fB^SsAB7YjkpPlo*->kFMIdy&)@AL2XJ6w|CIXO8D!^q|G+}vD+LXnr3S5i`FMq5_51ySK%lR$ufM;4U|?WyaByg7 zXn1&dWMpJ?bTk+Yj*X3tkB?7GOiWHrPEAcsPfyRx%*@Wt&dtru&(AL`EG#ZAE-fuB zFE6jGtgNoCuC1-Dudi=xY;10BZf$LCZ*TAH?CkFD?(OaE@9!TR92_1V9vvMWA0MBb zoSdGXo}HbYpPye`TwGpWUR_;XUtizc+}z&Y-re2Z-`_txJUl)=hC-pIr>E!V=a-k4 z*Vos#x3~BA_i#A;O8`~&Kk)5mf(QVikaFppfH>?YQv4lNrEz(^4N)dx*a)&}V~h5T zmPVG5d}Uc_v5ORZnp&&?ZG_^;h^3;uiiBz~AlAYcJ00I3Lrevqz+%aiKXA&auLdJI z%i$9ZBo$Z#ZtAtjcxpc2W3#CzaD7FPLIar?xr}`36`AN6g@;ZTxa9gS1tig((Furp zup>66d1>tU3=Eyn0?jm3gOp`cvN-CagK#m4LChCAVKEVuRy}bYVmjWXI}2GG4ZTkeuH^ z}0Re%5fx*GSAt51QVPTPxk6w|C+1c4S zIXStxxrK#=#l^)XB_*Y$rFC_6O-)TLEiD}#9X&lgy}iAYCQX_$Wy;j4Q>RUvHgo38 zS+i!%nKNhp{P_zOELga3;i5&0mMmGabm`J%%a$!)zI^rS)oa(TUAJ!C`t|EKY}l}I zpPtJkhwyLt2G?c2BS z-MjbT!GnhnA3lEk`03N9&z?Pd`SRuK*RS8cef$3X`;Q+#e){z3%a<=-zkdDs^XKp1 zzyJLC^Y`!H|6l-$hEXsOA)xq^g^_`wkwFJ!IVevsaQtInX5|vm2w33I$b`v=EEL2g z1y?M3Q%FOAgH0i9O~l5eqg|rnOIVN%6p&&sL^b)sB%4O2ixvkH4t1$Eep;i!nA9rc zV6}#YiK)RI;tUfuCsg-D1*)LB@Zv@xki&`?QaHelkM09n>cQLL&?v+3Kp5=imYRir zNS8?(3lB(S60?Fc*wMR+z;3mW;0Q@S)CrPWbP?6{pBNaxu5Zk_!Ei`1K*3VG!r{R~ zCtq~`Xb4C!G&0FDUQi8CFys3H3f2oV7#WP7fIKG0kOguW*v|@Y5*|PBTA0OlX!h(_`6Wq;^4w zxsmB4;{-);kjGkr-I~Av3Sf>#?F1EQ^qKSFmF^#=`X^p}j%3 zu`h=6$Uz5W|8#+Lf&IhE#gcfWQx_C=KyN5WX-@+i2=PzJQP%|yPBAP(8&oe$b4UPRJ@&qJp hqgpDkKqd@T1kJ!*MN7J|I8_+MK}=hK?r31J1^^dY?34fi diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divRhoRho.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divRhoRho.gif deleted file mode 100644 index 934c84fbb3af48e0d3cae783c2bae5ae2f06e39a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1118 zcmaJi`4`&HLQqWL-+rwhe&$pAqonj z>q9S5R4+vYQ9^eJih`h^mk5H29;$~7DcU_}RMw4czlZtH_kZ8{XU=!VSPN~hChWMmi&2BXoKlapgInapOh z#bU8qtu~v@Znx*>=NA+d6c!dT4C8beH=sgynn zl_ycAvxG!S);1T=h>mvMnnblB)gPySUe8kisS>f@qV>jgQkmRD7F(y$P>g(p@Vb@+ zT~Nl{92XE(j+m$v2q?c3u4l5T6u~mZS5qEov7C;+~OpDM*;&X{^_h&zG`;vJ8DGrUe!7gJ-CgSnq_7c%v z{0WHNi<+=KHXPtXwvJ&FOIs6<@j*rK-g@eHeDE~@@wA3U<6;0#$prvUi=>ZP?-|%aiz=SUlgZUD(@M+bt)!Wiy f=D=jcU3`3pI;P^^HJj7a*4l0kbtT#pBfm*a^A+!h-nuWBC zphZgJB0{1d2-<`g1-1}1T13&Rc7;VmV2#1doLgjXz*)|>xc8jzeD~aYzU%nbW3l?1 zNewCb2|}qn3$NH zoSd4P3Iqbv)6+9EGr?dm6bgmI;kmiF`T6;Ug@wh%#igaCNF)-CMwgeDW3gB~9$#5m zSzTRCBob?DYwPRl8yg#&o10r(Tie^)J3BkcWHOaX?e6aG?d|RF@2Au0gM))iCX>x( zbGckTpFcc2JUTi$K0ZD^?xVXH$yt=w76bjeZ*Ecsex3{-fU$&i5ZZkBGwoM5_tV6E6OThX_aT7=0PA{N{J1lvWiqg zbrPp$)C|Mn^QvK>wvh@9Ju(>xN*AUY!WvXOF95g*z!%~H=++=l$F~vknVt};acL$- zTv$JbROzo~0a!aNgN~3Yy4ybB(oDMWMWh8ossmG1PnQ;V1pBIc>4(;dqyhP79egyr zjyqyBy6}2zNQHs|+w#Ov7Fq~5LaT3(YN@m4s#aGGLoH+JIh^{hc`2oNw$R4&Uui}y htPC&AYUOu`3_i9ZMqALaGVquGiFVm%Vz(be_yY+AXt4kQ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divStar.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divStar.gif deleted file mode 100644 index 68c86a3dac9ced9f9a317c5e27db9d26a270acda..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 997 zcmZ?wbhEHbRAb<0_!h(f1Z-?mX>yQcJ}u6?(XhBK0bbaeu063K|w(wAt7O5VUdxMadC0+@$o4sDQRhG zSy@^6`T2!~g_V_+RaI5>_4SR7jZIBW?d|PdU0wbC{gWn5nlfd|^y$-Q&6+i5&Yb!4 z=Py{WV9}yQ%a<=-v0}yg_3Jln+O%cMmhIcO@7S?p@7}%p_wPS&;J~3nhfbV0aq85m zGiT16J$v^2`SX`AU%r0*`i&bmZr{Fr_wL>M_wPS?^yu;9$4{R=eg6FUix)3mzkdDU z!-r3wK7IZA^~aANzkdDt4+bF54>VBx$->CM5X_(hatJ6+7})f?8PS!VoBM8NEp!I0K3wd11#Xk5FD(>02DD3 z2lMq97}P-w4MC9i-SvZwS%dX}mfHf=1+Yp52Mb$*)d?~%aD&we1PA+C%W^OY%Q*%I zgG>w7V6icW7#0jyB?#8U!k`ACL1qO9bI8I%(Nk6y9G)6Lvw*TvJ}MwzHGmBZ)@P7L z_9IZji`yLN78ToI4J9B?oE1m}dkWZqC}hA13=Dse&w)_{3Nq}#QVt>R!~;?a1uj7E bBLQCpPdHD*49-Mn1gQAHgn(u>GFSru1?4UI diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divSuGradb.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divSuGradb.gif deleted file mode 100644 index 31d110d9d6a71ec00720a6c5f6d72ee2ffb3260c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1910 zcmeHGdn{a87(c^kO*fe880{?M(JN|qNEO+l!l=hwHk1(WjfvMH#9A9kCH0!^tVd;B zl|?M0hMkq7WQ2`PFrFg_6Y=aHUR!Js87ty7yZ79S(zJi=zkBlK<~!f_{eHjiobz38 z)a#)mp9}QBK`Fo&g+kHP)TC0Wy1Ke_I-S8_7#J8ZnM^}NLl%o=WMpJ)Y|Lh}O-xKo zO-(HS%y}g5jgOih!v$L~{i;JtPE0@dl^z`)d^78if z=J9waiu(BY`1<<#`T6<#`v(LB1O^5M1qB5M2Zw}&gocKOg@uKOhet$2L`FtNMMXtN zNAvmoxVX6Z`1pi`gv7+eq@<+eD2Kx38~HE|>TB z_YVvV3=R$s4Gj$s4=WUk(b3Vdv9a;-@rj9v$;rv7sVSvWIXyi+Gcz+gJ3BWwH$OkW zu&}VWxVW^mw7k5$va+(ey1KTuw!Xf;v9Ynaxw*BqwY|N)v$M0iyQ@;E_V)Jn_xBGD z4h|0wkB*LxkB?7IPEJox)oS%W#DXvP|N752V0K8Q0Du7wWP<+$&{hKr6hl5`Q>J%6 zmAV=)x5bcO-lXMS(_z_vJ1M>?e{qG=pf8sPRbEeur&g(k1XeI2&@zC<-27`V=szHT z&P99THM~D~ff~I9B%JY1aD|74<&Zq0QUstH_7tB5O;R01w~#X0bOH)j#aqc3oVvw9Sh-4h~Amyr)!Ckq1EpIsi4_b38h^lbXl%UdZKEMs@s gr3kJPa-oELb0PUL#~dRj`D3XMRPlyxXanbe0i^hR?EnA( diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divU.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/divU.gif deleted file mode 100644 index 5f7b3aed37da6018136541a2074ab2dc31a4a14c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1088 zcmcgpO-N!<7`@Y^6D5d^Xrv_12E#@lJu*xrLCASC;+Tm^7nBgirI6q3STic%_-DwRsDR%^A|xw$!pVdm%Obvm71uQwPBCX;D- zd6{KdyWPIJy6SW~*VfkDZnwwd@p`=*8yh~K&+qpK0)b#K7z%|pH#fuKa3m7h+S-an zqubltu~;k~kMHd4?C$RF?d|RF?;ji-93CDX9UUDXA14xtWHOmbrPAqiCX>l#vnMAf zr>Cd6TrQu_7Yc>5v$ON_^J1}hadB~Zd3kkpb$xwZDwS?-ZfcIC_`je!!|xEnNCRbIC+NdV z6#oP3lV1mZ7M3uU3Z-OM05RMDIrGWIP~##>gYmRXLRm4b$24NPlEuk>sZ9XU$S}v* zW}&=Qim`BrBixej+}%4qb18m{ffdnsVTco%DR-aNG5WW5l8+tZN)Rc`eNs%1SRo{N zyW`ttA!HH83?f4tNk0TSgw$};A~;`LwsKkv(YpCEj3vYs0x?2ka1Uy`c|nUcJaaGY zfELCdef0toaAG{BklG-^*g+9D33`cT@3}#wM&O`fXj9hj17RFOJ$yJR;gUtAScEqw zRuHUw9Pj}rpuV8DCksu}E>LkMcOP$0v*Imd6`9^rz1TH9uuH;fy1o3-L-`)oXI5UH L-J7KSfsDTZ6EItv diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dnsFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dnsFoam.gif deleted file mode 100644 index 7e9a650582e5a74afafd4bca21b5d470aef2594b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1054 zcmdUs-)AFH6vuC6cblDLD`T{|H_}Gh9g}7|9b-mKJ8ja~BWo!kR0w%kAul21sY+L~ zrSvZ-6+$T?FCkAMFCm0drIbEJ2qBcdgpil+-kUbIzwG-S(M?Ch*qES5^8a=BcoRI1f#tyZho>y1XE*=(MlpI=;DTwY#YU0q#YU*Fu^ zv|6opyWQz@y4`NC*So#Fy}P^X_xppvU^pE99vPeGzcTOe-2_5_mRQ&9P0-|hj^4B3 zankjf$&yGPMwFg8UmZ3i^wPJ&^Qx*YS{7ago}cwckjamY5VliB>)7}DKPI0<7`PUM ze}Ov2tXH2y{fu3kpcCwL0Fe6}g%)%$AV{2xwB!;N=0l)59WoYzI+@l$=K(ydTl8KB zPGl;q1;TkfNC#N=&`$>7)@9zyLIh-*C30X<9x?&Z4RzV)mUSvYW=zvc!6}i}%uTF- z!>71701XAHhR#SK?&n|6;#9%k(*ZqgjI}OKD!0~LgpWvlk-3T diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dropletDiameterRatio.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/dropletDiameterRatio.gif deleted file mode 100644 index 4a9aaed7f101b6607bc5eed26dca739c2b7949d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 714 zcmZ?wbhEHblx5&z_!i0l1S~8pLPA0!A|hg9Vv>@Q($dm0GBWb=@>*J2IyyRfdV1#O z<`xzf*4Ebc_V!LrPVVmRUS3|_-roNH{*jT9(b3T{F);}V3CYRHDJdzbsi_$m8JU@x zSy@@x+1WWcITaNZ_4V})4Grz>?Ok16)22T;{{Dlh_E?Tr`>C&ak zmMvScV#Vs!tG905x_9s1ef#zuIB?+L!GlMR965IE*vXS8Pn|k-`t<4Z=g(ifc=6Ju zOP4QSzIyfQwQJX|U%!6m&Yk=B?>~C<=-IPpFJ8QO`SRtfSFc{be*O0C+YcW;eERh1 z%a<=-zkdDp?c2|vKY#!J{pZi0zkmP!`}glZ7=S`yfPmsp7Dfh!Fa{lv{h&BuVE@+; z7AD8*8iorvGBKE;%UMWEi>W$$$%V-=Fi4oH(@V`te6In))4WM&;v;_FhDgyB&C7+bOc?(EYz_`iW!FK z@B)oi#3tz~tY!)_O28QCAO;3D5IevcWHk^tXf!bKI)sI}=oyDO0Oi@NL88tKAa?>~ RIn9(A<>WX`!@?RFtO3dU<(mKi diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/e.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/e.gif deleted file mode 100644 index 9d4ff0ff0ab4da394f4ad4a4f108e585108d2459..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 160 zcmZ?wbhEHbWMyDy_#(*w1Zrw(dU|>W1_lle4z8}QzP`ROF)=AADe39yIXOAi)z!_- z&8@Ai-QC@5)~wmNbLXBtdoEnKaP{idM~@!8diCo4`}g0!fB*C6&wnrgnTP}wf3h$# wFi0`zfW$y{GO)@n_@?3hStP7YqG_`LgNmo9L*^_oms?jGE*B^Sb1+x~0NQar8~^|S diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/electrostaticFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/electrostaticFoam.gif deleted file mode 100644 index b69a62c203a0685ae16bd119bf9e90ad65338e7f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2214 zcmd5*YgAI{8r~$L2^yH1sFex_8>1sgLuNNxCCECasb%3Zhnu@)(lW|i&S-@VE+^A0EvnJdG|QQduH`t*n)z{lo%h$XzWsjteV*rg zUJjQXuv{Pou)xO-04Wp-Wo2cBMx(8*t!->EKU9w~ejYgx> z>Hhxy3~xoOj;&6_tzMMZ7dvSsVmtvnttIyyQg zCT82VZLzVjd_G?w5D0}rkw_#Ki{s+rKoH!%eS3U-d_qEkL?YR_b7x{=;;vo0q*Ceb z-Mjbf*^`u%w0G~`p;ef#$9-@pIBfdd&C8JU@xSy@@x+1YZrJSQh7 zH#hg-!Gnhm9a1P1N~JPCKfj=$ps=t|rBW3Y6&*f&xVX6Z$dMyzwYsFFB`E=GiT0JRaKomd$zi|x~8V)+_`h-&!4ZY zt-WyJLVbPx#fulUT5Ur^!=+1?8XFrgU%q_h%9X2EuQoL`UAuOzxw*NerA4RH84QNj z)>fm@*w)t8-rj!W#*L1S4j6`S-n`k_*?H^Mt=qS6-??+=?%lih?%lh8|Nesq54yU# zOeWLAhYue;di415<0ns^Jbn7KySw|@vu8a$J-xlX&!0c<>+5^*;>F9CFZ=uZ2L=XS zy?XWf^=q@){N~M@w{PFRd-rZ|aByg7=>7ZmA3l5-9v&VU8Tt6}A+iHV6{C(Dwv|I6|kL!$ry2B;QxmYo1>Cjd2FWK9YV00=|>D;QCP z`b}SFN&5{yt@8<8Fn#iOK+C);u+aEJ&$#aElS!(Up6Z~SnaxQ%5YCbZ7~VAbW3i)k z;&#VUjO6d+OiWAtF-8BUVZ~WQhHUzeUxCB(W^(;r(E9cD_tI<&MKt%%!lq^X4wxDC ze-tk=;%;MRj+mx82^{=p@VV#hshDYp<c*3c!;Y@tD^ z#`(eG6vS5bPh_}LR$!=c0W2?HZSCpI0K??8q9hrSF`v>HgW?||GNNLkQ$r_nO|=9q zx_wlq?)GywZwXL?Sl)mI7K4cqpM^#)(!5$#=dVST zeFMTFW`R-Cg^JY2ngw?aXa=aZH47VX03x16v!Y?}o~$b9N4_5CBwHl|P!EU2wv$W0N zUW1L5W>pb1zrcVc2zyLdP0h!Rn2CWH?3Gryx zOB}NZNf0m4zc-f*!u`r%RS%XC>B@$>|D7dMlA9rV2dVG6GYdw4%T*=A~UQgg62o+l?|9TXH4 z5)u*{8ygoFmzbDXQBl#-($e1E-qqDLZQ8UMGiEGUuwe1x#Y>kiUA1b}`t|EKZrr$Q z*RFm0_8mTa_|&OWr%#_gbLPy23l}b3x^(^e^&2;C+_`h-$&)89Uc7ku^5vU1Z{EIr z`yUJ#$O4K#Sr{1@bQyF&xgjj**J*v5>?NFJ6X3=Y=4{v=uXbH9#t( V5&{GQfJQUAw~DDLaxyVk0{~#!i7@~G diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/engineFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/engineFoam.gif deleted file mode 100644 index 9871049566468d0000e395c46a4c6d8c6302b304..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1925 zcmd^8ZA?>V6u#Bc0}lJstnO6gFp!ypp-9>?Up4=l#OJ+cYeJ&?>W!&ocDcB zU=ZEYD~<^efVp}A4Gac@#bR+d93GD+5C}vfkwhX{SXfwET5j30W!tuG+qZAGwzjsh zv9YtW+qG+#gM)*UlM@Jn&d$#J_U&_VadCBZrBbPGZf@@G?j9Z_~S6AP@eY>`{Rwk3x)z#g(bEm$(9zl?XhK9z*#=Cd#HZ?WfyLa#Y{re9d zJZNrimdoV|h2r7EhmRgTYH4X{ZEbz>FMq5)o3(*eSKQ3_Qi`AFJHdw@9!TN7({T}ym>P;G&DRs zJUTi$Ha4cy=_V#7-oJnU;lqc?$;qjysp;uyyR;d{+DA$ZxW=|QTB?lBj^@9HLaQ4Bg z&dD3(@NP4n$^IhSL2gqZuF}JXqIit8?b>1OjIuY4Zm6`4idMiQS>1(%?^)>;>v{M} z2Ws76IDSaXKOmt75%t2y`4GZh;<%gheug4xa+u%VB7;f*IoD9zS`1O1veo`H6)Lq& z-q<*#1%0hhWHMVVgEo#GAFz9;1?hmP0$w)Zb<3PBS(t9A|K-gG5sH9o2!5Im)i7M( zgxzg2h=XcXngNv%VkPG`z2%Gc1W(F;!P;tM(0&wA|CZbWAp$waAnaLB0`29n*c7OR z5F8QKDj$QuPsZ0AC!4q;EYD`-s=Jz%=0rL#1qpnGahl#1F>x3t{Ct-z($Kv zXsAT5IxM%0gsb8Qg1BQGVJh>}iz zg~}iS!3fKpqd%#}hai+zZh{%`m#4&LCe=_)>O7Z>Rn|a}_DgKF|TBVsYm->2VYM%WJ6l{5q0-%=PDi!^)3-~8-5K)N?DX__@^baF3cCyi}h z3vqD2+ESG?lJ7SFc8Y`ru6o#85V<4fZ>z)VSyC&5nYJeE7X6*nPp5G>XvNC2GN{l@ zS#-Mb3WRR?NMZiTKD6fW${K>7~wuBi$AVpStHZ7pIcL>9xV eH*3vI;@Zn59f;4wZzPCT{%}p8wQw*P;J}}eu6IuW diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/epsilon.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/epsilon.gif deleted file mode 100644 index da86d82adf20b709eadd2d56cd7348f655f8cec9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 160 zcmZ?wbhEHbWMyDy_#(^z1cHKs8X6kf+S(>2CV_#0VPRo0F)`iU-IFIzo-=38&Ye5= z@85su(4h+#E?mBR`Ocj?Z{NQC_U+q$FaYVt3lx8{FfuTRFzA3(f$U^pl~vd(a&#j{ dw~HiWlTE`T3&8^cBC0APu8jhPGQJ!P)&OWLF+%_V diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/epsilon0.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/epsilon0.gif deleted file mode 100644 index 2292f6f4e4a8d9494d99e2f892b818d4f4b988e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmZ?wbhEHb9Z)BgSYj~+dG=FFKJH*Wm+@#8-jfb`=9ia%Kx85l$ubU>;=b~3QKD_oUucM247 zHDy)-l7S(DDkq(FPdYU=I0uR-2k^ClEF1lMAcx5 PasW_^;6w=@4hCxg(?2%; diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/eta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/eta.gif deleted file mode 100644 index cfd2cd69339a90e27b72d74a44c2bac6e0304328..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 187 zcmZ?wbhEHbWM|-F_#(p~E-o%DEiEG>qoAOmrKRQK;^OM+>f_@RA0MBYnVFlLTU=b+ z)YR14+S=ROJ8jyuMT-`#UAuPQzI_J|9=vqv(&fvSZ{NOs@7}%V&!4}3{rcUzcb`6e z`VR&SV4(Pug^__lmO%%^1KG*IYLT$m#;-`>jEKkGvXWz$O0Qgy^uDg?uF?>7ol(H0 iWUiXa)vKl57fWNW>$+Vpz01lLe7!U_EFqSI!5RR^BT)SS diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/eta0.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/eta0.gif deleted file mode 100644 index aa01a60b7c3aeb270a584269a79e2c9307c9d567..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHby>FJr7nORv`B_$;l6&2Oh)pd1s&CShyeSQ7?{gWn5nml>(v}x03%$PBA z=F9~P7A#!2aM`kDD^{#nw{G3~_3QWV-+%1bvE#>&pFDZ;%$YNnE?v5I?b?kSH=aCs z^77@&H*em2`t<4R*RMZ*{P_L*_kS<|xeqT;{K>+|z+l3l15yR@69ZeaLw8DWqd=I6 zRBzc!ktmak?QV-NW-tl%vi)q45tZ~+ShSQwg~5C33yFj+{0mtou4IsA?QOHvX%L>p u)lhUXgYim|Q!rzOiIi@`A(aFzre3$#3UQk}lLZ%D%vizJ3o^`+!5RRZ#)QiN diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/f.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/f.gif deleted file mode 100644 index c3a82feae330d9f42ee0305a0bfe1f5fec1e0b7c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 321 zcmZ?wbhEHb*>d2(f#b)IpE`Bw!i5XBZ{NOi=gyNS zPhP)%{pQV^FJHcV`}Xbk@8AEy0Av}pf#OdVMg|6D1|5*WAU`p%#T~eqVe(2qr~yb7 z+1Smzn4#k2;I{bUi9;MNYCuX^Fvnu?#S9n09-v^xkpwVhvY@8{$TJZN011X@W`L+K Z9zeN?jE4^ZDZvL5IC|X{2MRD)0{}PBY!v_i diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/financialFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/financialFoam.gif deleted file mode 100644 index 788667ff4d6d3d3cd807b0112eddc6ab2f115b15..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1421 zcmdUtVMHWh7{}ji+uW92GseEtuG_X7H`{K_nj5?0X4`h`sGhS#L}KZ~iM~XiB7JHv zB7KU8L`0wZ5)qMzh)6_4^d%y4eTiks-97K@?sU#x+{b&Yop=7v`~N-9^S<+?0A}WE zk+hNWAi)R(0)iljqA1I9S65dunM|cprfFugS|EEdPd$0sHxCMPGSrlzK+r)OqnW@l&T=H}+-=NA?h78e(nmX?;6mseI+R##Wo z*4Eb7*EcpcHa9o7wzjsnw|91Sc6WF8_V)Jo_YV#Z4i68Hj*gCxk55icPESwI&d$!y z&o3@6E-x>yuCA`HuWxQ{Zf|ez?(XjI?;jo>9v>f{o}QkcpUdTPrBZo$dHLxCo9aJ_ z50&O7LV&2OUv?*i`%%Kvj>Tg5|8|%?ZeDNAgNYs%8CPwv_#~uKd}o8itHjE8i|%_b zF~EwEG=3Cq&92&D!6^Wm)*$g$3CUm(md^RyP0sl4TW!JE{}wLW0O<{tYHs8qm(-A+GRAcg??KTjkcOA=w~iN64L;zX$gxf zgm=c2)Lewip-xms=OdtS><8%pK2(Q{;~OLr;aJm38k7h!YCeNVpdyqxTy~4?u;s9( zvA(#dQ!^~~L$cl3nel5{0BO~(`}(4|PO#&a!XSr}j>{l8C~iP<=@pG-*zMTwTDl!{ zbsRPk>kYGma#N?@MWcv^#B?@Y-R0bG75yjK@^xd?i4!3sMBE(|u0wW9VmIay6P|TZ%6JBRKsm|Cv@1>9e`BtwK4T>42>y(7zxc?i;{sOdp BNm2j+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ft.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ft.gif deleted file mode 100644 index fab997d92b0b790ec8a790289fa422193902d30d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 345 zcmZ?wbhEHbmX@}*whj&sj*gDb&d#2m zp5ETxetv$Tp`j5G5m8Z5$;rv->FFgUB^4DF?d|Q|-QClsO`A7w-qNK@moHzwWy_ZB z+qWM$aNyv0Z{ECl_wL$9&_g>mb{xdMPHd(Xd~$}}Zz#o5F!RjDE? pud55~*b_JL)a$R8JmT0dF8)%rS44q}!LX7setq~uK~5$HYXDQgl8FES diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/fu.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/fu.gif deleted file mode 100644 index 811ad313e64263529858c8df680a589c98a5f7ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 379 zcmZ?wbhEHb^EIy#1ihDJt4W@cuVmXFMbi85y~`xrK#=#l^*ym6ffnt=-+- zJv}{h=gwWYaN(*|t2S-gv~AnALx&EXJbCiMg$tK1UAl4O#+^HN9z1yP@ZrNpj~+dF z^5pgF*KgjudH3$!$B!RBefsqE>(_7JzWw_3>-X>9fByXW4+bFTq5{RAEQ|~cmJB)| zVUV8~*k&Av(VN~atI`mmH~sX}qMb2p#>NkU6p;5&Wfq763d*b$deHz8d>SY3*fsU^ z(+04TUKTI~(s$13B!~iQXbpfGrZ-)?rN}ZoYg+QrqMd?FQ hQjgE1TZ=*zK{h-&8o7ai_k<46J{xh@Mqw5PYXF`xuN(jX diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/fuel.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/fuel.gif deleted file mode 100644 index a4a80646f4974e81cf6c778e94da0ba68ba47d67..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 128 zcmZ?wbhEHbWMklF_{_}!1blpaVq#+Q^72YbO2)>4 z0|UjMEQ|~cJPbM@9>@#^7TpOOizSl1IF3p*F(@44VrX3oRB)1kp#i9nK>?%=2m}}y M8C-Z7+PWC50V=m0PXGV_ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/g.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/g.gif deleted file mode 100644 index e9a11315763fcdce93d3b1d984579b7b605d8e3a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 300 zcmZ?wbhEHb`K>gt-BnmRf<#>U3>_V%8h zo_>CQ5fKqlQBm>n@kvQZrKP1+RaN!%^=)l!ot>SNCr_R;XU_cj^Or4Kwsq^){rmS{ zx^(IK_3O88-Fo=&;fD_&K7IQ1_3PJPzkdA(1CXs$0*XIb7#SGU7<549f&9e4=6S&1 zl~GYeLV%kwB}>3+?y-X@SqxTcJ`RT>Biz)^xHMm!;iGnjq4{8j(=z_11O*0}g>6St bqyih5&OBr?nrP8+_V|JZ3kHc`0S0RTG}lz&!j0_Bt z3_2iTkev*y_6f%r8YZRs2V0yojO|oNy}3l=%#_rbstwIkQzNJ8I!^~QVI$Rii(OF8X5)$29}nVR#sMyj*iaG z&TejQK|w*m!NJMN$yr%hd3kyH`T6DL<+Zi74Gj%#ZEYPL9sT|NQ>RXyHEY(=rAs$& z-hAoOrEAx&-MV$__U+rRU%!6y=FP{CA3uNo{P*wQ|6l;Jn_{5&lZBCiL4!dDWD>|v z3~advSQ;1`9TWsQln-)d1ZaqGwN5GsU}xfLby{e{BeKf)$ASQjkfqH|okCNDxm=4n z0yM6$IXEqBn9d7S(#a(x!l~%AFhFC7>_&%8d2pAa|nV6WEnVDHwSlHRwIXE~tIXStxx%v3``1$z-1qFqK zgoK5KMMOkIMMcHL#H6I8q@|^0WMmW-6_u2fw6(SM^z`)g^$iRRjEsy-O-;?r%*@Tr zEiEmrtgLKpZSCyr?CtHHoSdAUon2g9TwPt=+}u1oJiNTTyuH1Be0+R;ef|9W{Qdm{ z0s;a91A~Hsf`fxYLPDaVqN1atgwz3o12?kT3T9LTie^)J32Z#J3D)OdnZqxJbn7~S+i!%nKNg> zf(45fEn2p0+4AMfSFBjEa^=cZt5&UEy?V`>HS5=}->_lB#*G^{ZQ8VX^X9Evw{G9Q zeaDU+J9qBfwQJX&J$v@=-+%Dn!9#}*9X@>c$dMz*jvYI3;>4*_r%sqeqV(KYsk=$&;r~ zpFV&7{KbnGFJHcV^XARlw{PFQd-vhPhmRjWe){z3^XJcBzI^%i?c4Y7-+%o0@$=`; zU%!6+{{8#UpFe;9{{0UIp!gdF6oi1{PZmZ7hA9j>ATvODf`Q{7gJ$3&mrfy7uPGYD zFi9@S=gxCN z0t`hukwJ+qqCoE)&2;j-Fv&BYp&@WXGsJ^co4|}2JquhqFDYuM|N9q!&GVkzl0f~e zj0J5%stxT$A_>l&L37kV0kp-5TUCGo98#AS^Ob-^P8{L{hh2yxH&&OeX;=ufjGrML zsQ3$WgOt~lMXoqN&r65Qi#(Fu8i7_@oWKFJmocCnr2Uu21}ChstDOS0;-3hM zgRp6On8^Wkzu}&utV+uImp!X5|vm2)GCIa|@@4 zMz@%4V^ZrRQ6r#%TucohuP$Ra-~bDHNIWkyd9Y|H8&FCku!>m`==muc7c(!kUy@hj zI=5n`qNBi4J8!8um0LW{c9~Dvf)w;FoQo3 znGT(oaj;EJ|TTguSXBs}3~mLAt;$OJTS(0~CjzQIkX-97^S4k&FXL zaVki##_Z^c*w`VYswV^z(PUTk3Of++>aZ(YgG$T}6UTxkURAHcSx6}{#KTPn?87Cl z+~T@1J2EUGorQqVBR_^KUK=&X8J=T~9 znY@UFjY;*WR}(|X0_V>$IeNj25|pC7|>)7u^#4CbT#0xf5?;o^jLclOW@(B zEOK5`woCvfa#%=%8Q^4(A_8*91XPiujZEM~AqEVoOhFM1|3|=ZImrcz6=*<%8Jd2= K5D`rU25SHSVWn;W diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradE.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradE.gif deleted file mode 100644 index b3b38b867c0235a12397d20ccd505b0534171b72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 677 zcmc(cO^c~v7{~8(j6)+cYMOMKkxXKaQJ8u%Pb4#5hMq&sxi%~;P&V=fSa3GJfUGQJ zgJOf&NF*0L?V&P2&(T zfG_{Qk?b!%Ap}T?7r}pmIKN}p=t_Ks`wT$be#S}MTqX{bvfy$3kNjJp=zGkbsyS#j_vWnwM5rLcGz>2|7r27k%+03;7 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradGamma.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradGamma.gif deleted file mode 100644 index a157e4892de760ea1b072c54bc9c0930b4c72008..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 669 zcmZ?wbhEHb6lUOM_~yd^1S~8p?Ck7ZTwFpzLRwl{y1Kgh`uc{3hQ`LmCMG7Prlw|Q zX6EMRHa0f4wzl^6_KuE@&d$!RuCDIx?mj*~etv#|fq_9mL5Ycp>FMbi85xggXRW&s=_4V}~9Ua}>-4iBEm^g9bq)C&ePMtb!+O(N7XU?5FcmDkOixw?f zxpL*Yb?erzU%zS7rp=o-@7%d_@7}%p_wPS;?AY<+$4{O-dHVF}GiT0RxNza(#fw+2 zT)BSz`t94dA3uKl;>C;CuV24?`}Y0&_g}tz`S$JG_wV0-{P^+n=g;52fB*UO=RX*L zygK-R;!hSv1_oaS9gx#Nal*jq?+@^zCI7Up#K1;5)zVlqo)z!7NwRLrM_4W15&CTuY?cLqolP6D}GG)q)88c?hnzeN4 z(q+q*EnmKT)v8r%)~wmEVZ)|Po3?D(vSY`N!-o$aJ$m%mv18}Xox6DP;-yQMu3o)* z?b@|FckbM~ckj`oM^BzSdG_qt^XJcBym;~I)vI^!-o1bS{=~S3{Qdj)KNx^~J_vx~PZmZ7h9CwVkXt};!odEkfuDg#MotEVICX;{z=TQ8 z56rUThR{F`KZ841NKOZ$21wd67=YL|VnIP(nnr$_K%Sp8pBs>rGYblm)?yQPFjWJ} zGXW*sguQ}-6ug9;f-D$-dZbx_*c8ZU2vQaf3Q`7%S+Z(c@B`_fAT^*aPA(8jnw<}% zD#(r9CdggP3B+__fGBccU{_KHJ0Qr<2rLt%r{?7acQ8mT(AgRg8bQjjachBijSSWR D$9T>b diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradPatchID.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/gradPatchID.gif deleted file mode 100644 index 8bc3b880e79e1b076e7fd8ab91b952ed51938a27..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_!i0l1gxyA92^`10s_Lq!s6oMQc_YXDk_GChGu4F=H})W78cgl z*0#2`c6N47PEO9w&Mq!4US3{4K0dy_z5xLN!NI|yp`l@6VNp?0iHV8H$;l}xDe39y z85tRwnVETcd4+|AMMXu$#l>Z1W##4N)z#H4EiLWs?cLqoJv}{reSQ7?{gWn5nl^3P z^y$-Q&YU@G)~tE+<}F#WWa-kS%a$!$vu4fOwQJX{TeorJ#;seo?%A{F;K7534jnpt z`0&xAM~@vlcH+c|)2C0LJ9qBFg$tK2U%qhS2Qe)Q#Z_$!v`oPX&2_h zpdTpUY#Jt~8)nMj7Zzs4;udDD5E{VltPU3x=H?a_ z7M7Nl*4EZGHa1R9PHt{)-rnB6zP^Ehfw8f%$;ruSX=zzmS^4?-g@uJ>Wo1=WRW&s= zwY9bN_4O?+EmNjUnK5I=?Af#D&!4|+*|L=@SFT#MYR#H8>(;H?xN+l_EnBv4-@aqV zjy-$!96EI9*s)_LPMkP>`tuyLRp7&6|%NJ$mxw$;+27-@JMA z;lqc|pFe;9{{83ApTBgrlrTDrQr#>U1L78cgl)^>JwE-o&fo}NBF zKK}mxK|w*Gp`qd7;Zadh2?+_w$;oMHY4!E>6DCZUIdkUh*|X=(o40D!s`cyFZ`!nJ z>(;Hicke!M;K1R-hmRdQcIM2PD_5@EzkmPHqeoAlK7H}x#p~CvKYaM`?c2AXKY#xD z^XESpfLuc&Q2fcl$iSe-paaqe@)HBwTL%^f!)E*-~5on5_h~D(YkI@8ES>*T+gOq?&GVO}d z>plVEwHgxLX`i6#vrlzKrmXJ#$-QC?iJw0>h&Rw)<(XwUBmM>qvdiCm!8#iv+v}xki-MxGF;lqcoUcGw% z{{6>~A3uNo{N>A+Z{NQC`0?Y{uV24^|Nism&)>g)|APU@Z-X8v{$ycfVDMnj0l5?u zCk*WW8h9AEr67P^%R+)d)WpNXjhj_UgGt^E82BC@1_B-)HVjrkmYb5chX)sf6IfUR z$c6~3N&^K<7>q!|mJ&c&u&|9hNS(cq2#|7L)Lytkw Z5h~2AhY+?G06H2BET9bL29HJtYXH}rxHtd+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/h.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/h.gif deleted file mode 100644 index da636df830a75939fd9fc44c74a52bdeddd95a19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 291 zcmZ?wbhEHbWM|-F_^QGH1RNY3qN1Y8%F0?=TBfF^78VvZHa51lw)Xb+Zf zVd3H7QBhIx@$pqvRdscB_4V~lO-=3X?Ng>qnLT^<+_`fXE?l^D>C#oJR_))v|M20% z$BrGla^=eP>(}q!zyI*z!w(-meEs_MKNx_lq#jWG$->CMpvs^FG7{t`1~!KSmr@Kg zr+TSQd=#WL)l1rOWr)^PGbX;HL0Ym*k^;;jN-kcDnU@9sm}1frq#CG|DW}@8I3%j1 PLEymh5G?}yX=!O085#Nc`NhS>Wo2a*6%|!gRrU4tjg5^hEiG+rZ5f+fByXS>(?JYe*F6N>(8G*|G@y{Rt%u{lZBCi!Gb{tBm?pj z1KU>znRJDN4+|`0_}UM{sFW@~Bpz6f=>e*e1`8Rk1)oY#1qB!aPH#K}GX*3UKI1`F zKNrF<#zKn_##U!Wm_A8ypj<1Lh0Ll3sO`~PfO37!2OcUc3FN+>wY6Yt*qUoh+oE(C zxZ0gVcs2&LGaZN(o5Xz}fbm40#T=h7XV!uh{CXx6Pbf^9%>(wsos&)3Eio1+J=vzD Xz%1I>?b2ZIP-XgMhW5j(j11NQZ-2?& diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/hu.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/hu.gif deleted file mode 100644 index f1b1ffae876ab7983694489c6311f315505abd28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 390 zcmZ?wbhEHbT|L@G4Ii~O5bYERx zFaZ_{V927PqPScxkH-@T1VW)uBof8M#KgwNN~KbnOcoy>FPF=eN@YSqLQ+yva&mG? zN{U*oPEAcsOH0#eG+M1TBO@a-Gt*!&7>&lPtgM`z9E-)0o12@LmuIzF^Yily3JMAf z3yX@1ii?X&N=nMg%3Lm&+wG<(sqJ5CDL>y1M%M z`i6#vU@+L&*x1z6)ZE)2+uPUI*Wcei zFfcGUI5;#kG(0>!GBPqcIyyEsHaK;qd+a{m+Q8L;qtR z!dwo90fw^y_D`_rhaf3MPk(M6{FMU7ak0$vJo@tNb-(nH7i~ieC35_g_+KD8h$ugh z&VP%DY?NaNq8x2@!pI8QQaCthaO(A}PZER=pn@Qr1i^Up1Pugwl=q{7Qt82NrZh$d zL4-vkLE=&qrPKR>B+KOr`XLB@J4fX|hcyOadt y_-ddH5?t&6s}@(2e)fYCO{fUSgEk$GlU_z4#C5pB;Z$)x+i(tUe#gguV8kz~36Kf^ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/icoFoamAutoMotion.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/icoFoamAutoMotion.gif deleted file mode 100644 index 26e433830d46201be7034a890fe323fb1ad5eb68..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2438 zcmd5+`!`hU8{Z=w$L&io8L^gI8tiFlYD!K@BO{l?h-7B68ka4`SXmXdx~v9+ju2nk zat-62R%4r)R=QC+)RyBi(a=TZ6s0Ta?)!bWvr_aAocE_^?f3cY=kt6%&--|IvYgh2 zCPO;V`T6ty|~f;}(hz`=tD4;?ym`0(K)M~;X@qQu0+uL zj%8+MW@Tj^KYlzrJ3A*QCpR}YFE8)Ji4!P_=I7_1JbAL9prEj@u&Ai0xVX5aq@=X8 z^wgeI>6%vW0va+(Os;auWx~8V4wzjseuCBhm{`Be74Gj%v&YU@W_N-JY zZES4BFs!MmNhXuY<#L5Waqir?=H})L7cN}9c=6JuOP4QSzH;SCYisMZYuBz{zuwl? z*52OU(a~|^#tj_DZ{51p)z#JA-QC;U+t=5pR4Q-ZzTMy7KQJ(G=gu9KN;Nn*I5aeL z_wL<$_wL=lfB(UQ2M-@UeDvti)6vn0@P@G6c%epRZ3Iv?S)q-Jo=1Z7B*)so!d3ELT`PF&VS~uqMA>ekpLCh5As&-My9I8Lo znx#R}wP^dH9i9TtFZ=Hux0IUTaB@i|EpRiEVmhSaxYdp6D*rE4N$|AV5md{gQ>icGLi zjb5;jo{!Q3k}DTfft(a}lg~CC{>^lngIHa&0KxahhFXy}HzIiDX6UNAR(3#8woEiL z3oH~V2es%SR&g*-^Li`YPv6-h2NO~p>6@MRbAdpH{3Vkx&o=r$6hlBmB3AdvL-28E zxOL<&x(kU(+NzQYITHPP)Y4K7zFCLVE6unHcv`GwvkroI ziiY3Ik@NbA{s~?rDchAW0Zvg1X%iXr$QxWGfW3T7ri&(fgJMH!;VQbjCQ56{A;$iE zg^XJ*z(I!@uyt;jif(tlqcT|0z%D|Xsh%WFU5go|95h?{=v@COnvSviZMv1FDJ`Zc zlv1pRqw!HqLQ1uFDP+V`bn2%fI8(+!PisgKT#e0Dj2l7x=3#>s7^xlTy9G>Hr*;;C zYg4%j9}d~tC)-F$xI$Y6gpS~==u0?2`s$7rklZ2*R&;jI{Y)HU5+sCqk!3v?az+8PYhWhyU^|z+U#%QUn)~v@~=@%aBaec!7bSpim!Fw@!+n7~0^3b-GK=^xTkT|$u9WTXT+B`V!=siR(E>X}iqec7aW2WJGKP}PET_tYHFbZ<3X)=Mttzm# ziD~thus~ns%34CQC5%`laGrR)=asTVxsbD*5jzP-C-(^o%ozeB^DTXU=7MeSsPdO+ z5{3hqM8I)i2!P}go!}*mdctQ`b7GNDZr6f(jfi!35S2wGxT zf<#1UhP0$g7Nl9UxO8MwKsISJgCkYPK@?mDA_%z9-UniBY3m=*`_q~4JLlZ*EcXU) z+v?@bK_F9TS`L9@WMpJ)Y>dHRuvn~#iHWJHDGrCj z=;&w$gTZ7nV`5_1Y&M6(iH(hoi;LU4cW-=rd_qD3m&@J1e}7_PVp394a&mG?N=j;K zYFb)adV2c7g9kG*GBPtWv$C?Xv$GE!I+T->bNKM#+}zwFM~>v@=ks{Hf`S4*pI=y5 zSX5Lb5D1PRKQ0ssi;Ig(N=iygOUug2L?TgndAV3DuB@!As;a84u9iq7wY9ZUsZ=JD zojrTDzP?^Amn#$srBbO==FMe1?d|L9>+kQs zdGn@TuOA#7ymjl=?c2A9hKBCkxpVjK-QnTkk&%&y4<9~y^k{T+bZl(w@#Du&o;-Q_ z^y#x_&&J2cCnhEg2E+5`&nG7*r>3S}ym&D^Jv}osGdnx`^5x4{uU@@={rb(DH*<4y zzt10Z3I4Cgc6RwP2vR_wqYXgc1caS~T3OLLu3io+5EXOLuxtG87;XhIy90vu{Ed3& zbGm>R@DcHgG%HB`_waW8^mea9S<@_H&`wD6#cYN z{0wWAhD$g@N$O=a4WK@XpIH+cpxzgYs9K_8^;NK9i0y_V@X-cVvxX~{QleMKG^;}g z#FUdrcvB;n;IuBn8spqDYGS|H9rw0Wy9Ts)!lxd^f*f0#d?nwvn9YyZ3MwiCkFv)Z zy0Mac-wecpq2t2U-omsBhOP@Q42;;IWwej3&Lb7q4vr6CLyKUJ3#c^km>dqtn;Zw4 z$*TmQt~ni7{0#+EX!xE3l!eqPQ`EbG;qJ&zxgQG*OC#0kz}oO?a~h)JYEa6vOKH$v zEtNSFL6pZmv#W3&WW$`IwaQ&B5!Jvr+H!?YCJ;newt2p-=$sYExA|b0WCsdj%lHu( zA&`SK8P%~e5$OSQCOA4MkeH8AYAqFH*03=GoC29$3n*vkC{ozeNbW9#6&rFuX1yHu z6;Myh>ziNOg*op-*QBdc07oFe2sMYcQEE_xS`BBIp=16<4u2VhQd`U5To)Sy|Fb#1 z6wX}%IFmdn{PhNt#zW6u_m-#+b|9^EQAj8q#doMhEcc=lW#|zUkb4m z@L@A_a#Ls>ts(x@{ooaOcDXz#AmxWPo}I++03Aqm+98QjF&`A+>(O^jZ|^*@fanAj zPCEdyMa`>lnvIa7FQE%?3PfaR15OLS06^$y*n`d!XJAQ`$S~ZAcitiK6Wt%~1YKMx t73~WeKHs3FMvd~{ANG4unB))SS(kJ&6pA$8#?{ VERZ>#*m)GJjJ@d2kJ&6pA$8#?{ VERZ>#*m)GJjJ@d2?OP4KMwrbU?b?eq`-n@Cwo;~~b?>}(h zz@bBjjvhUF?AWoBCr_R|d-nYK^H;81xq9{L&6_uG-@g6q*|X=*pTB(h^4+_4pFe;8 z_U+sE@85s^{Q2wGum51cKnhU&$->CMV8EaQ(ggAo16#L)1P@#D!GyIg&MZL6K!WFs zh9HPygW diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interFoam.gif deleted file mode 100644 index de5ef7103d8129259f3b8268a36dce33553af645..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1541 zcmZ?wbhEHbbY$RS_};+)1WZg!tgNi;?Cjj!+}0Re%5fk8n*!NI|yp`nqHkx@}mF)=Z*v9WP+aR~_t$;rtnDJiL`scC6x>FMd2 znVDHxS=rgyd3kw-g@wh%#U&*rrKP21Wo6~%<+Zi74Gj&Ajg8IC%`Gi0t*xzXZEfxC z?VX*SU0q#0Jw3g>y%Q!(m^g9b^y$-Q%$PBA=FB;B=FFQnZ~pxG3l=O`xNza3MT-_M zUc7ACvgON{uUN5S&6+i9*REZ^e*MOc8#is*w0ZO9EnBwi*s){Ru3fu#@7}X#&)&Uz z_wCzv@ZiD2hYue)a^&dIqsNXNJ9X;R>C>mro;`d1{P_zPE?m5L@$%)%*REZ=apT6# zn>TOWx^?^Z?R)p`J$Ufo;lqcI9zA;e`0>-HPoF(|_Wb$tSFc{Zef##^yLTTxeE9hB z~AHRP6`t#?{-@kwVg8?XdMgc8DK=CIFBLhPxgAT|N zP@Z7m_{T8W#$$>`;3Ah!Ayuy_8W-o8Kp1e5z(pn+3=0|<53@4!)q~X_NkMgiMcy_} zMwk=0$jk*(@jHecAT=i3&s2bR;V=i}3}h*j4ot;&84J_{l^i-7j(DOfMsYk#isvF1 z?*@e;CKc~RF1Zo~43ks>7uh-hb+NE}NGdy=`lqss`GMae7d@fcpTVphQ-J;vWnyaa z00zey2F@ln4}pfxcMP0G>Vgy4JB4Z)4Hll6!<;7cw{t@Bxw$T3F=sXgDe^7gV$CR+ zFzE#!gL-5_iN}~z;Iz^@LlA> zd_=`7q!DD7md8xvxq(}0533H zq#Tt47xM5FF*E?lVxGSl6eNq5MF9R1)%>tiA zE}|K4G$(R+wAprE%JE#n2=b~BIO>3mXEi@2zc}A+5zlo87#j{k>Yb+qJf^G=XfWyQ z1G?uS1CNUd!wwB*<^%2eoqY@|CMXNekr7Og@icLEWD(C5TI$Hiz{;Zy^jJ|7Gh44} g=R2DU2IUj%q6Pa(7#=wFa5I=J3GsNKq`+Ve04W;fegFUf diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolate1A.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolate1A.gif deleted file mode 100644 index 11e538a9a291d7668b19d3a970758839f7f8d43a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1981 zcmeHGT}+!*82$<$q5H5?(XjC z>FMR=U6q>h6cS}-`LpL)YR0{($d=6+Sb-)Fc{j~+dDcs zIy*bNy1Kf%yL)|y7=l@)P?+xx&(3P*3b!t9}B?x>qh(Q)C;2mq^~}eKRl_E zMY~TG6rKB=y49Y{w7}gt!WT{_HAEf*Rz~uxO86BZ&eU)(G=)4@zS0 zElAI}N6RJHKhFQ-2VmYh@$(VFK(6WUL$v_Iy8N8-gTLU1{gbWp`#OOPXhp*~;|HhO z`pM6cI>C8>(YS;oVJChbQFih%y<429;@@@v__te>W~qyz+`@dQ_)0)Z4b+nj2eEPk z0#O%VQTUR?&5xzjc6^I4m#$H3!g4{Pd3Nu@2Fny+@+@x@QYk1uqF>;APW+(xFfP4$ z%1@~gSS5+#bBN+R&f-75ZHN3QW3_}%P-NCHZb0@t=x0RnMJX6hT2XxY?|o4K z91k>$hQF`@m7o97hbgXnN~d8ci!2vD+qMmJ@Ig{VrFbw&WXD1-XGa3q;aMa#zS*W( zw>bLHH?Xu={RR+JYSKrljj!tLk|?XXplp+tYyBg4n&G~%X?vsS}W9s6*nwNd(PP!^JzrVfB1k{mU=`xpK5YFT_fs;b)B+Pb>B#>U2GW@a`v zHg_4Tc-trI6s zoHAv~v}x1k&Ye4d{`^&|R;^vTcJJQ3`}glZc<|t%Lx+wWIdbvh#Vc2?+_`h-!Gi~n zA3uKj^y$ZsA3uNo{PpYCKY#xG`}glZ7=WCJ8z}x{VPs%1WzYdB0r`o6?dpNkECoAa zw+s;>xB*kfq84EF$Dkxxj(D`$*m3ZX4C*utRJp4fOxB~1~IgG zED=n}fbg<38y1IXd2&q;2gpiroSrL+pukV*uBg$Ra4P&5VkvV#f3 z;(|lVN0mOOA`4N}#PTtw1WiC7f?}Y`)T$^70*c-4y{|ZhWr=_9{&jNC`JMAS=lt$_ z{Lo;I_s;E@1va6^z@gD-Mn*9}7h>VQfx^?Te zZQG)vqN1atckI{^6B8qqN@HVVckS907Z(>FAHRF|?u3Md#Kgp;q@?8JFMbi85#Tc?>}(hKxSsQWb93|Z^78ZZ z3knM4a(Q84VNp@h(W6I;i;GK2N=i#h%gV}*A3t7RUVh@liHeGflP6D}I(15^R9042 zR#jD1S681tefrFqGXz1LJ$v@txpU{wpTBV7LS0?m#ful~>+3IFx^(&S<;KRwD_5>u zy?XWf_3Ijqrm3l^xw*NerKPpCwXLn~#*G^{Z{BQgZ|~^nxOMB+?c29IJ3G6&y6)V$ z)7{)2+k5x!-M+rQ{{H@Z_wL=le}7gPjx!ovuDqqKY#w>#fy=Vk(V!Dj*gDLdGls$Y;1gd{O#Mf6B84Ylao_ZQ}5or zd;k9Z^z`(H4W~9gLxe+RX0+$eCwdkW!6EN$B z+Q2LQ7;|j3A(-$%hCI?Z>@&Cu|Ir#GJfa98CR^L3q}!Tr@htXC{V#5lDz&CS&T4BKzTYIb%Y!;DLGOJNM* zD>aZ`4ruga++(2VLW-;s_7$I03;JR$!oEW>tc9@Cs`?<*pk7`6+f1trZI%=84O<}C zd`k#Z;Ii@pV6=;jg#gx03nu5%3}OgVj0d>t%&{fF)kP0L16oZ{k}*S&G~q)bnGvgH z27}{*2?1$VkvBkzzPHOl1FGloU}h;DxFojj&;?>3*JR8Nwvmr%K*FA-SQ&K5jb&aa zhM5oH*0Ed!7fFOQXqO#A3QZ=*C3*8Y(12*hWOYY2L^;OE*b?HkEJBawN~C}elW16= z+{#%_!}35zLAN<_ZN>~s;E;rhRzQ55F{-K-F&$sKIiE>`Qf zK?=go4bkYyqN9ZEmKG4Dr4JV4k_-(QEP+%TC^EQ98!849Ix0!mO01VOpiBTCeVZ8w zil(As#Osj3ro((HPKYfs$eV=@r0~k11O%*ASpI)X0H=_m@-Rq%(>%`*B)z$*C)@z8OpuniHTpa3p2i<%NLBWc`x#av0VHj9utl(esTY5_wR zW)9&3#zVLj2WKSPAQVH;uyCT_8o5iJNo}Y~VCA$l6Af{ZOdm*y2PoA*rDB(BgF>%- zCJhs5YMTS-Tn3&gcBV>0(Kf8L5!uXAQ?LY(x~Bq50tUILTKAL^uxD3OjGIx@u33)S zXi&9S;&=)j@sPOVQ8N-q>{9{>Yyv71jfE)KLBQyu3l*w)NYapo+{&hl6tH-}SP5?U za#Xa09i#?EO-Kn_NUTSa2CaJ9h|-)8L$zp}4QB@=tzw!K&@!N+(L+FR6yv`WNfHj4 zbm^fbZ?goXvy2T@XMDibFb_V2kI~4GC{6Q#p_pHYOVrBr2!mWdK>?X4z*s-K0n3bm zsHCDf2?4XXkvUvz(d-Bx@KvM!%*5;@o(2Jb%IC=IS^a=u1?*XUZB9a1oiJJTDO{}u z4*-5Ad83+Cz5gML=>+2gF92^l55gQvD zA0MBVmX?u`k(HHIQc_Y~U0q*a-`w2X+uJ*7(xfRC%-eS8m_FegFRbCr_R{d-m+*%a?E8zJ34x{ijc# zzI^%e^XJe1V8B2kQ2fcl$iSe_paaqe@)HBwh6C4Mf351(Sr4N2#sMi&PcQ}HJ%&)+ zDw2EMrcGx7^PJQ_D$Q+Jf9M5>Cv@h4sMlVd#n)elO6_HtdHwm#tc8L2fB^vIS9Jnf3vx?!*&&;v5;Q0p(P|sQ>@~ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolatePsiU.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolatePsiU.gif deleted file mode 100644 index ea820b2ef40506c18a4fc3adc3fad6959b62060c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1035 zcmaJ;T_|K>7(TOU{S~uilg2ddDL*kMBb?UEWShaT<7dqjb1|7QjEo&MIi>R=%oMpo zDM?Z;xS@~>irkQr3naf0C6T}UWf(uZ`+esewr#h4F5dV3&hwn_eZS|;`l|b!YKtbs zgqI}{0s;bpf`Y_iab#qqR4R>$iHVPom&@e|2?+{?A~7*BDJdyAIhm$urBbO%J6o^U=jP_-=jRs`6c`K!qtRGYR8(ACY_V8MN=iygOUug2%FD|u zDk>@~E32xis;jFRhN-EkVOh4ewzjUWuD-s$p`oF%v9YPC$?bM~Jf7y}=9ZS0*4Eax zwzl^6_KuE@&d$!RuCDIx?w+2W-rnB6zP|qc{(*sk!NI|yp`qd7;gOM%(b3Vdv9a;- z@rj9v$;rv7sj2Dd>6w|C+1c5-xw-lI`Gtjr#l^*?rKRQN<&~9{)z#ItwYBy2^^J{< z&CSiNt*!0t?VX*S-QC^2y}kYY{ey#p!^6X)qod>F(lv$ON_^NWj%%gf8F ztE=nl>zkXK+uPf_yF0Jfdw+lb@bKXC`5qr1pPrtcpPye|UVd`GUjKzpK0gsb03pW= z-U;FV!wv9_gnuK&^833v(99pK8l35fk7Nco$?zy}#@gRxlu{_w2CkqYxP%*IL<P0ksEkNyBlXO(-};LLZ<5F=c0fi2?@$U?uce#SP^WMd2EOpaATlu}Uyn;2jd! z2pjt9q8yl{Kj4T!pm7SR%wRB>K#5eOALi{8em=qWFSRf3DW$}Hh}f<^{*Gk*c6%1pz*3U}Ekx4%;ohtI*59L7OmU(}&a$O++1 zV8ZYN^b)^9bud*xI&h3^RQ&ztFzV=PQ$aW(I&#%WC$Ywza9L}oL;1!Tj25cd8XfQL~10*HjlE&u=k diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolateRho.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/interpolateRho.gif deleted file mode 100644 index 44d6c52ab2e15d97593ee4701ea8bba2192cf1a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 346 zcmZ?wbhEHbgwvcy1K^3#ugS9ZfjrdtsNa5y}i9NXU^QTY18iAyAK~eeCEuVD_5@Ex^?UB-Mfz-J$m=< z-G>h!K7aoF?c2BiU;wg)HbC(w3nK%AB7+Xdc#xkM*vbzCoM4LNa9S9kA;MKFG)q8P zh^y6U;RR(uE<=fh0UnPy1l1M_Gz)TN3e4e85YNxpP!#lC=`iAVzF2vkw~Rde}Dgg zfPlcjK$%P?m&-SA-n?bY7KK8wb?esP;NXyukkHW3u&}W3@NgW*BO)RqBO{}uqm@b} zgfK2HE5|5CmR|X zPMtb+`t<2DXU?2GdzK{0^XJbuHa1?kaN**`i_Oi=EiEmrt*vcsZI>=xYHx49eEIU# zt5>gIzuwW&(b?JA)zxLSTD!ZudwP0q+_-V`=FQ&T-dneB-MMq8udna!-McoM?cTk6 z_wV0-@ZdpzfB(S1z~JEE!-o%thK7cRhet+6>~{O;=;+wk*rP{}#>dAWKYsk=$&;r~ zpFV&7+~IJ%eED)>V&c`SSFc~co}8SVnwom^=FQu;Z{NLp_cwj0&i#KrxdQ7Z*(?kr zu#J=@Y9}!6G`5Oo1~3`;XaOWX;ih*hUEsS7!x2snBh z$r52{_Zpa^F4D`Q2$JvAqzT*4_&mV*{Z7LWUKGmzV*nW{qL__KuoB2ftD}+5@pVp3 ziXcIfD{w&$9x<=TI;=)0}My85&@+Z&NwI{QB3DRu1^K$yo9r6 zKlb<)+oTr~O-cd{4(h77!))E4o5{zv20MmAb;~r+oS#}Lo3a@xBEFN;bJrFx0n%y= zW+YfM*VDe9S@mA)W2*Qv^+puoGy!mpH&(hRmL8$;LSh^0DhD&@SsSQ;o?$@%+I+Bu zM!;6%L8(o!%K*$_D|cz5y*Y{xGx4x6Ve!PrK#&%67NTa7!Y=_7XftD%z|cAr`uOq^ zv>m%yrYIWwdm4g#Fw)`ms8Xa-I;145>y|a}2oTWD3^E;imh-XI1Tfq#q4u4K;&h3oQAvJ9?LxA2i`4{jzF==crrm_4w>bi$PJ=|9 zK6Ke;9WX!74Zo=P%~zsDe3FALRj3LESSqE>h$4e|NjT-854SkRZgbY6(#(v&vJi)u zngt=+xEwEzL}gPFY%O$$#L9FE;(AG$N{$!Ott*Mbb$`YXYq4_RP*Q8SJeJWXB`S-_ z2}gsB7J)W zlQS1dKW01Rp7;vtRXdjVhuJ~NV%)v(&H#RX|h+i%vJ4QI6vY#dCXk1*>jZ9@Y61vtS{(2#0H%um<#yq r^e#*6XSKFHTnS$TPREiEk*CQO((apIIIQ)bSbIeYf(xpU{vn>TO4f(5Hqt=hP8 z__w3no=+L1fM~)mne*EIaiVJOZS^rWlGlhyV?P d@M4-n!Gb{EF)LTFAoDRGQr5 zW)>C}*4EZGHa7P5_8uM{US3{4K0bkgfgvFw5fKs5(a|w6G0Dlvsi~5fByW13l}b0v}p0-#j94WTD^Mp z+O=!9Y}vAN=g!@`cON`>@X(<{M~@yodGh3`Q>V_IJ9pv2g^L$2UcP+!#*G^{Z{ECn z_wK!W_wL`n|LD=9r%#_gfByXC%a^ZTzkd7n?fdudKYsl9`Sa&5U%q_(`t`?;AHRS9 z{`2S0-@kwVg8|6Tg9a%6WMO1r2w>0wxd;>|4DA0J0s^%7S*4_;*h~WO0uE6Ipu7q% zkg#U8!>3e1(#tX+z@LX7sK}MU8jn(c$p$Hqv=0MNLx4E9Gpbr^H3Z*MmO)ty$hBfn zGcXVqbw$X4S?;0;C%Nl0SUUhkC51q#3aZe{!5IRboz>Xve4wI0?^`nXgE*34hd_mm z6y)XQK^O@5+2AHC2!WKEGb1?*ssT(H>L6Ujs{#@-1qB%vU@ig`1crV<09dV@ID;I> t(RhI=w>ePW%iYTh>}GswwK(v}Lgg&M_Dks~fI^lSz|YSQc4Q-iH2}-`FCPE^ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/iota.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/iota.gif deleted file mode 100644 index 35e3f8014a84019c3074df460ff4a51e217d3883..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 103 zcmZ?wbhEHbWMN=u_{_@y1afk6W@cu-zP>RrF*!Lo-QC@jCQVwjXwj-wt9I_(`QX8W z@87@w2LqsD#h)yU3=Dh>Iv|}OGZj1_lPk#>Q4wR&jB0iHV8H$;oMHX+=dv9UUEAU0pM0 z&Rnx*&7nhwjvP61{P^)RXU<%{eEII(yAK~eeDdVU>({S8efsnt3_!-A0>z&!j0_Bt z3_2iTkev*yb_vr`BUw@+r^WgK8Pif{rl^FNY2G~CAo(?gd2(u`aYW=aL+5F!l1)H0 ZjDc)vk!B&043b{c7+of&MshG%0{~;WNlyR( diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/k.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/k.gif deleted file mode 100644 index 9306e87d5be3eda9ed16f6610c0dc52da2c9fb87..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 291 zcmZ?wbhEHbWM|-F_^QeP1RNY3qN1V-3JQ99dd9}amX?-IPEIZ^F0QVwAt50V5fMpA zNoi?mSy@@Ft*!0t?cLqoJv}}B{rwXsPMk4g#-c@wwrtt5bLY;32M-=Oa^&pUvllL0 zxPANfojZ4)KY#x6<;z#EUcG+(`oo70KY#xG4+bDxsRR^%vM@3*s4?h(%mev}fz81| z_^5-yOdqvL&WT1dedHOArx?w&W9aK-GSrn?gwuRT3UK~dWMFE#>U20R#rAPHlCiIUS3{)ettng zLE+)yMMXuWrKO#noztgJpEGC9ym|9hu3Wip-MUSiHf`U&edo@d`}XZSa^%RBD_3sc zzWwCMlV{JKefsq2KNx_lp$$;{$->CMpva&DG9Kh71~%gZ7nXcDX~Ho10%MV8jNaS} pj*d54oECaDGz645E$mbfiL!ALVOIuHYJv@FBAa-)<|r^&0|2uDOhNzv diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/kcWater.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/kcWater.gif deleted file mode 100644 index a52771c7786270797f7e6b893f0e659a2b0fb667..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 919 zcmZ?wbhEHbRAb;}_?E>01nlhWTwGlI{QM#!A`%i3^78VEii#>KDr#zKT3TA#+SVF6=2li#wzjtR_V!LrPA)DkuCA^g9v35kh`Nl8g*X=&-{=~-D>IXOA``T3=#rDbJh<>lp-m6f%%wRLrM4Gj&A zjg8IC%`Gi0t*x!??d=^M9bH{reSLlX{rwXsPMkb>^7QG`XUv!}Yu2pUvuDqpJ9qy4 z`HL4XUcP+!s#UAjtXZ>hgHzkdD3jT^Ua-MVw<&clZfpFVy1?AfyyFJ8QS z`SSJa*KgjudHeS5yLa#2zkmPnWhw*5y#oCJfT04G1gB4qzlg5lB^nTR2!{10MBC>glF}T6h$IrFiZ1 zV(ncBs7l~qcS*;h<}1*C%@l-$6}yGB9)gR+5|2c1tOT;nMbbmE1Dpb~L!4r>of3kx z6P%oU0_6CC4)JjcNCBo+CoYF<8zF;m9}742XkIy=6!8SjG+j4k$zUaZpKLb+J0)Ev zkp>$Ut?2A*bG>Yl(Cq94A7&qQrR;2w`Jvec7TMWCTDnfzAR#DF&dvsgn{1kTRGO)k zM>mNHcCovKtq+dvo*z(JfgXPq0q=+4FDb% BWsd*= diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/l.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/l.gif deleted file mode 100644 index c9d557811de270de1f868885f503f86f1e1d570c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 105 zcmZ?wbhEHbWM<%E_{_%u1VTbW#>U1@PEH{qA<4YaW>ySp__Kt+>@!5RR; Ch$iI# diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/lambda.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/lambda.gif deleted file mode 100644 index 241cfa7f3f1e000a5affac355c0565a50c7f5288..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 291 zcmZ?wbhEHbWM|-F_^QkR1VTbWDk>^kT3Wigy0*5qc6N5|?(W{+-hqLEK|w*Gp`l@6 zVNp?02?+^RRaN!%_0y(Jn?8N|?AfyyELgB+&6@rD_a8fU?8=oZH*em2`0(M27cXAE zeEH_hn-3p8eE$6T+qZAuzkmPr>(_rU0NF=Xp!k!8k%2*lK?h_i$WIJx4h})b8W|>f zs0gtaC{FZPG9k%P3CQDcbOuuM8d_bHCR#PIcDgV*YA_3RHm_*mncS!3q-5H_@7&^| Kl*r)7U=0A(6j-DH diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian.gif deleted file mode 100644 index 276c8af56c3a460b7a80977169abf05e06d94af8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 630 zcmZ?wbhEHb6kyKDjFIZ`uh6D#>Td` zwtjwo{{H^K!NDORArTP~k&%&6QBg55F>!Hm@$vDAiHXU{$tfu*85tSb+1WWcIfaFV zH8nN$_4U2Iy?uRsQ>ILrHf`GU>CJ9g~Ei4&(zojQH`^o0u-u3Wit_3G8@*RS8adGq$|+js8VdGzSfD#w&-@kwV@#DwOpFe;9{{0^eKpq9nxw|VcTe-Vy^MeH4!PYynNC8dK0SkZ$ j1vV2MAq3amg+qoPs0RVm7(`qUJa=~+9wRunk--`OSPQL4 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1ABpB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1ABpB.gif deleted file mode 100644 index f1234c08d22c897da1082fced20f25cb3890e716..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2676 zcmeHH`%jZs82%_Nwgm>E=mf&0j*DNpCh6G}Pp-?~= zDGF*b9JE+mj362yMhgPgdSk3aV_=X?bRy8mGP>Fs&n^SsadJnwfx z_&c}yB_F`dumu?geiRDD(9n=drP63L27_U2Y;0<3YG!7}VzJh(TW4cqV{2<`XJ=<` zZ_j449UUE=oSdAUon2g9TwPt=+}zyV-8XI8lq=?d{{^eZiwQE;gTwHv7d_qFP?%lf+6BGCD-Meq!zU1WOl$4az)YP=JwEg?{XJlk# zW@ct(WgR$hAUiudCnx9N!GpQExkrv1$eY^pj?T``YuBz_zkdD3jT=g(vb(#x zr>Cd4x3{maufMa@?>;$bZl(w>C>mro;@2MAAkP*`NYJ;kKd`b@Wjce6i7BlrKcc)ezOEPB5OyGN@4NJNHvEhioYnUQTOI_&UY9B zjLqzKSeg(Oa~gY*8F*o`Ui!d8w@G^}eq<|c2|1@=Gw?w1t$~D;-n9hqiN!I%S=dUy zq(a43d8?d5l7W;}R~?6y^fTm^Ex#>%uc9C6iUdF`_-8QW0)3=(>d$P~rS6o6j=+g}jbr<)*hp z0>zb7EKRMkWg+rYI#vZngI%X8DI}tRVL}GXej5}Vo+!r&Lr^0-2Licpgketl6OX4s ze?&sqRdkw?A*?^tG**KXJoAFlG>hSq@mevfq zs`=~O36d*0JmO(#;sjC&8kzAaj{gw)-7-j@O*6D$S>`t`F z;ArWjo=a=`oV4h)F&d2A7g9xPw*J;PTL4$qs01`)W}N?zw+FP)Y8<~l0)7MnK~+_iNF=JOt7~XzkVqsgEiG+rZ5>(`r` zn_E~|SXx?ISy@pi6l-g18yg#2TU$FjJ9~TkEnBuYI5=$Ewv9@qIy*bNxVX5wy1Ki& zdw6(wdU|?!d3k$#`}p|y`uh6$`T6_%(`dAvJ9h>I1Ox^K1_cEL2M33QgoK8MhJ}UE z>2wBzv3vLKJ$v@--Me?+zJ1~0;SmuLk&%&6QBl#+(J?VGv9YlS4<2N(SceWBI&$R5 z(W6J>eML?hm(?$lA4;DmX?;Do}Q7Bk(rs9 zm6gTia&vNWa&vR@^78WY^9u?J3JVK)Jl?r;=ZcDo&YwSj;lhQB7cUkU7nhWjl$Ms3 zm6es3m-G32fk04EQBhf0DH4gQs;a81t5Foae*Jn)O-*fW?Ts5ZZr;3k>(;H?w{PFM zb4M%|-@SYH-o1PE_4N%64fpTgZ)|LAYHDh3ZfB-_3HKO*KgjudHeS55U(1$u)(YkL~DK#Nj!j5;YA4 z#bEH%GMuYU3(jo0FgOSKR;lAhrh=z@>$OCHO5wz_fQK8xS%WQzs|^KdK7oyV2rvXY z7FzQcx4@bnl2Wt@SVNx3h^y?3m9uj4F$}tQqe3E$B)~j!QcgM&&lEceRQ>=Vb7CT{ zwZ9Krv}z*gb6|t}6)aim-M&aDVi-y4qV+isp~sthY#CvBm?3^Ay4NCCBrcWJ=B&A3 z`%+4ABT&J8771w>p}01F2!d%9!g|WC%~Y||#>|J79)*xc(m)AXpA0*a>rIoE5ejt( zZWyYNn~8&QLkn<&=FRt1AE;vs%9<*HCzvz|N1)7_O6)!?b4+5cCM>7>w22sgtN=s3 z*d2TZszywd3j;WwVD)xR-Q;@<~H@CtwIKDGZk4k!DEh*ixiR#IP#HqzaJD zm{jsQXE;J&u^@rtKg7k4g8Hw_0oX9_j33(g18B61!$9{tW=_fI+Ek237REsc>7bD? zHwEWW5;|Bl!#-jseiV3tUyK35p;qVtgen7AC_42el-TEmOLQ>iv*~AG&L;YwQ!=vt zDwJtLngkf%t(qTDzS7Gi-LLEOKp(js3;~0_8i$uDuIi`;Gz$rr7-*O?b|)GEf4`LP z6Cf%rFbxW0OEKSKAvWlv14CPQz8vuc+c4I(ao_ z2zyImqp}TfQ>f9_L^-YLEcB=x@KD7b@WY<*rG#kq;m9&9**&WsoL7yeBxD>`siWc- z1Imb#7?{{dFa!>c`j{Bi4(e8b&Mtt5ZsoD=*E%*&mUo(%5%M7p!M0#~l6uUqC&%;` zNGOx0>Elw#8&!1SLzeN%5F53)tZ9(E=1Z8vJ)7Z*=iswom5AZ6kPT3|Aw{-P5)F(Q zOubCfuK*v9tCF84^u`P-kRp7B$T3QC4K5fS!36R^Lp*1O5i%{gt1SZHM@alccWmj5 zWm6qwYS&;6J|5+JDU3xAQyeW>S*|iG;)l9iEB{K|J c6%;Cy6(d-MWh*=~I=IRt4hBv~R71A^17wx(#Q*>R diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1AUpB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1AUpB.gif deleted file mode 100644 index f1234c08d22c897da1082fced20f25cb3890e716..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2676 zcmeHH`%jZs82%_Nwgm>E=mf&0j*DNpCh6G}Pp-?~= zDGF*b9JE+mj362yMhgPgdSk3aV_=X?bRy8mGP>Fs&n^SsadJnwfx z_&c}yB_F`dumu?geiRDD(9n=drP63L27_U2Y;0<3YG!7}VzJh(TW4cqV{2<`XJ=<` zZ_j449UUE=oSdAUon2g9TwPt=+}zyV-8XI8lq=?d{{^eZiwQE;gTwHv7d_qFP?%lf+6BGCD-Meq!zU1WOl$4az)YP=JwEg?{XJlk# zW@ct(WgR$hAUiudCnx9N!GpQExkrv1$eY^pj?T``YuBz_zkdD3jT=g(vb(#x zr>Cd4x3{maufMa@?>;$bZl(w>C>mro;@2MAAkP*`NYJ;kKd`b@Wjce6i7BlrKcc)ezOEPB5OyGN@4NJNHvEhioYnUQTOI_&UY9B zjLqzKSeg(Oa~gY*8F*o`Ui!d8w@G^}eq<|c2|1@=Gw?w1t$~D;-n9hqiN!I%S=dUy zq(a43d8?d5l7W;}R~?6y^fTm^Ex#>%uc9C6iUdF`_-8QW0)3=(>d$P~rS6o6j=+g}jbr<)*hp z0>zb7EKRMkWg+rYI#vZngI%X8DI}tRVL}GXej5}Vo+!r&Lr^0-2Licpgketl6OX4s ze?&sqRdkw?A*?^tG**KXJoAFlG>hSq@mevfq zs`=~O36d*0JmO(#;sjC&8kzAaj{gw)-7-j@O*6D$S>`t`F z;ArWjo=a=`oV4h)F&d2A7g9xPw*J;PTL4$qs01`)W}N?zw+FP)Y8v=HK=d(bMxt}bMD^zcmDgo zPXZ+YUb7V$;CJ9{3xGci!)P?x#EBE>bh^2@Ig7<&v)LRD$HKzG($dn}+M3JdPMI>r z#>R%n<2g7uI668yJ3G&qF@w+NySlo%xw*}pIn&+U-NVDf)6;X-tXW=OUbAPbLY*Q=j-b$5C}vfk)NNRzrTM#KtNz%pja%HNF-9JR3?)J2M33Qgv_5m zKQuHnEG#TMJUk*IA~G^^;lhP-xqQ*0MT-|Nj*5zkj*gCriCMB_No;JaLZMi?bZJ~% zTzq`|vSrJbFJG=yDiabC5)%_wtXPqhl(cf?%2lgYtzNx4IXQXFnl&jYDXFQcX=!Qc z>FF668JU@x>(;GXzkYpIR#tX)c1}(Xj^iqoDlacDKR>^qpkTv>4I4LZEGjD6v}x1k z&6`U~N=i#h%gV~i%gZY(E32xiwr$(Cef#$6>gpXkcBs|rojZ5#+O=!_feC5iOj*gD2SFc{XcJ2E0>o;!PxOwwtS6A1qTeoiCzJ2G;ox6AM-oJnU z!Gi}6A3p5v?(XU7dGzQ}Z*Om3U*F@$kDokw^7QG`{{H@ffq}un!J(m{XV0EJfByW% zix({SGMn>Mgef#d+yZ7(kfB5j>ZbpIxQ$VvZ)Ki+#2 z3;+%I5wWA00CXM5WpM0e6?}yT|9a8ZGIiWht(dO=IJ}5WM&%Wb?Tm#-hJT&sf9%Ms z0yTJBqitMkF;Ap2<7Pi99>?>&utZuxEJ(5$%VQeM(lgg9?GWKs&u#3kW#W9Mh@f+h z$J00P@?w25rpqdb@2#TDxNbkA%%LNbzr3k#EF(ov#4a^uh>W`nsq(Y}oS!vb7ZD_j zcLDumRd{qaERfR9IaOVRqPPn3$O@QHN{L`*RRBsj0EYEyCcLs8C+qkU)X|z!o=iId zw2)x(VknRSs%JtTNf_6uug>xGqc8?@9|H_xpm4O~0_fD8Rj^Nm91sQb*kPcY43E%F z6;olqZ2<;nEmlPMfB;lp>%?s|w2~{8>7<(a59Sa1b@Ny~5MbT(qqw#S18~O3KdCVqiVsq)Fh*DDnIUtxL$Rxq6 zbLLV?Y0JaN#n3gD;xBYMr;FLlCBfEWzElZMKOF+9z6ZTz?PB49;*;8K6q>|)THt?W zf}Be94S|RtfHTUBV@sj&yhq4E5SxJ3e&n|Z5JQpC)}e%EYT_p={f>Jv?laX^CZ7Se zlB}QG%R*$CDI!#BlPg$}W%{FRp z0G1AU;KEvO`z=UunVk3&Pi3}9;9J4hMFDq`m0*HwYQaOPNBdMT3};lagcW={CEQsn zmHb}ORHz=CI_id`ocf81HbRzmXG{_ZDdXWj@TmbV@SE*M!%|X2SN+tim64J~O-p8Q zXv34CU4Owkr+sZ#nYQdZ@~U+qm|%-HrGix?-eg2TFvIEwJf4g!bhNUu!5FrOQmU<3 zh!&ov&CcY`MfGNQq=P-AG&6k$9|o-*km7HQ)Dkka6E;ka#$O5aW)Kdu$c|O;E!+y} zh@J@JxiB)*FsO9OKV<$uf)6qRt4~+AJ+H&V?X}_oBAc1zXW%@U45@!2r z5JLR`tlcEC9~4al{g(x_TV+9Ig{`ct3rvOu7;t=vhQ(?Us%~akATq?zQ8O0tGtw17 zcXqSwhyLjZSrddgG~{h`pFnw~xju{tRd%Y;qYA4Ev1V$4_Xr!PN9c`fHm$=+p^2%7 zM{=H>1~;Ef6Kvuu8iA7fv#{#?Z71U;VtqoSl$P~{WT>c%&`?AY1IPS&u`Q6tP+zLO zaG*T=<$sst4$#jZ7FribGjj3whJwPF$})5;42LiL(7SN{}kp2=o|y rg*@b2sH5V~s1&p1592U^DeSxz?5@lBaEt%mkX$fF#T7&r`15}N1DhAk diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1phi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacian1phi.gif deleted file mode 100644 index 98729a95ad4c28d22176b9615300a7c944074165..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 788 zcmZ?wbhEHblw#mx_?FB71gxyA+}zxPf`Sqf5>ir9GBPsq^74v`ipt8$Dk>_fs;cVh z>KYmvIyyS~`uc{3hGu4FR#sNFwzl^6_6`mXj*gBlE-tRFu3lbVetv!t5fMpANhv8Q zX=!O085x@{}o4X3Ur|bLPz1vuDqnH*dj$1&bFiUbbx6iWMtXty;Bu_3Cx&)@|Il zanq(vd-v|$w{PG6{re9bIB@vz;iE^7o;-Q-%$YOi&!4|?<;vBoSFc~ce*5d z8>mPuTrNdh45*w@1IW_`X#@i&rj#(R6gLJSN0U7uOezd2o{}Q0pWKs%AtJJGeEfVcnygaUOdFzBGQzKfS)f%3AbQ8Z{Ime~R} zz<^l-5d;g^TBvfX#>GoPii~JdfqKCkpm?eG7(`IJJ?~q}U|{wK?EUHFdCv1W-*e8l zUH=2yKR_4@oWMvufFFTCAQFir5{XPEQz(?VbLToZIJmgDxVpMhsZ<(`=H}++?(R;f z)0Zz_?&0CVU@(|Wrk9u3>eZ{gy}f;We0+U<*Q{CN=jZ3|?;j8l5EK*?92^`H60&aH zIu?r+9v&VM5fK>~$!4=T98OeJRCIK7OiWB%TpX9njgOB{NJ!xEcziy8!-fq4fnejt zjR=Bl+O%o&=FMBSY}vYXt57IROiUDsL`g|W$;rtnDJf#HI5jmDMbWghwC&rs@7S?p z=gytGcJ11|d-vYGdowaJ_V3@HnVEU;;6aH*B9%&IGFeVej$AI!%gf8p&o3w_C@d^2 zDk>^2EO-;?s%{ra#%$YN1&z?PZ?%etF=Pz8iaPi{BOP4O` z_4?M<*0#2`%a<>=x3?P%hK`PoD_5>`c6N4kbzQxB_1d*-Mx*ii_3Pc;-90@$y}i9R zZrr$e^X9Evw{G9Q-PhN5=gytGckkZ2ckllF`wt#G=-HPoF=3wpc8G;U8v&|KGP{ltchP3p}ybvEKyv$^w4Yp(YKlj;}?g2giN7 zzjQS{dD00rJGPF`SgG!BJ!J2=FeoEW(ldo~AW-n-q8LY^a&{HG8Gp_up}bss85=50 zq}ImNtpYU-*5?O8Tc&WBZsHlbm?R96oq;W9ttVp9p+mFvO00P#{Z}4y4iMnkO!ssv zh$$JL%OcuL1Db;7)sYUrJ`6k#eQzCWq%ex<4=7l&X(>%PS>m3qj$C~7h8zbv z_e&*AG!h0h$sHZBQIAxeFe_3?XryoVqkT_aksE+J4dbx z=GdFjS8V9q90l7}ebFdo21f#~Z031Mc48OqyybXD`6mC_E2#Me% z^vkx~7Sv!*(65T}oCyslO$8-Tba*vpF0+%khvOxK#%0Yv#l_3j6$^XhrQ>dE6 zNNG>YVStefFrUZ6z?&fH)lliPFd$VJfpvjtw(ywWa2LR+i}O3?E?AXvC`9y&)l~M| z5S{XP4FqKY?8KBkZ-v=<#ZRXIumr173PMp6r63C<%8j*nKNy-y2*H3!V6km2)LAt8 zV(f}n2gzY=MilNR6DRW)0Z*&%pt7KS&ba#e0=3v=PH>@#I^TfSWpQ<(K>}$i`LI1$ z2zM|Tre}}0A)f=V6{02%CnsKOHue*sW{3HBJFdTlT3ekE1_M3^b|I(IErIEXOxdh< zvRmle(SpiON>$i;0|&76V$WoMva7A5S_$28?5S}!Y)s}goj7qqCt5qSzDkM0IfFvn z0=b>zYr&M+{tn0uHf3_h>>0F9kh5yWM~|PZWX)&pL3G3>eB!wgsT06yL83{-9iNn~ zs5Ph3rX$NZ8J!zj#XsiV=nwt2BG!*JN$bDSjcD&wq7679dRnlGE-HsEi?*k#{v(;O H7<~6PPif_u diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphaEffhu.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianAlphaEffhu.gif deleted file mode 100644 index e52c23bc6b886c757319a2b76b6aca8d60dc577e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2365 zcmZ?wbhEHb3}X;r_`Zn&2pAa|nV6WEnVC5`Ik~yHd3bnud3pKx_yh$7g@lAeL_|bI zMa9I#BqStcWMpJzW##4Nm6Vi}m6cUhRn^qg)Ya9sw6t_|boBJ}^!4=(4GoQqjEs$q zO-xKoO-;?r%*@TrEi5c7EiJ9AtZZy-?Ck99?d=^L92^}Tot&JUot<4=TwGmU-Q3(f zJUl!-J$-z9e0_cW{QLp}0s;dAgM))ZLqo&E!y_UhA|oTCqoZSDVq#-s6A}`Vl9G~> zlT%Yu)6&w?)6+9DGBPtWv$L~va&mHWbMy1_3kwU2ii%1~O3KR0Dk>_ftE+2jYU=9h znwy(jT3R|fI=Z^Ly1To3dV2c$`X)@6Fmd9<$&)8fnKEVCv}rSD%$PlU_MAC$=FOWo zfByUh3l=O~xNy;;MT-|NUb1A#(xpq6EnBvH`SMk(R;^jHX6@Rw>(;H?xN+m=&6~Gu z*|L56_8mKR?A*C?_wL<$_UzfackjM^`}XhOfAHYJLx&C>J$m%mv17-NA3t&8#HmxK z&YU@O_Uzen=gyr!fBwRS3l}e5ymaZ(l`B`SUcGwl+O_M~uivgPoF(|_Wb$t7cXACeEIU#t5>gIzkc)P z&D*zc-@SYH{{8z8A3l8i`0>-HPoF=3{_^F^*RNl{ef#$P`}ZF|e*FCT^VhFmzkmP! z^XJdszkmPz`}ZFVK#60x1I3>#j0_B$8FWA%1?33_j(-g4XJ?saUt1HoISrGcI@1`J z6sBSYL}j)3l?2SYPdsrc+J~bAlh}g&SnKEok4MG zW~1@z(+zr1$Ip>Q@x|9n=jB-a1-JCy*;%Qn4KpE%x_SE}H>YgfV1(pnorcX~M>9;b z4>y3-T-7?Z2*pG$#!Oy=%u2C4D7l5}m2zd~8hLmX);kXOj$4uIY$` zg0w^Z%w&>qO(#-3;mj;i=JR0B3$-R3XwU*GZhD*m^1RxW89*0Kl8uGyayh683Nrr! zA&@!KG`OwP&N>|gCdtTd9iCaN&;K>8fVv)}pN$u&|C$6_#e+8>22jL~SHj@HNg(5a z1z3co7-;m=BTY--x-8wfKtA-F>;iNLFc7<$?XsFc(JM9u7z!&H4Y?lxwZk0L%m$L0 z#wGzw$qhv;fE05M7v;mO{KS7a(k>a=HX|~zBf(S$rr7T11aL}T`(ev0)`DwtHd7yXR5oOt2Rr)K z2izGdRFh>D%wr&DutE}ftOGb$rwKuW3?6n!jLxJjS_?rYH<*b)-TV*5^$>5I3^E4A z2HYTxB|V0~sF*K3*c$Nls2etdp? zzwce;!@7I#t3L*A11seKei(+Or>85G%IxfHl}e>ns|kY0&CSiv&o3-2)Mzv%B_*Y$ zrDbJh<>loS6%{(2uBxi4y1Kfirp90})YjG-jmCzC2D91R+}zyK($dz}*52OU+1c6E z)n&C>dwP0oHk-rYa5|m+{rxVNYhYktaBy&BWMp)7bZl&Fe0<#Pc6&S?uh;AI`KG6* z{eJ)4+}!;9d>{~D7$z7DhC-pGr6rbSmzS40j^la$Pw~5BEj0xI66`@qP$r;=c^H=C z1&Y3TAf~S0y14O((geOofCA5oNdr-4N!`q3{fw2EbleGzH8;o(yxmD|1}z=iy$aZvh2_ zvzHp-pj`bnO68pwU6UZ(VS{_bPO&ifWsbj+wNo!uvaY~6BE%>ftqS-M5#dU9KT8v* z%)ARH-%N!^n?7g!hL0i?dGx~x-ldfU%eGv25@oT7_oxA&*7bm`=xR$Y;NaFliJo2b z={qM@g=f;YT~p1T(7G8`k@W~gKK?%JnckzrIQwz!$0)>9hUEtYFL)QtI#DBz?0ZX$ zl;GS83mQ__TX4gv?zIQDaJ!x>?biBf7ct~dH#QXbi?Y4aTbc);W!@;5u9y0TX$C@ zH1S!^4E$4_xaZ(;GNQBm8rZHtbM-oAZ%OiWB{Z0wF5J9h5exog+1-Me@1*|SF? zkw~RdnM@WJ7Z)ENpOBESZ{NQC`}Zd%Cd%dVq@<+eg($p8X8WXJbC)`=`&}}G&VM#J$n|z zuyg0moj-s6!i5XX&CM4tUTkS;xpe7LYiny;TU&d3`{m1*J32Z#J3G6&x~^Qga`o!f zYuB!IcXwaEeqE_l_Vo1Jym|B1ty{gly|-`QzH{eJUtizdyLbEh`|sVmcmMwV2M-=R zeE9IuqelY+1CJj+e)8nW)2B~WD%G=R&z?Vj{^G@p!NI|oFJHcT_3HKO*KgjudHeS5 z(9qDkckkZ6fB)gbhmRjWe){z3^XJcMwfbM;!)^5c{EXgfQXmL}*f@QBCm?M#6bI7` z*#ZTM$-X_@l`?*m`nLF2kvtbn);KU2^iRrkhiH{D)!AztsL>O;lX(EQ0&ESl?)f~$E>$~&)1-fz$Jdspo?$k7J=q{c>KBKdS#Me3kv~JZ(MH~Dd z=o;#A6VOt&N*hlZM~=O3*vjNUB0M5ah0SKRYkskk#zJRlF^a{$!EcS9{YZ^a-eiiW z!~;5@=Geqo{yYjYTYxNsWbo@C)JK8lv+v`46kdkrNDHp2FT}@*O=kLH{j82Op5I(A zV$iDAy(kt@hk%-|vGi7w5uT>B9K{TiiC1u`{9U2fC~A;PfdFZ}rh_P!egNm8K;6M| zbl_Gjg|c-G#a&c$fDv|x=cceRz~R}-oQXj28p;2{d5 z-iVqO08%z^(@KRJmCy;rH0EG3sk~F3R)L;^`1990c`DEbJKEI~gMI!YGbF+u%SN1B#OA^z^~k*4Px@aOBrT z6eCNmWhKgj5qS+;Q(O;a>#Vv>%~%B~+d)ndr5D2_`b7bEyYUyK6Gd zMGyTV-U^;Qv=^@xskER_t6g%;*|P|}qAFUXMgyEtQ(K?yTv02M0kih7*n|25E&&+V_zmr_m^+jLFQX(7NhT= zzoIqSt6j7jC!#6(O)*_^QRgJWB*Kg)v9tU)TqDbEK8G{-)dW<$(-H!VLgqQcC9`0N zQ9ma0e|R)^J+4Hoh7hPA0zoF$@YbMS9W8YU-+ZKzi-BPnuF+n)Z{IM4zq$o3$f?kp zM5`^lJHv9#I}4h36jSHoybrOkn|~w2#Bc~@`s<=)ObNMtsr6^0JQJG}URFuW^S&P( zyKgN7G070j9eAh{<`OKwAGHNBoB{Ldnx-Z$k7~UEVK`lt<&2%m1*kHh|Lg>xkWSl0 zT1}x_?L>yu?Rp^I>k_>?6bCz}kC2rqK8Gb$`|u5LwWO(GxwS08(&YqND%5XsPK=P1 zBr0RV7n6!H56(?GJp{YSuKjUX*1|ero)F7NV5=(?D&Du1Ey4(4Xc4j5kQUBo&?_Eb(#DBSjx|oE>(FZm!7F^~h3^RMHV4n-_*n#e z;WC~JjDLFSKo$faK7mXUS#GayG$ZD#n%K(dnmAE@nVcHe+c9Ui*DRmy&3^khOMJZ; z$mYb7q%gi$q6{;iPuV$eFTxs-E;g@zA_t>NWb!#wTRoCHtRxwRUx0xW%RN#{4lF1^ zC=&0B4N@X(Y^FqOKX`@wJ3<#epr`gHgI$kG#7sFCZ@62m1|BlthWy7!7g`{zrGEIm_J+PG}a VJw~T5u5T;j<7U6cyv^nnM9d}GpFuY&8eNrz3!N$lHXYl zTiO)#RBBP@XdjkDek4VbvyAHWAu48B9i>@di|u`01i|zV*!$CS9`5_TuKT*L`yqrL z>`VCphUP;bS|Q}aU@%5TM#jd*rlzK5W@hH*=JV#w!{hN*R#w*5);2aawzjtR_Vxq< zVabvuL?V$yA~`!dySuwDU%uSa({ts@m0n(6WHQ;?+uO&-XVt1zzP`Q`3WZ9gu3o*` z&(F`_-+#@TH30zufq{WE8Z9U&C^$GcBqW4Rr>|YRcHO#lp`oE+VPP9KYzPkz-?(vO zL`1}wckjM^`}XhOpOKLP!*FJ1 zW>!|#fddD!v$GE!I+T->lbf5HmzT$8v-9)w3knJf3k!>iii(SiOG-*gOH0ej%8njA zT3%kx;czM{DvlpNe&WQ5%F4>Bs;ZMGPgYk~bGcj|k5^k;TUS?i>eQ*zr%%_{*EcjY zG&VM#J$shV=bt}+{=$U|O-)VB&CM4tUc7Ya(&fvSuUxs(($aGE>eXx4uC=zdUcY`_ zC=}kfaiguRt-ZayqobpC>mro;`d1{CR(Wzf2|@7#J8F z92^=N8Xg{g@#4kE$jHl=FJHZSH99)_`t|EKZ{ECp`*wVMT%l0Bd-rZ)V&eV#_a8od zP%4!wm1=Tw^5e&kpFVw3tJVLaA8^nA{Bu&7U?4~Uxr08yPC#F%p-h!RF6MZ!1n}nv z#{NMu2fwsomY+Tkp5unkpsmHt4WZ3?=Ae*c&CC|ja&e2j;zd^0hYdhSEsL1~*m8VM zs@ggRS)ccnEOBHN`Nt|(#*0dwXl(UJ))BGPei7L)jmhy7NKAZ@<~_0yUF>Sx3--rqG>ZkV9W?w&5^ZOxigfI1C!Y^l&(4NVQ}k zn4I0f=dI3lQ`DjhR_n;o}k<_dF+Q4#_ntuY3=$dlO~YF5}+g~%y9 zdlfH(K}Rf&l=kl#mt%vi5sV@Y{CZ>|vuW+fw&X^Gn+nq+ST$)K8@7y~CEfB7JFD#xAfqF^+%Pp)Ng$qz!pdM5OWU;a4Um`b_O9Q%? zD;BwE(v7JC_+=8J&1QGQ)@8z(F7xt3NUAyIeH_tVhK`QfK-kqNE5|9&wJU!k)}QN3=l_q?Ln z)6>$u7g>v?Cy>2HsJht}LqDVFw)k&aVS@TNnTO5)S}@kHagL`0C?u_)pQlH0YKEvB zng@@YKD>Sz>o-Y9M%~f}Zq5QY=C9OY-10SvajJao^fM_vGz^pM zREoMCBG>8kJZMtkGqS#s=^8gBVw0qDF@hd4cOhxL6G^k!v&M{7QfR20c$LD&3i|Fp DR(J{O diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDBB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDBB.gif deleted file mode 100644 index 9367fbb5371332ee6cef3d961b2f31bb7156eaf7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2115 zcmd^9{ZCV86n^`0wRDUXvI3$&`Dme6Nl~$2fYIuJQiPRquQGHELoq-i(FGC~iNgdP z;`nH31rY>UfwqJnh*lRRQBhzLal?Qg#3&*n68r!^0G-|L`(Bn7&HjSjpH9ww&Uv2m zoO5q{LR`eg?~}k6V9o@nhrwX5SS&W1jbRvv!*OzQa&~rhadF}Cc&@IlZf(-%WKuDRo>p-K0ZFazP(;GbzdkH1Y{P~PQmHgNJUk*IA~G^EDk>^EIyxpMMlP4f#l^+P$14)M|BVYAQhxBuQ@Fx^>&OZE0y~>FMd)w{PFEV~0kg$;ima%*@=m zbLXyIyRx#fcJJPuot>SNlarg9yJydyy?giW+qW-2Kfj=$ps=uT|Ni|&MMVb=94IL% zIehqVX=&+^BS*^0$|@=Mj*dQj_;74&?9rn~(wn5f?ZPKADdsCrngh@O`d|h#j4o!aq$nVuYd86O&4rL zm~SVHvrO3*S}OT-+!D=MBUNHF#fni%vq<9QW7nf3F>rz&u)n;5Fy8|v9nNnQaHo+n z*K)!vb5A;_1`nR2Q8-PF2GVaOfj0zM(6Y)T~`qV7buhc^X?$CDNJm$cl7Pmq3?!aT9f?ygA zU1(8S{eCasj7G&tcL4Ix=1*`@hTDU-(VxkL<@r1jK6r*OkcK*E5N zfq^C}KrT?_j3yQuwMBVo>W{`PsG-xLTEgsuF*^fQ0@3Px0*U6OFgtTDEv|Q#*~BqZ z25GqjCez6dGQayxg+X@e7U0<`gVAlm3}Qz?N39MY_LXS53TMWI-_WnDlnWA(ls+yS zp;P^p03Aw3pq`^15(8b&q4#Y6G96mShEX>OSslovddh|6AlQNa6O3BO)Gj?&iVF+< zw@=v+eJ}RTT(api6%)%H%t&$MvQM~3LH!p#*5imNcnq)Io;fu;1}D`BKl&{#0m0Uk JXAB02{0G2^DNz6b diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDBEffB.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDBEffB.gif deleted file mode 100644 index 81f8a078b6241cecd234ee1e1ef0a1788a4bd208..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2582 zcmdT^XHb(_6#W7bg9H?e3?P}M$;udk2uL8v0HG5VDT;$Ek%$!qq!v3m7tO-)TA zk*KY$t)ru}X3ZKBiL`$GdP74)BO@bYV`DOzykWxz6B83tQ&TfDvyB@!nwy(bC=?3| z3rkB&DwS$wWwmM3CTnYJ8yg#2TU$FjI~t8gwj^MyJy^ zZ{ECR%a*NMx4OH#Z`-!b!^6YV)6>h#%iG&~`}XZSckcA{_1(2=m!F@XzrR0&!3YQl zU^1C|_Us7^4BWSG-+==M4jw#s=+L2{prFHt4<9*lBse%YG&D3UEG#@cJR%|@GBWbm zv12S2>-h2GCr+F=dGcgbRMhFyr`c?FbaZq~OiWx{Tzq_dLPA1fVj_pbNlHpePEO`> zxv8nCX=!Qc>FF668JU@xJRa}-`SaP?**Q5mxw*M{d3hHuT*%MQFDNJ|EG#T4Dk?56 zE-5J~EiJuz_3E{2*REf`URGAd=kv?U%WvGcar5TQii(O`w{G3Oef!RxJ9qEiy?5{4 z{rmSTD=Qy9d{|XgRb5?OQ&Ur0TU%FGS6^Q*5D0`qVM9YhV`F1eQFMq5 z?d$97@9%&8`t_SPZw3Yi1_uX+hK7cRhet+6Mn^}-#>U>hef#d+yZ7(kkB^T}OiX zV&R)WaAM>fks3MH&1VX^-ySNJ!+sR{7W}gtGW9H%SR0L5nx^ZNqGcNs7k^2LbR|Kz z3&<$QEs4g;t0+Z&N6%u4e0PS{Q2^F+O3_Se#knZrDJfdJtM%GJo!`$7hmn*JQvq7X zM^{z4L6T!3U>6gq0y_~vkLNZpzt<|6EtMvRttys?4pPiu3R@6P*ceam7X=NVj85P( zgcQVB;^rx5ODS6&ZBQM&waWtF0l$jvBUM=nJm(9~5cyS-wN4p;X|n8QAhio&p;OU( zsksu{16$=L_4SS}9N`1jpA@tpOQ##kAbTPKi@k&FVrf=E5rY!}T?iIw0*Q)j3IO@W z+O$B9X-0@hRY42bY2s+#25(?RwJLa+#oDx@H_0ZwsE#NZhLj))c%ejiqkpD42UaeP z9s!~K$Q6EI6Fw1=0ykCIOyLZY5&2 zkgSgb>3av7pwx?)6}n=#ECYn+g$~LU0kH&3J)dcXMXe&QM-Z)XUPVV`OW=K!H2z7Ys4M82&7UM_p1xEN1m?d#jy*!pt4e7mQLO^Az0#>~y zRI+zu@HE-iK`2S40QIgSgjhw^p~-(ffzBTrXPyNhZ@5bAenKA zqy0Tnc0MRW>5bOHejq)P!k!b z7t7(SSVi`TOiL$J7Kn*ndM?%g1(SGcdVs=LR>$rSrtl@3qcx1mQ2!{?^9X|LYhW2D_KYnb@*gy2)UD( zDmyeCoe$p!p@Wb}74cl46@nL4mSxdZ66ybeIr~ylaGo^bUSwW_^gZZq&tsy}^jyF%lS^FbQ0Hyzk`_dyc^kkt v<{p@RbaDD3QUP?~Czu~JFUnH&7jiLHAYC4h{x8VHUY>X12U&oNjZpsvf~%`P diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDREffR.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDREffR.gif deleted file mode 100644 index 9bdd7ff4a6bb049c2cfe06cd50eec4933309cbe2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2582 zcmd5+c{G%37=LGQ7}*nzbZ!*KXu=3t;!c*a%v2bhJCRURVydfMuG^#;%O%AOjTX6$ z?P}9hO6fGX)J)4k3Mok{w4v=#&As3IeJWeGfA9C#d*1hXp5O93&*$w+b99P~0y^M> z3?Ls4hf`8gQdU-0QBhGG$qobpflasTvvx|$%!i5W6U0vPW+^AIQqD70`-Q7JrJUl%;y}Z0=G@7@!w~vpH zpPwI{PG>L}ix)3mvSi89rAz(&{R0950s{k?OlD9}P;hW?NJt2a#R?4#4GRlfzI=Ij zc=(DHD(;Gbzkb7p4RLXC zn>KCQym|AMEnBv3-MVetw)pt?9Xoa;BqSszChpw1lgs7q+O;bwDT&A9@%jAZP-B2ivm-hl%L4jw#s=+L3VhY#oH=N~z8 zq@bWcEEX3R7nhWjl$Ms3m6e@1apL63lc!FdDlacTbLPz1vuDqpJ6BOrasK@I3l}a_ zR#slTc=6JuOI1}>moHzwa^;FtDy^=ruBoZ1t*x!AtE;cCzk2oRwQJX8GMQX1zkdDt zjT<*^-n@D1)~$wyhQ`LmrlzLbw{JH$H{ZE)=kDFREiEmrt*vcsZSC#t_wV0-@Zdp5 zN5{j54?8y?uRs&!0bk@#4kHmoHzv zdiDDC>;C@!fq{X+!NE6g-n@PL_T9U8@87@w@ZrPI(9rPk@W+oIKYjZ2`SWLmLh%p! z!3p~xemUbDx5&gJdSMQD_jN~?JUf%c9`_>6}r4B_}lcrrb6x`>=NkV?qZbP?Ia>+%Ii zo$Mk~;c+eCAVcf4iHTzca_S+vg2b$-$v~oqOM3*9O6878b5N#QV5DDY8nET9pj6Cg zn~hgDLYQSVYemW3fDh(o5+iW5trBlvln0SCWi>o-rh#Q+Dvu8S(hQ>?{G<9GNN!Jc~KxTT0 zHpmD_tXzbo=So;JG4X79eH9!k31u$SgJ6UM5f2+PWD%rd29W|lpT!iUW99%7av)H3 zqEKc?R#;^c%wpM^(}kqaJF4EPZi(fL>3AEs^TI8J#u9Cw8zw_UG)Ev3rbgk-+43$P zm+OmKW~QVxD-#Ac_RUuY0=KHvL?Gq)>a*oR7>#gW_b*gO7$U)Y2uB&L?y&$dEzM{ku%Zk(R0&BR zb-YnR6Ty%hGLM9%V_k(YEJI_tkitcmR-TLXXBl9?U_-zhF=zzzTNVbPRLW^mUGg6> zdodNG($jwZtw+pB!7ub3o}S8Ht(s3kEW5W4&QzsC!`Hvk5Zc2DTqTskZ{|&+@SqT# z?Qb#s19k*~Burq=H_e%2aN1X}krc}RD;*&e5?6C{yqdev;9YQ329Sfp;qZ98nwlDcK+w|CA`*!t5=lo#M^{%@Pft%@U*EvMz|hc;LZKKL z85tWJLl9(UW(LEsxw$!wMzgfEq|@nER#w*5);2aa3&febM!NI}N(b2`l z#nsi--QC^8!-L6WdU|?#d3mu|EFT{qUteE8KRR&P5D*X;7#I{36dWAP;c!Ai zLPA4B!@|PC!^0yYA|fLrqoSgsqoZSDVz^vxY;0^?TwHv7d}3l^Qc_ZKa&k&aN@{9q zT3T90Mn-04W_ETqkH^c+%`GS>C@d^2Dk>^2F6Q(3B_$=LrKLilu&k`Cyu7@kqN1|0 zvZ|`8y1Kfirlzj0PAnETHa0djH8nRkOC*xk*4DPRw)Xb+j*gDb&d#o`uI}#co}QlG z-rl~xzW)CHfq{X+!NH-Sq2b}-(b3Vdv9a;-@rj8EnM^i0IVqRRr>3T+r>AFTW@cw+ z=jP_-=jRs|78Vy5mzI{6mzP&oR#sP6*Vfk7*Vi{THa0gmx3;#nx3_n8c6N7n_xASo z_xBGD4ipN-;o;%Y(b4ho@yW@_>FMd&+1dH|`QO+R$@A9nv2!$i&099{NjzEAa~j%5-`T@0yNor4-RYtm5)wM%Z-^ z$QQv0cxj=MQ9v5?CNVJQ(H8>(i0J=EOAB`dkHg+Y$mbbddtj#=VURBu5*%q5jp{R6 zxYR5qEo2Vfb7G?HkQPCiB8Hpf=ja0HA-D)eI>n|K@UM32d#3AMOj?nxZh{60`@Mn& zGYt$T|8$T4{9MAN-p*o(;P{=Hgk!Xpw4PG#QK&_ z!eE0hF_>KPo^noXLm+~~aejz-x~Wn}AAlm%q2NbNjG+=U&C!7Hj`S8H_$jUyfh{aB zm|d?;LxKy0ZeReI)BMUf2V%iPSU#i+0E{$G0DYvbq$!{b4K|5*WX>F~*4kW%Whz5q zvNJ0kyuvK9L`wk4Vhh!u3^iftEKvXeGAY{M4maf&HxPiW8^sw@mJ8IsmP%Ey0x;2{ zh}S_}6dK%3m3F8W5c+*mjP2An`Ph|+?u{00fbL^D2uym~w5x)jEvVLnQ=q1-4)SnH z<=1Qbi6Z&}*_@|K-WKE!Uy{hyq|3YKK!(x$*?~o1O2nr6f*}45b*6hN9l|VL!f1J_ z8?pkk-W88N9~DxcTpAL=f1SuQYSAoOCw9eCUgc1gGki-2d5@ii@m1wFO=G=71W`s# sx%2pStv9pydB3TqawGGZN=VS~AnHa4WfH!^{*ixWl+F-Cw>5#?Kcr*MDgXcg diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDTT.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDTT.gif deleted file mode 100644 index 0da35d5f5bbe1cbd7e70a82d8afb47a3968f4e2a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2063 zcmZ?wbhEHb^kU#=_&$>X2v}HHSXo)w*w{EYIQaPZgoTAgL_|bIMa9L%B_t$dWo6~$ zAq zY;0`o?Ck9A?HwE(9335lT%VsQd3jY($ccC zvvYEC^7HeHii(Phi_6N&Dl03is;X*hYwPOj>g(&9nwpxMo7>vjdU|?#dwcu(`ld{o zGIi?IY15`npFVx&%$c)h&6+)X_MAC$7A#n>aN)v5ixw?jym-lyB}2A@#4ixmo8nteEI6tt2b`kxOwyD zty{Nl-@bkK?%jL$?mc|?@bTlvPo6w^_Uzg7=g(ifc=7u6>o;%SynXxj-Me@1-@pI# z>C@-WpTB;C-s_}E1n#pI-7 zrinniS|((Ce0;p0Cl<+4rXt0oa9t9<9zlP86dpX>FE4k-CUNmfE(R@#3opwEp*nRX zE5wQ^Nu5BGHOmAjYJE3m3q;QurjmcDXR{AOdk0^MYQGF2$yW9>SuoK!)W9_sMF?T_#%-7I;o< zmj~I-(gIck*Tu_};0BJliHQrqcJVM8AjPE+4>+X0Ea?K7oO!8*xdXx|VQ*0Ljb*rU z@!t|p|8^gcoQXOEgVZD-;|qI(5?FP~0$>OMrMwsqfc*otHHV|+;*ytwEG{5jOE?7& z@Hv1Oo|BhZF#s7?7PPAQTJC~`rXnzzRe+=%8RQ^pm@`3&UkY}rPU-?iuhP+e;S`{V z3saMtuiHFm927GNKqKQF12D)gPi4-1HUScLvs!>gJ^-ble+&VT(BxQh5yUX&GI@D& zK_`EU)vP*@Il;3T692_Ob(x&yganXD<|<|fP>>m2IS}an51Q;*p0Io2 zlgywJb@ooH@^vL1g}_(^stMf*bI_$F><(xcb_Ggy{($P%l0(Sx40gTe zWF{jh18y`b<54kVAF2p6>cG|qPc=Z(E<9CUwg4K>U_S>yLlY5Xn!&rA->LED}%Ocz8I6 z!-VPkii(Pkjy`(y=&@tRVq#)qV`GmWKOPqs7at$b<#KsEUP3|wpU+Q9N)iYJ z$;rtnDJiL`scC6xCr_SCPfyRt$PfyJnVFecSy|cH**Q5mxw*NgPoK`q%fm2CBoc|m z;{5#lf`WoGXU-HB78Vs1ojrTDq@<*@wDjV|itXAvn?Cisb59j9Q=I7@h zKYqNpxVW^m^yJBt<>lq4PoJ)?uCA@Et*@^?d-iN&V`Fo3^ZE1VFJ8QO`SRt~*4Fm+ z_Rh}En>TOXzI|)6+5SWy+|&Qxe~>`vYa#&v1^5hd!`}oT*}#Dau~ANC3KaCc#W$0KEAk*&R`a%4pBZ2UNEAy`)#34gh zr8VYf% zM-QnFqINs8m`LzqehQYM*7`&Hr4DA)-lrM$L`9fDatIcuh!P)H(MEt7V0M)PqS&aR zNGM3g3G#jj4y>05gUK97$Q}zoJkDMI?k@2{JhVg!5_ZH*TkE=JXg6 z>w)^etwn8j2wFMS9~9xaBtG(kM0Y{~#t+4dEdpk@diWKN;o>J2pk1C~pmzKC4ia2= z5D8kvnH>&YnAJoEJ>n{%1_^qNzea5k-o8%YIG819Q8j`kw!e|MFYx+?`PD`>0%MqQ z#e)WC{o%ggjvRhrkijb}!0>!&?qU;;LC@_woEW3vS395wg_uX?;_r^CjsmzanaoCj z{W?23lYCy9C`B{Y2^;pJPK0!v18{XhqCdyvd~cV{zoDz|!4za3QCvG`#*Az~)yIBTO{1HR z{}H@O*ky(e#Q-DOtxmU(*7Y+)yqAv|P5 zK|d_Qm&p`F+sCW9j1H$&Jn75CIutql)e*zq5$!D)=#irkoqkMQr9nfXeXE>@k?PW4XAZrkq3 M5t>0RbMy1_3knJf3kyq1 zN=i#hD=I3gtE+2jYU=9h>g(&9nwr|$+B!Nqy1Kf0dwcu)`zKDEIC=8qDO09Qn>KCw z^yxEZ%$PZI=B!z>=FFKhckbMI^XAQ;KY!uEg^Ly~TD*Ai(xpq6EnBvH`SO)3SFT#M zYW3>XYu2n;yLRpR_3Jlo+_-u3<}F*cY~8wb+qP}HcJ11|d-t9_d-meXx4 zu3f)={pQV^w{G3Kef##EJ9qBhy?g)u{f7@9K6>=%@#Du&o;-Q}{P~L)FJ8WU`TF(i zH*em&ef##^yLa#3zyI*z!^e*wzkK=f_3PJf-@bkS{{6>~A3uNo{PpYC@87@w{rmSH z3_uY)3UG&j;!hSv28Q_zIv^#WJi);6kHNn7*O!-4;mQ!!kmF!J+D zVJf(Hj0nc4Yd6kgRJTQON!W(v?Q5w=z~8H<9B2ZcyhEEN(7gX*$yc=40v2y>SP z&|y|ijcp74{VvsXF)cU+aq1GbqbP2+T=d`t*cXYFAAkm08dM-z+QQ;61LDEXo^Bwc z(cu%w()zG}6+oBqclpoP;P?R!h1p>&$Zox?-ViYXYLJB-guxYv6jE6U55Ts@3S9(Q zF9%Yr8PEx~EJX3tasvhdaJa~e&qmVq>xl>RB#47D8K#37ERz*-WvoN0r z+12Rq4-^ctkeC;iW0-H3$hZJ#qPY^ptxJU%I357?2hU)Gsu5ss1W9RfHGrZ8=tSWI zU`Ib;X;|n#|I!*rAj&aVEDCvY3F4m?_5;iP=Lzii@g>uB7DO=zF!{LxwY#t#gs3^f zd<@LcQaU8q#anDwtJSplB2Yv_@xaHIlRM18c4hK1cv)KvgmjF~VsT}%zfmO-r0 z6lhR@Im~~4m;%^`ZqmQoHA_#`Mvj!+lA{2w96b^6@E-6?SeRzg22Vxh?2bf6aWdXR$pw0jW ry&u9q7?#4MfaL4I diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDepsilon.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDepsilon.gif deleted file mode 100644 index d28d7544abd9c324b71af679a2142e17a4b1164d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1859 zcmZ?wbhEHbv}53B_}Qr5X6EMR78VwkmX=mlR<^dbc6N65_Vx}A4vvnF zPEJnF&dx3_F0QVw?(XhBK0dy_zW)CH0RaJlfq`LRVUdxMv9YmnadGkS@d*hDiHV8H z$;l}xDXFQcX=!O085ub_Ir;hd1qB6#g@q+0C8edMm6es%)zvjMHMO<1b#--(jg8IC z%^e*bot>RsU0uDsy?uRs6DLlbI(6#w>CYdhOb^>({T}x^?UB-Mjbh-MfGP{(}b(9zJ~d=+UF6PoF+}_U!rd=dWMC ze)Hzd+qZAuzkmPX!-r3wK7IcD`RmuO-@bkO{{8!pA3uKn{Q2wGuRnkO{QLLsKNx^w zYZOp51QdU=FfuUoG3bCy1?33_j(-fYmPJoaOjLI7lfh&-GCsm3g``;M*u=%c!hQ!D z7@664Bn=#D3Xu(5tgrCRqUebRJG+oU!hszNj!ayvENlT$EMefm097m{`tgwlXM+mF z8G({~sP1{eA`W(;OH(`0sS9FuJUYS8096yXh`Rvh_yRwRA`?ajhOt|>+{A}q z@4Rz(0A|!N{JT>q!r~wb@qB9=T=im3PnlT8g5wjF8~SAKS~{YHLTA*R0Lta}Xnhy+I!A_!5Rz zu;Z;5AM`1^7f3w;x=^s)xKBov>A^8@?9OEbn!K1zMaD8K@F-YBl<^;f!$Ae0{;P}+ zK#uN{(L4c;@Meb>9zeG)mSKNq(ZqBZC}qR9p@9*kEu8`AGLMsu2B{7p{|Gv`_vHao zQ^EwG_E!ua9)nyT$(8~R7d=);w8%5q2>C7mNr{<2L>3z}fEXE0TwO6VAtEOPrOoOvOvP7LbU-o-rW8bE6C`?6Fs(-xG39!EBG7@s8UW5yr2zl{ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDepsilonEffEpsilon.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDepsilonEffEpsilon.gif deleted file mode 100644 index e4937677c4b436e9668c777f83ccd73437962a31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2365 zcmZ?wbhEHb3}X;r_`aM02pAa|nV6WEnVH$y*}1s5`1ttv`T2!}ghWL}#l*yp;w6(Q$baZreb@lZ0^!4=(4GoQqjEs$qO-xKoO-;?r%*@Tr zt*or9t*!0t?HwE(9335{QUj>0|Ntt zf`WpBgF`|>LPJBt!otGC!y_UhA|oSXVq#)rW8>oD5)u*;6BCn?l2TGqQd3jY($dn? z(=#$Ma&mI=^YaS|3JMDgi;9X$N=iygORK7?s;jH(>gpOA8X6lLo12?kT3T9LTie>& zIyySKy1IILdiwkOCr+F=Wy+MPQ>RXwHf_d?8M9~4o-=38+_`h-&6_uW{`>_C7A#!2 zaM7Ygix)3mvSi7!Wy_W?U%qP9sx@oYtX;cy{rdGAH*Va#dGoey+qQ4tzGKIZojZ5# z-o1Ozo;~~a?c2Y9|A7Ms4jw#s=+L3VhYue+cI^1^<0ns^Jay{SnKNh3o;`d1{P_zP zE?m5L@zSMBmoHzwa^=d^t5>gGyLSEh^&2;C+`M`7)~#E&Z{NOi=g!@`ckkW1cmMwV zM~@yodGh4hvuDqrKY#J!#j97Z-n@D9_U+qu@7}$C|Ng^=4(_7JzWw;|*>eD9{u%qv47682(vSLq! z1F{b>g7qweI@pP?`uGs$$ZT4WWc)w?r1{*6^H1$BCHNJnTwYhY~axh z2MI94Re=d3T)=?{^M*-fK_f5}#6fWo`T!VpKm#8cGl;GV7W7%*v^5DL^2#vb0NCWD z%?x1evQi10AO?%&35;YbbySTXDCM^CAy_Jr?~dcqWB=HILUVL3FskqX8UJ{IQ5QOc zrTE4TXdEW-NHl4{!jlV%H9sx}%v(K`X?y z2pZ%yY#_!|R$)~(s8Rc(IpTJj*QOEV9cO5n*i3{tpb&jV(|o<94ZKj zIj*bo89`EC(;WJt+OMwkn&t+w>*@-jkbs3kCC8e2jnk82G?;*v{tKDl#GnWY4{yIJ zpr5l&Hgiu6Sm^cWK@%j~m}(ti@Bo>}s&!9CcyGx6|=xeP;y=9q?&ndjw6t;rnzNP-AjSDY&=5y;AxNrHj{|DpKV+k!CeF3` z%m%d#W(U(ll`{+3;{q5Nh19sULdv~BMqiyRifJ@NTv8B|C1IY2x z;vus>Jz*^M3X(8d5iobs7FJ%cpP4#fo`<;ynCS!|!GRFLRD&Vn`V?HgEWDJ`cooD;^X5J5)u*<6O)sZQ&Lh=Q&ZE@($dq@Gcq!=va)h>bBl_Kii?XYDk>@~ zE32xis;jH(>gww2>l+#xnwy*3+uJ)jIyyT$ySuw5Oqein;>0Oarc9eQZTj@-GiJ<~ zIdkT$S+nNMnKO6p-1+n8FIcc(;lhQB7A;!5c=3`YOO`HOx@_69<;$0^T)A@f>eXx3 ztXaEu?YedA)~{c`Y15|7n>TOUwr$6b9XogK+`W7Eo;`c^?%lg@-@g6(_a8WL;NZc7 zhYue({T}ym|BX?b~eP;&*I5aY|^T}8gJdjXK zM=@~OkpQ3-$}$pR4-N!2H_i2(ofKdIQ~YB=TJR)6C$R0p!p5`baZK0*v2>;3Mikp8 z>+nFF%5@^=))$X17Q5L;I6R<=Z@%1+d09=)5MqwJ$ZWGf0iX!bUnXlGp!y=IE(c_e znl;Obe<0T68LYF-N(DY-fF1p^U~{IhJmX|YaHutiEXnz$lyCtQKtCf5Q5@87_2&jS z?A#1&z$O}Uo8<;6JDdk8=5_j*aaqldNiA}dG00>Mu^gus#^WHVs}oQil*Mu5Cd3>c zh|56cRDDT23bxb$q*z|t#PDE1GSHkdmYiE9t_|~iXFsWd*gkEE%}20-8GI1!E=-dk z3>Kg{w^Y&^X8F$kldu8gXC9wEmPq*$voKQJ3DLw#Cm%cjtSr}gBrBViHQvq z&%p~><3YjE>D2B!yCepvc(M{F_dXw>l<)!H*>5;N?hs}vy3+%3(Cj!40fz)oXkL(k zh=OO9NC#52SkHBQ607ZCRV(}F-k63Cn@3J`PDT0kC~ zEXLgrF=rW{cEJv?Vr_o2*ohlXo&_p~n6pfuDGcO7kanG$8yACPSFW~VQ)aNDwQSan zjmk^@9qw|1CVMqgCOb$RvPYRsocQ1{C=LU3K(?y6NIU@tCr|`xE0D49$HvUbvYJ8j zJSHl!f^3CKxyzq{DAsH>%N0^)T>z4bge7U@Tmwx?K_-tbBDBNJ!N&Lz0Zf}9{~(-! rFmO}Kk#jhtprHWQHDd-i$lS0SbZd)e7ch&$RpVjY$+;yWz+epkmwPA! diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDkEffk.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDkEffk.gif deleted file mode 100644 index c9cf52e5fc51665cdfa3a6c6627b287d7086bed7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1877 zcmb_cPe>|T7(Zd$9z{5kh@gniupGK!TtiArNt;(Gnx)B*AwJ0y5iMFo5G{NW(Iz5V zL=e#;TGXONL_`tMqD2(ZBBDhQ5fKqZ1UDk+zVDnfUejBbw|KwB%=!NP&i8Moq3N%x z>c86&hrTBeASWkBCX?mmHCZ$K#!yofzY;uCDIx?w+2W-rnB6zP|qc{(*sk!NI|yp`qd7;gOM%(b3Vd zv9a;-@rj9v$;rv7sj2Dd>6w|C+1c5-xw-lI`Gtjr#l^*?rKRQN<&~9{)z#ItwYBy2 z^^J{<&CSiNt*!0t?VX*S-QC^2y}kYY{ey#p!^6X)qod>F(lv$ON_^NWj% z%gf8FtE=nl>zkXK+uPf_ySw}Q`-g{z$H&K~r>E!V=a-k4*Voq{6r^ka6aIY3%|QsG zuY`}x1m(RYp*bJJYX4aOpR`Ud#yYu2;oe31?;Nx3_1`1M367=S`F z$%Dkj>c+LGnmKzk89_w>Dsm)shoUjVmMJg>T0Z57%V=mwm%toiu6jl$#WkAfq4f{i zmVo4wNt%*=GWbDbVu4s;#{vowmykX#dD8C3G|a53Q6;2#8&^xIYeF$WuTHUl^a&?NK z7HK`yOc|VC1VP6_OtA3eBqd#)OX=Q{l@J{CyeD7 zhwD_Tx;j3e%m}y2>dXpaihkpvMoVF#hJ=l5=CZ#pYGei6b+5ZJ3hntT8 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDnuTildaEffNuTilda.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDnuTildaEffNuTilda.gif deleted file mode 100644 index 42d357da36ce086165749a2d0ccb502f5bdde146..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2455 zcmds1`!|$%7@wiH#;r5C49UijJx;DGWR7wjluHPc8d@A1+14ed)5VIj)^*!#A;(G% zj$CHSC5EX}<5FQFx0#SR$!$efmqeM}@ArLOlYd~}pFZb#zR&Y~p3n0Feto7#J8D8t&P%$H>UY*x1;_#ANT@y{4w76bi-6%*@=}+`_`b z($dn(%F4#ZhDxQ{+S=OL+1cCMJ2*HvIyyQzIXOE!A3Ai%#l^+d)z!_-?eO8l?(Xg$ z9v+^ao-`Wm$dMynUS3C!9zAyK7@bb{_V)Ji@i~6{xUa9TpP!$~$zU+foH=vh!iA`)sOaeEix)4(#KgqK#l^?RCnO{! zB_$;%C#R&OT)K2AH8u6>)vIY~X&D(A*REa5%*@Qn%F52pzJC3BPEJm4Zf;&)UO_=Y zVPWCTn>UM#i%UvMN=r+bOeTxPx^?T;?c2A@%F4>i%PT4>Dl04R+__U#RaISG&1SP} zYHDh0YdIXw-Me@1-Me@H{{06J9&owby1Kgh`uc{3hQ`LmM~@yoe*Cz(xw)mKg~#JP zdGe&SwY9CS?dj8}?d|Oy9UYyWon2jBd_G?w5IlSKtf!}^x3{;iukZQu=l%WtLZR@* zix&d}1A~KuLqkKu!^0yZBcr3EV`F2lUcDM0AD@_*c>VhIn>TOXzJ2@d-MbGTK1@zd zPEAcsPfyRx%zXU#advk0)2B~!b93|a^PfL|{_^F^!oq?`B>ETq;G+B=Kl0orJPyak z>A>dTP2dP3T&R%4m=Lh&?2z?fKP6%#*ZRlnEPbbXWyb|96X*GU4w5hS2iYcGdb?pj zVv^OGTDFDu#i05~akyVoDp~Jz+Qxja5-JMbFb{Za9{Ef-gN=Mps4e-_d zSok^bMS#^JmC9tI4U$yFfh9Pt(Uu8{iq?@{QK4AE@}WRC2F4pVHL@V-ESq?zBKj5I zMh=6_MJ201@;laOS9S0-CYh#H7z(_NYB$sut4_qbVqoX5E7gJJC67hH?}9E`zDoIO zmuE2b3O2Bmx(pN``ORx+URe@mVlvx913`%7J{`#G$D2>ply|S%mJtZ zsg#n4#V2e9%Nc_nLZDhBhp%N1HiwARfH&L4&y98i0J(Z01R}QyfO&b$!c+q;sR0(f zNNM;lsun4mlCxU7-;1{7fu6U`$D(5isrsQk{&EUbfy4LX=~5MeQVc1#7}S!gj=;yj zqD@Q2iBE!Iq`1VQ7SG+dLIBDo%SXN;nXa4%jQTka6&j9^Ag2fJ5pou7r4xOCW*{t4 z44Ozca28;6i~XeUMnSpnKDfXt2Kb61H*qqe1d1)hgz?<}gyko@sfnp{_7#I3E;#jF z(k5k#;RK{;8>&m2!P!ZKkLoKK{t{AjT}VZX!hVqVOQd-R;7ZF3HYB+0G>@`IX=F>X zxnAh`$Q#Eg)iR_Mq@6*OHDc3+CIl+*iBwbm2LI diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDphi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianDphi.gif deleted file mode 100644 index e7b3e4efedd9e99f3ec11b66969d5ff81e566d77..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1910 zcmeHGYb@Jq7=KlX%MOmUZZ(%$IorzOGOBW@`zUeAf+k3a*;?>QBhG@Sy@$8B^HZoYHDh0YwPOj>g($p8X6iK8=IP% znwy(jT3T9LTcuKITU%RudwXYRXIEEOcXxMhZ*N~;Uw?o9z`(%Z;NZ~E(D3l^$jHd( z=;-+P_{7A7OeT}d<&%?>Q&UsZ)6+9EGYW-bc6N4dZf<^lUa3?rEG#T8E-o!CEiW&x ztgNiAuCA@Et*@_dY;0_9ZhrjuacgU9dwY9lXJ>bJcW-Y`rBdzh?;ji-93CDX9UUDX zAD^6@eE$6T^z`)X?Ckvf{L7aw7Z(?omzQd_`X6}EDgJ-{lLNNrcnts~fQn|Le*);J zfg`JrJ1wR#CDfY%&-3Yzp00z5ZW3z8VAF))Cz5;GQjc%Tt7`?{nA=Vv6kd$CJxMZc z?FSO-qjB&RoH+-#R6KCeVXmd{BuE8r;W^{YLTCmq0L?Scrl{B5vOjqJb(vlPRPt zdXPF&OWwD2xFLq%A!OH8;9$WgI>pvZiNFkkU1$(IRc+$W=k_A$Bp{*kG}aM2=p-^W zjQi1hkkkr5u4ysf1ZzhN_(-TLB}Zt_HXq{po^-r3Wb*KVI5p!hF~t)grSThxi>`w( zUuqA48yj7UUx5KuTI(rFAM$sZO*Iny!6~t3#-t%&l>tL5kL=h>&@HxPNP3zQA|&whYG+1oRq(U?Na#P3LB>2Rvk(NcRXz(n6vhO@(d-FNvn ON=rl2s4P7l;Po#Wj>C@t diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianFoam.gif deleted file mode 100644 index 912c3fb28d93ffe8471c2fb96ba5fdd233bd0c63..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2265 zcmZ?wbhEHbjA7to_`ZPw2-w)zI5|1Fxw(0HdHMMG`1$z-1O$YIg~i0g#Kpy>q@-kI zWMpM!<>ch#<>i%>lvGqyR8>{g)YLRIG<0=!_4M=%4GoQqjEs$qO-xKoO-;?r%*@Tr zEi5c7EiJ9AtgNlAZES38ZEfxB>>L~%9335gHvu4e@b?erz zU%z3)hK(CHZrZeI^XAQ4wrtt9ZQG6=J9h5exqJ8SJ$v@-+qZB3{{06I95{IJ;NioE zj~+dG?AWp6$B&;lapL63lc!FdI&GI{vSFT*SdiCn{ z>(_7Hx^?^Z?K^kw+`W7E{{8z89z1yX@ZqCJkDfev^7QG`XV0EJfByW%ix;n6y?Xun z^_w?u-oAbN?%lih@85s;@ZsafkDoq$`uzFxmoHzwe*OCG+qduEzyJ90@c^8x?7&!hh6lQdaYKN_f*qC&*3(iRGbXkNd0+iCR z>PJ=sRs50BnTvh-!;1QI_K2G@7E$ zI1!6E2*)4D=s;Ks_t)v8ldV&u4L~Mo|AO2>!NcIzf2a;&8bga)J)@($pa*_Z_OkBGs7RT&K;-4|IM zH+sZ$x;lBUiEw$4v8u>X_&`KF!;ubE4+mh7t#hdO^n_tf#6}-a!_-w>vm!QnID8U* z?6D?d0>gujsn3~aL?q}PVOp#hrsJXi;(}$N$}~-eNl8b&wk+_{5f4l{8dTiEC(Bfs zWY{3AeNEVEqXRH)zV;TjDq&FRTKd#!RYViZkuK5KT%3M$V%7kI<2Wc*4Ic=(8+m6Kt4#6~8LF4t#HItEfnN25|z4^9{MNSevSpb3mr{dq@P@JIt z?;4{WIPAGwrU4z@xWj?nVNpc9!;!A1?jZlHnbRS9x_@rO#u#uaWwPG*$wlFkiWA5` zpw!;50Op@H8hS}bcQqdA(`1+c4Dzo^VE@dtVq{BL6Tx|nL+OAzI7v5N5bB=HX0b7e zal>JcZeWi1!vRcX*QN?Xk^neXk47aNKhNs1@tVtn&0InaAsdre1w^{fv_>SD9O(*O z=&2K|G2x2=>j6I<@2G%=uBSk|d>Q^6ndHLYGgV(y=jbM9H8D=zjS`FrBHTg@1_}Eb zIz+uEGyp>?(oztTByA5()S9;BpTx>}6BtCjy;xM1DKL5fQ#*s>#se`OrA?0g5m6jp z9Fm?f$p$kl`oggAV33ZRph6%YP3hvYT_bRi@g)nh zQcaA&i-nv#oE)}Q1)$(zG};>E>Z$}37CmEW1}A$~187!H nvrdEitB-`z#t`(y0BG_m?)pe;d zopizuvc@HX)U8B>2rGtBS|g!pT6KwAsTDzLT{64pe4j9rX7|_r-0#<$bKduPp7%M= zC-M<;zX|&e7=hhl06#LBOrcQp_4TP#Dvd^?)9J>>#wI2vOeWL9!h*$OvDs`(OG_&& zD{E_O8yg#2TU$FjJ9~TkYuBzhI5;>uIyyNyIXgRZxm;IQS2s5|9*=kZ`gM1AcY#3Q z>FMd^<>l?|EffkxB9V`ekFT$~85I>36B82~8+-Te-MF~8goK3TEv>DsZEbDs?d_eNon2jB-QC?iJw3g>y?uRs z0|NttgM&(?a(H-HrBaQIjEs(sj*X4Ic=6)p%a`Nh<7%~fVq#))a&l^F>h;?mO6^78V^%F62M>e|}chYugt*Vi{THnz65wzs!; zcX#*p_V)Mp4-O6v4-YjO&0qM39_;_`zjMHHk3s@K0=`C&=$`;o4Y9nIngiUrCdrc3;ES5gE;u7k{Q7?3a-rqS?<{NTySRfesZ`~!BFPq@p)Ia>YHblnVviGh zO+FY#1ucC?C4E9+!yZSGvPNVIG+bhNM>S8!g)%e9@rLZ7=3o-m-f3+Y*nop`NG}pP zuzmzB0Gr4u(+b`jJ%aTQagvUAdEp)DP$CQ5hvOZpBW1Yt#i>7;;YDCRE`zLxHl$?# zj*zQ<*o>y-G0}-EVvN`aZ`ZJ*Fh{t=9bLO6-Lf*QKWEfF-nH}$ir`!-u zhd$IC44!6ac5W2sev6JCL;>u4AuJ*d`l00znysTA_3XSCKO)1z_1q$n7m&E1-_K;2 zaWkMGjthW2g8=$!-;A%pVZoSPMp}8`3>=R(0s`NZF=7|~u3M#0Em^r-qkvxZRY&-I^mo>y1nY9Z;FhVT;GcpeSk;oD}*(1%ZNSV}l z0*DQ~J&t4Y87_zelHrNU5JTf@dO%r)(-T^8*12jksDm+i3do)Ap%ax6cEKgU93wJi zz6ufvHN^6n~xsi~34WD13%t*x!2qob>U3h*4EC>&febM!NKA2a+CmxUI;^N}!>gw+9?&0CV z=kq;1J-xiVyuH1Be0+R;ef|9W1OkCjDD?OD4+sbd3JMAi4h{(k2@MSm3kwSm508k5 zh>VPkii(Pkj*f|miH(hoi;Ihok55cY6pO`4NlD4c$tfu*si~=HX=xc5888fIW@ct( zWo2h)=j7z%<>lq)=NA+d6c!drB$A?{qT=G>l9CdsR9aeET2@w8US3{VSy@$8RZ~+_ zTU%RKS65$O-_X#|*x1~1%F4>>>gw9s+WPwX#>U3h*4Fm+_Rh}E?(Xj1-roNH{=vb);o;%Y z(b4hou|lCZIXO8!Jv}=+Q!15zVh4S^|IdF@fT|$i0D!?~=os`*0HP9n%F8u*DVIVp z{r$l17v?{eu9}~@1<0jZ8aCBm)_>KPdhemh_c_-G(wKUn({3D~C1X;Kdr?oyy@!0H z8Gk#OgDo}E%7tLsZFTl0QS?9sgOYpqCZ5e(*$@nH0G(`PPLBnzU#KwOzb{k;&sZqb zZ)}`%e+D8I9Wnl=8@y^P5IVF+03hIvNa>ImCOD5cgQV@ArK*wtvns0K@2?-cKwq_n22r#A8QaXfz${vk;lPAWXLX7sCoSRPI1a zFcG)mD!@R$iDFiaNIBXP6qp7|l_$eX5>XacOLI+z$aj&Yb)cN z!W0K(%EZ^`wJnh!w&M#D8(VgL(DUV9DHNTqZ}Dp7%1a*-qtAQH*?9dP%y_V#{tero z8&CaLRUpN^JI}ng0wvFKIv;4E@#77fV4N?BQ4>_Vt|P>>!^j(HB7X!a(TtwH{hJ&& VmsW>iP-*|#M2C#oFWor6>MxB2s|)}D diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaTheta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaTheta.gif deleted file mode 100644 index 62e6c1e9f5f24cb14d2bd6e8f93e93c5bfcfc492..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1808 zcmZ?wbhEHbv}WLE_}<0<1S~8ptgNg;LPFx=;t~=PGBPrOTlCT3=4=H})W78aJ4mR43)wzjqo4h~LEPA)Dk?(Xj1-rhbwKEA%b z{{H@ffq_9mLBYYnAt525p`l@6Vd3H7k&%&6QBiSmaq;o-2?+^_iHS)`Nhv8QX=!Qc z>FF668Ch9bIXO861qDS#Ma9L%rKP21Wo6~%<&~9{RaI5h)zx)%b@lc2&CSg%EiJ9B ztsNa5ot>TC-Q5!=Oqeuj(&WjLr%#_gbLPxhvu4emJ9pl^d5ab;TC!xx(xpq6EnBu? z#fnv{R&Ct4am$u1TeoiAzJ2?S9XodK-o0<%zWw|6A3S*Q(4j+z4<9~u?AY<+$4{I% zaq85mGiT16J$v@txpU{wpTBtV;-yQME?>TU_3G7Y*REZ^e*MOc8#iy>ymjl=-Me@1 z-Mjbj;lsy|A3uHi^x3m#&!0bk@#4kHmoHzvdiCbbn|JTty?_7y^O$ z_+_n1UR+q{+|Gx|So@*~mlRa7?*Kqi~I+PPSUw47R~%rHd;;*1bGC7G8|75LHm`^Ws*5{LLDtHnwg`ofx3M+WJ9HG`LHh>r{&mAWMjn-@|00l?+Kbc*{ z2`507z5HqL{K7&@`7bhym>ynOD9FxtccsE(ko93TAX_1B1u_)XSWba#Y?Y zE{#)tK#`jUg)anz+1mN0G8Vj;AjFW)Cwu4+&_JM+D96W&LdTs#O zB?>h83EKfKaXp4T79|=y4bJUsvOohbuxo>T(ZS5Xzz+7;$tIBPLEz8?N&PE%A;8O2 z%qP1Ls9MpS;S12{1!opICo%vTD>xeUB4Dv0!@ytxw%%6+Y`q`{*ytAm2Y@C%Wc=WK zzS$BeQuI0T!a@ygpwS|12SAS2jrf>&77_|ej<U`KN@2seWm$f0Q?I!nfiCH;7lLE=BKdw>SM6OaH!2GH|wZzMfx z2U*bzadWXw2})#uZQm5|N^6vxjyGs{@4>2_;EhRp1ajC8S#A?p@{-MS>=5-bsoNrtY~OT^~gd*uYT{ppVUFb2uDJOG|5OYg=1eKA$fT2pk+79334+B9T}uc5-r(NF**U zF0QVwZfCd4x3{maufM;4 zU|?WyaByg7Xn1&dWMo9A(~XXfj*X3tkB?7GOiWHrPEAcsPfyRx%;@#{+1c6o`T2!~ zg~i3irKP3i<>i%?mDSZ%gTb)2wzj^$zOk{fxw*NuwY9yyy|c5kySux$x3|B)e{gVM zG#U>N508$Hj*pK|PEJlwPfaG%pX9?k`2YKlCLlWIPyjTz;QIKV0ImrripAmbgmM}# z8$b22-WIy>c;@TdG-#^b4Z3pvoeu{-)vsD!5Im-1#wN-vaY#gI-m$Pp#w+|-^!cPJ zJ2<$EpAL^z`r`Z7FYt4B=@pXi1G}nC_05V|U^PIaW&ZY(J zK)ML~(os%NRsbig1V~>mKDuXrp+V^|8?_uJFyZ_eo|G*EcE0n+zDQ5Rx!JCtkg|cjrv|TpfNo5=1tK3v`3_WM3H$$Fi_#F!hL!9P@zTWR^0apVsFPf{B9z~1B^_#c00M$2 zu_Dq>ISddk?`_phm5R-XbO|ffTuwqaLTr%dXFyriJa%$xDbq6@43Gtw{u_7VxrJAE zc5ZVN9b%)Fkyg1^&sOJ*R|j8EWSZ9!8{H8hN{2bss}d`0_$WvyOh8bvhhnWiDXy|- zba)MH(H}T8r4B%z6Bbh)b!vyCwv;q&JBV?3ImE+a#pCPJ6XU0V! zG8dVI&|fOSOyTd@VWZm4;=wuUWx;|+_2^9gRp-Gut56j4b|EBfD8`q3xyEG=0=mit GzrO&Z$+PwV diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaVV.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianGammaVV.gif deleted file mode 100644 index 3d2e07bd57c9f36facd1609c6b6e286e2c4f8779..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2098 zcmeHIX-J!A9Dj_OX_u`gTAWQMHimQoCs8wvc;gXYO*GCrwIVb%bEepORAGJ)U+~7W zNgXCCt0fBF*Szt*(2CU{#T8rBYS|Qzx`|9@wGrXKC~WncGvdiYT ziHVU&B(brvadB}{sr2sMyZ7$hOGrpaN=iyjPEJWlNli^nOG`^nPtVB6Kv6U^Gc!9o zJ2y8sFE1}YKfj=$ps=v8sHjLLla-Z~DHIB&Qdv<^QCV48RaI48U9D27YHDg~YisN3 z>gwz38yXrK8ylONnwp!NTUuJ$+S=ON+dDcsIy*bNy1Kf%yL)U-An_F93+uPeaJ3G6(yL)?k z`}_L`2M33Thet<8$H&JfCnp+><}dtUkN5xiZw_4l!$1!JIk3UTVBZ8V(tsO6C0D9e zA#&FHm(;g*|CD;aSQn{nRdA&fSyvq6ms-VRIiFA^=O(k~a=g;w1*Le(_iTz8GippH zx{Tgy_V0!&z$qbBoYWpMO~qafCn*W<%EH2Foi`n zMde(nA)w+)rzaml$(oHwJ1NZ&6l-}DanHHHoSI;wa@Lom((hn@@qNKrr)VF69K1_b zVk>7|A?-bWhGFzT3|MShDcB_85!Oj$TijVfvio^h4FjaXcIK~G*QpCNdLj%iU$9Rwj0fWiZe8)m zd>ozq6y>Da=*VjXU}ar13EMDZv|NSlD|g7y1^hK=m+4~ca*-?aek==-*Q*FZtfYt} z>sexslx7Mpt?4i@uEr}WBpQ?x2H}%2(k$mbG2Bw$cp!QB8?Kr4t#j#w33NeQ!*m3^ z&)%)uEfqSZgHY!iVl_YI>1&rl>jE(u{<(x#*T?fsZzK?NF3~G>`wtzLFrL1fqtYO$ zeLAizVIuKqLCv_Y#6+BsWVm&g4Q-*b82bG&`LoL#uj zA!F!V0-*AqtgWp{B$B^&H#RmlE-o%UK0YBK zAu%yAIXO8cB_%aAH7zYIJv}`mBO^02Gb<}AJ3BikCnq;IH!m+QKR>^qprEj@u(-IG z&*uvSf|8OFp-?CiiOS2%D=I1~D=Vw2s>EWkL?WrFsj024t*fhRXlQ6`Y;0<3lF4Lp zxm=-8w6?akwY9akw|8`Obar-jb#--jclY%4^!E1l_4W1l_bZjkfq{X+!NH-Sq2b}- zk&%(n(b2K7vGMWoiHV8H$;qjysp;wInVFf{+1a_dx%v6|g@uL1#l@wirRC-2m6es% z)z!7NHI+)WzP`S(v9Y;P00;OdAcGso9%=Cu6384W z{BO|j{8HQ1ZS(7QuUhCNr2&zi^s(8a*sIj(0goJuv;D-3kdn|IeM7YQ`|p@{%%|@j zDPZWAR~j2pUboe2^sT3*QR2UL6s z{h^Vdu;80dnd?3mOquEY0K|6u%h`7^cmM>!OcNj$OD`iR+|eGQlz|66$V8noAh!Ga zdoU>zJZ$(IuNYKfPX&2VEQVIZ*ve9|GWO9=F9vQ;}mK zo+-HED|A4mGwG!;u#^^{0)*nnI8KS0*%}hSNE;0uv=gK@{fK8;4FEbapX5b5HDH?k ziZOuoGJwNB5BZ1a@XT90sWkY* zQ?+SNpAjPs5E6cZ5fZAJ%rw2LXky&^mI5tJB=ABrn4PvBybYO?O+weAt%rJyl!^_B eU@lsFkbIRuy9CNi&Py%RE&-UuXg~}Gdj1c>C{hpr diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffEpsilon.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffEpsilon.gif deleted file mode 100644 index e86c9b6485ae22ad7f59cf7534d772d90c8026bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2183 zcmeH{{ZCV86vr>pcD3MWYdbrcVug-U2{1rFUM98|S}G8VC5o>g8%hE=rr@kgWJs~C zV4;>R1VwrUY0w`QUJQ__2+lq)=N~(Ete~La`0?X~g@r{$MJG?5Jay`nOeQ;h`gCb&sa!5ED=Skd6iTI1rBavTE{!x|bI8XFt0 zUAxxQ)TGzzo12@jU%!6i#*LPime$tRwzjtR_V$}MZ+3Kabar-jb#>jkb?f%++js8V zxqJ6+Pft&8Z|}W(_wL`n-{0RqFfcGUI5<2!Y%mxeJb3W%;lq)Ukw=dnJ%0T7$&)8f zpFVx|?Ahq(sL^N~8ykD^;>Gy*xXEOC`SPXNY@V2yc=hVl>({T}ym|BX?c1rTsdw+* zSuB?6>FM|H-_Oj=og>zAB^bK=(7A2%O0MO>c1yL!64e49pnVj9^3?{ooTd@l~vtEFtDr}urhY{>8TPG9P zs`d<#lp1~5URKm83HnLT)ZS0S)%uWRnKvwBYGg28lmD+`9-42 zsbSQS$Z=rA!m9nP-71h#+(+Xy53dT>;N?9K;3AsXVg}t0XQiwLYexmFW?HcTSd1s0 ztGN<-$HG`(o~y1GAere0ym^j~h~8KRSzC|{T~;}CAwWCEZ=^HiMw^IOC0u6E1-8*; z6NDEdRt2588Dz$b0*hA>h2)c_m;xBBeN9%S}E*|H-y^I$3VtuB&k18PtVUgshZ$t|S#n ziN$5L1A!80Ja!xqF(@F~Xn8)!^1=qtFEw%62CmDmKn_1~v9~Q)T1O!LjSqZ1MUBg9 zpdrvz*tY{8xP6lWs#vT4nhjiO-f%r?YyPmxWz~;I~?HIht9a^px zaLCv168y;mhlEPo)0!)F%808-v6NiYf9rvl2hg$xg;AQI)w6@3#Y}dyNe0Rb74{gM zzL_rnW=YRD;^J5&F#`&X>rnB6#avm+O`1~Bw|)objBfaA#b3|&=_|TGiDnIh|D%s% zr()&=B7-*?$Wzj%O*D7$B2SJJD^JT@e7%c7i!lYpvx>?k^cY$&f_MWtvO<4%=(=1x KI)}FjiTW3waPfKo diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffFt.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffFt.gif deleted file mode 100644 index cc39f6c2866faccef95a914ec51755307b9a4865..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2292 zcmd^=`A?H~9LJvrxdb@_R+*EQw&Q9lt02M%bl8^Cj-wp4HKH7a!O*0T5RDNmj6x}w zt%4jIK?WO0)ltzP#yA0$5~8A5@rVKe10oSnITX7+-=~K*=wGnsr%%4m=Xkx}pYPL# zg)?>rB*j4X&{7A4JTMHKo10r$SXf(I+t}FH+S=OL+1cCMJ2*HvIyyQzIXOE!V=$Oa zn>M+)xNP0J)z#G%i^bw_I3khg?(XjG?M)_=w{6?z^EI-0}b z#KgqJ#>U3Q#c{dZ-Me@5csxFzpOBESZ{NQC`}Zd%CMG2%B_}7Rq@)N0g4ER1w6wJJ z^z@93jLgi;0|yQqJa|wj6z1gQ96EI9@ZrNpjvUF&&CScpJ9g|?etv#IK|x_*p;#;~ zDk>^2E|y3nB_$RYV)YR10*4EY4 z)z{ZIG&D3eHa0aiH8(f6w6wIgwzjpkDHMvcXV0EHckcZ8^Gc=i!i5W+ot+miUc7Ya zQdd{k<;$15ySuMkxpMXD)oa(TUB7<4r>Cd4x3{ma@5YTAH*em&b?cT&r5YF*7#tkD zef##EJ9qBhy*o5CbpQVS;o)JmTK(|h!;z7ZM~@yodGh4x)2Gj#J$wHA`RM5A*x1eZ{++1b~xU(e0W&Cky-EG)cv^XBc_x9{G) zTU=aRT3T9OUS3&QdH??XhYufCS64rN{HW1r{zV^fGyVq;Zp9RaASFZsTERB~S!$qE zm7K_~Ch?VmwE;Z~|Fu_ZlZ{UlzIjMPhtMKB*Wjbeb7LuHSfdd!_>>c09;)k8zqhb) zthX2~=fUBCaB7r?qob%<^Z51+B8rxIBNk%>pCdIT7|mKMkY$os38rgQa%cBqlp`BX zxBC_?6ZeZ1u^6jwEz|^f|0`_-3VO1A)=AM}wNS?%3 z7=g_?P{Y8iVG=TewH{TfS+n_2r_)ljY!2Og5{1V!Vd@a+mLd{A-pW@_wB}f%^$#Q_ zRI3D_Ff$6)dWSC~#ZxW6W)Rkfp_0?XinL^@1g-Tb{VqtLlA1v!BtC5rwO+9Wg6xk2 z!VohsqMc*TS5o0Fg5gTGmsWBRspI1*z)d%J%8kukAEI+gwgm~gJ5kLWV5ASXX8m!O zA+#Z1nGHeFR1FZe=md@wK~@6Qrc|U)od+{(fuVKk7h1jv2H5d97HS0LEp2XWwVW(k?GJolDfi;n_v{=Yu+@M1 z*iy9(*{1iFeRRV7OoYhhnUvqs!7LnvVwn9?903Ag2Wm7Rw97(H{NQ2|6DNR6@a?QB z$2tK#z=4jF_@ZnNNY`)@`a85rTP3y>dGVE9G~thkFB(1@0#0viwoEl{4Q8Z+tEjfv z9DHW)!Wa$tQw$c0-6rI+!N`PlNLx-Tm?wuU#&>q1uKPwYZCWaJgy?b3Hv3g}iiJo-zMUtsEqD6vwAfL!k-$`pXc0WJA9Xoae1Ox;I22!ci zprD}O;NYD*cZP(7&}g*K(9p23u<-D3I-MRF85tE7#b7X^qoZSEV|VY~9Tyk3XV0Ga z_;@ChnUIi>n3%YC@7|=OBo>RcZ{NQC`}eciYz~KW;J|_8jrKhK7WMmvUa)ig@WoBk(Wo2b&XXoVPlq)=N~(Ete~Kvu(0s>@#95B zMJG<2;Pd&##l-@FKqwTJl$4Z}m5D?mu~;mTNXpC0D=I1~D=Vw2s!p9cRZ~-Q=FFMe z+FGepdj9SNIwnXS1)E`uXW)9k^tfj&DbPJQ7@lGohe4xrrPA z#KMB4zuC)8arnnrVRbSNOYA|`nj@2jN%5EtT~pI_-%#l(Q zNLGe>Y+yvWJs1ZB>Wuy3rr=$(UCYj7+??1H$l>oKgJ|1X6F_+wSQxOakv<~cigYCl z8e%dOOtb<#pf6w_O>7TZ<`~kU%I$9HkX3PM;4|jE1kLFNj=_LL-)?aT2~k^!0Ow zI#3MO6@&rFHR58tk5Qr?5SfVp8mmfD%mSIj((x;dv(PMP+J@1I3Kr9grk~Ae#pI}M zhyj_8J5SBovI`H!!9#%n;uWI!CpWJu)Cs%cRRSZMn4`4UiWxalm3-!~r6WhNG@2_D zNjrr@2YR7CgTx|8nG(bB){`E0#ry#ygP%{66-7>usld56C0vnjIBgGNxyVry+u%^2 z1qD}UE96R%nci5IYAXk1!B~3;Pz)Kh`g@9j1`tlaG5omIObTs?Lbar4c^EF8qU$`-*s)b**Ds%*5yIwY3#ewYXb(=t<@H?jR-r5o zv2?TZMq_$|+fj%@4H0?~V!Oj>Th=L)*5mym;BxxDjOjnyfC-O>?AF$a Z_U*MHbFyiRydN93D$LrnnJgL*{4Y^uxrP7$ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffK.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffK.gif deleted file mode 100644 index 53f7ca625298ca72e16841288acddea8ea52893c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1343 zcmZWoe@Ihn82+ZM?YfxS!rNUeT}d0|&6#92Lt@!9{}|mRR=X)?WoqrP5uWl7VWy*I zC@Bmy6}0X}>l&G@j(PrBq$C%wWiK6uuE63}NYf=?t8NhFf^_;{I2mYkfdQmN9@(=#(Ov$C?ZT5WD_u1=@Z>-B|& zg$9GcXfzfV7n@9`($doM^74v`imIwAv)OF5T5D=*YHMrj>gww2>+N>C!{KOdZf7 zlr2C`405EqWb6rZ;doFb>R8@XO0$y3P$Hhb`SD*MB$ZK&U@y%cg{|7?5+OnXl{Ki@ z_Y&so3OP(|x=b;x>LIWldxoTMRYJgorWtSutHUymIL+4ceCjxauqO<1CL2p!ybU)z zt(hbo;#a&7LKTx#rWps&A>JayV&u z>Od}bvLfa+R>{w_Wd9D*G9|fVwB=c#ALU1zUASMcEm!%2M>@P8vDk*#$ro5fbSY92;Te8=8?6~G5tx(jsD}di yR1MQ)#vNGTSY=yT^zgzm3UP?I{?%1$PDMTF-Epts*H#~ngb4CNuTBz!a=rp+umLLo diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffU.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffU.gif deleted file mode 100644 index db1b443f882fb72a37e9cb9428aebfb29e76c96d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2310 zcmd^8`A?Hs6n!mJHiLkaack1T3=EW|0yPx^mPMe9g|f84su9rvt)K{EKtWq5Du@I$ zL`4W?CD=Dk-TMVXmDV7{MD?sm>S?|#9YAlC8? zQNRL>Hvsq%2m})o6EicjdGqF3Sy@?ITie*!P$(2Cl}e-0Y;A4r?CcyI92^}Tot&JU zot<4>UESQ=7!1bJrAyu2-90=!JUu;`Oy;s>%UCRymzS5fx3`avkFT%qiWMvT{QUg= z{R0950s{ksf`WpBgE<^dXlN*x%MA+)3l9(H@pust5s{IRQBhHRK3^aZ#Kgp`UcFi< z6s}#ncHO#l>({T3jg5_qi`%$yV|;vkLPEmUty>cl6O)pXwr$(Cef#$0peZf@?ug9r2S z^78ZZ3knJjA3j`ISXfk4R9swq^ytxJ$BrF8e*DCV6DLoeEGsK3FE6jCsF2BIm6erp zxxBi%x~8V))TvW-b#)4bqM@NdsZ^dmeY&x+@$A{NDwXQ|`STYpT)1@U(&fvSuUxru z_3G7Y*RHA6>ZYcq=H}*>mX@}*w)Xb+>({T}xN+m=&6~Gx-@bF_jz**D=;-L|?Ck35 zx_9s1{rmTOdU_r_c<}Jy!$*%EJ%0T7$&)8fpFZvD>+A3DfA;Lzz`(%Z;NbJ;&tJTF zF*GzZJUsmJ<;z#EUcG+(`pug+Z{NOs_wL=u$jIpE===BY$HvA!eE2XvK0YxqF*!N; z@#Du&pFVy5{Q1k5FIuhkFZ`iX`2T&hNkakvO5luENB;yc)`B%EQMZC$FHj1<2gP-r z|CIW^_}j>aiF2avxB#;ytmIy`#GpOTYX$|=NGhL|bb1bIHZ?# zH{ZH&p-XZ|T<%~P-3?rX6iA^s?$Ejg(`nf z30aL()|Gzq5%4$cjY2h)h464n@Tz*Eu^n*d;Z+irQka!bt%DI6NJL!qf=sN8Oa*Wb zQC-ES)7D^NWO%0_6FFrIDqtkdF}p^foZF(e*c>AnByDXXV8<=WHg}5-6(K!DQfvTz zx&HYzh#e3hSIG~C2Q2C!(4vqS{S46%EFx&SppGEmsS+_IJluv@Yi*7o7ZfY2&_oeG z0Z=(V>XbPGiVn!|sw87J>~dYc*=i6w1y?nWmCoVDKwxSq4u|di%{kF@H@0i>mX)TK zwmhZp2m#dc>AXw;AQ#kA5z=csDo4VE5_d))cJo#&JV|)u03SIS*w~}P!8Kn&sh1Sm zLC!Omc_v+y4sz-le9^fr-L)oSD2yp0s(;a~Q!)o+2cRurF;#2eBvgfZNOfAhh%z*B z5l#L5KhHD_f~n|QHEqDEh$8D3t0N4cK|A&rAsrNI1D*)iFqcmMhgphj1EaZIIZkyO zI%C#+3!RQ>^`tY9^gw)(sI}dHD#a}o$U{`3>fbmx!kX5TYmDAW$E6QKxKwP=EGbw_ zstT+3G@j}@U>}{40v%tFI)p-^wzAnKPF16ct<^dm-&j6H79L|?P3xF?ji3J1$OT92 zo6wobIWGEhrgzo@h?o7VDg&D<=iw(U021vL6 APXGV_ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffb.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuEffb.gif deleted file mode 100644 index 1bbaf869392ef41f111f30e2d7900137422b137c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2183 zcmd^;`%jZs7{}it1?gZT(mEv)Kt!cozzU4pGQ=1*YJ*a!)q=$eWY7pY!p#~GSuKK4 zu4UXLQ0lg{kqQxHq}2)(5RDYD3P_Z32a$|RMNqrFr!TD*=U=e%)5-Uo=XpNQ_c`Z> z0Dn&}CKB9VVq#)yYHDU?W^Qh7VPRouX}M*~7Aq?&EEbEy z;kItwx_$fh9Xoc|*x1uI_}xC$H~db+1c5}#f3;Dy1Kf$xw*N! zyL)(eczSwzd3kwzd;9qK`1<-DI&{e2-=9Px9X@=ROeO~g1|B(bdbiAhOG$;rtnDJg6=`@)3_si~=HX=xWPUQAC<&&bH& za5!8pH#0LcD=RBIJ3A*QhsWdP<>lq)=NA+d6c!d16&3OM{F0KA($dnhva<5>@`{Rz zs;a8$>gt-B8i7DiTU#p>3PmE3SS-GA<3?Rw-OZaf>+93?E(+t|FrB^jZqLJfxZDvgFgXn)y=PNpl1B5uH42szGMFg*o}ZYU#omOgho1gJ+`+cR&l>T;ilK zA;081Ne8rTokx9Q!2s+!>A>f^Kr-)w7C|1k(>S)2%|F-;TGrs`3!-AKu@W0Fdt9w|Xcqc6n#6n=ZXT{-`$%fNsroUfkw`}wu>Q{21?~`N*BLTA z+TiFzt358pdE&4kTq$9WM!J5=?H2wraL>*uWwPOU7!85w=A#t_=~V zVa1@TdKM=K%1|$8HSQFAnbmcbBC*D@)!CNmG)Wk0FP!JA{YaDv{NS`?ybKV9U;ax) zAVYiglb7{1Yyy_unu7p_KO~p36L-R_zwRGCug1u$X_Cz-m=ITr$;IA7P$h8?ls^K% z=J#q9ZwrR3^;S*44izWFg6ilP1)@;L+phchzzQ{5!x7U`A@g-s#>tj_ihv5FLsIYM zFX$h!dIwLa2)jc~CeBku1v_byeU~mNXJC5z?gZpf664W-8c*tVOs!TW-562;v`QmYLtR!eT^Y2Y?uTFRo+70ri3w3HUcXe zI6ilfC@ccT#45D|mta0jL;s_?UE5V+cNeW4aH2qK8GZt8!z3OkB)@BVj)UvaI`1EI zT{kFzV?7VW(N0!w^mqHZB6^gGryP*6-37fs$&KDneh59O#@K6*5 zihzQYLBL+5fIvj4mX{(UJcc!jQ7Z_M#z#Ra;G^3;w{=*+WdHB{b@DyV@9};2dii*6 z|2ZlgGKOYqA?y$c1U)@H5{U%Eu#u6GiHQlBOr}sMYu2n;yLK&=N~O_g78VwCI-S8_ zSX*1$*x1_~L`FtNM@R45w=X6pX8->Ev9Yo7@$m@>2?q}zJap*L;lqcI z9656I=+R@xjvYUK{KSb9JRXnF=clEmrKhK7WMpJ!W@cq&ojP?YJ3IT#nKL;#Ik~yH zd3kyH`S}8YprD}O{Q2{Rg@r{$Ma9L%7cN{VDJdx}ExmN(_7GxFL~9Zr;3k>((u)RNB_o*52OU(b3V_+1b_Ab?45V?(XipcklM}^z`=j_VxAk z_xBGB3=9qq4h;?6yLa#Y{re9eJ{%q%e)QyNm6MZ`Q&UsZ)6*)I>fO6{Gcz-@v$Jz^ zbMN23|M20%$B!RBefp$UtN+FiScw1Aq0Q+NAV>^t1fsz=0g=>Dq=c(d$WTPgS$v_n zzWrKiaq(9pd#78uU8%$sRHr1Ryp5kha?!z}SbA11iLUdYfM!Te1ntX>sXzOlU4pYi zWgluyXl~V{xc=IU28&{~B4-JKY8?#Rg)Gv*gvJiLbz?FHPlqe+)XC6Rt_MwuTb4Ms zZcxX&Hp0|@vW#5;ZPF03FkK7*A|6qHGVBSKI75r?D!yb-@zp;IEK7`;kTLvnzDzBc zB}-+i{`o?v6D)5fz&D#bYp)q$RdU)&Zsam8GeZNcSU}O|O@S`JK2D!xi_4fM;}ItVjzqyE?x{w^atMRa&qajU*xtgK zsfajw71zPa1+4vnI+vczJnV8h0TYHIdP%KZ0UZ))^z^WJ;8M=A@YE`VDaKSD5at`0 z0#bIV<3OsSF4>?;YPMa>2{6Uyl%9qyX?tgZkH*a)o|Pr&+R)1fT|YoCWDGT9Q*#~I z3KU5p0*5HY&?eSG?}gspSPh%MJpDnT?fUXQl$A_pk>0|6`G}bHJ)HkShI)C@GY6)@ zJJoUeN__uIqPK4j$?(#%DdrrAH>Kak2OcfN4YH3K`1iMBpakCG%$9+bKKG!Z(nw?- z4Kmigfq(U2KqFUNVf`~@Wk;W6=Vo&kqz+O;p^ z*NHxCT7&`q?=B-nvdVH*( z95ydw(Yhv9GW!`nt^SP4*^2$T{un}$bZ@1+zN;HW)w>L-qjeeE4>&1V{4${{bvaXAv01Udc#K{A`{ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuU.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMuU.gif deleted file mode 100644 index 38843bad5186d7373c8c2747a012d825afc7339c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1910 zcmeHGdn~JW82)LSsTw2B`J73~+O#-ZYaAuiJ=UY_I4;9lBh*@liNuVUNu->(WW~`q zG8V(Zkw#+9oEkYKv~I1-Xd?uP)MatWgbF6$h?!SG1y?HOs^Ssad`ywJA z`uU5(z&qglTY!E90)a>*l1L;=OG|5OYa1II1VJ1f9jR2Rv$L~{iwliLV=x#@CezK$ zjm2WI*=!FF4=*n-Z*Ol7hvVbpLPJBt!otGC z!y_Uh_FFYoC?g|7EEY>7lFZD^?Ck8EoSfX;+`PQJ{QUfaf`Y=r!lI(0;^N|xl9JNWQmIs0 zQBfh2$!cn9YHMrj>gt|7dnT958yXrK8ylONnwp!NTUuILTU*=O+S=ROJ3BkOySo(% zMNdypZ*Om3UtfQJ|G>b&;NalU(9rPk@W{x>=;)|QrBbWava+(ey1KTuw!Xf;v9Vz=7&bRIx3;#n zx3_n8c6N7n_xASo_xBGD4h|0wkB*LxkB?7IPEJox&(6-y&(DoUlq?*awgF z|M%ZGKr@mo0FVI|gopnGAYTDTcCs={*TIt^e-C~ozy7z9S#w;Yrwn=7UQe*JrTXO= z#%LMyW`NFG+6|8V9SRlgDI=oIZgoJdD_2`l^N~gst^6%H@6pe!F9=`;A75fln&BAB z(r<8d9pS)_g^Mp|{U%hBt)+Bq3q{ono@}Q}psZF)vAqi1c|VvfSe_xqR=zT=(F7Fz z81yTWP?;r101vZ6ZY!-s1Mv%O#|Ok?NM_%1uj;l_r0Q}xgnqE|L`M(&8eyL_v}>Sf ztEiuzpd12l2L(g}?%ODrJMSs4^ueA0&Cs1Bw{esT3c(MmU+UC$@ci;oE=6@2L_W}e z4z((QJFf7XdvIqbAVb0|07~IW$8qigAjRysYl*qQ|EP&qiW@|=3_^P*MA%hC7P0v9 zXP#G3nGZnN@z2Llr|-YP?Q{Tu0VQ_4Zv&zEA6N2Z%K*#p!t4w}4s#kii=NO<9>aX? z8ec>+SdYB}N%E!zZTFw4XfD*N{^oGjh+a-w_%SJlK2h$S$9-4b_$;Ppe2T?iaoqO0JTaWgjaFF?sk z@&tSWWm$SgO`EF-AE(o~Fd!RnR?f@Fh7WOid4=n39XOXM+Nxau4R}?X6n%? zIhAtFg;QXf|7@<3YJ^=+r~avA>iN`!NO%3rw6m#ZDq-{7_=t$_%rfSpZ%U{j3K<0a E0T0xu_y7O^ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMutAlpha.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianMutAlpha.gif deleted file mode 100644 index 1b7a7fdb7d8c2f9cf31031c8785c112aaf793ffa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1910 zcmeHGYb;!882-$RQn95vVOy8z>6v8`Bh=8AkWtReA#1IP>$;6=%vw#`NYrX#w3(!? z>6wnruyzTSsYJ4<`)%DBm$)T@5*p$X#3kakv3tIQ&9K@1wLka#`tm-{_q@;heD4u> z@E<;ka0Pnc;4L6O8jVJ$(-{ngmX?;TuCBhmK9k8bG&D3aGBPnSF*P+cGcz+cH)pX} zR#sLV4#(Qs+Sb)62`t+uPg6$44j>`uh6%`T6<#`v(LB1O^5M1qB5M2Zw}&gocKOg@uKOhl@m_ zh=_>D$jIpE=$M$8*w|RHSR5Z8pOBD{n3$N9l$4yDoRX4~nwlz+NYc{Mq*7^SW@c7a zR!&Y1K@jiWy_3u3xw*Ltg(5F6FF!xOprD|zu&|`0q^zv0yu4hgR8~|}R9042RaI42 zSJ%|k)YjJ4)z#J4*EcjYG&VLiH8nLiH@CF3w6?akwY9akw|8`Obar-jb#--jclY%4 z^!E1l_4W1l_YVvVs8p)K!NH-Sq2b}-k&%(n(b2K7vGMWoiHV7+sj2Dd>6w|C+1c5- zxw-lI`Gtjr#l^*?rKRQN<&~9{)z#ItwYBy2^^J{<&CSiNt*!0t?VX*S-QC^2y}kYY z{ey#p!^6X)qod>FL;S>Xe6l7PxN*|fjOQ1M)Lxt!A zfMBmmMOZ1$qNIhW0RWbiMfMFS{az)-iI0G+j5BSZ^yCsy;Bh=sXh8cn2039hU8E{F z=g0^~T-{shI!@pK6q&;@iXKuG3q1sTz6X8qWoOQ=v5-oo0Xd-=i&Xa2;>pM~8#VOd z@OrVO%JT)h-SjN#EBMY{&nU=l)I9@@)Rl2?@H-U{9;|~V--NfEg{1QP8xoAP`ka2& z9RyxoK=~KErFDBFFQT%iAT3@!&>#O8|i}vWfz^m8=MBPVZ S7I0zym2 z?d0|Ej90|SGCf!@|PC z!^0yYA|fLrqobqa;^Gn#5|WaVl9Q8DQ&ZE^)3dU&va_>ua&mHWbMx}@^7Hcx3JQvf zib_jM%gV~i%gZY&Dypigs;jGOYisN3>gwz38yXr~T3T9LTie>&+S}VZIyyQ#JG;8N zy1To3dU|?$d;9wOCQO(xapJ^DlO|1`JbCKWsne!Sn?8N|%$YN1&6+iP_Ut)x=FFQn zZ~pxG3l}b2v}n=d#fz6MTefoL%2lgYty!~X-MV!fHf-3wefy3bJ9h5exog+1-Me@1 z*|TTw-n|D89z1mD(2*lYjvhUF{P^)xr%s(defsR#v**vBzi{Eg#fuj&UAlDn^5rX6 zu3Wu(_1d*-*RNl{apT6#n>TOWx^?^Z?YnpH-oJnU;lqcI9zA;e`0gIzkd7n?YnpH-oJnU;lqcIA3uKj^y%~G&tJcO{r2tK_wV0-{P^+n z=g(iie*OOa`_G?0fB*jd_wV0-FaX8+C;*3m;!hSv28Lw}Iv^e>PcU%&WAL46lzM84 zX7Dl}ER4h?oKo0ztu!e0nVEF3(Y05~H0#QWz{4)mC?+>CCr!j*7uY~O83&-Q#cn|D z5i*7lhk1q0OkTy!pa*fG$UH$*r)s&OT7m8`Jw}E^h%aiH6i+~Xx|O|E(@&V=-xP>y zhg&mHv@MXB4-Jk6RLfw&5vtY6U<#Jv^6w3Ts}VafgNymWB#;jar5sNp2kZQrEe5Hl zuBduV_nG<21w{&`-HBrt$Qf6bOV)yHeM#3t=RwpUCIWui{+|AGDyTw!Nln5u@<0|U7BzP2RVCt%i93Ydenn2;Q z%qNyf;8`$_BT(cQ%YuHerH7ag0Hr1<$Rs8m`v=kHWb*LfL{J<$u{409&dp$FN%9Hx z;AH}Wi&9RBEYV|En5m`e;V1@nbm*z}Ry$n_Q2Yot*nz?>HH)7CB-O=qz)2ab1|CwW zTnbD1fr0qSS@EPGC;?|3PB|eMyzJE#1%u-v%Qe{Zpy{qcfTIB%3QGf^$=-wCRJsz9JizG|Aq ztgWqWY;0_8ZSCyr?CtHHot<4>UESQ=+}+(hJw3g=yu7`=eSCcU{QUg={R095f`WpA zgM&jtLPA4B!@|NMA|fIqBV%G>Vq;_D;^Gn#5|WaVl9Q8DQc_Y=Q`6GYGBPqUGc$8? za&mKX^Yily3JQvgi%UvM%F4>h%gZY&DypigYHDg~YisN3>gwz38yXs#nwpxMn_F61 z+S=OM+uJ)kJG;8Ny1To3dU|?$d;9wO`uqDQPMkPt(xfRC)xPm#M_wPS`{P^k9r_Y~1fBEv|>({T}zJ2@t{ris}KYsrF`RmuO-@kwV`Sa)R z-@pIC0F*3722lLT!pOj|kwFLKT~MB2;P}Uoe6&kcJ8VtF#w1LJZK5zPDNMyMkyAf9 zMNhl3i(3{wIWbY$y-%bL#bjx*FM!&+c^fn#mR?g71~E(z_=CLsPc}-BTeOuKEXRGV&jH0{SJgRm z8c;;gLu#c^VL}Kv?4*L!fr03mb^ziI*;7Zjm>EJrQjK1QTFBwMDn_DHR9j5LcSX`s zCsPzDs9ic{3`QV7i>(q_017)5_cejD5{`DMHaV^F5~(`^vVzYN#bHO&9p(bo)`|Ud_h9zzT9%w|^7R9Y+sMRsgy~+YRJZu*s~3KudMZEg=!!D6=t1btl*v z?FjB0p&{o-PM@~IR6u*o_SZb?Uzn49^5wkJIl+_>0nLBz(8gB?I!I_BQM z6a=5RssAEsfN7~TeLDsatOG49n#{LlT4-2;hB`hQa>)gB9w(9+JxaXYjeBXD^eVHd^Nk@y% zpkValD1wjA=L-aaprD|TkPwkb6d4&Q7K`KK;}a7TB@&5LDy1kYIXPJ-lgZ_Bnx=Dd za+FGCQBhGzNr_smE-x>ysHmu_s?umQ)z#HntyZVg)z#J2*VpUy`lhC)*4Eaxwl;&o zU^bh3dU`AtOJ85#z`(%J(9rPk@aX91*x1;_#01B2Hk)mFdU|$tc5ZHNetv#oVPR=$ zX?b~hWo2b`b@dnduwsud`ll}sAqpkn9QK4ZuBEWFiE}WNcbE|y|4n+f)OZ18``Lr9 zt}9}N0lHL;(LL<__ZIKbyebzi>`iTII{@C53Omz7x5%@bJC4VSSaFwtmr7cm?DAmP zKq);=9?E6{6dwq~y-5cXosxyEY-4HLReR+oEzO^T+9|o)UtwdLx7)S#WAg*wLQD~& zVJMZqzds)Ov;(Hy)YHBed>TLF<{dnlVd6fON!dlEJ4r<-Fw=n)OjxOJp-nC?kL@sX zPkUp`eqhLtBYKG@Q2)`vghd&QoKE<+!T0T8$*Pb+XKKxDtP{iE`q&v(d&+bvj=`I& zjR*{fP|5>=4SoPEd8@erYCA9x%~6e6Hb;kMDjv;B=dx<)>ppYXCx^f+QWn=!hqW ze7@pN6Zc{_gd@e+e1o6j!%mXap=eygGl}}%*XlG7O0j_(kB28g3${zKyK@^aGStjM z9_LVt(obK$!lN;~_r%_qTg0w$2wzjtCN|K_Jx3VFOHdOAJPcaKx5u!RU6W-p*y_|E zh|e`nejHz;Py@loBFiM$!-@EXu4}ahH+TBBv=#TcgLJWnH8a<6U0Yk}kF0 zT%rT)cQOB_$;_H8m|QEj>LwBO@a-Gn3Ef zXJut&XJ_Z+-1qB6#g@r{$MI|LArKP21Wo6~%<=3uV z6AFdbuV1gMtgNc4x_R?vb#--3O$~~owY9Z(?%b)bufKcuZbL)Ey?gf>8ylONnwp!N zTU%S(+S=ON+dDcsIy*bNy1Kf%yL){%|)^l1fh@- zCJwt3kgOOA6xH#j`h+lwtWhL#zq$0CQ)@0M|Go!B?#pWa8Lyyj6S*)`N$QjU-70tf z`L}3DG^AN-Ixox&;e8P3Ht(>#EY)Uu;Mmwm%X;-(LIn*zBr9S`54I5y)e}t;Sfbhd zaU4s$hGt2yC=}Te6}0R^KR8Bnfm{Z#Jv3YHie)tJsS36XsRsX(m0=^{=BDQ@6>Iw| zfrV4_mu3*8lR`#%g|Gk;)Z*ib9>qZk8Dml%Gz-WXCttp)V1i{Nc+q zWWy+V3&B-F{7N6t*%)F1((>*J?qCmToo_R)M`;@|4PqEf2oX(Y2)cwY-=ZEj+DX-j z9*&_qLk#RV6>>t6;>G{U<|UP%fC^=b1;%HcTm$Bds7}YBgD{adB?cKtgn+N|QE4!m znLub}fyv=Bj%F6o&13mhLNM?DaVVe~LPfYamv!f9&v zM-QeMMf{S;pm6^c@~z`lWc;8*MA|c3hJQGLh--mT0v(^K8Gz>)x)rl9LVVc<>^M*A z#`y=U*~>NOz^E1{VVH?!Tb5H!(&)zaY;7gokO$VQY?TrKiYAl;_`rp5`p-~W@baaz z${cJF!raWiz<9E9jdznVsaZ-81{(Wg5b0MF)?5$?$8=s408=dDUP`9*lO- ziP*2P39#>-lrQCtL>`s9T4D7(I*;uNIBGtpxSjm@swLzfsFtyyR7)DPd rhD&<43e>a0Zq*-Uffey5i=qf-kThyb#xBce2&ww-HtZ8dLDv5QgX}0` diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuEffbUb.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianNuEffbUb.gif deleted file mode 100644 index 6930844f16afbaf25d37ca61b019c5e04db2dc7b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2509 zcmds1`!ke#7=L$bk8C>2Nje=)Sj3Snx5=eqGd3-`oVB~dn}ou#)!;Z9Oym;AwOm#m zMN47V+RE}y(@bh-}+TC(0BUF=1!yuQm=e*x{m#oqsaNeK3^Zh>0=lOg-&-1(< z^!<)bp}~+gG}8>B9}b7Z(;G? zhK5E)M#jd*WHQ;r#Kg?ZY}>YN=H})W78aJ4mOFOr*tv73wY9a4jg76Xt(~2ny}kXe zUAr6{92^}Tot&JUot^jW*|T@=UKbY^S65dmmFni^=I-uJqtQG(Jm_?~r>Cd4x3`av zkFT#UgTe6k_h&MhEEX#;Fc5~}Lx&Cp1qB^Gd^k8b_{fnXAt525p`l@6VMmW14G#~G zh=_=cjEstk;&3=8PMkP-@?>;$bWBW4Y;0^?TwHv7{Har?5)u*;6BCn?l1`sKot&JU zl9G~|nwplDmY$xTk&%&^nVFT9m7SfPlarI1o134XUrp!S6A26)YR72*45SV`Fw#uAQTE48X80*(e>-s zZ``=i*w`o*i<_F7nwy&u1i5wV*6rK3@7%f5($aGG?%jL$?nxw)*4Ebh_wTp0wY9gm zcXV`gc6L5|`0&xAN8R1sJv}{7o;;CCr81dJE|))j`t;eeXT80>&!0bk@#4kHmoNMJ z`uh9(U%h%YFfcGUI5;#k^!oMdH*em&ef##^yLZFG!y_Xjqobo^V`J~%zaJkTpO~1K zoSdARnwp-T{_x?$%*@Q}?Cjj!-2D9f$B!Qu78X8z`lL`O{>45pBLCmdcy28Yf)L0G zNCZ0pty4h9W%Vo}TLdGVFAuCl|J9zp4F1*)!=KNlY%w{uFgr2We$LPp)>SX+U`zd0 z`ciOG9JvimPeE}q_7^+2GV^C~HEfENE4(nPq8h8o?9zhlRC1~|tLbVRK6`DsQpGo_ znkD!N*_2d}Pc!io!RAndlE=O!r*vER2(dK{L!@m#P_-OdMsz>BimhK1l|qn`z3x~D zODNZbgvt`h?h(SR7_HNA9`4S$R!gkjRRHLzS zT1Pf!kkRz{iCUn-2MSP5bUI4Di-84uu0?TRs90K08#;*H{DXrORICQ^4<1NU7@&HX zd2YHZG>aIn5)^2?lw=Di%7)Ue!dX5_Uvw~qs8dD=hfqCU2XKDC0bl;qC^qQev(|@z zVq*}*qk;p$8J#H+OzM-)+YfkCw)g?5;06;floWgaMIv^Z+508*{ z6{P=umX=olBM9uf9`N1ldu&jy%*Z+nZO+<%+ zBP$+~C>yohpt1r}gwtCz5eXJy{u-a#?gN~vxH+)~wd_hT*id=hX4U$LV7irRXAzD_ z+%%Y7;0B)JBRoWQSqgMuBtRj;`DJ+xm9S0xb>KZGVS}GnO(Ho{n$@EpWeLh^Z!4;=W=}g zgsvY)5x@`}KLYS$GMQ{P+t}FH)YO#A^qprELzsJOVeq@<*@w6v_OjH0OW^74v`3Ykn+ zSy@?CRVA0ptE;PPYHDh0YwPOj>g($p8X6iK8=IP%T3T9KTU*=O+S=ROJ32Z#J3G6& zy1Ki&dwP0$dwZ2iWnW)ke}DhLz`)?(;Ly;}$jHd(=;+wkm`bG@A0Jn%)svHxQ&UsZ z)6+9EGqba^b8~a^^YaS}3yX`3OG``3%gZY(E32!kYin!k>+74Fn_F93+uPeaJ3G6( zyL)?k2L}g7M@PrU$0sKzr>Cc9XJ_Z<=NgUXPx?c{`2YKFJ79f!9Rq*__fT5&PXLw% zFgfPDL={DljDH^9>T&qDrz^o?qkAMnnrOtA8oc}A=W=mT)bJI&W5u%Qw0k35lTP?<-h*~rac z$MN@qFZ=LpIp7Y;rKcFAi2E#9&t0Ey5%lnj7|5ChL`X#uVGn5xQvjbZRh$ZUys1Gq zg--zxo^v6gIY@&(hYYVD2{PIq-l*QeK4Wky{=k2OV27a4p02d{+)RTw>;a6HD3lao z`OyPP^s2x1825(sYm>W4Kp>GId*lCj(dOqtI9%ZCJh#UI|k!%MLQTzl8X^z#h zk`d4e{~bQ5X+!*mGh_U#$XL4fe)^Q`K8fTPqm$92V|qm( zc_l!(MN;!O3at;v+~k(>?c2zQCkm8YPe2D-k{-C;wMdlf8Q7zcijL74o{>wMeu@aW zF`*z{Ehmee%S6pXop!anm4+$#y3H|JQXu{KulAQWQ0r(bge#yv1lkSK%6~Q@(1Eo; zXZ=C_i|-R%dNFBvnM1q4uWq<=+8JD7{acJSSX{#RQiuAw;D>OLb)~*muA;us$qMlg Y0^eZ7-~{i#?DU%*aRLGvu)rsO0TE-o%!US7VwzW)CH0RaI)K|vuQA)%q6;o;#iF)^{Rv2k&6$;ruSX=$06nfdwo zg@uL1#lHBC)T&CSj2?d=^M9lgE1{r&w@r%s(YbLQ;XvllL0xMucI?=(Z{NNH2M!!QeE9hB<0np>ICbjOnKNh3o;`d1{Q1k5FJHNG z<>t+s_wV0-`0(MQM~@yqe*Em&v**vBzj*QD_3PJf-n@DH_U(rcA3lBh^!@wyU%!6+ z`Sa&L7=S!Hn1JF>7DfgJe+C_pqd;-O!2YiR7{YL%EzK)$3FBEJfFrlAJBJEPLV`h5 z0|K~B^lbfklwlI4Orkzuwh14Q(w2gW`}>PBc!4=WhW`GJs;;hZnFd=1br8o;04Sm8 zr=a5RC9Uc$4Kh-e%gNv0N660KUlEvC4E;q7So!@eB!KD|HU0f9B_LJ-6)HLjx%-e}8r!fB#yb_oY}kj1f|L^ oGVmkB{hb(Cq!kPx0tOJ@KsdSzNUD&T{5T|JSvgce>KYlW0S|!eH~;_u diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoAUp.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoAUp.gif deleted file mode 100644 index 982cf2f0b175e247d57de3690df60e4bb987ee10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2505 zcmds%`BPI@6vtnHK-d={4J{}jG6KoSA_FQgVUaC?mPHMwYKQ?fP(@sdwrW@tSpy0p zb{qr&kwu6@M(U^t1VST-7BGw(pg1V*BWh7;@4YXG(f^?Dr#I)^^F80sx#zv$&>*iB zaXiczd)JDAhd>}`YHAXRL>(O+5{aazr)OYbU}$J)Y;0_9Zf;>=L7`AAEiJ9AtQIa@ zXlG|Fh=_=cjEstk zijIzsiHTXWX3e^F>sTySY;5fM_3PPe_J$1`Hg4RwY11YShZ7eU$K`T)JYGUV!j>&t z_eQ*q%F3#$s?(=WS65fp)YR10*4EY4)z{ZIG&D3dHJv+muDQ9nrKLq8 zk(@t&zO}VgDwSTiaG|ZO?c&9Ymo8npeEIT~D_7dv+pk`|+S%FJ)zu}F$-29{dwP20 za(QoWuR@`?cI{eUUtfQJ|MlzF2L=Xi+_*6~I5;#kG(0?f>((u$QhEFK?K^kw+`W7E z-o1PG@82IC9UU7R8y_Ek@ZiD2hYu$vCLTR{G&wo>`0?W>Po7LoO+9`3^x3m#&!0bk z@#4kHmoHzvdiDDC>o;%SOixe0ef##^yLa#3zn__z`S9Vx$B!RBefsn-df=A)PaoTV zvNfNP7U9NnnFi>k#6O>A@9QPDN$DwFYU{q8w3ApL zY7bJeV`6`iiLEbC?x@V0!&!T5l~k@}qoSCOi&MjC@}2$ZEBC)9sCdqLH8(?4!S3xK z!iW}7kTd=Mg`k=BYarAZLVzi#SnksPStrN5vy^5;KwxVde<)NVoH8=QdFFlOIN*_7 zBO$gsX(UC~aRj(uP88u@N8iASH)-l|R7LolWj3ZS*4qg8P{#j6fsr5O+W@g9=n1=^6-}g&e65 zCjkJ)})sC3uj|(^; zq9B_tk|q&HISO*sEC#`3X+8PDIALj{ufGV@S7^e>#9=VbS{IQde#&$)6uQZSlahYF z91KWi4kIgNX&GpN$4z<>ArmK*=KY>}6CI8yn%t}y)(QuMMuhBSjjm+XPXt`T0IW(H ziIVxlm7dYsTImq<9f-sN9x^q^`cI{Vm|LVl6mkst$!NE|(?WKNii~ZGAR$mTgI0l{ zgN6xQWW{h5wv4i^g$KSGiV;jP%t`o4&VO{EspqU1pw<_fxbUc`9)4PF8Ufn*G2wx)+Nss6pzKYR`F|=es(s&R=l8KRxq2pXd3!-tW)ndA{zR z{NeVhT zE?h2m&6+hl9?#X))y>U~&*!_lyL)(eczSwzd3kwzd#_!)*2l-k*Vot2&u`tjb^iYT zfq{YR*RKx>3JMMm76=3(At9lmpGI{vSFT*Sdi82;ZEam$9ggGIu3fu+{rZg?H!zW)CHfq{V+FJ8QS z`SR7PSFc~c9vmDT8X6iN9)9!Y&D*zcM@B|QM@PrT#@@YqH$Fc8;lqcIA3uKj^l4&Z z;`8UvU%q_#`t_?uqxl=BgkdQ{%p`$ zIvp^g4R%Q;2Jz=6XNc|c5P#v1=S-auQ%2Q#edJ6!FU@4;;;5E`T%GK>^W7LaJV*Od zw1fxfW)Rho?4OaJPq$&2^ft)yb8Hu+vAh&fmP}z)c=-86Q7u{MkVtdxQjS@8%}u5W~R?lb0t6h^La37>1- zgMzE$LjI$cNhA{{2U`JaaDTpa)%OB5?4f2;!f7XqVqXM(zz~t`RQ%qVs*g+B8R}Hz zB72<@AqI0G*}Q4t;GiG}Oz8)AMZa!dD7;`@;ib0)6ak$BgITjiyapl+;EbhVla9gy zte;TmUL$>o#QO#lZNgbAS+qqd6D+{Qh*dC64;?7ZwSXs=)kDWiSS+|*ZksM?S64Rf zvzTx9ov>7jlqP3m)}w0sLygGs6;w=lI23Geqx2xcMUU!bn*0udQbqVo2TV?dAVAjBz$dsI%{M|mLYBYy~lgO-NAU?65^Pby75CmsSB z+sWsF%XS54k2n!y~P*4I2ro)+mB48OVsTeb#`oO4F;#PQ}y0B?6rZ6UH0=B(}NC_>U zVa*avjGQ=1Tqy7a8k$(Mf56ti;(4#IgG}kUkiAkg=+17 zlnQ|mhjFHjFrJUx1g(T#n#m z`x<--4u1mJQdL#e)YK#p2)equdU|?9B2iyo|N8ao1_lNs63NumltQ6UsZ=vFGjnru z3kwTNOG_&&D{E_O8yg#2TU$FjJ9~S32L}g7M@MI8XBQV2I-Tz7>gwj^#$Yf!JUl!- zJ-xiVyuH1Be0+R;ef|9W{Qdm{0s;a91A~Hsf`fyZOeTxP3JD1b4Gj$o3kweqkBEqf zjEszmii(boj){qhjg5_qi;ItsPe@2eOiWBlN=i;nX0zETDJiL`scC6x>FMbl4kt4+ zlgs61Wo12i@+3PuJ0~Y6H#avgFE2kopU>wP6ciK|78Vs16&Dwml$4Z~mX?*3m6w-S zR8$BAg38Lus;a8$>gt-Bn%dghy1Kgh`g);I*wE0>*x1`2*WceiFfcGUI4BZ{hK7cQhlfW-Mn*?R$HvCS$H%9prlzN-XJ%&J zym>P_J3BWwH$OkWu&}VWxVW^mBo>R8mzP&pSJ&3o*4NiJH#fJowzjvocXoDmcXuTc z$==@H{{FsHDm^$jI6OQ&IyyQ&K0Y})IXyi+J3EufWPhRsAM*e8-xDxAR#5_g4@}@y z_$Ppx3{Y8Z?2QQlgHQQz<71rkPo)o=(FyrhJcVVX&7tQItzsstd|vhz;E*j|8;*U9 z>r10Ftl1UbVt4DT+~#Un37I@Umy3^y-k5uE!4zIHRj?e&g~Q^ffc#0 z3Bu9@*$q&bsATPjIgR|jPr%RyvODr_>a4tWuJv4$|dGJ-fxH*eE+K zA&y@jpro{4F!z*8N1?+%3>((pkCk`l=N5U;(pMYFxL6ZGQ7cv=JCi=6;lsOTNWWp|(?`3+J0P7`zcaV2-7aU|?14MXOA0X{>TeG6|w9I0xz zfZ-2bwaVDlS{L2n(c}#P2t3GfDWeS1KkOAxkd?#HwR0Qp*}#NPF%5Qt#-0Li%#Tht zgTG)0)eC3oa-|AUn&fNPnB9RT2cU~hhw(EGjZe|OlKgle>xxx~%5!-f6q6RV zXn+SvlT_aJAR7<&(bFve7+Iduz1cWLc5Dpt?l{&X1!nNNBT!?t(Vd0`wi*k}q?HO3 z8Owsu{X>Zw^u-owgUe`BJ(7ofU3d%akgD#EugVn0Dqd!x5!$?fpsTL7vW*9yGx(i) zh!tgzS$(W!S0gv(u5)!AdDi>}au{o6KIg@lAeL_|bIMa9I#Bqb%KrKM$M zW##1Ll$DiLRaLdMwRLrM4Gatn4GoQqjEs$qO-xM8%*@Qq%`Ge}EG;dqtgLKpZSCyr z?CtFx92}gSoSdDVU0q$>-Q7JrJUl%;y}Z1oD;^X5J5)u*<6O)pXQc_Yi zii(SiOG``3%F4>i%PT7@Yierh>gpOA8X6lLTU%S(+uJ)jIyyT$ySux4dU_^Lo;-Ex z)M?YEO`kq}#*7&=XU?2Gd-j|;bLP&SJ8#~+1q&7|Uc7ke(xod_tXR2n<(f5X)~{c` zVZ(-v8#iv+v}yC^&0Dr?*}8S>_U+qu?AWn$=gwWbcJ0}-=fHsjhYlS&eE9IuqeqV) zKYr@esne%VpE+~p?Af#D&Yin(;ljm>7cXDFeC5iOt5>gHyLRpR_3O88-MW4I_MJO- z?%lh0|Ni}l4<9~y^yu;9$4{O-dHVF}t5>gHzkdDp?b~&?&!0bk|Ni~=@85qg0LA4fATb0Kf3h$#Fw9`k0qFzf2?maT z42Fq^S~!K(d}bJ6GG;P1;gUjE9DOh0(2+$<+%gsg4-PakALlSeF;K<5Spl0BGa`O8 zFthW4bXhE9fjDE=5f|QNS`3R4APy_EfihqQO2uGtYT}_M>=5fcC&<{qtcU1Y;UEHHBpq2K0Cb1U(ay&l!pnsD3=}^(FoPV_0I>_A9cZZw!zQqw zm#KKI+JNRl2Qjeiv*dsV1{F8CiMq@%ILg?-DJ;&AZ;<#X*%9p3qmm2{T9knX8ZsSV z2U+m}XwFI}uruKCJ?Y=!0~|m(lM@G9It3Z*z>e1BV*qNiG-%`$?$ZT}oa6u|7cNkQ zL)1(_QF(d7#wFn~j{oQ-R@flTiVbY%QSCqbxW_0vv_n4iJ%L z77QT9$$vZy!YFYFjPPaNwi%!RW@|FAjd*adMU#iw6KM2GU;u+`71as=yWZg8$^^GQ zP?DZo0G8^oTY*R>ur!tQiBSQlD*ydp|u9nJ@AR6~X%T9+L3f#H+`Sw;mcea3)bjF@w9gDCCI)K&))Ry$ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoDk.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/laplacianRhoDk.gif deleted file mode 100644 index dfc043521ab081a44d07549389ffe603e5bb4f9a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 938 zcmZ8fQD~A;6uz3X`C=&Qm&@hebH4MP@0@#7O$kSK9*|39Fi&8) z-EN=H7YqhNp-?m$RaG^SNTk#0Y&M(ADAMzkli`ekTZt7?`Q8@I=JFyWUq?3jLL-ktNCAcAn%b4Or$BCX$D*pD!)t) z5p#5gTndOp6Xgm)%exr8V-d=W)zy^)Mjv~hj7vMQEFngTr^Xh^mZW^hJg>JQth1b= z+`E?bXyCq%`2@Rb0q@#R8G~^bYAL+$o2>Rmk5_a|`I~Invs)GLYGe;ejjsR_RN7@9f?&yG!} zJ)5DUi&_cx1$mgO%%t1w$|~c((Dl)^Zh)BHtn)KI!Aq5eBU3b8-V{81d4mTY4teB0 zektOl!on7$yr(-W8q|R7cFQ;DB1*)40^g|2c8l|r-%>e?;s3C?+%}w6voQAw+UZ>b zhScd$U=)xWI^7LB;rF009)R?e)0rT~mJV1MCPIO6!zb*?m+mkpHWUj>E(+y1Isj zhQ`LmCMG7Prlw|QX6EMRR#sNl*48#QHcn1X&d$!RuCAV*o<2T4zP`SGet!P`{s932 zfq{V`At4bF5s{IRQBhF|2?>dbiAhOGDJdzLnVH$y*}1v7`T6-JB_-wM<&~9{wY9a4 zjg8IC&8@Ai?d|Oy9UWa=UEST?Jv}|Wy}f;XeUm3oo;r2vv}x03&YU@S?%V|n7A#w~ zY|WZAYuBz_w{G3WjT<*_-n?bYmaSX2ZriqP=gytGckkZ2ckjM^`wkp9aPZ*4Lx&C> zK79Dtv17-NA3t&8#F;Z^&Ye4V>C&aESFc{be*MOc8#iy>ymjl=y?giW-@pIx;loFd z9zA*T+Z^fuV#!2c!xVCk*WW8h~K}2No(^mT_<% zCIc9>Fp$C-63ym;s-ze!nNgAtqGcJRfpG}}ya5)`CG2Qwvkg@kgbhO*O5zNqH4NR^ zG>XAyIm!bm16@!|p#XmdO)%dwq@+Zc0issSzXYf|1FAMZ8>YdVK^v|%gaK@?ze-6- zlu3yO)De1;P_;ns!%VgYnw%{!4KyWNA*!TAL0&~50HVr39ICp+8|n({P@sr615iFp z7RjmZ)+Gj#8Jd=05iLig_Wi>dhbv4<(QSw}z4w?UWK7 m3yA8HI1y=oe@Rtn5=asAhKj?affCsva4|<)TdL_s`)w=lp)>{LcBl zf@_CMG^UJ~=r#H8nLoJv}2MBQrA-W1N$dlb4sL(P*?< zEk#kq#l;4Lp}f4@Xf&Ekrpn67s;a8$>gt-Bn%df0v)Nol+vt7#bRKxm<3y+vD+!jg5_ukFzX0H8nLoJv}=+J2y8s zKR>^)u&}texU{t7^Z8a*R=)6ubSydvpVvtc!bnYgL=y^I&9zeu%h4FjmC__>Gr65g z4>|*}|C%}g_?&*+TI`SVXHyHym%(gRIY+hu=TmtCM?e2nzgB^j)R01J00RFQ3%B7? zrkmvm{3tsEMjBFgK1&gKbEI&fEK&JGN9YF{PiUAWMOH)0w{Y=I;no7RVWXWI?MKn= zt>?nt<*F6;9ZtSp12H#R0kGvbesjJ1%$722UlrqVk9VxiHOhau8r5CXrQ=;dfN$|ot?TB*?x z2jR>IT*AMPmnS&W1}pX3C&-L|lvia~8PUbJO@$kSQnLsuO*Y5N)hNqM)Z-*fjPIyN-?V}hty($^e&`hP8RZb zQeK|xmz3`$tMlmMQi&FV7YSq@Z8m~4{J2;k!=}iva(fq99S2xC-!u4- zhhv!(Hs`NrPQ>~{&}UE|HA1MBSO0`Q{VlE1!?8qQi40cv=smr$mGYh93yK9EOWDhs zWq=?8pSushOQkI~Qm_~~c7O@6UAT9Pirc>~?3yH>303HSvU-s}CT!3WooWAgL&niA zsRUTg-l_Mx+y3U^PY%FK^NRrU`w@D$&0De0R)&8ZsW|>(Y1M7vMrmK)rjf@aa_KNeeNf$bE-K=*6^_x*bFy!YpMzXN=p z_m43mfC|i%0>mSe$yQcYR4SE5qtWSf5CjS%y}g5jgQKG(i^Xzvb=|RJ z2LwSJ4#(Zy-NVDf)6>(-%gfu_+sDVp*Vot2&(GiApUdS21O)JSJU*Wv7#Ik{a8OWC zaBy%)NJwaCs6ZeP3WXw(=+L14?l9`NMvLrf*@kCI4UYCIy(B;v12hY zF|o0+adC0+@$n~5o=iwcICJJqVq#)aQqtM8XC)GeR4PqPO-)NnOHWU~aN)wmix)3l zx^(&SWtmKN_3G8k%*?E;tel*j+}zy!{QQD~0);|>qG(Z3QE_o`Nl8g*X=zzmS$TPR zMMXtrWo31Bb!}~}QmMpoysoZJrBc<`*EcjY+`4t^_U+q^jg9y2-D_%UQmfU?&CME( z=KlTr4<9~!^yty!$B*0F+qGJ4M@L6jS66p;cW-ZRUteE;f4@$r)9dw5pFSNJ7ED>U}uZe&hRM2ZP?cHN!A)-dH3 znC&;rKS=$fXw6n^`XE{yr={-4wkMbEGG4>s*r>d5x9@(g@!B2vpm`sw6^GCN6yb70 zmRrffphf>=en&R3YChofS`X4N$fG00thb{90hip2qHVw?ZJI**RSVtOR)lDzuH83a zM9y}R?=8eO1`||SIQ_=j391m($!JzaOVV!l3Z3abtG`5}I0&{spR>D3Sj432) z=}i(wG&?F2)b(rzFazMkV0t!PPi(krqnQ`wdKX$uSI;29f&(cV;;$2opbSe) zwNEYWY_;AQ_291XPZmkWkVA|1$%GgTE+po*5~s8Qfjl(RN|_xIgVbC2o8=t?PDxFo z0vK!M5b~g#=%s4*xbAox4xgqVn%^lc6|jhj)PS$_ENZB^yQR&q1X87Do>+Q91`KTmOm7I`&g_wt=I>*nE!}iuacjVbQnGOe-roF;gZJ}GJ6X&{f9W9d* ztUM@C41p*BDiIB1LtCC>#y}px3FyE**}#MA!eKK(TFOmXW?(G`5E<^QtM0U?lj0l7 QNG(}g)>AFx$z;IyZ+slqQUCw| diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/m.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/m.gif deleted file mode 100644 index 87b84ff41dea80dc9ad259795a68290eee888e77..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 197 zcmZ?wbhEHbVF6=E1?iF)=ZTiHT`xX<1oW#l^+7wY80n zjcsjhQ>ILrIdkTsMT?d#Tef=j>J1wAVr;jIq}lr?c2OUypUTu6gXKjo)=u_v?{Pi&`110r1jLlK=n! diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/max.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/max.gif deleted file mode 100644 index 762590c76cadb8dd0dcd06beb128c1df58baaca3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 604 zcmZ?wbhEHblwx3K_~y<41nlhW92^`10s@kflCrY0^78Vks;YW=diwhM1_lP!*48#Q zHja*tPEJnF&d%=c?%v+s{{H>}0Re%5fx*GS5fKqFF)_)>$tfu*85tQxMMdT1<+Zi7 zb#-<1_4O?+Egc;lU0q$>-Q7JsJrgHRoHAv~v}x03&z?PZ?%YL-7A;%0Y|WZAYuB#b zxN+mQZQFM4+_`Jlu04D9?BBot`0?W>PMkP-^5m&gr_P)?bK$~;OP4NPy?XV|ojdpM z-+%o0@zbYI-@JMA{{8z8A3l8k{Q1k5FF$_#`1R}8e=q>~ZO{Y7pDc_F3?2+RAeVyT zgn@l$gE+IKIIoPAgov1{hpD(AqlJf~IFq4=7PFBD2aAUTue_@bgR_T}s-rHey@!Xg zkh7YmhX;q2hlhx~2S`RoPFaD$#serN$OWX3Wb8RaOu#ZW3`RhCxQwGchoOfvgTA$g zhh~E^mo1W%vlWB2hbe=aj)$?FhZ>KEI5W4lG%JUZ2!og@FT1$1n1mI?apH{()&NNC Bo9_Ss diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/maxCo.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/maxCo.gif deleted file mode 100644 index 66e1c474e39e1f2d163ef6a162890185b6a78b96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 906 zcmZ?wbhEHbRAu00_?E!{1gxyA5)u+pQc^N9G8!5hT3TA#+S>a1`UVCD#>U1bCMKq) zre}0RcflL1AHG;o;#?QBm>n@rj9v z$;rtnDJf}bY3b?d85tRwnVDHxS=rgyd3kw7MMcHM#U&*rrKP3i<>fUsH4P07EiEnG z-Q9hCeUm0lnml>(lqpkY&z?PZ?%a9v=FOi!f8oM~ixw?fym;~I)vMR6S+jQS+D)4_ zZQi_j%a$$s_U$`-`0&xAM~@vlcJk!OQ>RXyJ$v^2`STYpT)2Gs@{JoeZr;3k`}XZS zckbN1d-vYGd-w0(fBg9I)2C0LJ$v^2`STYqUc7wy^39t!Z{NOs_wL>M_wPS`{P^k9 zr_Y~1fBEv|+qZAuzkmPnJ! zo17_|ktv^bF^P$Z zNl8g5DJiL`scC6x`T6<9#l>Z1W##4Nm6erMRaMp1)wQ*?EiEmrt*!0t?VX*SU0q!h zCQO(zWyK8#Zj*xN*yt zE!(zj+p%NE&Ye4V?b@|__wEA+4jepq@X(<{hYueC)A!SFc^WcJt=VTeoiAzJ2@Ny?giX-+%b<;iE^7o;-Q-?AfyyFJ8QU z{rb(DHy=KH`1I-1w{PFRfB*jT=g;52fB*ga_dghb0*)F$@h1x-14BB44#+T2oG`He zYe-K|4`LCJ6;YJX1Tt}fBsE>PnDlrDhG1MOfZ}QrV95l0iXyljz>1Re($dpo>>KR; zuoFr>ryDXMX^ zP-UUI>FE+6W0{q~!l(qd0GMy;4p9`u;jLxwX6X(@>FL&%!4a00X%3bVLK4x@TCyNt zx^wu43OJ+(bC}ozkz%@~h!$I@5o5HhJy5-x8Zf-U*1M?z9iN`A2tzV5dOTl zCT3=478VwkmX=mlR(5uF4h{~Ej*d=FPR`EGuCA_bZf+hP9^T&GzP`Qz0Rh3m!J(m{ zVPRq6;o*^ykx@}m(b3T{F){J+@rj9vX=!O085x(v}x03&6>4f!GeVg7cN?~XvvZ#OP4NPvu4eX z9Xs~z+qZxJ{sRXN96o&b({T}ym|A^ojVU7K791( z(UT`no<4p0?Af!IFJHcT_3HKO*KgjudHeS5hYue(_7JzWw;|QLk28h;|QX{c*L+u`|Bhn?F4(@n%N$k3L{~8 z85wyQd3h$`B-5y%pxBV0sH9jR9TgOk6cVJT3jun%20*{*sfp{U86}wsE2uatGbM@Z zA)DxIn&fVn=xvnbFR#Fv6l=f_^9tB{U=Ug-xtk>c<@KCHN+|)dU|>W1_s8) z#-^sG*4EZ`c6JU94o*%^ZfTC-Q5!=Oqeod%Cu?IX3m^Bd-m+PbLTExxNymmCCipATd`ur zs#UAjuV24)>((7RcI?`$B+NV*)WDLKyg&+U zJ%(BlS1%b(H=wXMKfgG{M07R!23}s4>|m34Am*W~@Nxw^RGbAUVb5cPAq^4$df!wF z#IRxn8luJnVqyUj5HSf}M=v#AFH1)(O0<=LDHjOz7_`0AjBKRLMU9ftEv%F{c>Nk$N0htcR(w oQE}8$Q*cw(1KNuQ>^USPIK(A5w4CK6SotNS)Vzcw7#kU^0Sf2)MgRZ+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mesh.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mesh.gif deleted file mode 100644 index 3822d9a4c3ecd51af6b6d3cc2157c3fcdfd397b7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 660 zcmY+>O-LdE7zW^J3+iASZBbCsBBR5QN~8{0k%ZKkKZOi35F=wvP$Q-c4Uu16vP3#` z2%=LY)uB2>bt$5}SV4z=h`RLSp?`vku*edjUESTwKBtfO_PwvsMCz*B^O5gJ+=ry( z=H?a@6qJ;dNTpH~MdflihG964S5#Ce6bhwMSy@?GRaK={t2G*pR;wilqNb*%zP`Sp zp`o#{ktE5crY4igWU*MRR%>%}v(09sD2k@(*49>rVH^$z%d$?Vv#qVIqobp+AFRd;rkj-#;)g;P?B7hK7cRhXa8?Fc=&e85tcN z9UB`PA0MBXn3$ZLoSK>ng+kNQ(=#(Ov$L~vb93|a^9u_Li;Ig(OH0ek%PT7@tE;PP zYisN4>l+&zo12^Aa5xf)Y;A3AZ*TAH?CkFD?(OaE@9!TR92_1V9vvMWA0MBboSdGX zo}HbYpPye`TtuVM%gf8FtE=nl>zkXK+uPf_ySw}Q`-g{z$H&K~r>E!V=a-k4SSSs4fdh%z0gH$k#vgQ*7640^TR z`u7AM!w|)GJ8w2(dJce6U7ZPBQ;VKyvRs+=0z$ysf z^KgO5ECZbi#4L`_qXCz&0$M82v>=jRR!0js^^JtgEP#AHv>-Y*-wv!!RnBtl?cMfn Z8&=Dv9uoBunIs#NA>}{IL;ych`x`Zx9N+)| diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mgbsCoef.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mgbsCoef.gif deleted file mode 100644 index ce48689117ebeb165f2ff6a384014af9378588b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 641 zcmZ?wbhEHbRAk^|_-e=i1RNY3va+&DN=jNU3x=H}Mc*7o-HE-o$}9v(hE zJ^=v%p`oFXk&&^nv5AR^X=!O$Sy@FzMdjt?)z#JY_4OSc9X&lg6DCZUGG)rlnKS3k zox5=1!lg@>u3EKf-MV#~Hf`FrZQJhMyZ7(kfB5j>GiT0RxNzahl`A)H+_-!9?$f7F z-@SYH>C>lg-@g6&_3J+vfLuldQ2fcl$iQI4paW71@)HBwKZlt<(}Yyi`i?g%O+J}o zG}A{7nL49-b4k>uaIS($XmSl;l^$RX+zT-D`KVb-`hk^nqR26(LTpfBL$e6k+J=5) z9!LZ8sgzCAma2kWCiy@GMBQ{pc4ws5fr%go@=O3xH#?Ofeqfsd67*4vo&lyFOL!U0 zT(uUpk(wT+GBQ{L0C~Rv%K!iX diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mhdFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mhdFoam.gif deleted file mode 100644 index 98854954fc2b17e4690aa91674f9220387d8dcd5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1603 zcmZ?wbhEHbbYS3S_}<6>1gxyAoSd9IJUo1Sd_qD(!otELA|g^!QZh0!va+(u%F3#$ zs_N?M+S=N>y1E7i21Z6kCMG84=H?a_7M7NlR#sNl*4DPRw)Xb+4h{~^&dzRbZtm{x z9v&V(K0f~b{(*skp`oE+VPWCn;gOM%(b3Vdv9WP+aq;o-$;rv7sj2Dd=@}Urd3kvS z1qFqLg+)b0#l^*?rKRQNTC-Q7Js zJ$-$B{r&wDCQO((apI&&lO|7|JY~w1sZ*!UoH=v$?AdeX%$YlP?!0;P=FgwMaN)wG zOP4NNwrs_U6{}XQTC--&+O=!9Zr!?L$BtdQcJ1E1d(WOdd-v`=aNxkfg9i^CI&}2t z(PPJsojP^u^y$-Q&z?PZ?%ah77cO4Bc=__>YuB#bym|BX?b~2#Br-xNkGo5>D&r~g{~78IQWOvI0$)65EYhR zvPM9$y@yLMg@tnxL&AA!PSYD4N(+E$_!uT}T)OBuK|wr-Wn<+7kU9KzFCrKd`V|~g zCU7VfFYZ<_lX~NDvB71+0v(1Fj!8y|oeC;KKyx-I19hpfa4JmznPbGn2{b1_kf(x$ z(+KPy{;CZ>CxOi2+{Gbuq^)6&x$KG*N1$B`beP_79AbXZ12N|x&}bxstXMz>UFhQj zMjgZ;pvQz%l7R*>fed16nB(BjbwvPd5DN?EA?5}i2S*PTpc=+b1xGy}4j~tZZUsl# z5)Ppyi<=k7$^s)Qjf>bN9RnC-R84wT<92}gSoSd1NnVXxN zpPye{UESW^-rwIpapJ^DlO|1>GG*GdX|rd~o-=38ym|A^oH=v-`t^qoA3lHn{O#Mf z@7}%p@ZrPPuV4TE{revb7-$9*f3h$#FeozUfNTKyiGeNoKtM*)iWH}X0UA#VSp?<; z92Vv>)N1w7FzIX&>Goq4;cC?rWl#fBPKrE^fW1_p+P zh9)K^W@cvQ=H|AxwoXn?&d$y*E-tRFu3lbVK0ZGF{{CTMVbRgisi~=HX=xc58Ch9b zd3kyH`T51g#bsq><>lp7RaJF$b@lc2&CSg%EiJ9Bt!-^>9UUFr-Q9hCeN(4Soi=US zj2Sa#&YU@W_UyTH=gylqZ{fm)ix)3mwrtso6)RS)TD5N7x(ypPY}&MG`}Xa-cJ11| zd-t9_dk!5sbolV$qeqXPIC0|S$&+W!oH={;?D_NOFI>2A>C&akmoHzvdiC11Yd3D( zxO3;u-Me@1-Me@H{{2Uf9zA~i_{ozePoF-0@#4kHmoMMGef#e8IH=F);HG1!2*6|-NA6T5AUpC~rzm>6E&m>4<9 zm>6?bobnNZ1~D-P~eg{M@`^!hsAgHv{e% zu)Ms4pL!s#ssX>Mfnbamry;kihazK)xPfC}OpF%DY&qqa7-<-?;uJTDi7{jcN+JW8 pysJT=iJ?}MT7!;>6S91a8@seL2w4UzN;3(_$r{FpNH;QA0{~t3@ksyx diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/movingFvMesh.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/movingFvMesh.gif deleted file mode 100644 index e4e884a197d5c75e1cbc01609cb4c14add2d10e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 906 zcmZ?wbhEHbRAu00_*TjQ1Ux)Eyu7?(Vq)Ur;!;vl($dmON=iC9I=Z^LdU|@s#>S?m zrWO_!mX?+_Ha2#4cFxYuZf*IXU_H`9(!V#l^+t<>i%?l~q+$_4W0Q zjg4(>Z5-Q7JsJ-xlX6DLlbG-=Z0$&;r{nKEtKw3#z!&YCrA_Uzen=gyrs zZ{Ga*^A{{wuyEnRMT-_KUc7kOvSrJcFJG}@#p>0o*Q{BycJ0~?8#Zj(v}yC^&0Dr? z*}8S>wr$(CZ{NOi=gz%*_wL)bZ~y-N2M-=Rbm-9G!-tO^J$n53@slS{o;r2v^y$;* z&!4|=;lia$m#$yGe(Tn)+qZAuy?gim{re9dJb3iz(UT`nUc7km>eZ_^Z{ECr|Ng^= z51&4L`uzFxw{PFRfB*jD$B$pXe*OLX_dghbLKz28{K>+|z);4Z1Cj^D2?P7ThB63n zGvk#rh=g*mP|1*cB3JU7#>iYWnMn*=KmX=mlR<5qDK0ZEvetzlc z=|x3FB_$;l6%{QlE$!{?9UUE=ot?91&z>`9&c1#7jvP61{P^(;7cN}Ce*M<1TMr*T zeDvtiX$D4xB1*x@Nk+Z`YQjlCN_4V!T?bD`BTeN7=s#UAju3fux=g!@`cON`>@W_!P zM~@!8aN)wun>Qakc<}Jy!{^VRzkdDt&6_vx-o5+q;lr0NUw-}i_2$N-R^7}&}VOg*t7s*_>S)vT>iYpt5EuKMh-Hf;6Ptg9Q=gms?e3O!X5 zwz@HOYg9(qQjSHNxitM&^CqcAu5FlhZk5uG7MW?MlDBRu2@~aL4LTIyw|eT*&0G~A g?LfnH=87KJ90f9rYjT7Q*HVxmV>n2Ti;2M+0NmD#xc~qF diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mu2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/mu2.gif deleted file mode 100644 index 908c9c510b93d4accd87d73b28cae13853c2a6f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 345 zcmZ?wbhEHb?bD`B zn>lmloH=tAEn2i}*|JruR;^vTcK7bx2M-=Ra^%R-qesu4J$vE8g*$idJb3Wn;lqc| zo;`d1{Q0X_uU@}?{qEhn4<9~!`SRu4w{Jgx{`~dp*PlOs{(}L?xu`(#CkrD3gC&Cw zNEqZN2DY*Tb6!t4y^~>GjNbIqPyJeA-nndiTC_7pPn_{-5w98AtrWVzdgr3=$`#+;hWy#%Cv`ssysdTb0+ ZPXi5`!>w2;z_Sq~$XE=L<7Q&81^`9!nH>NC diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/muSgs.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/muSgs.gif deleted file mode 100644 index 88e7293e0a56b65b492e87f97e536a4dbe9ae382..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 734 zcmcJMK}aG|7{_0@TbQ}SmX{1>+h#-3on;rZ%pEC<+1w5<9T=fOK|c-Z5C}r#L2M7w zB?zHI5J3=~BUFSA3LZod5j+(^S%;`J(V`VYc6apNaewf=kB{Hu`@?&)KY!>aTpv(3 z`t3p@QmIrXlgZ_Bf*=$M1xb=aLqlq{TBFg>G_BL=#>dAE27}RPoSK?4nM^Fpn$2d6 z@%;R}#bU8qtsKYkJa4nv78Vu+L9pBHPN&o5a=G1ZkH@pPxVW^mw7k5$va;g!dVN0M z>gwv++M3_*4+H|iU@#O4ZES38Zfx(bGckTpDz>&r>Cc9XJ_Z<=NA_j zmzS5tV)5$g>iYWn=H}-1_V(`X?*9J1R4SFr<%frdN~Kb*R%^A|rYVEpLO5~JHT58USYP&0dorB6$_uf0*oj` zYiB4*IS1exqbO3zf}o`amCz$#u8r~vv&24e@P zjjf=8X^^TJ9&05!JVH+p0PJw*J074{EDmEkm=v9)m_XBbk`_ZnCMbYGv1`$Yxizat zJ7!v4M5+gFY!ra_0)UZ)m&}3r+a#I>VAk6g-uF{V(E+EVs9_bycau~f19Gk{Ups!G G@BaXw7Yhmi diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/muc.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/muc.gif deleted file mode 100644 index f203c43a75f64d056a83add1546f948ac8b7131d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 345 zcmZ?wbhEHb@X@13PoF-0_Uzf~*RS8adGq1J zhc92g{09S&gGd32KUo+V81xx*K$<{)VqhyfAkICpYA?r(>#x67?R9Ius=YK~Z`}Ip zuSHkxiIX@45{z5#{PgP~50KzjE7gegVhdd|_co~VxhtQTqc?%S(R5LPgp~VHC9Y5> n{kG>{g(|=*t4!n8^B?#O(tch0OGOUPN{|hV@gP&Um>8@9j1rVj diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/n.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/n.gif deleted file mode 100644 index 3ef77c63c5d09e7885c677824e9a3cf5b0fbe50d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 278 zcmZ?wbhEHb4q4Wo2b!W8>oD5)>2^9v+^Un3$H9mYbWK zpPye>SJ%+c(A?bI+S=OH)z#nMKXKy3DO0A*oH=vu+_~%4t=qV9vuDpDk%Y`T6;Ug@q+0 zCFSMiO-)VB&CM+>E$!{?{r&wDCr+F^dGhq>(`U_^HD}J8xpU{vpFe-$!iAeRZ{EIr z`@Vhq_V3?+=+L2~M~@yqe*EOglV{GHIeYf(g$oxhUc7ky`t=((Zrr|o`~Lm=4<0;t z^5n_$=g(ifc=7h_+xPF^fBW|B`}glZfByUr1|TQm28usf7#SE$8FWBOKz?Fi+jD@u z`I85W!`7&^VXLoZ0V%bUEK#N+i=jLa)$FrYEb$6R4kD;KVdd2Zc7K?Lu+@=ln{O=- z2)^PW6$TVsX(ZLPFwEJ(NM(|%iJ)VacB@BY)zvIr-j!;r7_+q)mM{B&WLU0i$5oMy kx0b=}TdS}&%4gyYxDwOWrD4q15Vo%k^M=TAGci~L0F7YCM*si- diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nGammaSubCycles.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nGammaSubCycles.gif deleted file mode 100644 index d231581d50415cc951cc6a2d4bb87b53151aca14..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 677 zcmZ?wbhEHb6ldUO_~ygF!otGC!=tUOt*fhRU|?WmWMpDuVrFJ$Wo6~&=H~A1?&IU* z>+2g76cid78Wj~46B833AD@trker;Hl9G~-O#2ckI})YuB#5d-onZc<{)PBS()OJ%0T7i4!MIo;-Q#)Ty&)&tANE z@$%)%H*VaxckkZAhYue=e*EOglb0`FzJC4s-Me@1-@pI#>C@M*Uw{4j_51hlKY#xG z2Lpyd2^4>_FfuUsGU$L@2Z|F0_J0j>l1g%7%vQi~M*&J2tj@kxawuXT4zsqeuM|R9 zU(U(h6)G%f3Ri8+C}^Re=&Qlu>1)L2EADHd1yZEXrr_!8BQB!K@9Qh5pk`~KWznEy zs^}}?1k&iiYX?;1q-Eo4;p=O`VBsqUHqJ)`OhE_>9-vMW5Zj6iSy;o@*MZH**H@2I dA4ynP7s#>a5fftqIvN2W=7Ram4Ze*G)&LmR&wu~` diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nNonOrthogonalCorrectors.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nNonOrthogonalCorrectors.gif deleted file mode 100644 index db1466c0391fbb7f17d60b481f7bf7f4279b78fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 300 zcmZ?wbhEHblwjaw_#(yt1R^3La&mGS8XCsN#FU%q_#4+bEEumQ!NEQ|~c;tV<L<67AX}xTWSdsVU2?;b19DPD2D11uK+Rl9b<(Gb;DJB zCziy9iiC=bx+XZsgkN&#V`lMAjuF3Xa%QOst4ZwjmWFesrbkpI!zagxH(9_8G(E;@ e#DCRAyjbD7Db!fk65dV~RgQ=NfhHYA25SH{t8FU%q_#4+bEEumQ!NEQ|~c;tV<L<67AX}xTWSdsVU2?;b19DPD2D11uK+Rl9b<(Gb;DJB zCziy9iiC=bx+XZsgkN&#V`lMAjuF2sb8)E&t4ZwjmWFesrbkpIuTN#*ZMA?IXnKs* fi2tk0L?OlNrch&DOL#l4NN}tO5NOg-WUvMRN6B>0 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/newInterFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/newInterFoam.gif deleted file mode 100644 index c3454192c6fa97106e7429b83d9b8f09ea347da4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1837 zcmds0drVVz7`??RwZa%u%4om|6lN_Am4PzA0rD&bR7y(VswlJ$LP78mV1lc*fR?wl zS0pPd43<$wfGb>OPE+13B~ui!C7^)f0|Y6`GurLen9a>C`+whGU-J9Tcg}Zme!+|& zk1q~^03KLs1<=A^Fh)j3SS)t!+O@{U#&|s5)YR0>%*@=}oIoI0T3Ql`L@O&RYinx~ ziDYAAV{2=>Y11ZqdwT~52Qr!L=;-L=P*6}vNJwaCD3i$y4-b!sh}gY*_ujpGBO@bO zELK!h6r0VCj*gCriHVJk1wnA%zJ2@m?~jX%i;s`za5!8p_weDviHV6xNlD4c$tfu* zsi~<)jvPr#OG{5rKYH}&v17-MA3uKL#EFcIjLgi;tgNh)Cr@T)XXoVPoH})i&*z^$ zeOe$82!+Dj+}ympy!`z9vuDqWM52O%g2KYWqN1YW;^NZM(z3ELu~>ZJ!Uc&$0zuHl zixFH4_l`560udh$7 zR`>V!-@JKqU|`_RojZergLm)Vy?5`PMx)VcwZp^1BO@cDqoeol-+%Dn!PwZ?`1tt5 z#Kgmg4<9{xG&wo>`0?W>Po6w`_H1fuYI=J5`Sa&9Gc&WZvoBt}n46o^>2&k+^Dke% zeD&(p!otGh;^NZM((>~1%F4>>>gwy)uiw0Rqu1+yds~K-{7=hn1&aXy1aLOoXZRBU zP7kDLVXhjYfe7!zrb_p*9nSX8C#lT`Gx%{p;Sf@~**x}_f8X-~>aSdEi10o;sio%w zJ;@sZ7CIA27#IJu)c>F`EUfvd>Ag#dCGH4M|96-eD2KUB32n=F?% z?(6v!5XsgIf8Q4cIg8Of?pv6U55lwTo3AY;(hyIsYF@=A8d2#pjJZCj!9qZn`m#j* zYgp0{a@OS24l)?Y*1)y$Zp@bQik2qsREJfVl&AgK&)A~Gv2`6r!*>$M8NkGd&aM+` zh=`+)>b9xa6p~n$DN9ff+5ikXqg`*ej)i)ED@?&DFy}`jx0DJYqaO=OeY=`l?HLUb zkvwhR`3}@PH_ngnLavYoS`TT^n?G6~Rz3@4PT~N?F8Nk%1$OhVwx7E3w4v#}D4Erl z644$UOKgGgOzp>%LsX!USEf6-!PFQ;KEY&i3vl_)F|e$eOARCjGlA^b&y^63LP1>! zOgKja<3cpB1g;mt%BGH6&ZJgZ*t2ce(@v zA_p)BIR%BrV4{Zx?#3yoU_dG=)e!AsoUHA#u-FU@GM9nEX(T33yK2;-hZ;@Ps zR!$f%rm+%v+Nm0TFl8IwU=WpwMu0aE62C##;6g@C+*~_o3Q9dn>lQ>|v|tnkbKgZ8 zjoSti%B9P6?Ch1A7FtjrcPr)fh!D8BFxXCf!z{_k>TN1{t9r zA<;WvZrfM4g{E;s{5`&1Y$EVkmj<@X7nYC<*9`z;{-TCmJAh>z+>4?lUD);KYfBqE bfHbV#<#Bc8M?~O^$vj4;BB2~uEa3G!v@;il diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/newInterFoamAutoMotion.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/newInterFoamAutoMotion.gif deleted file mode 100644 index 12a6bd788da3fb5413f3ed6b8799d4dbbede1af3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2913 zcmcgsdpOf=AKxVBA#!MQNN5QOv1ls1p~8APNKG!sa(MjOkBHPm^B{+XWGO84TuM!e z*l(4}VPm9Hy{dP=YBNOAg-YkW?>)~|9;$!e`>*@Dzvs{W`FuUsd#rQ{uEwZh-U~6{ z$jQmc%gZY$C@3i@DJv_hsHmu_s;a4};cz$&4Gm3AO)V`gZEbBG9UWa=T|GTLeSLjA z9&cb^U}$J)WMpJ)Y;0m;Vrpt?W@ct?ZoYW&Vj_{aWXTc>3yY;oms(m{T3K0HTU*=M z*x1_I+S%FJ+uJ)hI5;{wl1QYLD_1%>IXOE!uUfT=OeVXyxU62idd-?OuCA_bZf@@G z?(5dA^YHNS^z`)d@>;)s{e}%2Hg4SL?d|R3uJwkLKm&<>%)Y z6ciK|79Kx-yr`&%$z+~5aiX}m_~glxr%s(JDJdx}EiEf6W3gDLPoFL?FR!SmsI06! zbLLD{Rn^(EXV0BGS6y9w{`~n17cQ{b?3$XIix)3mx^$_ww)XPn%XM{i_4V~vu3Two zXlQI~L=c3_RsU0t_t-|p`2zH{f!-Me@1-MiP*({um+{Ra;oJbd`Dx3~AvqeqV)KYsG$iBKqf z`t<3uXV0ELe=ZV<#A0z@U!O!G>F@6!7#J8F9DMQO#qjX(%a<=lMn+z}dNn#a`ug?j zv9Yo7@$rd?i8pWFynXxj-Me>_laue?zyI*z!^e*wKYjZ2`Sa&5U%q_(`c*2G{&(ug zc=>-hCLiUo7z~QBl2wyw0;43waA66bK_EdW^5ey+wUDS`6#X;PH|Iccb0LvpL{5zT z_VSZF-%S1@@h@w^l0h{Mmg`h4YdnjbHakyr67yT0*`}X157#p-o67@wzdMr)`es*` zS`&_odTXeheKgT*+uy}f|2ceUaQIB5-hFDF#;&9xz&1s*rJMZ^I6xa7 zgc&}`c0=j*5E|PPd1e|8p&f=hGwS=uQUV8WthU2;A`CobwD?yCdmmF*W;N2v=lS^1 z*Pw{?P}``EqG=-gdTkr75No(yN|Q_~F?8@vh|A%izdYtbEG?R(H&T@ofzIDiVS9u? z3XNcIt!-fl9W8ZO{tw4zw{k(8=qEwWj zjKNDcryxmq8c#*h25oE@Z;L6eB%@xiC?QAD0F*Ddb;}x`Z`p%jy=1&y$wh{bEzAK( zQFCdMDy2CjXoZLdGCnB^Mq?|IcnqO76t#~g84N#(H$)MOPp#bxs+aecVmm-MCjtY( zghrk|he|yF$H`S_bJmz4Urn(21kQF08?J9@&eky`B5<Z;uJ)>BPj3Jaw z#&$3WsasJ*&?0Nq-55kQ@<6NE%V`piIqD>D)My)!DplVIMLy17FW($Le)pr(5Q z{>~}yT96vhONMh~06ANM@TxWy5|M(y($DU6p|KWFoOuvB9|qwdGX*JdZU%#`hyu>wTPo&8HNsoA0QDN> zAuyF6Tx^fwmd1#u0Ahk);dcv+AsIl-7xE+rV+b3tSUHs)fx4-2&6NS$ds2TFGgaM| z0_>h{SU%Kir%TOvSLf!gN7Awx@&~`-!3Zdu54OH^;dUFSOTiq8?^*yxRZHi_k7S!c z4sQJuZ(EL>h~ch2x1cv#DL6tgN0c`c2GqFf~vZ7x724 zE2z~``t=DTt)`(}fugL0klEiQ$(EE;AK4be)h?fvND zQ<|JHks!{J!Xop*@PD?0?t$q31JERbi*;)nk;0-Tjs?{nC+3+zS10=6DdHqr!5h;R zDMlO7zyU#_B4uhf6EYO<+CgZ>fWS18Y7{D*=od(ae`Aq3m_b3Iryq-)2-X1;BqX;Y z11*K^0*@kcPpMe&K&I#F3H?5>gn-j#_)S}l9*dl$084h`G>moujU^Yo075Do6LA4M Wh-9#z?3u*7rj(=!k+KqI)&BsU9Cri& diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nonNewtonianIcoFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nonNewtonianIcoFoam.gif deleted file mode 100644 index 99163f01d83bf2a4c987a349049d6bd6e1a006fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2460 zcmchXXH-+!8iteHh{6ydF_bZ~gg`JLM3fSg5m1oMKxm2}f?@=e6JkM{*8oEhBw|1q zFs`MBA`nnxA;*G?8gV2_QAXv60W?-rs>H(FeVqH}D)aa5UuT`Q_xFD9`|NLfdV4so zjw!-uVLlFEz`|m&csyQ1Lu3B@`P$mr1Oj2swaV7k*3Qn(-rnB9!GXzSIyyS8UcGwFnl(;NPHWe$b#``kadB~VbzQe^ z-TL+G-Q3*V-Q7JrJUl%;y}Z1D$jGRusI6PKMn^}-#Kdgdwr%_N?Xj`3Y&Lu6&Yf{_ zaq;o-2?+_icJ11|dv{`DA_PGk4ksxoiOc2g*|TTw-o5+w?c2Y9e{yp2fddCpQc_Y= zQ`6JaGcqy`9z1yH&>_4N%64d>3CJAeNCg$oy?Qt8Eu7cX79bouh-D_5>G zHa5y+va46GUb}Yf`t|EKZrr$e^Ja5%b4yE0Yiny;TU&d3dq+oyTrR(L>sDuH=k43K z@7%f5)zzg?DDK|9d+*-8?(XiMo}S*`-oC!R`}glZc<`XVzyIOGhmRgTdi?nDz`y{4 zAWxn=85|sZ`t+$%sT>*_8Xg`V85w!@?Ai0@&s8ebix)3mzI^%W)vMR9U%z?t=Iz_J zqobqm-o1PO{{4p!AI8SU#>dAeCMG5)C#R;Srl+Sre*8EyGox0kKYjZ2`Sa&5U%q_( z`gL}8_OEXXy_f%&WunGoF&G46g{q-5fmtw%xyl`p3n)wofxrLgts`%07Eolq4!hll z=h%~2x?+w~2&}oOrkzwae7yaH>2s(gsp!XMOs>}T#jVeJ}a@d&&lzx_v1 z(ENszb5`#6S&Ukq{k|dh=A{3PgNLfJ+4I5f##)osxisd=?)zS4^m2UXuza-Fbk4{g zDCg|{A1a&T_&)*@{k#-`{Y7$Xt$#T6w=WJZF@2(158d-Mb+$NA^AjGG9QWcv?kZK*@tQ!lzV<3N~j@Ic#S9hsX;Uvz;_2F`vr# zMCX|t97xl;SF~L?Xo%hyq7B&GHl^~n1!C4|mky&6U2m20QIxtWTR@M@X5R3~st@5r72`TJNcUC zMv(dHofsnVj!??j2&^{)fXiHbfS)i^l8nr11~`+-cW)G24iT`q0rHU z{_T}C!uG)c^XI_T_Rltf^t8Dn9(Zl$ED9VD3)FHG!s`OZRSHo6lBP+Y_T(3CPpAZ) zDHj1gm+7bxbovKXb{U_@ohYf1VYD*rC7|7(%!3%5N`)y#p}T z*rv^d*cnM9({xbBeh_FSVwXV@vxmmwOaL4QBs2nf7HEqTZdu?a;$UvX9*_dG7{~34 z2Ii^J-++TZ3NNeFcEWlyU>;QV_Z8Cnb{|e_10mv0!dr%_s}_J(L5HPTI!uTKd;#FH za0`aFEiJlV%ErY4J1x3Q2n@KBImQ5No`svFE#SOS0suaeO_9a-!Cc80I$HA_8>rHR z&Bg>t<86{Ln0bIjt!@?sXhPqB`-c(Zk)vw5ydld30FMK?7zzPZ?wbcnBGbttpIf{i zOqLS?$Nj7nqheZy<5zy8FsQw-(ZtXZG)*`(yj39Lg(5Qe}OX= zhp3;qxt2r?%*54hQxTcJ{uKL5P;lmNM)5TK{S@?}u@S;khtk}{`9^4*lA$956)Vxw zVO5wsUj$b71nuaeLgK~nf=N|2pP7l*Ro~ajDzMxeRJK~>i4g{b>UXBZ@^N{VlCUkc ztSUSM%9Mv-7Xf0i%`nYm@lmj7VD00W9YSr{1@SQvCb0wA>v%+?+*Dorjf lE*>gQEkH`c$puI$dAI;6B^MB-1eC*2A}GipAvlr28UT%#9-9CF diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/normalVector.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/normalVector.gif deleted file mode 100644 index 7d445838ae74193fda3bbf08e153b8a1278fff05..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmZ?wbhEHbz&!j0_Bt z3_2iTkev*y>I+09BEuMGen^qrnsR7z>hUiE;n!p&of{%eB5qD{XrG$e@F^v7S}TJ! E0LvXeuK)l5 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nu0.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/nu0.gif deleted file mode 100644 index 619b3a710fba6aea0f9ad96b3db46543d1d6429f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 216 zcmZ?wbhEHbTd`wt<0x(b3UqX=w!o1yxm5EiEm5eSI@$ z&Ro2B@!GX(4<0;t=FFJ~4<5XF_3F!)FaN;+WCU)Y_>+Z^fkBi(2c!gKCj)Ef17U&C zP{x4J&`?u@P*Krf2&1&Y|Ei4FQJ&DP0-`J-6AtoR4f2>eIYfX#=)^$}ph{5|885I( Zpe&FUjS%%@eQ(-XU<%_c=7h_+b>?cc=__> zhYugVeEIV2+qduEzyJLC^Y`!HfB*jd4+bD7;s%O8Sr{1@Oc``QNhK6Ql zW|o$gHa0d64i3)F&Mq!4ZfT2rcIkUbLN~ma~3XK zxN6m^)vH&pU%!6Ch7DV`Y}vJI*WSH*4;(mf=+L1fM~<90apKgeQ)kYcxp3ja<;$0^ zT)A@f>eU-JZrs0r|KY=jPo6w^_UzfKSFhf@dGqewyAK~eeERh1%a<=-zkdDs^XIQ$ zzyAFB^B)XAejYSH@h1x-1496V4#-8IIALJ_*I>pX6cFIb;2eMzaOnjESj+lgl?wn# zN?8Hr6l7(A%m6iDM5+L3eNcq*0{P+r0ggQ00SZz9{^~#rB-sN3#7zRM8MJx*H6+~v z0-V?z% zoSa-(SXf2!YxnNmd-m+vj~_q&g8>5#fZ|UUMg|6D1|5*uAU`p%1svdORJ_rn#p;>< z#n3=t!Nm*{sb06mP%7~81j$~RX%|%uqo%p`xOqt*vcfU|?!$YGq|*V`F1)Z|~yb;_K@h z5D<`0Oarp%lno;-Q( z+_@`Pu3Woz?dHv!_wL<$`0(MACr@6!eEH?em!Cg>{s#jFDgnixEQ|~c>I^y{^FV%L zV2g6_RVcK|WmtasWrzlNE{=$$0g%zASOd waAP~ZD9CDVgM{(Ex)X3WT^|JUY1z7x-2*Zq~`jmpKH3v$;4m{0A>(y_5c6? diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/o.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/o.gif deleted file mode 100644 index fd5e565a34d3a3236c93c7a090bcc6b3759e5f5f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 170 zcmZ?wbhEHbWM^P!_#(sr1mfc2va+%|IyxpMCf?rO5fKqFF);}V37MIhxw*N$y}h$% z&t9}>(axPa@7}%p>C>lg-@g3^1CVAyK=CIFBLjmlgAPa`$W8`U^#>x7M;&b@HaT22 kk~nDM%g11F*+h`(LBnMe*0URY1QxmQ7pnN0v@%!&03!=9>i_@% diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/omega.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/omega.gif deleted file mode 100644 index d1bfc15b70153b3f2dd1adfe6d0af05b9138520b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 182 zcmZ?wbhEHbILrIdkTsMT<6U*sx{GmYq9yo;h>o!i5W0uU>ug=FP{CAHRP6`X3BHhQfg2 zPZmZ725ANzkO0U|23F$-+j4Gi%N0>@1(MQfGFP_w-rlC`zO6BQQ*PMioZE+UW(P|O V3kghKki)gWftf+9KH2^QYN6Y{K diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/oodles.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/oodles.gif deleted file mode 100644 index 03bcbeb58e8fa412acfa92448381059c0fbc2012..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 843 zcmZ?wbhEHbRAb;~_?E>01RNY3JUl%7{QLp}0-~a#;^N{`Qc`kqa`N)>3JMD9>gomt z2Il7G_V)IUj*d=FPR`EGE-o%^Zf@S*-oC!RK|w)bVPO#w5s{IRQBhIR(a|w6F|o0+ zadB~piHS)`Ny*8{>FMbi85vnwS-H8n1qB7g#l@wir4gPoFt+=KT5d7cN}5c=6)p%a^ZSy?X81wd>cf-@bkO&Ye4V@7}$C|Ni60kDonz z_WJefH*em&fB*i&hYue=e*E<5)925hzkdDt{rmSHKYslD`SZ`8KmWl16o}*k#h)yU z3=G)}Iv@i;al*jh@%QbXz*soa@wH^V)D#*v$MHztAbf?fkm0W zqIfXSzz9WYcaXVGii)}*RkqpL2{wv~iP>R_iZVj}7TLZ!!PyZ8+2J}~+1aj&+1Vmc zRWcsgWov$MetTiIZj?ZNKqZo`l$q~Y#w%is@G z$DGaS2(*?VF^nMts?ILkoyE@4&Mw14j8Vvm0c08rSXB%|LKs6zb~e=g?yTSt@W}R+ zVbB2@Vr2kA*&b>c88Sc@1A`0{7%4)U85zbYGO^hW3H)IOii*Y&*)e8{ih4kEeHBF& aWmpy6nfV>F-9@F9gR{kT6jd!68LR<7a6o+k diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/p.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/p.gif deleted file mode 100644 index 2c39652fb2d966c1e47f730732a017ccfb7590e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 194 zcmZ?wbhEHby1cHKsVq#*lva;&x>c+;#78Vv(R#tv~e!;=P5fKsb@$pGX zNqKpBrKP2vot@p?-4iBEm^^v%tXZ?>%$c)c!-ieEb{#o#fQBpnWMO1rkYmsR*#xqafz^J2yXdhkCbO3pG(U-L36Jc09^3HTvg3Ip+k;BK qr|_ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/p0.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/p0.gif deleted file mode 100644 index 5139c502c51ee2c3b9ae48efddbe12157f0fd2ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 345 zcmZ?wbhEHb@l1_nk(MrLMa78VvZHa0FU zE*>5petv$Tp`j5G5z*1n@$vE5+1Ztql~q+$_4V~lO--$>tsNa5U0q$>-QB&ty%Q%+ zoHJ+6+_`h-&!4||@#3XRm#$c`V)g3P8#Zj%xN+mQZQFM3+O=oTp8fmxA3AjC^y$;* z&Yin+Z^fx(PH2P6;j69d}>huQ8A zKZIDA%s!j8`DTvU>?5WQH?1U~yxS{VHr}+FAlQERVL^h~?B1r0CpjkEV0~01+rSG{ zl6W(vVUn-##+xqevvWlgZu&{h_MI%y$s{*BH#H)}NpH6A=75zZO%r^TH-U@>s$|Sn jVmMMJ0OGB6ja(5T)wt3rq6f(173J!5QJSpF!C(ylKY^Bc diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/patch.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/patch.gif deleted file mode 100644 index 2f787af4d01b69af8a98b33e03ed4285e11f4b74..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 179 zcmZ?wbhEHbWMklB_#(w1Cnu++rDbevY-VO=V`CE-7#I=~5)~DdmX?;8nVFxTUsqSx z*x1<8($d@8J9+Zt`Sa&5TC`~C(xuzCZ$EkR&J07$ql~q+$H8nMLb#)C54NXl=&CSiNt*vcsZSC#ty}i8? zCr+F+Y0~7$lc!9XGHu$l>C>mrnKNhp{P_zPE?l%|(emZX*R5N(e*O9l8#Zj+x^?^Z z?YnmE+P!=C-o1PG@85s$;K3tDjvPID^!V}Pr%s(Zd-m+bix)3lx^(&S<*Qe(-nnz< z?%lf&9z1yT=+ToWPo6z{_Tt5hmoHzwe*OCG+qduEzyJ90~A3uNo{PX9}e=q=r6b*plPZmZ7h9m|ZklCO(VPOB)z@VRm3G^i-gxe%eN76=Blto9EO+rVWQ8++8Dap%(gU2^X!ba6zIVnli zImt&!CqTkJ$xBGdOG)3(Mm01^Pp2U%j>j)aCqOAl-^D~W%3jdaMl~qP-6bl{A~Z@9 zDD3NC!XTKG#BQT%!jY83W18f^q8T9Jl4POjC#&jXX`>ntW7D diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pcorr.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pcorr.gif deleted file mode 100644 index a11da981e9546956dc9a556270303c9a3d9a50bf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 704 zcmZ?wbhEHblwsgv_~yU>1VTbWA|fJUVq&tgvYMKjhK7b_W@hH*=GNBMHa0d+PEKB4 zUOqlPzP`TU;o%Vx5z*1nadC0+@$t#Y$$5Es#l^)XB_-wM<&~9{O-)U$t*vcsZCzbm z6DCZUIC0|CsZ*y8vQjT<*^+qP}T zjvYI9?%cnB|MBC;PnfVx3|1y)2Hc{y`i|0aV1uO1fRwPKqmGa{gB6e| zAPOYdA#&JdSVWaj@G=^j*fB-!p!W7KsAnzTB-()j%sQqj(R3Qo`pJ) IXk@Sk0L{3qvH$=8 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pd.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pd.gif deleted file mode 100644 index 1b8c979ba5370738bf1d8a5e8198c2d9b06acdb2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 345 zcmZ?wbhEHbf+e*F0D+qa)TfBpvpkSlQj#h)yU3=C!rIv{zFpBUK69HQM1 zzVI+Io_#iL^GyZa#*@=l-pDbVbtX(IG-q4S;k3<}5@yj$lDY+D%x0f$*>F=$OPa@F z)6Ir$SC3EQT9LD)$G2^wgx$6&iHe*%b42=dKW&P20;)`_UJ}MTTUT(?%^b7Y$672i VR9cRnNZZVqYb2m?go}y68UQK*kPiR= diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/phi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/phi.gif deleted file mode 100644 index 62594cf04601f10acc8468cba72afbba44e0ab10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 321 zcmZ?wbhEHbW3O)xahuqUFS4V*u3m^uq#>_NNjH12jSe7_0&1Bx*|l diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/phim.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/phim.gif deleted file mode 100644 index 8e020689160b5b96801a61c891b354d7f7e94067..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 643 zcmZ?wbhEHb6lCCK_~ym{1e~0lTwGi{JUmiTQi_U-nwpxry1IILdIkmt#>U1L78X`k zR@TdbiAhOGX=!Qc>FJr7nfdwoMMXs=B_)-Wm34J> z&CSg%EiJvhy%Q!(m^^v%)TvXaO`A4*_U!rd=Py{WV9}yQ%a<=-xpL*IRjXF7UcG+( z`mI~HZriqP$BrF`4jnpv{P@X}C(oQYbN1}nbLY-oym;~Q<;&NuUAuMb*6rK3@7=ri zwIX6{<<(!y{786kI7J9jCB z0E4-^ysaHqgAiN^gSm^Dn-;sXqn3^q2-rxASxV~j*tknEGOF<~YpE)`E3)y(SOGN% oOSuckyQ={mDdq^)FRbh+=x8Skl#>ASZP?unSll)F@~ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/pi.gif deleted file mode 100644 index f78d1284571e9309c41fa33068dcbd9eead58ea2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 176 zcmZ?wbhEHb)aAJ||l%oYQM+|2v7Rsb^MjdLDIUdS4y+G!; Tq=37LjJlwVxS@ zQE_o`DJdywX=&-{>Dk%Yxw*L&6%|cQO>J#$9UUFLy}c7BPMkb>^7QG`XU?2CXU?2? z^X4sCvSih&RU0>M+`4t^?%lih?AdeRz=1=D4jnso?97=n=g*(Nc=6)Zt5@&cyZ7M1 zgGY}Zy?F8B)vH%;-n@DD?%n(M?>~S3{2vTJPQ(oqf3h$#FqksvfRupz#K3m_K-Ai4 zLNYS!ol3#0uV!t%XRseYoTW>810P&*M zg5%n6bLA30qyL zx3y_mSoB=Kl^|0zZMGg;4b~3iF<+B0y?hXELnRAe-%+s3Kq_l3V2%LsblreFF%|}E E0JBETW&i*H diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/plasticViscosityExponent.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/plasticViscosityExponent.gif deleted file mode 100644 index 93b50aeee7752a388ab1d13ed6d7a0b98ea6f2f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 952 zcmZ?wbhEHbRA%63_!i6n1YBHPyu7@Ef`Up)N?KZ4+S=L%1_p+PhQ`Lm78Vv(R#rAP zHum=Rj*gB_PEO9w&i?-XAt51QVPTPxkufnbadB}82?5Z{EB`ix#b3 zy?Xun^;@=V*|u%l_U+qu?%cU|@813U_a8cR=;+a-$BrF4apJ_OQ>V_HIdlH}`HL4X zUb=MY^5x6du3fu+{rZg?H*Vd!b^G@1`}glZc<|ui!-p?lzI^lM&D*zc-@kwV@#Dv@ zU%!6;{{83ApTB?q{`2S0-@kwVg8|6@0}2#>vM@3*gfQrUTmgy`2KIjqz~FUc;g%8> zmXZK6u>)UOH7k!0KPyIK?D9ZSS&?9{9FqwyB@UdX5Gh?G6(H-8fIKG>2RoBN9lJP^ zD1#M*WA29}h{|Np1M~kixGF>3jVc}D3gU}GT%&0VWCI-ya<`9^l$D{BOo*a%2)~q+ zlxc`EtELvegdmH(4IIdMd2t%shPZO;11)q^w}l!b3Re)~!XP29F9kFJ4jTMSvNp9Wq=4+WMBkAqy-eYC|0ms4g~N*AwbSl44A2<^gu}s z!ng*N4AK$@h=5EFg4!NI6oQiR1A`;B4Jcls2}CX%Jum{CWw%7llHh(P#_?!_3Ug+}zy4!ot$hlF4MUSS)L6Yc`wB;c)Ei z?CkCBSFKv*;Nals=m>%!m&a&mTdc5!i8y?V8~ySt~S=i0Svy}Z1U3Q#qHj`J3c->At50tDG7q0p;^z`&S zd-m+zyLaEdef#(C&&bFSi^Z9lnORv`+1c4SIXStxxiAbLJb3WXp+k9jd4~@l&d<*; zC@45`3v)Wo2b2Po69< zFR!SmsI084uCA`Bsi~{0tFNy=b?VgV)2GjzIn&V4(Ae16)YPO@Dpe{~b93|Avu9gc zT3TCM+uGXBojcdw-hTf4`Hqf`&d$!RuC5CgE_8QyU%Yq`MbVy~p39dn_xASo_4Qr3 za^>pPtJkhwQ>)b)jRwQ8>({UM_xBGB4BWVJV{mZr=FOY8ZrvIh8X6fHxqbWgojZ3% zM@PrT#>U6TCnhHD-McqAIeGv7eXUlj)9Lhj{nXUd^z`(D2M-=Td^j^R^Z4=OCr_R{ zefsp-vuDqrKcAhQeevSO+}zy!{QS$8FJHZS_4@Veg@uL1#l<&o-n@PLc4=wJU@-i) zyo_G?-!1MUi2wj7;Av!Ld=miG0DP;%5C(?_q3~w~iQUxq$>TL33flS82M@n0!9Ojr1+zKPBN-Xcw?#cYPG+i?*;g7IG8!EgFi$X&C#4E75*~cHply*lL5%Fw9LBS@Km-j2nJL3tj`E#B~@_ zY{K((#LI0MY8QtnJc#34@aPBNA2DRw#4+eQqE0w#YT&f9Q(#>>W>VXdgq8yuB+`QH z#uxm_r%$OyT1Oor6pFVGKI|!N6KIOND;~lD zF+d(fC*mSH;bV!)*9!2lut3xRQ<32)`DXMB8tyVt9s8XHY8CEykT{#cG>t~5V%*pa zYe0m;337{#U^6?;JJj(mM#qz%~zjX*Ri(257G>C<8==P)cN|ke;}-Q@|zJLX~VK^}w(-#UdW0{lFw`mw$tn zTTxl`Xd0a_slv&NJpIC@*$J}NpNSm)FUq@JGZX@-kXXg&UBgJAI7o|;t#HZSk^k?4 j5!01g^e(&W-|QOUNtJ&3)Q$hbKVV3duTU-u1_FKuvg(4p diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/problemD.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/problemD.gif deleted file mode 100644 index 378a1cad7395e26b8f8095092e9e44e26cdf458f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 388 zcmZ?wbhEHb6k_0F_^QSL1VTbWqN1X5a&jsvDq31v#>U3>_V$5+f#KodQBhIJ$;oMH zX_=XsIXOA``T0dfMHLkl)z#JQ?d`q2z0;;mn>lmloH=vm&!4|^>C(M>_Z~ic_~glx zXU?2CfByWXOP8)*y?XE7y|-`Qe*XOV+qZ8&fByUr1|W;60Th3-FfuTxGw6T}1Nn)8 zZQ%i~B^MVo_$?21F32#EVmQTl!E!Fo^vf?xjAHzjUsg9f+2N;p_-Tn%CKE{T6@%Y$ zVW%Rixed#^AC_3n^^-mD@=M?ppvsqt7IT57uoYMt+5vebOd#zqQ#j`M^#FNRa~b9W zsYeXFKnkecZ#lanNPG9OmoC5N09AG#w3zE6&zW3eRmw2)a^__X5vkt83xFz{7_0%6 C=#x7D diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/products.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/products.gif deleted file mode 100644 index d51f015494e7ecf7c35faf166776383f370f04b6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 194 zcmZ?wbhEHb0 zof|i9+_GiMwr$%kUAlDZ)~%N>Uw-=Z=|32NjKB>Pf3h$#Fo-hffRupjWMH*d5E9`C zQV1}$2{o1V0+OMw4j{5oFp#(Fvq4)hZ}Ve|pio}tP$1xSW(@;UhXa6wqGLlyXlN^g FH2^_fIm!S4 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/psi.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/psi.gif deleted file mode 100644 index ad69c057db8000944a28edfcbacdeda4b35cead3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 321 zcmZ?wbhEHb)6-#>BU#96au&7VJi$&w{2R;*aPdiAz#+jj2UxqJ8Sy?gf_IB?+HxpP;qUcGVS z#;seo?%cU^|Ni~Qj~_pK_UzTGS8w0G{rK_YmoHy_{P^)73>c^c6o0ZXGBBt!=zz=v z`H6uo?!e`jC02nN%R!W;3z$;$Q|DJL`DEZR#WA_?QjZk_i)z847QYVuhlO2p{5mEd vES@!|VPWgjf>TrcL{62l^|2^9sP_A7~V{D9P!Odu63z+epko!x)h diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/purgeWrite.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/purgeWrite.gif deleted file mode 100644 index 2e42a4fd30742c5be04c05d793ba894e7943c933..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHb-R84wT<92}gSoSd1NnVXxN zpPye{UESW^-rwIpapJ^DlO|1>GG*GdX|rd~o-=38ym|A^oH=v-`t^qoA3lHn{O#Mf z@7}%p@ZrPPuV4TE{revb7-$9*f3h$#FeozUfNTKyiGeNoKtM*)iWH}X0UA#VSp?<; z92Vv>)N1w7FzIX&>Goq4;cC?rWl#fBPKrE^fU3>_V#XWZazLfK|w*0k&*H7@s*X8_4W0WCQX_- zbLOT^oA&SDf9A}Y8#iv;zkmPf)2E+4efkduAR}-C#h)yU3=EVGg`U|>-E$->CMz{j8iWHW%wU|^BGz>~zL$+AFZY;0j+;qC41>+2g76ciQ~77-B< z6B82`7Z)ENpOBD{oSdAQnVFN5Q(9VDU0q#UTU%dW-`d*R(b3V{+dF&q?74I2Zr{Fr z=gytGcJ11`ckh7%2aX&$a`x=m3l}b2zkdD3jT<*_-n@JF?*04spFe;8;>C;CuU~)u z{P{l^Fpv%uf3h$#Fz7MpfV6`A#K4w&z}u-YQXxWb`svV*3~ri^r=Aw=jA`pR4W#Te zr=OlsxHD!Q|HF?T1pI(Xo+|8&k!l3VHS~GA9^u>>qZgjFsdGaNNN&{}Fa^}kc>FlX W6us%)DvlaKAUPm!9+M^qgEatTDv4zP diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ratio.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/ratio.gif deleted file mode 100644 index 3d554d4c98d74933b5f516cedcf3a2bf367e8695..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 407 zcmZ?wbhEHb6k*_E_-e!e1e~0lIyyQ=Mn*O^Hnz65uCA^=K0e{$;gOM%F)=ae>FJr7 znK?N*`T6-pMMX6=HO}ahh?~s-ZjUnUW7wiQCMZJ;F22Hf(lD1}QP-O9N7N zP3LmVoOXbf9Ck?CJTqtF%(H2|KtZr6Kx!x7>YF*&3K-KN76DcE9GwBw-kl9sayDh^ o&75OgCm|Ls_1b*%Ov|jZX^IZ1X3Xb+f;ve+4P1;_Vk`{S0B0}5%m4rY diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/reactants.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/reactants.gif deleted file mode 100644 index 52e795515b577e18c1e30986d19cec60dfd01eef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 318 zcmZ?wbhEHbI~U2!9)7QVP_>#Jr$u$rV|r9TDd!2W(k<71UWVx)RB+|Dw&XA!0FQAq9ocNE|kf< lVS>k!L#-~i7$j7LRu(8ubm4JXAtWfFBsWQI!UCXG)&R68T!jDt diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho.gif deleted file mode 100644 index 4f2b15a5e3da6adc14b69bce7a65d12e966d08f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 187 zcmZ?wbhEHbWM|-F_#(>y1Z-?LW`Iuk diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho0.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho0.gif deleted file mode 100644 index c7131fae198aaa85a9e96648aff24357f6c127d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHbM_wPS>^5o^qm+#-d|N8ao zj~_pN|Ni|S3_xxo8Yuo`VPs%1V9){S0Qrf5E!jaLXUar{1Oo{kwrI_e4b2>E%?A^D zxOviE)Tqo9>k()=$Rp!$s>MSyV#9=HmCBh6vl}y-H4GcXXK)@^nPH+U@tDb&kx31x c{joxX+TjN*K<(?h4?moE0Bk0Z=g43U0DcsAwg3PC diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho1.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rho1.gif deleted file mode 100644 index 55e23f631cfe4e969708f3b222cd1405d6afff1d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHbtf8S{YHDh4Z}08x9TXH492^`L78V{J9vK-K z6BCn|n3$QFnVp?oSXfw5QBhS@RaaNn-rhcG(xl0gC(oQYbHRcIYu2n;w{G3WjT^Ub z-@beI?gIx7oIij5^5x6du3fu(_wN1s_g}tz`TqU;4<9~!{`~pt*RMZ*{P+(B3={yx zpDc_F4B8AjATvOIVqi-?aJ9?0P$F#g)vT>riXN*ErEQH`8^&`o%k{t%n*~?17DTS) z5I?zavyx)KYM;ehE|r9d9$c36V@-p$Z+d8BfX2$JSxaB8VF0QG>NA-;)nN-zyEb3a O!-6$nGl4uu25SJ8jMAzKc2xGlbz(aYVN_M=B>s#veUqKiCpn0=T7bQ87&B)3M)Wso`8(X4T?!6a(w pp@}I*MpC_HuP!jD0ktolX`|i3;0n}k#IhuC!UeFIK%OImH2@LqhNu7l diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoS.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoS.gif deleted file mode 100644 index 0b6806410e1a1a106849d29f5872aceaad805c38..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHb+2g978Vf^5gi>J z8ylOHl$4yDoSB)KlarI5pI=s1R#8z=Utize-rn2W+t=4Od-m)(bLPyOH*dj$1?$(Z z-?C-Pkt0Wr9Xod6!iB3>uim(EZR(W>$Ui5*4C(rM_0KTZixa4 zCS-2aXamY=DF)~YJ6@40wVKt?ws^yqhL!DZjg=u0hMIghOKC2xB}F! Qd-CzZOt5y4VU7&e0I~pqqyPW_ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoa.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoa.gif deleted file mode 100644 index 6933d0bde1384211da6cb3826cc7e701c84b2b21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 335 zcmZ?wbhEHbF4Jc7#J855|W&poR*fB znVFfBlhfGP*wWI{-rnBT)irbG%=z=@FI~EH%a$#B_wGG#;K0d~C(oQYbLrBht5>f+ zeE9ImlPAxgKY#o7?dQ**fByXW9}F0102F_+FfuSGGw6WK2KkABE$6_+7oQS%+!kNV zFp+BHn|tw)p;WKiVnJs^DP1wJprFd)i%B3sWj-d8OA>a9Y9s&v diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhob.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhob.gif deleted file mode 100644 index b31b9a01474532e055c3e619524db2e6eb8ce5d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHbL=Ny*8{nVFgS`T51g#kIAy_4V~lO-=3X?Y+IdeSLjXr%s(cd-l9} z^VY9lzh%poJ$v>XIdbIKv12Dsp1g43!lg@>u3Wit_3G6dH*Va$d-vhPhmRgTdi?nD zvuDqqKY#w=!-tO_KYsoC_1CXozkmP!4+bD7;s%O8Sr{1@Oc``QNbqT;Ypa;WJ_7RXE>&ym3z0R3W-c>n+a diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoc.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/rhoc.gif deleted file mode 100644 index 0ecd4a8c345ed81f193965ec0edfdc708ea2e12e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHbFU+1H*Vaxd-v|chYue;di3nsvyUG?e*OCO*RNmy!GM8cp!k!8k%2*z zK?h_K$WIJx$p=Ebgfn^ER)%OzHIlW{JfSqzYiUs55lvRjB|$4gx)eN@DzpOSq$IsG zFELEvN;H`2@U&^dl7_|XY>tU8N()1@CVDPqmEYqw=jRs~7#I=~lAN5J zmX?;8nVFN5Q&d#c*x1<8($e1E-qqDLVZwx&GiT19KY!`crCYXa*}He|fddClo;-Qx z%$ZA3~V_L zlRbqqd3@9+pG-086;KdnPBNP5rVyN*Xk;j%Hu+_sfuNR}aC4&3OpA8^q?A_@F3b4Z zf>yFLOz(b_bj!z}+54#A%myDdr=v#<7%f1iL`~3X?LCleG}C99k8-R84wT<92}gSoSd1NnVXxN zpPye{UESW^-rwIpapJ^DlO|1>GG*GdX|rd~o-=38ym|A^oH=v-`t^qoA3lHn{O#Mf z@7}%p@ZrPPuV4TE{revb7-$9*f3h$#FeozUfNTKyiGeNoKtM*)iWH}X0UA#VSp?<; z92Vv>)N1w7FzIX&>Goq4;cC?rWl#fBPKrE^f-Sg+qzi{Eg)vH$@Jb3Wv(W9qNpT2ta>izro|G@xcA`(#i$->CM vAjO~q5(C-Ez$&}IP1AF+=?&EkHWu9|6P622kpY4MvyL=$OcV&_V6X-NGGIAQ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/scalarTransportFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/scalarTransportFoam.gif deleted file mode 100644 index 47975648d3d81c8d957eeb360fae7c9a196201ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2964 zcmd6ndo+~$8pq$co*838GvhK&ZfUlSk(ff*=EZ16%B9FH>qs=Z2$iDJOf!s<%bb?9 zh+c|Hdz4J#lu|iqN4#37EQ%;fPI9TVH0Qi8?X%muoX%P2taW~W{nqJ&UB zdU|?HCUf4rc?JdshK7blMn=ZQ#wI2vrlzI~7A!C`Gcz|gx3I9Vw6tWi*;ZCo3l}b2 zv}loyjg76XEr-Kdym+ylot?eCy@P|p(xpos9UYyVoSdDVU0hs15Oj5Qb#rs$@pv8{ z9(+DuAP{(ZdM;nS+{?>r#flXxSFZH-_V)4d@%8of^YdG^YL&mge?UOMnl)oD;^X7DZQHhe`}Q3>b|fSu?A*C?*REZOiHS)`NxOIN-m_=V-o1O1 zlau%D+b0r<#A2~TB9Tg^DJdzbsi`uV?BKzJ>FMbi85xoSFc^WR##Vd{rdGAH*VC|*WbEztD&Lc&Ye4rjg3uBO?U6!ZEkLEX=!O~ZM}Ez zURzsRdwY9FN5}p9_a8iX@bKZo&d$!RuCDIx?njRvJ%0SSr>Cd4xA)1DCw+Z={r&w< zpFVx|?AgG;z~JEE^XJcBym&D*H1zW2%i-bSSFc`;jEuZ~{d#nCbZl&Fe0+RjV&cu4 zH*ep*efRF&RE1P_KLuv`jL z$xiuH-|uPlW6UBkvQhHppy`Sn%B>nficZ|P%ss&##H(h{%2&`z9Qr> zt}y+NTuIf>bPj9w8NZ2$LOV*Ozi6=FR1h?gX)D7ck6x+9Q-dvln-G{Ub(iHtz)(e8 z?|>{l6bWu5K&U$gt4GFe5)>O!vb*?|>YXLbWHsZORzyuVe)iO#=HBKRv0M(RBRAJ+ z!m<;Bl2mt6zM(7B%@^SXKTd;{s;P7Q;mnF~n@C-bumx*eBahNkF82tdyB42N<^I5O zaRMW-)XoA8I3`W}Y#EN@5&%_@i^vFBEd;u?dLGt98tcW1z{BYXA~-}4X(ME*7^p|U zI~Q&m&n}Y_nMw_S1-fAgOjL#ElK@quD=aCk4kS{0ig~bAPBcNGDbh*)nd?Z$pib7- z18_u~E}~0KG$CUp6De49`{HR2WW&K6#cuH>Im3feQ53hiSO8U#f{4R&>B8JYmcb{* zRAm5=1WH)aW)o{I2s}Z6+ApABk`4;MMha4Kz>A00!iJc4K~g+{BV_h-C8<&}M@a0q z%)_e%W4vLgwHPSz7pssof*MBQBaLXx1b-!SxSc~$N65O`kn8QtvVl{(M=D7N)DSX; zE^&(<;DeG?rAfv55M+d!lOt?^IA-J1WT~KJ2^mM5Ap>+~EYLyWS|DT-Sj2AVCGdco z(`4hw&}Eb9h#Ye3SR9=LpiW%!*EDm~6c+B7U}H73u>>=$GO`h3#{<;hat;iYBw~<> zFbsj5$7rDXTm}p!ngi5MTc8ALC1ZxQl)S}1aY5|#Xh;La#1$#|%M^gRB;iMQ3!%&; zbg2gguoA*5)b?y05&D?v6Q}*ACcjO%OFg&@{%H_tj7$^42B72WKHNt#9zxatffVVd zWV|ehy%Ct1!+(-7Oyrb2eMS}(jgr{_5Y%mqQQWc?mTe#R(NIn-aMX9FJm5!zl`$z(!4Zx6o0JR%p+miV@$}qbmkT%-)z}C$CC|5PM8el3T z0Z;G*4I50g;MY6t*X9%E>cm4qadr4Z`i#7KUF%}C)e?RFR5ia(kcOEbfRuhiI-rGf zDdnz;tgq8RIM&*XNCZaocq@lkEq;?sBND1Tf5W|LzK~F56eli1#u(}{3V-s$nj#%) zHY_G)Xp`wyvFx%|fJ{RkAy869QvWkshP(pnd;V~kYuX?B7rE#F%am9(=&L10e2d0> z;Z>Va93%beudinTyY>@RGx=W+`qrucvn-VCzX}Gpep$Q3f1&GV9bz%napV~`*DE04)*2BWoBC5yGjrI!qi zOSu}yqld}Vt}bp?+3p~Win|!DrZ%Rmo9o_lOx-`?HvNBpe|_is_C-XFJHcT z^=egB)wOHaYHDg~YisN3>gwz38yXsJ+_=%$*m&#Kt>)(DmX?;**4DPRw)Xb++qZAu zxpU|4-Mjbh-RtP+xPSkCXJ_Yw2M-=Td?=Afq*7^DS66p;cTZ1GZ*Om3U!P1S>+kP> z^5n_Wr%wk42IO-2vuDo+2M33ShK7fSpFe*-GBPqcIyyEsHaC-XFJHcT^=e{b zVsdg)p-@asO-)Zv&&G1Fv5{b)_3okf=DKAXDLY-@E^c7 zY%xULOib|?pBQJa)`mGm$VGiE#8k(VSJ%z_Wf}ipUd%gjtTKOypd*z`+L$s_+V==x z!C}RpaBRTcrw^-)I44&4aY8x6AQx4So|x=qA{JUJDw2Ao0Tt7{iIO#b+`OZJH*$%r zF>JlZg(t2tA%|_>grRQP;LqCd;V7Q2Ej~}Zk;`Ge04ge_Gn0A00-m#Kba#v=5ybU? zutP9v+iFa$RNI3$jXto3d7R6KWWVSkST$wmDwq&JMz9{S&9oI@WP{CWWiHeSba2pF zCn>UiJc%cldc@^hA{YhQ0v3rN2dp3AdjkDc>;iO$-0lZWE)7Mq05Z<2qb|Xnj7~u? zzsNjjzK|A%%{cI(B1jLZ22lZI9S8cc6@xNa`MzY(MgaMWfeTt4fIZn>&abPNKvyt{STm$l4;+F((8k zX-c=Ykt%5+nDJx&PjO@mBu6D#u%S#?Y{f<#Br jFt2dF70(7gukZEQQ&DiP#E1ot<9qVi^>w3(54ipVWvTa{ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sigma.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sigma.gif deleted file mode 100644 index 5441835d64eb4b91385f79534fea731fee46078a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 176 zcmZ?wbhEHbv!+oefaR<+qZB3!GHl3DE?$& zWMGhD&;bd9>||ioT~MaWDj>po%;(nRj40;JsHqvV1Tv$hG|WoNnB`_Ot1V>KU3x=H}Mc z)^>Jwj*gBV9v;5FzJ7jw!NI}d;o%Vx5m8Z5F)=am@$pGXNy*8{IXOAGxw(0Hd4+|A z#l^*ym6bI$HTCuNO-)U$t*vcsZJnK+U0q$hy}c7AOqeod%G9Y-XV0EJckbNz^XD&G zv}p0-#mkm0TfThx#*G_y?%cU&&z}AJ_a8cR==kyDCr+F=b?VgFvuDqpJ9p{QrK?x3 z-nen&=FOY8Zr!?j_wN1s_a8rg{OsAY7cXACe*OB*n>Qane*FCT^M5b^d2+A<#h)yU z3=G~3Iv@vv;)H?yUxPO;U@L@6#@kz+8@HT>vbVRVsyG*)xU{#ot){rRt+%7Dkesfl zw6z$MfVj81t+zf>>GPnXs zV|EvBE^BXZbC4XXqN%AVkoIZSr2bBd5{pl z63|jzTUIA7Wp8tBZ*g}+O}PeJX>lGGkgN-jxR|oHErYBom$;_4x0tx5V?CcyI9Gsk-TwGk-+}zyV-90=!JUu@}D=Vw2s;aB2 z>+9_C7A#!2aM7Ygix)3mvSi89rAwDBTef`p@)avqtXj2d_3G7Y)~s2(cI~=# z>(;MdzhT3MjT<*^+O%o&=FMBSY}vML+xG3-ckbM|YuB#byLa!|vuE$#z5DjeZ{)u3fuv zeZ{)uV24;^XBc_x9{G) zd;k9ZhYue~S3{09S2Y8YWa z@h1x-1H(E79gx34d4hrCA4BZUqNk^(u68Sp0W-A2*P%09l(k?|TAhN-Zafl(Ng^;2 zbj2vzqb47oip4;Xnq5yG^g^Y&gyk42xJ0>Bln-g3Xa_kAhjv_2g0FVKq(YfCoCIoL z98drg!F2OKOd&Lp25@j_9g>E*Y_&Io-p-=X6QRO>7$F5y19J4qO$;;b*zs#J zGwW=5Qw!E#fzA`P!@Wb+{Ji+6ODlYx(w@SlUKjgiDuBVkk}z4@&pyU8>nhioe)+|~ zU~PTg-lM)WhV_?Y(^-DW*#du82%fmgAHHr!LBUbh7VYpx2ARUIZO)S65gt2=z8*gy zAD$nOQ1}$&)QXNBRa+kR1D!g}hEWj|2dPXuwS--P3>lS|D>ohi#y3OVjzj-8Gxlg3 zNXJNC2x9M73XgHvQ6zfefJXRI2AiVRR-hgALcrkcI?H6UPU%WvsiN0hE16|GRVdbs2qi89|0k!aTEFwj$Y0ayxWO%j&Jn7P2#E&_tN}UyY-Rue diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/snGradCorrP.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/snGradCorrP.gif deleted file mode 100644 index f6e2720a2e015a77203ec8d4ebe95c79f750aa43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1294 zcmcgrKS.#q)1X^50NID@rvB%(1Umh?Ch)8t}83{7%27~|lFlXXx;tT>3`bQK4| z!NEavau5d{9K=Znac~eF97G%x5eElRM63kS_Pxv9X`7`}-*Dgi^ZUK`z4yLLroRL~ ze+v+X{OlkgCX=b8q{L#eSglr@&Bn4U$8i-E71h<%wY9Z%b#?Xi^>WHOmfr(0TDT3cJ&+S)ohJG;8Ny1To3dU|?$d;9wO`uqC_1_lNP z2Zx4+hKGkoMn*yAD@_*n4FxPnwpxPo}QVRnVp@To12@TpI=y5SX^9O zT3T9OUS3&QSzTRSTU%RSU*Fi+*xcOQ+S=OQ-rm{S+1=gU+uPgU-#<7wI6OQ&IyyQ& zK0Y})IXyi+J3Bi+Kfk!RxV*f)y1Kf)zP`D+xxKx;ySux;zkhgm$mjEqkB?7JPrp>b zS^Rf#=FM*ip`-yT<4%a>SxGd~V)+m&_EGBlVt6@oG0o%3`QNd;!@=_ozS6B@bIz2m z3PjLV?Nn&03{(@-UT|=60}!q1(DY&&ZNNmjKg=5>N{N1TjAkWCHvuBskd-Z~L3q~w zmC|QLmSj0BgKe{;7X*1Jdmvn}RF75dKpx!9}$* zB79Yazz{&-Mu8d}nHjT)oFxkXY$669oUJByefy2t<4`=GA`%Xj5_Rt$Ev-%{obmEM zZ4FFmfQ1$6+`lliLx{e1WkljupKr!pcxtv3{jR)57`m7?RCp%QSX8Z&QyWRkg($Fejv1^2eWMv`tgTUp5{=Rrg2qxqMifc}$KYPqq7~F>Nuo&A zI*D;yMqFwMSU0RyK~OXqi`%HB5^)EY(JD%{?r}-`mMA)w{_4-(Ux)L)`z`0(7Ze=G z@sV-?4V)+ea)?AC1VJPciA*L_C=?3|3rkB&Yiny7jb>|WOQ+NA?Ccl}hJ%BHqobpX zi;JtPD~rW)b8~ZdclYq{V6)kto}OM_Uf$l`91e%e<@)*g`TP6xcsxFzFAxX<0|SGD zgF`|>L?V$`EDj9~4G#~ONF)&v5s{IRQmHgLIyyEsHZCqMK0ZDnAt5m_F)1l2IXO8c zB_%aAH7zYIBO@a#D=RxYJ0~Y6H#b)gwz38yXrK8ylONnwp!NTUuILTU*=O z+S=ROJ32Z#J3G6&y1Ki&dwP0$dwcu(`uh9(2L=YTTCGl}8yp-Q8X6iN9v&GP866!R z8yg!RAD@_*n4Fx{>-E#q(=#(Ov$L~vb93|a^9u_Li;Ig(OH0ek%PT7@tE;PPYisN4 z>l+&zo12?kTU*=P+dDfuySux4dwcu)`v(UHhlhtpM@PrU$0sKzr>Ca|gW>G#?EL)v z;^N}+^3rHD{)HWMXaAr7XaWxn5CH%ca7X#je*#d9VCi!?M5Qx@DmXxKqYzVgZ*^{A zjC;asuwDlkZ(m2iA1XL!PaZ^CRKp2HS~aR_TR%#YZ7t(eGCT3t�yVsw z>X_C`1EA6$0M-M{n8wEeaVUU*J*K56qL`S>EAuSEGIYx!7H8-_0$u`QGWO}uZ;4d8 z1_nQ3S{jB5HX@89qA7eZ6}+zkUmITGXnY*9blNjSW9mJE2xVj`si>JFTM&k0tnfT?3T{IK$?QIMn8hvf zKlw(BFsq;2Vaq5iF=MJ=pE0dDnnwY?NAe&=6b`l#m_#3e80IW8JCv{kfG9LzW|a(I zm;_FTsOEG`)OhdqIN`5gj4}2nR|0GnWcC53Itl^s4nnP2gHXl*#T&BDmV<5sVdMz| zfEW$0;k#p@Qii(Qr>gpOA8d_RfMn*>F=H`}` zmNqsvc6N65_V!LrPR`EG?(XiMo}S*`-oC!R{{H?UAt7O5VG$7#QBhH`v9a;-@d*hD z$;ruSX=yn*Ib~&K6%`fr_4Q3nO+7t5y}iACeSNcM&tAB2;qv9nSFT*SYSpUMt5>gE zw{FXpEnBy4-L`Gp_U+qu?AWny-@bzf4<0&n=*W>HM~@yocI?=R6DLldJbC8KnM;>0 zUAc1Q?%lf&A3l8a=+WcHkDonz_UhHE4<9~!{P^+Hr%zwMe*O0C+xPF^fBpLP`}gnv zU;y&%AOng&Sr{1@{1|jV?gGUL1N*-QKTM#*$Rq~=qWqY$etsORE)Zb}9ctIk~yHd3kyH`1nLbM5LsoWMpLI`~m_30s{ksf`WpBgF`|>!otGB!^0yYBBG+A;^N{G6BCn@lT%Vs($dn> z)6+9EGjnos^78WX^YaS}3rk8$N=r-2%F4>i%PT4>s;a80tE+2kYwPOj8X6j!nwpxM zn_F61+S}VZIyyQ#JG;BPdwP0$dwcu(`uh9(Crp?yapJ_ulP6D^GG*GdY15}qpE+~p ztXZ>W&z`+t!GcAL7A;=9c-gXL%a<=-v0}xlRjbylS+jQS+V$(#Z`iP5}j~qF2^yty!$B&;lapL63lc!Fd zI(_=|nKNh3o;`c++`04T&tJTF@zSMBmoHzwa^=d^t5>gIzkcJ!jhi=b-nw<`-o1PG z@85s;@ZsafkDokw^7QG`XV0EJfByW%ix)3nzI^rS)$7-_dghbB61Xv9s-I#Sr{1@rZeb(w1V;k1IIrG z{n%Y4FE1_ip00<+V2gx_lm@W`Ffz0Cu*$2Tsln8RRpea;*zR{tDd7^(6dWRO`N{`i`m8E z=^ApNJ5T{y%Wrt4i5R7&X+P@KlYDX8=!h{vI!C13}O z2d9FTIYaCtA%(+ptk@W0leQ?FR&`dM!r&G7WYPkLkRux;3W33D9Qo%#fD(`)RNNIa zp{VoX3@3mb?)OgTirIBUqhX%+ zbg7h`OIn&1dRH!p5fX8@08W5jCWkJldTKq3*>#Zd(o!YbSI|C=wT3> zltDqp&XDCCJQA*7Vww~g+@!=91I|b$CoqdUxT+oKc(AOmi$OC1Xcy3hdNv6cGL&8h eNioVNm@Ist?AytpbM63#z~L@776T?G25SI$olsu@ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicLiquidFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicLiquidFoam.gif deleted file mode 100644 index fd21ad5e06456529bd90edda92c8be084a5f5611..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1950 zcmc&!K}ah}5FJTYBcpzzAz9J}nI(jQFUAliext-h=^Z8}BqXclMPv~~LzDf9`-L*$&vpULYPH&IHc=EyOG_&%D%@^&Wo4x#Ni{V!wY9auU{Fz%y1Kgh`uc{3 zhG;a}+}x~bT5D@-GMP-JQkhJqy}iAoqocF4v#YDCySuxmr>D2Kx390SzrTNAU|?`? zaA;^~czAeZWMp)7bZl%)*Y)x7@rj9v$;rv7sj2Dd>6w|C+1c5-xw-lI`Gtjr#l^*? zrKRQN<&~9{)z#ItwYBy2^^J{<&CSiNt*!0t?VX*S-QC^2y}kYY{ey#p!^6X)qod>F z(lv$ON_^NWj%%gf8FtE=nl>zkXK+uPf_ySw}Q`-g{z$H&K~r>E!V=a-k4 zzqzqS{2wO$Wi1c{5ULqDn~6~LRfktC95>zRU?32Tu}zFW^U)?O=B@?}arg`50`q}y z?Kr*bi+TJT6@oOuHnRMEgb7P{MMx_GZK2d|`yTb<9zlh-Ks0LctKh{0Kub00(cQ*DK;0{3--}_^*qphyxc?AP_+$(pYL5BPv)il3LM^ z6`5H+p%lMApUfHshziDdm}E?$S}??zSvp;fWJ(DVkzcTaV55h(*T{*OuX6t-RYbubLc>38_&Z$y diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicLiquidFoamAutoMotion.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/sonicLiquidFoamAutoMotion.gif deleted file mode 100644 index 98100e324363ab8285ced976fb745375095c260f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3742 zcmb_ec~lcu7auSzf&_sAqKWJ~D2s?N)$)O|gMy$SLLp%jYy>|Y5V2(k1EeSfv>F!_ z5d_SDD}ya-!lGi;>S&Es1OypVELug|^m`LMf-UFN)35W_oOkd0-Fts`dmdiy%bcPv zLR9GG7z92!IXQWGc?AUpMMcHgvu7(QDJd%}&zUnvMMZ^5rK+l`s;Q}|tE+2hXlQC` zYH4X{YisN1=+J01I-S07;X++qT|GTLeSLic0|P@tLn9+2V`F0z6BAQYQ!_I&b8~YG z3kyq2ODiiYYisL8ixw?jyx7LZ#@5!>&d$!>-hRoFB@PY_OP4Nna&mHZc7|d2(@#HL zzI^$L6)Qgb>@yb^7gtwTH#fJHD_5>swaVSy-NVDf)6>(-%ge{d$Jf`_&(F`_-+%S$ z)oa$Q2?z)X3=CYmc5P5lP;hYYx^?T;uU{V$5)v93x?#hHu&}U=8#jiBhet$2eE#|8 zk&%&6QBe#AgUMt@M@PrR#KgwN#>K_O$H#Blv?(DWAu%y=^XAQ8eDMW~#oDrEOHxu& za&q$4ty{Nm-;N+iN=iyzRJkR$jr>l%F4>l z&d$ln$<58p%gf8p&o3w_*u8r3yS>gtmx zPuA4b)YjIXI(4e9uCBhmzM-Mv^y$-lJ|9KV#>U2`rlvDz&YV4a_T0I1=g*(NaN)wm zix-=ln=uS)X=%B1>C(5~e*4{b-?g^3wzajjx3_n6baZxhc6D_L1OlN@*xlXT)6>)2 z+uPUIclq+=D_5>uy?V93zyI2`YuB$|zj5Qn&6_uW_~D0Jw{G3OeH+K|J9qBfy?gh^ zAAh`e@195`x_|%vPe1+i;K7534<8N;3_N=DXmD_FXlQ77c=++-$0H*nqobowo;(>F z8zTtf>C>lTvH0hoe;ywnfA;LzFTeaUF){J{`STYqUi|v&uP1UPwhGjc}j@03}0Dp%D? z9TPRK%J=>=;76Hw7neuy`v9A{vg2O2>_9jYbi$xuhTt*nMyWQ>Hp8c!A7)aWWgXVI zIT&i6A^1OCf7DUA;KNXxs@PLHSmNP@_eKOHP8qb#R{HanXjSPgd?tRUu78L;mAMoZ z7c!nd6Ewq#z$!|3^?L{V^S99UFNfQVK7?Lxq4C}i7a&?*IuZE^c_Nxj%AW>k zIfMC+aZ#!xa)A0iPT9UGhmLva;wTnd#MAuH)ftLQ%r!KRkRnT_e9iZr?(0qyg#sD? zdgi?C5%qnjus5(VMfr4S%y(U#-e^0AS8w6D8D++u@UXKF7VooKdJ1eq?t~;N=jp3tgy1G5lAmjP2fMr5EfH5sWgxbDV@me{A zD3`e);PA2o0f`Sg#Pf@d3EXchKh{s~KY-}ci6RltjliEikx3F6XdMPlQzF$cM;C9j zbRZXGrBBQcLl|UD1%bdC7Gy*dcvN>M=$ha%{L)^HB03hg6@O9EA-;Pc$x+P5OoaE& z!lgKRpfi(9s$w@o$l7C#aPHSJZ_8!SkbHl>VbaKrli|a2#~DKZ@>xiugtCpPO?9yW z+=EaD=7J>9P)uG==WW8{236n$N)gI@950LcYT{^^e8zkjp$4IEI`wHV5?jt^J}#K$ zkPu7(yt*raTM^3`6?MYu)yqllMsl2xMhc&4+NDg2iYLo<=j}-%aIR}B2h?^Cj&_vn zro#z}hft;?dlroJ5AwsBI%y8x1ZzAhZjh|Ih265BD9gH}*3W7!q{E@I_$7l@PWUpY4S!bC#-ZnXNh?}BpX3f58!n)iI1-0sQU##y zlnA?ENu-dalaWZ^PG((iZ4`&Lb415g30wyTm7{GAuEEI#Jf{_^6wwF}>1z>qk2RuTbxeXaHg$=GIi0GtD2x((BITt!uI#5DB=*;B&aI)}Fw85_O(6rzDYhA) z6A$C}*=kdJz+5l^b3wX>8e~QV;{AJAL`YHS?RpPwOM;4mkwKa`o*E_O^jjhX)EIU? zPaZ}v8zZKvGPxrx?s=KSh$Q>S&J6A3i0sUVacgxOHXU1#j^C+eaKi13hH<}IK5@ko zp+ul#vC%ph%l!~K7MM%N+)VKo^O!?^=7@kAif)b9!4@gjwd{3;dQNH2YvCU|HsHsfa71ic`UZQDAK%4wk#qHoLrfH0+|ji$E7{tHy7$*K+a6_W zGC_4PJvRAr9gl&!TiM#X&&$}(sWPCAZDFWr(leQq)o(E0Ga3a`Nj}e_4CgWehO!|e z3>PJj8)(20`L#jG&x`1%jVZ^+8F7Q5CYJLeXit{b_;6vc%YBe6fl5NzTqvNcp^RoJ zi7=}VTUVJw^MDeA_#d&=-6nU3h*4Dwn!O_vt+1Z&) zCcC=2y1BXS+O^Bw-JL?AP^nZ;Pfsr|FK=(}ef#$L`1ttx`uh3#`TP3^1Ox;I2JYX# z|G%jIgkR#lNlKq$zrjhqM~AAVq#-sdbi6>5+;PH4TPoCuS`9h)a)TvXaPoF+>=1g*Oa!N|d zxpU`IQ&ZE@($1ehpPrt6@#4kI%*?E;tnBRU+}zy!{QQD~g2KYWqM{;^NK{;0EEbDP zN=hUWNoi?md3kw7MMY(0WmQ#Gb#--3P0iJ-S8Ho)WipvuE>|cNb#-<1_4N%64ULVB zN~KbzQZ+R-AqaBw=FMBTZZ$VIx3sj}zI|Jx(cHOn=kDFR_wL=hfB$}4Tib&N58B(? zA3l88(b3V_+1b_A)!p6Q)6>)2+uPUI*Wcf-)oLFecJluiw0RGd@24_U+q=iHUdb-o1bSerjrJ zdU|?hX6D0(4(|A_#igaC<>lp-m6dPb zzOAmV{%v^cQuzP9oy%Ah1R;>e`s(X{0>Z69ziEVe6+)akw+4G0zS_|({89AcD zgVTcB92|Z)Dt*IK{yiphbDjTI{;4N5x%GSHa1pK0LV-@OyB;)Kw<(yhilQnFo=cWk z*;Z$UINz~K_mkl_W&LWNHI0xw9S)W!bPM#_!Sc;0Nbwz{tPK>1u22~$lw{JU*c|gS z?0(gr!deF?PsUQi*XDlgya7EEqW;T4Ep$+*7e-RtFaK)#XcQWoR{&owfr3hvYzo<^ zorKSEilx}vfGqk!48c9akWS3;16!mhWGo8Z>RRg@DHwyd*zJj$TI)pPioy}@S+t{4 zDz`_N%`H};y%HFSkH*Jj8#TfiJZl-cJIB$J7R3`xCdN_r>~=BRrav@9U?SEiXhKP( zp)6cXLL{`vtT7ZPF zH@Q>^P}siB`%pG1JVe+kTrh^DaGAAEAf<<>(H_YJtu7=C&=bHD)Z?<0FoOG2Kz9jN z!%jC^g><*W2H6HjHLfFW4JbU6R|X?BH~65t3ser4Cp(8zSP)4QLsGESI38DHZ!~V9 z-V=DCaCS(wrvC$laGTMz8&X?Sgqze1$?yaR0M&@3Ug`uja5YYnMq)J%;g-rqe#p!u zsCHcfF@#1og%}BpE;(pl4Kaa$rNtz~2PM&|^ffTzBoXLM#@!$>Q#rNMt+)V2)*!xK zM1+Eows?MOoz!(NsbwC_N)-73H0^+q9f0&R`FdgD)>wpVvGF5JX4YjQ&GA9FO8$sS zYDom$wb)}ZplN8Kpa-8-XOJX0m#Kyo+mD&ZbJ=Q-9VM+RUNSZXhHx6K{JQ@4fXid! z{JgHM3U42-MunkSxDGHd-O2J1fJeAhKJ`LM9h-7kY)4$`>W@>yoOo(*u46xm85By@ z>fEhzT*Y?H{Uh3PM<~@UX?-A>z1S`~V`Sza#$Oblj_WGg0x@c>QH8n6M_5MM5U+U@ zNMJALFEG6@vcf|Q4usqd91#HPTp76-kV#5b^T6o8=kWKCVfq}gt-5l(c2bmj7VD00W9YSr{1@SQvCb0wA>v%mxxJE-fyO cE*>r-EiNuDV4i}Kh7wbgl9Cb@IZg&^01*8elK=n! diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/startTime.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/startTime.gif deleted file mode 100644 index cb45a478e9a10e61299075d34f6f69457c5c1025..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 223 zcmZ?wbhEHb_*#>Q4wR`&Mxj*gDLzP0<>eD6PMk7j%Cu?IX3m_sXwjl|>((7Pa^%dJGnX%4zJLGz>({Tpe*O9% z3_wORFev_HVPs&CWzYd}Kz1^)#w08kjlEtPdp*_xM3#zQ0+HSh4c^y)4BlXnU}E!C zkl^JDrP0iK{bsy#LmBU;`dmBe5m3%3qLg^}N-V>T(pYn!yR0R#*ERjiIf06!Hp&EZ HFjxZswqIN> diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stopAt.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stopAt.gif deleted file mode 100644 index 5cc2247421701a23a90848ddd02d5338c2ce15e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 107 zcmZ?wbhEHbgt-5l(c2bmj7VD00W9YSr{1@SQvCb0wA>v%myAVE-fN1 cE*>t9EiNu1V4jkahLS>)k`faZIZg&^02Un@lK=n! diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stress.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stress.gif deleted file mode 100644 index 63585ccb997b667b2dbfe7274abf5c5e5997ae91..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 176 zcmZ?wbhEHb+Z^fkBi(2c!gKCj+Z)!cq|D tfRK#9K?i{VpU@B+(T0#v*9I3>k>F54m#r+mPdVH|HJy`mf<&1ZtN{}cFnRz0 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stressFemFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/stressFemFoam.gif deleted file mode 100644 index 7a64941f6c25683e6dd9f5ec394c63622e82a60d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1904 zcmds0`%jZ+6#fd7yN=48fTLEB0I3XNRv=oCwA^W-fE#>~JC!0rg>M*xDTE>jB0;bL z2PyX!utKGXt(p$YEZ~KE;R{A(pio+MiXvXvzG9Y;Y4!)~{PgC$=RD6j&-=XOKoa3V zLIPk2tcd|6P$-nPwl*4#*45S3)6+9BFfcYY#$YgJW@Z)^7M7NlHa0f4wzhV5b~|_O zw70j%VzD?J&cVUK(b3V_+1bU##nshy@7}%c?(X~c?ep;P@bvWDzkff0K=AVN^6~LG zc<|t%Lx+5Qef|9W{Qdn&BodiS4hRSc3=9kk3JMMm4habf4Gj$o3kweqr%)(VDm5Y^ zA~G_PMx#YVMMXzP$Hc@OIdUX6Ha0FU4g|rYM~}wG$0sBtBqk;%B_$;%C#R;SrlqCP z>GWgAj-{ukGZ>7FjEv*Qk7s6Po;YzLJ3E`nWS%^EGAAb|H#Zl8puD`iQ>RXyK7Ber zKmW{`Gb|RXprD|zu&}78h|Ojf7Z;yBd$y#cq_niOtgNiOy!`z6^A!~p7cN|=tgNi6 zs;aK8uBoZHbm>xUZEam$-Q~-d>+9;3)xH*VaJNF+CJ-n@0|*6rK3 zrBdm@z`&h5cVse|TrM9P8X6uR9vKvv9Yo7@$rd?iOI>y z>FH^OLIK0@+}zxwM~@yqe*E<5)A{-Ng@uL1#l>gOo;`p5d}(QEd3jl>RIaS7s8lMo zTK)3n%U7>ny?*`r&6_u?tE+F{zJ2%Z-P+pP`}gnH*VjLM`0(-L$4{R=eg6FUug%by z=Km7dbsZD{NB~#OLYhAT=x+eOs9_O9fe+$Cn+E|X`PN}xhLdi``IQq0Scc*oH8hfL zzgwbA&feDit#%E?mM*%}e{sPgmna|{8Dn@MesW9Kmcg)2y$B%H+VH<|G^FAmDgR>M zg0rFNkLduokh)4_WW@Vwc|1!~&E}2@Kp`|3sA2u8=ATRi2M^Ba7_wT78o>f_h;rOv z3QqvkCo+np?hvA;1m4>rwbxh*qMg2Y^*3fhOw)JB zV(H^Z#-M=6=65qJTY-y^+VBaTQ)es@yXl*xRA13#;1m~P8z`~ZwzR2Tewa=chOVeL zMaApDY-d)xMk&~QiHPVc?uVlW2L)ihtqP868bMyg#B5V&Z&L(kO6RTsylBI|0-fg&U0)DpM4kQ|jllN33{DrA?Wlr9okJDiMLa=>)_Z~`i=EKjh|2)7WHNas z>hQE6#4QJ{uQM#i$D)vru&DGmj}<@R&i|0k!CU=WR1T*Y6}Qt+K3}{|!-;2vi@#3^ zobixa`A57$umeQ)*|ektYGf9qbFSD`L)dIABZgy0%Agv?Bf|p~5Pzt9<*+G^`eLc0 zhwHa1+)rzgC}hN7tqA3=@St`XhKi#{{3%V8>D!Qfv{Y{6X&P_q*UuEl#_%52yZx6V z=ZW@vwjbpArX;hBaOoNq+s|Qk(=*gRn@QOi4{P!64h%717Y}0Re%5fjf5W zpi-$c8Z9_DI3y$_G&D3UEG#@cJTfveDk>^EI-0>?#KgqJ#>O(4Ocsk37Z=B7v-j-T zvv=>_ef#$9-@iXTKK|grgNF_s;&QnO2?;O^CnhE)B_$;%C#R&O96o$FH8nLYE$zsW zBRn22Jw5&C(W87mKO-X}Gcz+QD=RxY``EE#$B!S+$;ml!;>5|5Cr_O^b^7$_yu7^p z{CuHMSXfwCR8&-4TwGF8Qd(Mi`SRtmva<5>@`{QIu~>ZN%9YB>N{K{LRaJHM>Q$*! zT3uaTQ&S_8$?EFr>g($p8X6iK8?Rr#u23kNnwoChxY69)+|tr=^XAQ4w{Eqzwzjpk z-MMq8y}kYJ-Mjbh-BYPlYPI_Q{repq9U6^BtJOYu@SwA^v#YDCySw}0!-qXRJ-xlX zeSLjTo;>OA?;jW#7#tiN8X6iN9v&GP866#c`t<48*x0jY&z?VjK0ZD^F)=YYIXN{o zH9b8&Gc%*p>0Z2eF*`f^>eZ{)uV24;^JZ>t?(N&R^YioX-o4Z7^&dWbSXfy2`0?Z7 z;^L=IpFV&7ytK6R<;xd?!SMHT8DsJPD91%p6aXjz$Y|I2Cjc`8kf;?A$!s}C39q=R zag2szKvG!YI(M$db7kv25i7ppcG5W-#7GA;KX|4xL>SqMgrN#n?qbYSNSp-$h7vYt zH-?(9zM%}t{mKP$->@Pb%Mc-Nb69)Zl*^QJ&ci>VzNxId(k>9T$!kfVU9=NxBy`G@ z#+g%5u5UeqwKg6Fv<=mUUnEp=<0A(0afs9<{fzn?P0pzRc%o1&9il531-kxxql-zs zkhUsLPV{E{O!{ah7G1}5X)K8_AZKL+Dy$td z9Us`VRz}a8196WFIm(=6Lb=W?FAcIbBBm)H(P>B{h~yuD3W$GL=GrM=GLT_B6|cnR zDhYovpl$0AKv~#adyW*g099C)*)iEyEB4MK=3)L!e~0u&)Ol1aM|oN)C#VYXL5$cAa_O~x->a4}|~WexRr zj`F_Wi6o|+Npa9dWSn6^ zTfj?_G*ci>&H*r55CJ441^(7r@V-us0ng_EKck%35DVT6{1PN$i5vrE8XfK0>b35& zs5~(cg01Hi6ia4MGU|6*ce(?;0O(@;{F8JY-xS}#IggRepfG6SPFFxbH;7i1QXH)H IW@do@KlH-d*8l(j diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/strike.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/strike.gif deleted file mode 100644 index b72b99ac2e584d9996f8f578c351746f7e2ce110..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 183 zcmZ?wbhEHbkJ&6pA$8#?{ VERZ>#*m)GJjJ@d22y+w(Z)r z>%@r@7cXACcJ12Z$B+Mm0Rz!M@h1x-1A`!g4oC;cP6k%RgfAk2OIQMz$V_D9aTC#) YsB9AGk&%^^Ra{(LT3T9PUq5Zyv}Mbd ztzElz|Ni|)j~=~ojT3T9WW@dhVejyC}R#sMyj*d=F zPTt<$K0ZEvet!P`{-L3vVPRp3iHXU{$?56oxw*MzWo4C>mG$-YO-)TLEiIj$o!#Bt zy}iBt{ryv>Oqo7?`s~@W7cE+}YSpR@8#e6NvE%UJ!^e&tJ9+Zt>C>mro;`c++_~%5 zuiv|O@6n@2Po6w^`t<3uXU|@}diCbbn|JTtef;?G)2B~gzI^%q{ris}KmLOO$lYL| z_>+Z^fx(7B2gC#UiGi)rK~DeZM4JK|x&GtDvSGVUb{~KIu|kT!e|hD{3Y&Yc8z1jw z(g(^hixzAXdvFve$IyAy$>B-^Py@Ti#|qwwYmE+`5z@b>b5p{{H@ffq_9mK_MX_p`oD>5fL#lF^P$Z$;rvNxw%C}MU|D6)z#IFjg3uBO&uK_ zot>TC-QB&ty%Q!(m^^v%oH=v0Zrys|z=0!2jvPOJ{KSb9r%s(ZbLPysbLY;VKY!uE zg-e$%UA}zz>eZ_^Zrr$g_wIuS4<0>w^z7NQ=g*(Nc=6)p%a^ZTzy9>;)0Zz_zJ2@l z{rmSHKYslD`SaJWU;n`XA zVh-a;D>^wz!gwZp)=nmjFrE^dm6a|7jK?4-F3!qj1=6Q$>BOMno%%PQnb5PGU|@5-K2$fvPNrQ-iFU0-q&_Yi=&h;iMrc33iE^lq3%aNE8G#q->oO RVLUBXDJNSlCb32aYXJ0FpDF+V diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/thetaR.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/thetaR.gif deleted file mode 100644 index 5602dd59cca7427d03406314dcca3463060b2ae1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 604 zcmdUs&uhVP7{@;rv3-#mW%-&>3>%Uk+c)!_zRF{z{0LDla&~dz#zBdca#b!4?s9Nf zBuTkQDJfBI5-GK@@ki`+d-d-9^gKQA<#;EeT*N^;2Reaam_Q)Faa=4GD-;T)QmIy} zwOXywXf&J61VLD>R*IsWPN&P|a=YCgkH_ov`g}gW-yaABg27-Y6bgsKkw_#OjmBcJ zcs!m+B$CNwDwWD)GTCf4m&@hz`9h&kEEY?pQn_5NR4UbKwN|Uu>-9#X(QGzbtya6; z?sPicZnxL#_51z7U@#mGN2AerJf2J@)9G|Jo6YC*#bU8sE?2A7dcEFkHrwrXx7+Ra z`@`XIJRZM)IUn{PkRIqXgaEysmp%UkFy^McP!3Bb4vOkbldy)f4u4ds;V4+>@ znQ60`(A5wh$LW~u(nERxt`b0V#}o187zqaUDbd`%0m&8th&3mZasXb0X_-!b{|VrD lWQh1G&`TutQ$`{JbiB(jAn6~VViSLA5VB+-zhPvMFJr7nc3Od`T6+;1qEegWfc__)z#ItwY7D1b?xo#Jv}|Wy}f;XeN(4S zoi=UStXZ?>%$c)j(W0eGm#$m4ZvFc8TefW3y?gim{re9bIB@LPvD2qdpFMl_;>C-X zE?v5O`SO)3SFT>Ydj0zK+qZ8&c<|ui!-tO^J$mxw$(uKCK79D_@#Du&pFVy0^5xsN zZ$E$j{PpYCpFe;8{{8zO3_v~^fB<)O{Y)q|8 zt*jVSZB*^l8H`LNBw?nTGnhI7t!L$s1Zsu>HDO09JttNq>sWQ!MVz$dowy{NoQ#wq V>KOQBnE8Qf%vt&QVR{=GtN{fFss;c6 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/timePrecision.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/timePrecision.gif deleted file mode 100644 index 4e81d06aa990a17ac44693ce6614725ba056d54b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 491 zcmZ?wbhEHb6lLIJ_-euc1l-)*yu7^p{QTIMb|#>U2`rlyvbme$tR4h{}ZPEKxa zZrt?ljY zGiT16J9qB<`SX`7S+Z)?sx@oYY}~kU&z?Q|_U$`*^ytZxC(oQYbMD-^>({T}zJ2@t z{rgXzJbCu)*^3u1UcY|*{{8!pA3y#F1CSGO1I3>#j0_B>3_2hsAU`p%{W}n~cH1eJ ztgTUN!&YB~QKk|c0SF#ME~o)nNdrjGn-Qh~s$_B}dqB3O+02uVLRMc*5bET(y5g!? zLsV{2#Z?Qokhfb`GRCttt_17zTpG68lf^Wo^-Cc`(AFrffYrWgTcdPYSDaN~YUF5G zbrocv(aNh?8V;|5nHL$b@jVLV2HMw|9A<3jAm_ZcZPx}1Zca6WOkc6-o(F=HRn;c5 ltcLmlqz~vMwl#1cZ9TaJ$$uc{W(#u6j^c#+T9<>t8UTK5)Z+jE diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/toleranceSet.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/toleranceSet.gif deleted file mode 100644 index 0a43a3d6b8b2454cb399fa2f603ec4448aac48d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 188 zcmZ?wbhEHb6l36G_{7ZM<>i%}oV;brmj7VD00W9YSr{1@SQvCb0wA>v%#9u{E-fN1 zE*>H-EiORH#ibEQNdN`GJVzkq2vP##IRYt1pc0iPB_$@1pn{T;hLTc~5))961t_RQ JhGA0}tO3=_GN}Ln diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/touchTolerance.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/touchTolerance.gif deleted file mode 100644 index 0a43a3d6b8b2454cb399fa2f603ec4448aac48d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 188 zcmZ?wbhEHb6l36G_{7ZM<>i%}oV;brmj7VD00W9YSr{1@SQvCb0wA>v%#9u{E-fN1 zE*>H-EiORH#ibEQNdN`GJVzkq2vP##IRYt1pc0iPB_$@1pn{T;hLTc~5))961t_RQ JhGA0}tO3=_GN}Ln diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/turbFoam.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/turbFoam.gif deleted file mode 100644 index 66395565b0099b50a78b9a1ed5cb42c857610ac3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1121 zcmdUt&uij96vszVQj{RtO^8a{ZLlfWfT1JSACdYHcU`;`q)_Oky_7@kAn#OeRyQR63o`WHKiwC)sTF^z`)X z?Ckvf{Nm!`>gwwH`ugVP=JxjX?(XjX{yvw>Jv=;Un)dkk`1JIY&*uw;La|sZl}gXg z&o3`8udlD=a=B8eRIAlmtyZts8;wS@*=)61?RLA<>2$l@Ua!~h_XmT)a5x-|M&t4L z?d|RT{e3c-OsCV2kB`}GHlNRb>p{2if5z_IVnPUzOxvetf|ySY)j?SO z>}EkY0@eoLHNg?%urY4nZ8m`wLH7^v5C?Tzumy>H*UdPh5ZE+*6_|iTHHJSOX|uf9 zzZ0S(M4h{!AVIJa_oycd*b@RUegsKE0CB|H|KI)d~G;2X->>B6zuMP5rKst0ogDl0Qb*#?6yOiPj-&kTB)sm1Oe$iDG{Ml|B2O diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/u.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/u.gif deleted file mode 100644 index ec9972e8b16fe414515dc5d2e3eebb867f10239d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 170 zcmZ?wbhEHbWM^P!_#(+5Dk>@?Bcr9IWoBmP=;-L|?CkCB?d$6s5fKp;6%`W`6Biek zlao_iTwGmUU0+{6Wy+L!^X9EuwQB9!wHr5X+`M`7(W6Ii+_-V)&Yk~Yz<>%Af3h$# zFi0`zfP_JIGO(&YFfy4X=IG9v5hdu$wOTlCZ?vQ78VxP*4EC> z&TejQ?(XhhUS58Fe!;=PVPRp>(a~{nafykE$;ru?nVGq{xs{cbRaI5BwYBy2^$iUT zjg5^>O-)^0UA?`%Q>ILrK7IPknKNh4o;`Q&+yx63tXsEk^XAQ4wrtt6XV1QU`wkvF zc<9ifW5i<)w3K-4JMA*oejM&iJk3=%M=Hkbjj9tarpA+&{^ z3_q8souw#`xRad$RMbw|(n%F;ny8bL1Oq24SgoGA6GD`k)r3dT*i=;nihHHg&SomvK^rI0z=G$|)+uZ|9_F=+wwy4FIj{w7dWS diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/uTheta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/uTheta.gif deleted file mode 100644 index cc7a1a1cf6f3e20be80f5b77f99588861cd4e0fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 379 zcmZ?wbhEHb-QE5D{Szln zoHlLR^y$+VE?l^1(W1qR7q42iYW@248#Zj%zJ2@Ny?YNIK78WDi3=Al+_`h-*|TTQ zpFe-`;>F9CFWC|ESlNf$_|0R^W& zmH^7-m7IFourr1);pEdI%QM;_B@Cf@(|0E(?3{C4kZDEHP8sgWr>FAhb2>~ty-{lW zogBv5sv1IK+>1^!7Hc!42%ad_5sT299<7)s>8}UUzVnXP;jA+tYk|BpiDor%76xko D*(t5H diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/upsilon.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/upsilon.gif deleted file mode 100644 index d5ef96f612c17bfa29f685153336d2912f93c419..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 170 zcmZ?wbhEHbWM^P!_#({!1Ufo8W@cvI-rl~xzQMu45fKqFF)?v*acOC3Sy@@t)zzJy zos%X_nloq4f&~lKu3fuvZQA_#^Or7Nx?;tOojZ5#-@pIVsZ$p&T)1}a+MPRh?%%)v=+UFM zZ{L3Y{Q29rZ~wsnWCzWF;!hSv1_lKN9gqzmKQXX59AIs_$mlAyfQz9~FvEd`qoa9- z1CNZr0wyM12M&%5;SCK|V%>}^K^hJVyjqMdG>C9bNV~}B*}&rJJVC+3!I8ll0Fp;e A@Bjb+ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeCompression.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeCompression.gif deleted file mode 100644 index 3379639cb1d9fa5ed879578aa9a3ee8bdf6b3406..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 448 zcmZ?wbhEHb6lUOM_^QDG1VTbW5)u-ss;X*gY8o0Enwpw=dU|GNW|o$gR#sLvHa1>f zUVeUlfq{V`At9lmp|P>CNl8iR>FF668M(Q+#l^+d)z$U&^*ud3Q>ILrF=NJ@IdhgR zTee}thK(CH?%uuo=+UER&z`+{_3E={&)&X$`}yswl(P?yNl3%M+;9VS?9E6Og8a zB|(~;3JDuE8dipQ32%(hndYuFbrJ*5$|)*Sy)s=^hG?mJE)5cDP@FmmsInJirV3Cc zlfjapNkB6N8H0hmNkG9qFRiJPOM|2WwSYDRfweF7m>%M#?6ovV(^Jdz)DoZ|XE4-E y#$`c@en6E=?dDH$n*vlaDI}{1NP!Hy)B&bmH2^7~l3WdLkeP}aU4dF04AuaAK#=wT diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeControl.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeControl.gif deleted file mode 100644 index f54c3be3c4077e67e3547a580205903f4ba05a46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 410 zcmZ?wbhEHbF9CFF$b7kIzWD6VB78>!Nb;kFkwc+GiD%VAi;CZ!-huy zEa=kKmwm7iB-nGgp^!%fEXXE&BY~;;V1t2#j2gqo)%M85AB28e6W-MjgtPuuQ$;vjLfgR)sg9rryjtO9u e&8$p~XSgAP4h4*dK!R>7LzpDM_9ZwnSOWlY8-{BD diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeFormat.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeFormat.gif deleted file mode 100644 index 6f8a4643cdbf73d8667c4f2e68173733e8e45299..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 723 zcmZ?wbhEHb6ldUN_!hwc1k%#d3JMA;Dk`d~s_N?MIyyR*mX_Am*7o-HE-o%^Zf@S* z-XS3&QBhH`v9a;-@d*hDiHV6xNlD4c$!Te685tRwnVDHxS-H8n`T6+;1qFqLg+)b0 zB_$=LrKRQNH8r)hwRLrMO-)VB&CM+>E$!{?9UUE=ot<4>UEST?eSLjX zr%s(UYu4=9v**m2Gk5OX`Sa&5Sg>HxqD4!WE?v2D<*HSy)~s2xcJ10NTefW5wr%Im zox67J+Pin}zJ2=+9z1yX@ZpmuPo6q;>h$T;XV0EJckbM!OP8)*y?XQJ&0Du_-Me@1 z(W6ICo;-Q>?AhzruRneI^!fAWA3uKl{Q2|OuV24^|NajKpx~e{Q2fcl$iNWEpaZfN z6ekSq{~98Jz>`&2*eEhmlEYkBI?|2R79<7&qLGo-c9E_|kq!#FAwUik@F^*AM}mb- zxdRZwq5%P-Mqpu!U|n9A;t1iOAZh(bXZ;Xc(?}a8n6Q_mq@+eKZ;Q!fxC_LApvIqCp{|!I7?}q9KvGN&#+O z8h(+HAwD2q0FjY0gAY)-C{F~`#UNqBhDdWe9|eI(J=YK)WdWdrT=gO9*`*_O8Ksq( WgoT|0IfRAT+&o!?9aw}L8LR=$i0p#^ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeInterval.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writeInterval.gif deleted file mode 100644 index d645812fcfd0afbee5ab2c79ddb95a155aca5360..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 142 zcmZ?wbhEHbv%)t^aE-fxD nE*^pq%0&>&b8%^O1PTJ>L===Xl$4s3m=wU25)(lUoD9|gm+T}g diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writePrecision.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/writePrecision.gif deleted file mode 100644 index 4e81d06aa990a17ac44693ce6614725ba056d54b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 491 zcmZ?wbhEHb6lLIJ_-euc1l-)*yu7^p{QTIMb|#>U2`rlyvbme$tR4h{}ZPEKxa zZrt?ljY zGiT16J9qB<`SX`7S+Z)?sx@oYY}~kU&z?Q|_U$`*^ytZxC(oQYbMD-^>({T}zJ2@t z{rgXzJbCu)*^3u1UcY|*{{8!pA3y#F1CSGO1I3>#j0_B>3_2hsAU`p%{W}n~cH1eJ ztgTUN!&YB~QKk|c0SF#ME~o)nNdrjGn-Qh~s$_B}dqB3O+02uVLRMc*5bET(y5g!? zLsV{2#Z?Qokhfb`GRCttt_17zTpG68lf^Wo^-Cc`(AFrffYrWgTcdPYSDaN~YUF5G zbrocv(aNh?8V;|5nHL$b@jVLV2HMw|9A<3jAm_ZcZPx}1Zca6WOkc6-o(F=HRn;c5 ltcLmlqz~vMwl#1cZ9TaJ$$uc{W(#u6j^c#+T9<>t8UTK5)Z+jE diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/x.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/x.gif deleted file mode 100644 index 80897615ac48068a81cb01c11af055a7991ce845..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 170 zcmZ?wbhEHbWM^P!_#(vs1mfc2dU|@cwzj^$zJY;(p`oEMF)?v*aY;!@_4W1L-Q5!= zOqeod%8VH^=FOY8V8Md*>(_7GxN-aT?MIIuJ$CHajT<+fKY#x6<;%Bk-~I;!kfAW3 z_>+Z^fkB!<2P6QplYv!z!BL5$P73}ljGdx6(rgL0x8+7m$i2O-v2RmiXaMgiGgpR7 L949unGFSru$d^Re diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xMax.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xMax.gif deleted file mode 100644 index f7d533b8430c54e0efa671fbca1cb7a708405ed4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 453 zcmZ?wbhEHblwsgx_-e}l1l-)*yu7^f^76{c%IfOsIyyRfdU^&12BxN_=H}*>mX_Am z)(#F1PEJlPE-t>lzW)CHK|w)bVPO#w5m8Z5v9Ymt=-+-6DCZUG-=Y5DN|<7oVjMrn)U0~Z``C;CuV24^|Ni60kDot({`KqEpFe;8 zg8|U-ia%Kx85rysbU;1<`H6w;(SaEnnF;DDgRFP4drodng07D_?IRF3v diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xMin.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/xMin.gif deleted file mode 100644 index 56fff02d0fc473499af614feb448c5435fe7df20..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 656 zcmZ?wbhEHblw#my_!i6n1gxyAnwpwgT3XuL+WPwXhK7cwrluAa7FJeP*4EZGHa3oq zj_&U69v&WEUS8hb-oC!R!NI{{VPO#w5pi*G2?+_w$;l}xDQRhGnVFecSy_2`dHMPI zg@uJBB_(BLWfc__)z#HCH8pj0b&ZXUO-)VB&CM+>Egc;l-QC^&{rwXrOqeod%Cu?I zX3m^BYu2m<3l=O|v}onZm220oUAJ!C`t|EKZ{ECh>(*VncJ1E1`|#nzCr+F=dGh3` zQ>V_HIdk^x*=yIX-Mo48)~#E&Z{NOq_wK`o51%}F^8ESp7cXACeEIU#t5p-ePg67`MBU#W0$hUaT|zwV8+`2TJsC`yMMI1& zRTvm#`52`1MYQ>Z{J9u-^c4*x)k35stwKT+ghEsVL+tg8GX-^kH@=$oY%f p`K!73sGIwQu$g=T>f_@R92^`G5fK#?6%!Ma zmX?;0k&%^^RaI40Utd3M+O(N7XD(W_Xv>x@J9q9pdi3b=-FCeHuBU%q_#_U+q`A3uKn{Q2wGum4~G zaykQp;!hSv1_oOO9S{fPCkD1%2d1Yteee<36u18R>#tRNA=I*9{S7ZPBcMDu&TQsT^qB0i ze({WyswtkU%y$_8^)0!+TTx(dT>mAAVd;ejQ}*_(`K~46us3??b>?p%qmM7*iP{^T PrWA2fM7T|ZgTWdAvE|qr diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/y.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/y.gif deleted file mode 100644 index 4fe32faf3edb4f3af6cde3860c693bd027cae7f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 291 zcmZ?wbhEHbWM|-F_^QYtA|fI#F0P@Wp{=cLXlQ6@Y3bzTv_*>+EnT{F?b@}QH*em#bLY{cM^BwPb>YH=J9q9p zdGh4>^XIQ#y?Xoh?Vmq?{(}JnZGhrW7DfgJB?cXk@gP4jusIw!`tYM*As733W#wHA zT9caGkId-cyGvmX?-oZf-t4K9P};@$vC#X=yn* zIhB=__4W0wt*t#hJu_#{oIij5(xpo`ZQ8Vd|Nf&#kDfVm=EjX1PoF-0{rdH%PoMsS z0mx_u2F0H&j0_C23_2hV$W8{0nt0w<|>PEu)%P4^VKmI-9XF48y@!rLIk=+#;x z#u9eqO72u4O}}fg9@k?X${AyymAGEf1sX0}P|9@8G3+9?1=jZS59}o}_7#J8D z8X6H15fv2`9UUDL6B8R78y6QBA0MBXn3$fPo}HbYpPye`TwGaMSyNL}UtizU)YQ__ z(%RbE(b3V_+1c0EH(|nri4!MIpFVxotXXsC&YeGh{(=Py7A{=4c=6(8%a*NLwQB9! zwd>cf->_lB=FOY8ZQHhE$BvylckbDCM5XGPa zvKAC44D5d!lqC$KqFgkA!G{JU!WE*Tl=aX=fm}yznW$hvO!25F9`h(qW+Vv(GYH3x zHz>+e9ZAB)7b?*p8WqKD9c2%UYIAc7+bC=Ms9^IT3yYvA1!WahdnXPC4MPSEH(4_Y zi6|K+UNnZ7ss0 lMC`+~eDsu6ynxmz+eUFXM)9iq+RFHP2}hZW>NPT00|0@~(n$aS diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yieldStressCoeff.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yieldStressCoeff.gif deleted file mode 100644 index 40714552c4e842452d50b8447439aae1430674ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 491 zcmZ?wbhEHb6lLIJ_^QbO1RNY3va+&DN=jN5pK0ZDH0Rf?* zp^=f1v9YmfX=zzmSw%%f)z#JY_4OSc9X&lg6DCZUGG)rlnKKtIT)1@U(p9TgZQ8VH z_wL>M_wPS*=FEi)7p`2na^uF0yLazCefsp}%a`xoz5Dd()3YJljo<$`F3ngXP_76igHKm-{>wGKcu^nxsc3TlD${YpU67yMyG zh*JO2B|)76e1{G-FsyQ72~B5glrU49nq~51hJfTrho_ZbCxJ|nZ|yP(tYuimFMd2nVDHxS-H8n zB_$Wzi{Eg#fuj&TefV~ zs#R;(u3f)={e}%2Hg4RwdGqEiTej@nxpVjK-Fx=z*}He|zJ2@l@85s;@ZlpzjvPC7 z?8J!^XU?3tc=6(uD_3sbym{x&orez}K7Rc8*|TRaUc7ku^5yH-uiw0R^Zxz&j~_pN z`t<4Z=g(iheEIh6+pk~0e*gac=g*)2U;qk&fdh&^Sr{1@LK$>GP5{LT1N*-QV5mAW zbIOPd$%p`%Sb?96s-stEpd+I`R%xK1jARH{iqRN{3VU`thzyznko8a?#R_BLq8YSt z$-u-JpthL!!bH$%1{JV~s{)vMjATDpz#K$suv&+NI$NuHgoe5ZNwJ9AhMLRB7#oZ5 zh6>AtiipT^D2JL0OUZC*x`u}Ovg!s(I)s`t%g6|Xy7Ebyg@&5zhN?4wO#>5NoL(Uc z9za9EJZ%M_)6BI)?Z7Ia*83^wDQSj=`pL-XsfH>T`-&KcTFdHjB8QcWInXsgCD!J? cq1IlZw$`EM^43t_f(^zb%!K%Wf{hH;064rQ&;S4c diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yieldStressOffset.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/yieldStressOffset.gif deleted file mode 100644 index dd4d4ba8a101f90d4c4c1c62082cba45ab77a65e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 684 zcmZ?wbhEHb6k*_H_~y<41VTbW%F4=yhK5E)My95w78VvZHa2#4b`A~>j*gDb&dx3_ zF0QVwUS3|_-rfNL0g;iBQBhIR(b2K7v2k&6iHV6RDJf}bX_=Xs+1c57d3hxzC1qu0 z6%`egm6cUhRW&s=b#-+O4Grz>?VX*SeSLisCr+F;ZQ7hUbLP&SyI{eBMT-_KUAlC| ziWRF?t=h9^&%S;84jnpl>eQ*zr%#_hfBxddi@-@kwV!2sm9K@SvvvM@3*crfUITndU4 z2KIjq9v&WMj67oO3S8PiCKNc!su|gP*lIJt1c0=x2$*ArBxcEM2o|%{MW|C_N3dZm z21OVPK{J?v*g)$oA!05HBC@s+K@Ss6h?pgVgBcey7nq}N;o)Jcr>C!>>~6+j$s=fE zqabGN;o&T(D88 diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/z.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/z.gif deleted file mode 100644 index ff72f76ce4647978068c05982d1bc7c191a71797..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 160 zcmZ?wbhEHbWMyDy_#(g{BqXGwq7oDo6doR4R#sMBUESN;JAeNCMT-`#S+i#S`t@73 zY}vVU=fQ&qFI>3r;K76cV8B2$Q2fcl$iN`TpaaqYvXg;THsK44i-@F;kxSqdgTNy? Vflm|yzwmG$ZeSH+@Zeyu1^^G#E;#@I diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/zMax.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/zMax.gif deleted file mode 100644 index a4234ad08001965b3380a1d7cfa09df7c3ffd544..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 656 zcmZ?wbhEHblw#my_~yv~1l-)*e0+R@f`YQLvZ|`88X6i}T3Qws7B)6Ewzjqo4i1iv zj!sTaE-o(a?(QBQ9-f|_0RaJ_p`j5G5iv0_adB~JX=#Opg(W2=Wo2bGH8pj0bxlo8 z9UUEAU0uDsy?uRsGiT16J$v@txpNmRSg>&6!bOV~End8M*|KG;SFhf%VZ+9a8#iy> zynXxj-Me@1-MjbDp+kocA3k>M*vXS8&zw1P?%cWa=g(iecJ0=!TeolDe(>PIqeqXP zJbCi$*|X=*pTBzb>dl)sZ{NOs_wL>M_wPS{{`~Xj&)>g)|NZ;-KNx^~IEaDbPZmZ7 z1}_F3kQ+g9!odEv!OM}G!`=%kP%te3X791jQVMnNx373}^iTd`w(jokfq{Y1(a~vXX$1uZRaI3jEiHY0 zeKTjyT)cSk+O=yB9z1yF%$Wxd9=v+>>OUBOjKB>Pf3h$#Fo-hffRupjWMEyHU@CYd zBoqZ)b-Bpch$0diD*6Phh&3!U)YAhj2NeOaJvkyk6iCF>HBiJg(8TwmiEFTkuY!sK z2a_Pf1r~?JCPyv`FkIB=4YuqEX}o$N#5ve>9HVDZVu7VWF18YYXF=JU(5gi diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/zeta.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/maths/zeta.gif deleted file mode 100644 index 8e378c84affd691afe2aa2bc05b84584251232df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmZ?wbhEHbWM|-I_^Qmn#l@wsuWxQ{ZfR+0V`Jmu;^OV??c?L)>+2g35D*j;6dD>D z9v&VO6B8R7TU=b++uJ*B+O+A@r!QKxXx+MXn>TOXwr$(4UAy-0-+$r4g_}2TK6&!w z>C>mrpFe-`;>DXcZ@zy0`t94dU%!6+2LlFb1I3>#j0_Aa3_2i#L4IOj3w99doZ{(W zqH^h&f`WmETw{xi(nKLqp-z`o5*{i-ohk<=0I8FXN)tU)CN%@)JeD-H0;z^2oDUck bCweUIJ^X+JD0gZ310YY_Rmp{miNP8G6W?PN diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/movie.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/movie.gif deleted file mode 100644 index 7b4a42e7a0eec8e4508903e9bd49cd966e966e21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 134 zcmZ?wbhEHb6krfwSoEL4($X?JJG-Z+=fHsj=gysb{`@%u7%2W^VPs%nX3zogKx!G7 zy*+mMeAYkV+1#MabHG}Fse$nzdz^H8ru>rzC6{fBxi)IB^anlsy)r`O#>SQkwF`?k i-+B_~9;vx~3vcGG7n{Cov&^1%&M%y6veyh225SHs|1u2# diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/sound.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/sound.gif deleted file mode 100644 index a7a89ffd9ed29c24e1759e48291cadb875f6562a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 130 zcmV-|0Db>QNk%w1VGsZi0HXf@|NsAUb92DJz}B3c_ZS$h0022kN&o-=A^8LW00062 zEC2ui01yBW0009=D7xJKa0M|0iNY9L?>oRm4WtwVAYcqvtDHa_pF~g>Zy?Whj|;FJ k&6i_@dN;{osSB_y&_-ah8I>H<4WSc3QKFczSdah!J59YUXaE2J diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/sound2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/sound2.gif deleted file mode 100644 index 07706e07b86d25525e8e7fcb8cd2d8b10c235d49..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 119 zcmZ?wbhEHb6krfwSoEL4($X?JJG-Z+=fHsj=gysDfC0syEQ|~c%nUjp0gze-W*duL zK7aHX7^e#>G_TrlZjM+_!c@ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/tar.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/tar.gif deleted file mode 100644 index 59c3ffb9a5f0dcbcc0052a6dc8b428f4b033d316..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 132 zcmV-~0DJ#ONk%w1VGsZi0HXf@|Ns9vIXP=H^|M=26Efy0jDoCS8nDw3MpHX8$hcs!0R5&$~~!7=6l diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/text.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/text.gif deleted file mode 100644 index 66ceefbc8c46837738701f2ab48d202b4df62686..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 128 zcmV-`0Du2SNk%w1VGsZi0HXf@|Ns9vIXP=L7D<;z<5S%P>S%fZDrUCEXNey i3D;T)3BKR#h$Hnt)bk}^evDW{TP5r!>f zuo|`+wvd!t1+kFDN-SiVA}mu}^ixP0eu?)}ck-O6vyXZIo~f><7f zAVdQA1^g1=7T`B<_eb>r-~r$dz$ND%W8PKWtY4UkghhyXbmS3IDikV=xs2J>lN7+e zLcylg4FbCn*oq>>!R*h1RQipQ~xE z>QuWT-Fi=Z^mXjU@ptb9@08W>LSLePU{G)@$+9dB>BGr^@`w;LjS$kO zk0!^)Cxm@+O4GESRBtq${t((Tnat$W$4{T5=`Yh5;hEVGX?-p}pEVXlB)mAA%_Y7r l<&5Q(W*)q{mdmZLZ)`p#MtF76*xG)!RDN423*i_o{0C*dvmyWh diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/unknown2.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/unknown2.gif deleted file mode 100644 index 7bf0bbc10a654c44b34856884713f88e202b3d5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*PNk%w1VGsZi0HXf@|Ns9vIXP=NV?p<;}t+_F|o}`C)Qk76hx+MVW0-gHlm8q0>wI1hP+I5AqX7Z lsY3_=D?$QFWeCnFftzz@X-@zP;P=?bDfi=Spv! zD%rO#X3-*+b?aEJ9Vhetf{dzO0FX!K4B zdw%_Ta_!pHS+iz7dh}#Uz5bk8EdPGpzj*Qd+_|&&?AaF-6kyZP^zYZjf4`2LI(4eI zx69wpYxZo#ec!%KxNymL*8D41E-zfT$j#I1@rfDp${Y)~@A8{9%eA-f->>ceeyypg zZOY6{|9oSIPDWNqfyTdYOa6VEGi4IX`|DdWGlAR*|Gu^4Z`=9g_`=*RTS`hau5ay_ zc=qzdd=pUU&=@HGWMKqZp#vg7al*j?b#6C(pNL@|)Z3IuE{>>QlT zAZ1+KTwFZ7d|do2tUw{4h=8Dwu!yLbn79OsBuIgjl(e*rkgS}Xyn-T#�uVqN=K< zuA!-=4dgN~D(Wcd>gwqm7#cA&Km?49bxcgn%o!Lgzw3=Dp5{sD|Y8yLL85ly`LP2~6#-On9aE1tfhDbM% gc|gDz&Jg7v&Bzb~6JUt-2dZRiU|@)2Xk@Sk01UCpsQ>@~ diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/uu.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/small/uu.gif deleted file mode 100644 index 8c793f8a7f98188fd983b21a7c89ecd79f0ef0fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 125 zcmV-@0D}KVNk%w1VGsZi0HXf@|Ns9vIXP=@K f4p@7|h&-moTHT`(kXU<-)<=spS)&Tj* BC`teT diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/swirl.gif b/applications/utilities/preProcessing/FoamX/Java/FoamX/icons/swirl.gif deleted file mode 100644 index 0801ca1aee34e05f5243b2c783c14f4aa9af8419..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 829 zcmZ?wbh9u|= 0 && value < __size) - return __array[value]; - else - throw new org.omg.CORBA.BAD_PARAM (); - } - - protected ErrorCode (int value) - { - __value = value; - __array[__value] = this; - } -} // class ErrorCode diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHelper.java deleted file mode 100644 index e06db10bd8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHelper.java +++ /dev/null @@ -1,53 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/ErrorCodeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class ErrorCodeHelper -{ - private static String _id = "IDL:FoamXServer/ErrorCode:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.ErrorCode that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.ErrorCode extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (FoamXServer.ErrorCodeHelper.id (), "ErrorCode", new String[] { "S_OK", "E_FAIL", "E_FOAM", "E_INVALID_ARG", "E_INVALID_PTR", "E_INVALID_REF", "E_INDEX_OUT_OF_BOUNDS", "E_UNKNOWN_NAME", "E_UNEXPECTED"} ); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.ErrorCode read (org.omg.CORBA.portable.InputStream istream) - { - return FoamXServer.ErrorCode.from_int (istream.read_long ()); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.ErrorCode value) - { - ostream.write_long (value.value ()); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHolder.java deleted file mode 100644 index ffedc217db..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ErrorCodeHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/ErrorCodeHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class ErrorCodeHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.ErrorCode value = null; - - public ErrorCodeHolder () - { - } - - public ErrorCodeHolder (FoamXServer.ErrorCode initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.ErrorCodeHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.ErrorCodeHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.ErrorCodeHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHelper.java deleted file mode 100644 index d955e0057d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHelper.java +++ /dev/null @@ -1,60 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FloatListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class FloatListHelper -{ - private static String _id = "IDL:FoamXServer/FloatList:1.0"; - - public static void insert (org.omg.CORBA.Any a, float[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static float[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_float); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.FloatListHelper.id (), "FloatList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static float[] read (org.omg.CORBA.portable.InputStream istream) - { - float value[] = null; - int _len0 = istream.read_long (); - value = new float[_len0]; - istream.read_float_array (value, 0, _len0); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, float[] value) - { - ostream.write_long (value.length); - ostream.write_float_array (value, 0, value.length); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHolder.java deleted file mode 100644 index 6bb30e1dc9..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FloatListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FloatListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FloatListHolder implements org.omg.CORBA.portable.Streamable -{ - public float value[] = null; - - public FloatListHolder () - { - } - - public FloatListHolder (float[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.FloatListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.FloatListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.FloatListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAny.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAny.java deleted file mode 100644 index 3bb472cb8b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAny.java +++ /dev/null @@ -1,28 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXAny.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public final class FoamXAny implements org.omg.CORBA.portable.IDLEntity -{ - public FoamXServer.FoamXType type = null; - public org.omg.CORBA.Any value = null; - - public FoamXAny () - { - } // ctor - - public FoamXAny (FoamXServer.FoamXType _type, org.omg.CORBA.Any _value) - { - type = _type; - value = _value; - } // ctor - -} // class FoamXAny diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHelper.java deleted file mode 100644 index e6a2e9cfbc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHelper.java +++ /dev/null @@ -1,84 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXAnyHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -abstract public class FoamXAnyHelper -{ - private static String _id = "IDL:FoamXServer/FoamXAny:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.FoamXAny that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.FoamXAny extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = FoamXServer.FoamXTypeHelper.type (); - _members0[0] = new org.omg.CORBA.StructMember ( - "type", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_any); - _members0[1] = new org.omg.CORBA.StructMember ( - "value", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (FoamXServer.FoamXAnyHelper.id (), "FoamXAny", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.FoamXAny read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.FoamXAny value = new FoamXServer.FoamXAny (); - value.type = FoamXServer.FoamXTypeHelper.read (istream); - value.value = istream.read_any (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.FoamXAny value) - { - FoamXServer.FoamXTypeHelper.write (ostream, value.type); - ostream.write_any (value.value); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHolder.java deleted file mode 100644 index 4d402bdfb8..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/FoamXAnyHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public final class FoamXAnyHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.FoamXAny value = null; - - public FoamXAnyHolder () - { - } - - public FoamXAnyHolder (FoamXServer.FoamXAny initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.FoamXAnyHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.FoamXAnyHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.FoamXAnyHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHelper.java deleted file mode 100644 index fbac93e2e9..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHelper.java +++ /dev/null @@ -1,62 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXAnyListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class FoamXAnyListHelper -{ - private static String _id = "IDL:FoamXServer/FoamXAnyList:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.FoamXAny[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.FoamXAny[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = FoamXServer.FoamXAnyHelper.type (); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.FoamXAnyListHelper.id (), "FoamXAnyList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.FoamXAny[] read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.FoamXAny value[] = null; - int _len0 = istream.read_long (); - value = new FoamXServer.FoamXAny[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = FoamXServer.FoamXAnyHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.FoamXAny[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - FoamXServer.FoamXAnyHelper.write (ostream, value[_i0]); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHolder.java deleted file mode 100644 index 5d63bb67e7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXAnyListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXAnyListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FoamXAnyListHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.FoamXAny value[] = null; - - public FoamXAnyListHolder () - { - } - - public FoamXAnyListHolder (FoamXServer.FoamXAny[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.FoamXAnyListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.FoamXAnyListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.FoamXAnyListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXError.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXError.java deleted file mode 100644 index b32a167aa7..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXError.java +++ /dev/null @@ -1,45 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXError.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FoamXError extends org.omg.CORBA.UserException -{ - public FoamXServer.ErrorCode errorCode = null; - public String errorMessage = null; - public String methodName = null; - public String fileName = null; - public int lineNo = (int)0; - - public FoamXError () - { - super(FoamXErrorHelper.id()); - } // ctor - - public FoamXError (FoamXServer.ErrorCode _errorCode, String _errorMessage, String _methodName, String _fileName, int _lineNo) - { - super(FoamXErrorHelper.id()); - errorCode = _errorCode; - errorMessage = _errorMessage; - methodName = _methodName; - fileName = _fileName; - lineNo = _lineNo; - } // ctor - - - public FoamXError (String $reason, FoamXServer.ErrorCode _errorCode, String _errorMessage, String _methodName, String _fileName, int _lineNo) - { - super(FoamXErrorHelper.id() + " " + $reason); - errorCode = _errorCode; - errorMessage = _errorMessage; - methodName = _methodName; - fileName = _fileName; - lineNo = _lineNo; - } // ctor - -} // class FoamXError diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHelper.java deleted file mode 100644 index baa52b59be..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHelper.java +++ /dev/null @@ -1,107 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXErrorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class FoamXErrorHelper -{ - private static String _id = "IDL:FoamXServer/FoamXError:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.FoamXError that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.FoamXError extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [5]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = FoamXServer.ErrorCodeHelper.type (); - _members0[0] = new org.omg.CORBA.StructMember ( - "errorCode", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[1] = new org.omg.CORBA.StructMember ( - "errorMessage", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[2] = new org.omg.CORBA.StructMember ( - "methodName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[3] = new org.omg.CORBA.StructMember ( - "fileName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[4] = new org.omg.CORBA.StructMember ( - "lineNo", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (FoamXServer.FoamXErrorHelper.id (), "FoamXError", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.FoamXError read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.FoamXError value = new FoamXServer.FoamXError (); - // read and discard the repository ID - istream.read_string (); - value.errorCode = FoamXServer.ErrorCodeHelper.read (istream); - value.errorMessage = istream.read_string (); - value.methodName = istream.read_string (); - value.fileName = istream.read_string (); - value.lineNo = istream.read_long (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.FoamXError value) - { - // write the repository ID - ostream.write_string (id ()); - FoamXServer.ErrorCodeHelper.write (ostream, value.errorCode); - ostream.write_string (value.errorMessage); - ostream.write_string (value.methodName); - ostream.write_string (value.fileName); - ostream.write_long (value.lineNo); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHolder.java deleted file mode 100644 index beb032e783..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXErrorHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/FoamXErrorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FoamXErrorHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.FoamXError value = null; - - public FoamXErrorHolder () - { - } - - public FoamXErrorHolder (FoamXServer.FoamXError initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.FoamXErrorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.FoamXErrorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.FoamXErrorHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOError.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOError.java deleted file mode 100644 index 03ba412881..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOError.java +++ /dev/null @@ -1,51 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXIOError.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FoamXIOError extends org.omg.CORBA.UserException -{ - public String errorMessage = null; - public String ioFileName = null; - public int ioStartLineNo = (int)0; - public int ioEndLineNo = (int)0; - public String methodName = null; - public String fileName = null; - public int lineNo = (int)0; - - public FoamXIOError () - { - super(FoamXIOErrorHelper.id()); - } // ctor - - public FoamXIOError (String _errorMessage, String _ioFileName, int _ioStartLineNo, int _ioEndLineNo, String _methodName, String _fileName, int _lineNo) - { - super(FoamXIOErrorHelper.id()); - errorMessage = _errorMessage; - ioFileName = _ioFileName; - ioStartLineNo = _ioStartLineNo; - ioEndLineNo = _ioEndLineNo; - methodName = _methodName; - fileName = _fileName; - lineNo = _lineNo; - } // ctor - - - public FoamXIOError (String $reason, String _errorMessage, String _ioFileName, int _ioStartLineNo, int _ioEndLineNo, String _methodName, String _fileName, int _lineNo) - { - super(FoamXIOErrorHelper.id() + " " + $reason); - errorMessage = _errorMessage; - ioFileName = _ioFileName; - ioStartLineNo = _ioStartLineNo; - ioEndLineNo = _ioEndLineNo; - methodName = _methodName; - fileName = _fileName; - lineNo = _lineNo; - } // ctor - -} // class FoamXIOError diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHelper.java deleted file mode 100644 index 6051981c4b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHelper.java +++ /dev/null @@ -1,121 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXIOErrorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class FoamXIOErrorHelper -{ - private static String _id = "IDL:FoamXServer/FoamXIOError:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.FoamXIOError that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.FoamXIOError extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [7]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[0] = new org.omg.CORBA.StructMember ( - "errorMessage", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[1] = new org.omg.CORBA.StructMember ( - "ioFileName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[2] = new org.omg.CORBA.StructMember ( - "ioStartLineNo", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[3] = new org.omg.CORBA.StructMember ( - "ioEndLineNo", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[4] = new org.omg.CORBA.StructMember ( - "methodName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[5] = new org.omg.CORBA.StructMember ( - "fileName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[6] = new org.omg.CORBA.StructMember ( - "lineNo", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (FoamXServer.FoamXIOErrorHelper.id (), "FoamXIOError", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.FoamXIOError read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.FoamXIOError value = new FoamXServer.FoamXIOError (); - // read and discard the repository ID - istream.read_string (); - value.errorMessage = istream.read_string (); - value.ioFileName = istream.read_string (); - value.ioStartLineNo = istream.read_long (); - value.ioEndLineNo = istream.read_long (); - value.methodName = istream.read_string (); - value.fileName = istream.read_string (); - value.lineNo = istream.read_long (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.FoamXIOError value) - { - // write the repository ID - ostream.write_string (id ()); - ostream.write_string (value.errorMessage); - ostream.write_string (value.ioFileName); - ostream.write_long (value.ioStartLineNo); - ostream.write_long (value.ioEndLineNo); - ostream.write_string (value.methodName); - ostream.write_string (value.fileName); - ostream.write_long (value.lineNo); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHolder.java deleted file mode 100644 index 023b98c88c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXIOErrorHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/FoamXIOErrorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FoamXIOErrorHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.FoamXIOError value = null; - - public FoamXIOErrorHolder () - { - } - - public FoamXIOErrorHolder (FoamXServer.FoamXIOError initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.FoamXIOErrorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.FoamXIOErrorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.FoamXIOErrorHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSError.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSError.java deleted file mode 100644 index fe129acf0f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSError.java +++ /dev/null @@ -1,48 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXSYSError.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FoamXSYSError extends org.omg.CORBA.UserException -{ - public FoamXServer.ErrorCode errorCode = null; - public String errorMessage = null; - public String hostName = null; - public String methodName = null; - public String fileName = null; - public int lineNo = (int)0; - - public FoamXSYSError () - { - super(FoamXSYSErrorHelper.id()); - } // ctor - - public FoamXSYSError (FoamXServer.ErrorCode _errorCode, String _errorMessage, String _hostName, String _methodName, String _fileName, int _lineNo) - { - super(FoamXSYSErrorHelper.id()); - errorCode = _errorCode; - errorMessage = _errorMessage; - hostName = _hostName; - methodName = _methodName; - fileName = _fileName; - lineNo = _lineNo; - } // ctor - - - public FoamXSYSError (String $reason, FoamXServer.ErrorCode _errorCode, String _errorMessage, String _hostName, String _methodName, String _fileName, int _lineNo) - { - super(FoamXSYSErrorHelper.id() + " " + $reason); - errorCode = _errorCode; - errorMessage = _errorMessage; - hostName = _hostName; - methodName = _methodName; - fileName = _fileName; - lineNo = _lineNo; - } // ctor - -} // class FoamXSYSError diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHelper.java deleted file mode 100644 index bcc4a88757..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHelper.java +++ /dev/null @@ -1,114 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXSYSErrorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class FoamXSYSErrorHelper -{ - private static String _id = "IDL:FoamXServer/FoamXSYSError:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.FoamXSYSError that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.FoamXSYSError extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [6]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = FoamXServer.ErrorCodeHelper.type (); - _members0[0] = new org.omg.CORBA.StructMember ( - "errorCode", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[1] = new org.omg.CORBA.StructMember ( - "errorMessage", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[2] = new org.omg.CORBA.StructMember ( - "hostName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[3] = new org.omg.CORBA.StructMember ( - "methodName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[4] = new org.omg.CORBA.StructMember ( - "fileName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[5] = new org.omg.CORBA.StructMember ( - "lineNo", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (FoamXServer.FoamXSYSErrorHelper.id (), "FoamXSYSError", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.FoamXSYSError read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.FoamXSYSError value = new FoamXServer.FoamXSYSError (); - // read and discard the repository ID - istream.read_string (); - value.errorCode = FoamXServer.ErrorCodeHelper.read (istream); - value.errorMessage = istream.read_string (); - value.hostName = istream.read_string (); - value.methodName = istream.read_string (); - value.fileName = istream.read_string (); - value.lineNo = istream.read_long (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.FoamXSYSError value) - { - // write the repository ID - ostream.write_string (id ()); - FoamXServer.ErrorCodeHelper.write (ostream, value.errorCode); - ostream.write_string (value.errorMessage); - ostream.write_string (value.hostName); - ostream.write_string (value.methodName); - ostream.write_string (value.fileName); - ostream.write_long (value.lineNo); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHolder.java deleted file mode 100644 index 2268fd5cbe..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXSYSErrorHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/FoamXSYSErrorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class FoamXSYSErrorHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.FoamXSYSError value = null; - - public FoamXSYSErrorHolder () - { - } - - public FoamXSYSErrorHolder (FoamXServer.FoamXSYSError initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.FoamXSYSErrorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.FoamXSYSErrorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.FoamXSYSErrorHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXType.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXType.java deleted file mode 100644 index 18a822bd0f..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXType.java +++ /dev/null @@ -1,80 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXType.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public class FoamXType implements org.omg.CORBA.portable.IDLEntity -{ - private int __value; - private static int __size = 21; - private static FoamXServer.FoamXType[] __array = new FoamXServer.FoamXType [__size]; - - public static final int _Type_Undefined = 0; - public static final FoamXServer.FoamXType Type_Undefined = new FoamXServer.FoamXType(_Type_Undefined); - public static final int _Type_Boolean = 1; - public static final FoamXServer.FoamXType Type_Boolean = new FoamXServer.FoamXType(_Type_Boolean); - public static final int _Type_Label = 2; - public static final FoamXServer.FoamXType Type_Label = new FoamXServer.FoamXType(_Type_Label); - public static final int _Type_Scalar = 3; - public static final FoamXServer.FoamXType Type_Scalar = new FoamXServer.FoamXType(_Type_Scalar); - public static final int _Type_Char = 4; - public static final FoamXServer.FoamXType Type_Char = new FoamXServer.FoamXType(_Type_Char); - public static final int _Type_Word = 5; - public static final FoamXServer.FoamXType Type_Word = new FoamXServer.FoamXType(_Type_Word); - public static final int _Type_String = 6; - public static final FoamXServer.FoamXType Type_String = new FoamXServer.FoamXType(_Type_String); - public static final int _Type_RootDir = 7; - public static final FoamXServer.FoamXType Type_RootDir = new FoamXServer.FoamXType(_Type_RootDir); - public static final int _Type_RootAndCase = 8; - public static final FoamXServer.FoamXType Type_RootAndCase = new FoamXServer.FoamXType(_Type_RootAndCase); - public static final int _Type_CaseName = 9; - public static final FoamXServer.FoamXType Type_CaseName = new FoamXServer.FoamXType(_Type_CaseName); - public static final int _Type_HostName = 10; - public static final FoamXServer.FoamXType Type_HostName = new FoamXServer.FoamXType(_Type_HostName); - public static final int _Type_File = 11; - public static final FoamXServer.FoamXType Type_File = new FoamXServer.FoamXType(_Type_File); - public static final int _Type_Directory = 12; - public static final FoamXServer.FoamXType Type_Directory = new FoamXServer.FoamXType(_Type_Directory); - public static final int _Type_Time = 13; - public static final FoamXServer.FoamXType Type_Time = new FoamXServer.FoamXType(_Type_Time); - public static final int _Type_DimensionSet = 14; - public static final FoamXServer.FoamXType Type_DimensionSet = new FoamXServer.FoamXType(_Type_DimensionSet); - public static final int _Type_FixedList = 15; - public static final FoamXServer.FoamXType Type_FixedList = new FoamXServer.FoamXType(_Type_FixedList); - public static final int _Type_List = 16; - public static final FoamXServer.FoamXType Type_List = new FoamXServer.FoamXType(_Type_List); - public static final int _Type_Dictionary = 17; - public static final FoamXServer.FoamXType Type_Dictionary = new FoamXServer.FoamXType(_Type_Dictionary); - public static final int _Type_Selection = 18; - public static final FoamXServer.FoamXType Type_Selection = new FoamXServer.FoamXType(_Type_Selection); - public static final int _Type_Compound = 19; - public static final FoamXServer.FoamXType Type_Compound = new FoamXServer.FoamXType(_Type_Compound); - public static final int _Type_Field = 20; - public static final FoamXServer.FoamXType Type_Field = new FoamXServer.FoamXType(_Type_Field); - - public int value () - { - return __value; - } - - public static FoamXServer.FoamXType from_int (int value) - { - if (value >= 0 && value < __size) - return __array[value]; - else - throw new org.omg.CORBA.BAD_PARAM (); - } - - protected FoamXType (int value) - { - __value = value; - __array[__value] = this; - } -} // class FoamXType diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHelper.java deleted file mode 100644 index 71ae1b96fc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHelper.java +++ /dev/null @@ -1,55 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/FoamXTypeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -abstract public class FoamXTypeHelper -{ - private static String _id = "IDL:FoamXServer/FoamXType:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.FoamXType that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.FoamXType extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (FoamXServer.FoamXTypeHelper.id (), "FoamXType", new String[] { "Type_Undefined", "Type_Boolean", "Type_Label", "Type_Scalar", "Type_Char", "Type_Word", "Type_String", "Type_RootDir", "Type_RootAndCase", "Type_CaseName", "Type_HostName", "Type_File", "Type_Directory", "Type_Time", "Type_DimensionSet", "Type_FixedList", "Type_List", "Type_Dictionary", "Type_Selection", "Type_Compound", "Type_Field"} ); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.FoamXType read (org.omg.CORBA.portable.InputStream istream) - { - return FoamXServer.FoamXType.from_int (istream.read_long ()); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.FoamXType value) - { - ostream.write_long (value.value ()); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHolder.java deleted file mode 100644 index 038d6263c3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/FoamXTypeHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/FoamXTypeHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public final class FoamXTypeHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.FoamXType value = null; - - public FoamXTypeHolder () - { - } - - public FoamXTypeHolder (FoamXServer.FoamXType initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.FoamXTypeHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.FoamXTypeHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.FoamXTypeHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowser.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowser.java deleted file mode 100644 index 58eecf5672..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowser.java +++ /dev/null @@ -1,15 +0,0 @@ -package FoamXServer.HostBrowser; - - -/** -* FoamXServer/HostBrowser/IHostBrowser.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// --------------------------------------------------------------------- -public interface IHostBrowser extends IHostBrowserOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity -{ -} // interface IHostBrowser diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHelper.java deleted file mode 100644 index 86add5a17a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHelper.java +++ /dev/null @@ -1,72 +0,0 @@ -package FoamXServer.HostBrowser; - - -/** -* FoamXServer/HostBrowser/IHostBrowserHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// --------------------------------------------------------------------- -abstract public class IHostBrowserHelper -{ - private static String _id = "IDL:FoamXServer/HostBrowser/IHostBrowser:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.HostBrowser.IHostBrowser that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.HostBrowser.IHostBrowser extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (FoamXServer.HostBrowser.IHostBrowserHelper.id (), "IHostBrowser"); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.HostBrowser.IHostBrowser read (org.omg.CORBA.portable.InputStream istream) - { - return narrow (istream.read_Object (_IHostBrowserStub.class)); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.HostBrowser.IHostBrowser value) - { - ostream.write_Object ((org.omg.CORBA.Object) value); - } - - public static FoamXServer.HostBrowser.IHostBrowser narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof FoamXServer.HostBrowser.IHostBrowser) - return (FoamXServer.HostBrowser.IHostBrowser)obj; - else if (!obj._is_a (id ())) - throw new org.omg.CORBA.BAD_PARAM (); - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - FoamXServer.HostBrowser._IHostBrowserStub stub = new FoamXServer.HostBrowser._IHostBrowserStub (); - stub._set_delegate(delegate); - return stub; - } - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHolder.java deleted file mode 100644 index 783cb9ff7a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer.HostBrowser; - -/** -* FoamXServer/HostBrowser/IHostBrowserHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// --------------------------------------------------------------------- -public final class IHostBrowserHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.HostBrowser.IHostBrowser value = null; - - public IHostBrowserHolder () - { - } - - public IHostBrowserHolder (FoamXServer.HostBrowser.IHostBrowser initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.HostBrowser.IHostBrowserHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.HostBrowser.IHostBrowserHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.HostBrowser.IHostBrowserHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserOperations.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserOperations.java deleted file mode 100644 index b4e11c0f80..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/IHostBrowserOperations.java +++ /dev/null @@ -1,31 +0,0 @@ -package FoamXServer.HostBrowser; - - -/** -* FoamXServer/HostBrowser/IHostBrowserOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// --------------------------------------------------------------------- -public interface IHostBrowserOperations -{ - FoamXServer.HostDescriptor[] hosts (); - void refreshHostList () throws FoamXServer.FoamXError; - boolean isHostAlive (String hostName) throws FoamXServer.FoamXError; - void hostIsAlive (String hostName) throws FoamXServer.FoamXError; - void hostIsDead (String hostName) throws FoamXServer.FoamXError; - void openCaseBrowser (String hostName) throws FoamXServer.FoamXError, FoamXServer.FoamXSYSError; - boolean getCaseBrowserReference (String hostName, FoamXServer.CaseBrowser.ICaseBrowserHolder browserObj) throws FoamXServer.FoamXError, FoamXServer.FoamXSYSError; - - // Validation. - void validate () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError, FoamXServer.ValidationError; - - // Persistence. - void save () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError, FoamXServer.ValidationError; - - // Lifetime management. - void close (); -} // interface IHostBrowserOperations diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/_IHostBrowserStub.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/_IHostBrowserStub.java deleted file mode 100644 index 98ea08303e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostBrowser/_IHostBrowserStub.java +++ /dev/null @@ -1,273 +0,0 @@ -package FoamXServer.HostBrowser; - - -/** -* FoamXServer/HostBrowser/_IHostBrowserStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// --------------------------------------------------------------------- -public class _IHostBrowserStub extends org.omg.CORBA.portable.ObjectImpl implements FoamXServer.HostBrowser.IHostBrowser -{ - - public FoamXServer.HostDescriptor[] hosts () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_hosts", true); - $in = _invoke ($out); - FoamXServer.HostDescriptor $result[] = FoamXServer.HostDescriptorListHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return hosts ( ); - } finally { - _releaseReply ($in); - } - } // hosts - - public void refreshHostList () throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("refreshHostList", true); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - refreshHostList ( ); - } finally { - _releaseReply ($in); - } - } // refreshHostList - - public boolean isHostAlive (String hostName) throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("isHostAlive", true); - $out.write_string (hostName); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return isHostAlive (hostName ); - } finally { - _releaseReply ($in); - } - } // isHostAlive - - public void hostIsAlive (String hostName) throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("hostIsAlive", true); - $out.write_string (hostName); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - hostIsAlive (hostName ); - } finally { - _releaseReply ($in); - } - } // hostIsAlive - - public void hostIsDead (String hostName) throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("hostIsDead", true); - $out.write_string (hostName); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - hostIsDead (hostName ); - } finally { - _releaseReply ($in); - } - } // hostIsDead - - public void openCaseBrowser (String hostName) throws FoamXServer.FoamXError, FoamXServer.FoamXSYSError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("openCaseBrowser", true); - $out.write_string (hostName); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXSYSError:1.0")) - throw FoamXServer.FoamXSYSErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - openCaseBrowser (hostName ); - } finally { - _releaseReply ($in); - } - } // openCaseBrowser - - public boolean getCaseBrowserReference (String hostName, FoamXServer.CaseBrowser.ICaseBrowserHolder browserObj) throws FoamXServer.FoamXError, FoamXServer.FoamXSYSError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("getCaseBrowserReference", true); - $out.write_string (hostName); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - browserObj.value = FoamXServer.CaseBrowser.ICaseBrowserHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXSYSError:1.0")) - throw FoamXServer.FoamXSYSErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return getCaseBrowserReference (hostName, browserObj ); - } finally { - _releaseReply ($in); - } - } // getCaseBrowserReference - - - // Validation. - public void validate () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError, FoamXServer.ValidationError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("validate", true); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXIOError:1.0")) - throw FoamXServer.FoamXIOErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/ValidationError:1.0")) - throw FoamXServer.ValidationErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - validate ( ); - } finally { - _releaseReply ($in); - } - } // validate - - - // Persistence. - public void save () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError, FoamXServer.ValidationError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("save", true); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXIOError:1.0")) - throw FoamXServer.FoamXIOErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/ValidationError:1.0")) - throw FoamXServer.ValidationErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - save ( ); - } finally { - _releaseReply ($in); - } - } // save - - - // Lifetime management. - public void close () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("close", false); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - close ( ); - } finally { - _releaseReply ($in); - } - } // close - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:FoamXServer/HostBrowser/IHostBrowser:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - private void readObject (java.io.ObjectInputStream s) throws java.io.IOException - { - String str = s.readUTF (); - String[] args = null; - java.util.Properties props = null; - org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); - _set_delegate (delegate); - } - - private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException - { - String[] args = null; - java.util.Properties props = null; - String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); - s.writeUTF (str); - } -} // class _IHostBrowserStub diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptor.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptor.java deleted file mode 100644 index 91d1cfdf63..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptor.java +++ /dev/null @@ -1,28 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/HostDescriptor.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Host descriptor structure. -public final class HostDescriptor implements org.omg.CORBA.portable.IDLEntity -{ - public String name = null; - public boolean alive = false; - - public HostDescriptor () - { - } // ctor - - public HostDescriptor (String _name, boolean _alive) - { - name = _name; - alive = _alive; - } // ctor - -} // class HostDescriptor diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHelper.java deleted file mode 100644 index 8b7fc3d3b2..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHelper.java +++ /dev/null @@ -1,84 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/HostDescriptorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Host descriptor structure. -abstract public class HostDescriptorHelper -{ - private static String _id = "IDL:FoamXServer/HostDescriptor:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.HostDescriptor that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.HostDescriptor extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[0] = new org.omg.CORBA.StructMember ( - "name", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_boolean); - _members0[1] = new org.omg.CORBA.StructMember ( - "alive", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (FoamXServer.HostDescriptorHelper.id (), "HostDescriptor", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.HostDescriptor read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.HostDescriptor value = new FoamXServer.HostDescriptor (); - value.name = istream.read_string (); - value.alive = istream.read_boolean (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.HostDescriptor value) - { - ostream.write_string (value.name); - ostream.write_boolean (value.alive); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHolder.java deleted file mode 100644 index 0ff7071d71..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/HostDescriptorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Host descriptor structure. -public final class HostDescriptorHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.HostDescriptor value = null; - - public HostDescriptorHolder () - { - } - - public HostDescriptorHolder (FoamXServer.HostDescriptor initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.HostDescriptorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.HostDescriptorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.HostDescriptorHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHelper.java deleted file mode 100644 index bb2b245c46..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHelper.java +++ /dev/null @@ -1,62 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/HostDescriptorListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class HostDescriptorListHelper -{ - private static String _id = "IDL:FoamXServer/HostDescriptorList:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.HostDescriptor[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.HostDescriptor[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = FoamXServer.HostDescriptorHelper.type (); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.HostDescriptorListHelper.id (), "HostDescriptorList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.HostDescriptor[] read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.HostDescriptor value[] = null; - int _len0 = istream.read_long (); - value = new FoamXServer.HostDescriptor[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = FoamXServer.HostDescriptorHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.HostDescriptor[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - FoamXServer.HostDescriptorHelper.write (ostream, value[_i0]); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHolder.java deleted file mode 100644 index db63eeac11..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/HostDescriptorListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/HostDescriptorListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class HostDescriptorListHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.HostDescriptor value[] = null; - - public HostDescriptorListHolder () - { - } - - public HostDescriptorListHolder (FoamXServer.HostDescriptor[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.HostDescriptorListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.HostDescriptorListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.HostDescriptorListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntry.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntry.java deleted file mode 100644 index ef30a8b343..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntry.java +++ /dev/null @@ -1,15 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/IDictionaryEntry.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public interface IDictionaryEntry extends IDictionaryEntryOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity -{ -} // interface IDictionaryEntry diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHelper.java deleted file mode 100644 index 6cde37e86a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHelper.java +++ /dev/null @@ -1,72 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/IDictionaryEntryHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -abstract public class IDictionaryEntryHelper -{ - private static String _id = "IDL:FoamXServer/IDictionaryEntry:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.IDictionaryEntry that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.IDictionaryEntry extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (FoamXServer.IDictionaryEntryHelper.id (), "IDictionaryEntry"); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.IDictionaryEntry read (org.omg.CORBA.portable.InputStream istream) - { - return narrow (istream.read_Object (_IDictionaryEntryStub.class)); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.IDictionaryEntry value) - { - ostream.write_Object ((org.omg.CORBA.Object) value); - } - - public static FoamXServer.IDictionaryEntry narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof FoamXServer.IDictionaryEntry) - return (FoamXServer.IDictionaryEntry)obj; - else if (!obj._is_a (id ())) - throw new org.omg.CORBA.BAD_PARAM (); - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - FoamXServer._IDictionaryEntryStub stub = new FoamXServer._IDictionaryEntryStub (); - stub._set_delegate(delegate); - return stub; - } - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHolder.java deleted file mode 100644 index 63f0969c4e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/IDictionaryEntryHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public final class IDictionaryEntryHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.IDictionaryEntry value = null; - - public IDictionaryEntryHolder () - { - } - - public IDictionaryEntryHolder (FoamXServer.IDictionaryEntry initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.IDictionaryEntryHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.IDictionaryEntryHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.IDictionaryEntryHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryOperations.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryOperations.java deleted file mode 100644 index 6287e7bf75..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/IDictionaryEntryOperations.java +++ /dev/null @@ -1,51 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/IDictionaryEntryOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public interface IDictionaryEntryOperations -{ - - // Reference to the type descriptor object for this entry. - FoamXServer.ITypeDescriptor typeDescriptor (); - - // Current value for this (non compound) entry. - FoamXServer.FoamXAny value (); - - // Current value for this (non compound) entry. - void value (FoamXServer.FoamXAny newValue); - void setValue (FoamXServer.FoamXAny value) throws FoamXServer.FoamXError; - - // Sub-elements for compound types. - FoamXServer.IDictionaryEntry[] subElements (); - int nSubElements () throws FoamXServer.FoamXError; - boolean packedList () throws FoamXServer.FoamXError; - - // The current selection index - int selection (); - - // The current selection index - void selection (int newSelection); - - // entry object. - void addElement (FoamXServer.IDictionaryEntryHolder subEntry) throws FoamXServer.FoamXError; - - // Remove element from list. - void removeElement (FoamXServer.IDictionaryEntry subEntry) throws FoamXServer.FoamXError; - - // are found. - void validate () throws FoamXServer.FoamXError, FoamXServer.ValidationError; - - // Returns true if this entry, or any sub-entries have been modified. - boolean modified () throws FoamXServer.FoamXError; - - // Save method for root (dictionary) objects. - void save () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError; -} // interface IDictionaryEntryOperations diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptor.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptor.java deleted file mode 100644 index 7fbefd6992..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptor.java +++ /dev/null @@ -1,15 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/ITypeDescriptor.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public interface ITypeDescriptor extends ITypeDescriptorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity -{ -} // interface ITypeDescriptor diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHelper.java deleted file mode 100644 index 2ced6468f5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHelper.java +++ /dev/null @@ -1,72 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/ITypeDescriptorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -abstract public class ITypeDescriptorHelper -{ - private static String _id = "IDL:FoamXServer/ITypeDescriptor:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.ITypeDescriptor that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.ITypeDescriptor extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (FoamXServer.ITypeDescriptorHelper.id (), "ITypeDescriptor"); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.ITypeDescriptor read (org.omg.CORBA.portable.InputStream istream) - { - return narrow (istream.read_Object (_ITypeDescriptorStub.class)); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.ITypeDescriptor value) - { - ostream.write_Object ((org.omg.CORBA.Object) value); - } - - public static FoamXServer.ITypeDescriptor narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof FoamXServer.ITypeDescriptor) - return (FoamXServer.ITypeDescriptor)obj; - else if (!obj._is_a (id ())) - throw new org.omg.CORBA.BAD_PARAM (); - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - FoamXServer._ITypeDescriptorStub stub = new FoamXServer._ITypeDescriptorStub (); - stub._set_delegate(delegate); - return stub; - } - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHolder.java deleted file mode 100644 index fb13815718..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/ITypeDescriptorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public final class ITypeDescriptorHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.ITypeDescriptor value = null; - - public ITypeDescriptorHolder () - { - } - - public ITypeDescriptorHolder (FoamXServer.ITypeDescriptor initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.ITypeDescriptorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.ITypeDescriptorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.ITypeDescriptorHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorOperations.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorOperations.java deleted file mode 100644 index 3d2c1afafb..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ITypeDescriptorOperations.java +++ /dev/null @@ -1,150 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/ITypeDescriptorOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public interface ITypeDescriptorOperations -{ - - //- The type of this parameter. - FoamXServer.FoamXType type (); - - //- The type of this parameter. - void type (FoamXServer.FoamXType newType); - - //- Primitive type flag. - boolean isPrimitiveType (); - - //- Compound type flag. - boolean isCompoundType (); - - //- Path of this parameter relative to root dictionary. - String path (); - - //- Path of this parameter relative to root dictionary. - void path (String newPath); - - //- Foam parameter name. - String name (); - - //- Foam parameter name. - void name (String newName); - - //- Short display name. - String displayName (); - - //- Short display name. - void displayName (String newDisplayName); - - //- Long descriptive name. - String description (); - - //- Long descriptive name. - void description (String newDescription); - - //- Dictionary comment. - String comment (); - - //- Dictionary comment. - void comment (String newComment); - - //- GUI category. - String category (); - - //- GUI category. - void category (String newCategory); - - //- URL to relevant help file. - String helpURL (); - - //- URL to relevant help file. - void helpURL (String newHelpURL); - - //- URL to a nice icon for this entry. - String iconURL (); - - //- URL to a nice icon for this entry. - void iconURL (String newIconURL); - - // Defaults to false. - boolean optional (); - - // Defaults to false. - void optional (boolean newOptional); - - // Defaults to true. - boolean visible (); - - // Defaults to true. - void visible (boolean newVisible); - - // Defaults to true. - boolean editable (); - - // Defaults to true. - void editable (boolean newEditable); - - //- Minimum value for this parameter. - FoamXServer.FoamXAny minValue (); - - //- Minimum value for this parameter. - void minValue (FoamXServer.FoamXAny newMinValue); - - //- Maximum value for this parameter. - FoamXServer.FoamXAny maxValue (); - - //- Maximum value for this parameter. - void maxValue (FoamXServer.FoamXAny newMaxValue); - - //- Name of dictionary to use as a lookup table. - String lookupDict (); - - //- Name of dictionary to use as a lookup table. - void lookupDict (String newLookupDict); - - //- List of permissible values for this parameter. - FoamXServer.FoamXAny[] valueList (); - - //- List of permissible values for this parameter. - void valueList (FoamXServer.FoamXAny[] newValueList); - - //- Top-level dictionary location relative to case root. - String dictionaryPath (); - - //- Top-level dictionary location relative to case root. - void dictionaryPath (String newDictionaryPath); - - //- Number of vector space elements. - int numElements (); - - //- Number of vector space elements. - void numElements (int newNumElements); - - //- Labels of vector space elements (eg, x, y, z). - String[] elementLabels (); - - //- Labels of vector space elements (eg, x, y, z). - void elementLabels (String[] newElementLabels); - - //- List of sub-types for compound types. - FoamXServer.ITypeDescriptor[] subTypes (); - - //- Element type in List of elements. - FoamXServer.ITypeDescriptor elementType (); - boolean hasDefaultValue (); - void getDefaultValue (FoamXServer.IDictionaryEntryHolder defaultValue) throws FoamXServer.FoamXError, FoamXServer.FoamXIOError; - - //- Compound sub-type methods. - void addSubType (FoamXServer.FoamXType type, FoamXServer.ITypeDescriptorHolder subEntry) throws FoamXServer.FoamXError, FoamXServer.FoamXIOError; - void removeSubType (FoamXServer.ITypeDescriptor subEntry) throws FoamXServer.FoamXError, FoamXServer.FoamXIOError; - - // are found. - void validate () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError, FoamXServer.ValidationError; -} // interface ITypeDescriptorOperations diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptor.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptor.java deleted file mode 100644 index e16c408582..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptor.java +++ /dev/null @@ -1,98 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobDescriptor.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Job descriptor structure. -public final class JobDescriptor implements org.omg.CORBA.portable.IDLEntity -{ - public FoamXServer.JobID jobID = null; - - // Job ID. - public int ppid = (int)0; - - // Parent pid. - public int pgid = (int)0; - - // Group pid. - public String startDate = null; - - // Start date. - public String startTime = null; - - // Start time. - public String userName = null; - - // Username. - public String foamVersion = null; - - // Software version. - public String code = null; - - // Code. - public String argList = null; - - // Argument list. - public String currentDir = null; - - // Current working directory. - public String rootDir = null; - - // Case root. - public String caseName = null; - - // Case name. - public int nProcs = (int)0; - - // Number of processes. - public FoamXServer.JobID slaves[] = null; - - // slave JobIDs - public int nCountedProcs = (int)0; - - // Number of licences taken up. - public double cpuTime = (double)0; - - // Used cpuTime. - public String endDate = null; - - // End date. - public String endTime = null; - - // End time. - public FoamXServer.JobStatus status = null; - - public JobDescriptor () - { - } // ctor - - public JobDescriptor (FoamXServer.JobID _jobID, int _ppid, int _pgid, String _startDate, String _startTime, String _userName, String _foamVersion, String _code, String _argList, String _currentDir, String _rootDir, String _caseName, int _nProcs, FoamXServer.JobID[] _slaves, int _nCountedProcs, double _cpuTime, String _endDate, String _endTime, FoamXServer.JobStatus _status) - { - jobID = _jobID; - ppid = _ppid; - pgid = _pgid; - startDate = _startDate; - startTime = _startTime; - userName = _userName; - foamVersion = _foamVersion; - code = _code; - argList = _argList; - currentDir = _currentDir; - rootDir = _rootDir; - caseName = _caseName; - nProcs = _nProcs; - slaves = _slaves; - nCountedProcs = _nCountedProcs; - cpuTime = _cpuTime; - endDate = _endDate; - endTime = _endTime; - status = _status; - } // ctor - -} // class JobDescriptor diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHelper.java deleted file mode 100644 index 22ea3b690a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHelper.java +++ /dev/null @@ -1,205 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobDescriptorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Job descriptor structure. -abstract public class JobDescriptorHelper -{ - private static String _id = "IDL:FoamXServer/JobDescriptor:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.JobDescriptor that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.JobDescriptor extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [19]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = FoamXServer.JobIDHelper.type (); - _members0[0] = new org.omg.CORBA.StructMember ( - "jobID", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[1] = new org.omg.CORBA.StructMember ( - "ppid", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[2] = new org.omg.CORBA.StructMember ( - "pgid", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[3] = new org.omg.CORBA.StructMember ( - "startDate", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[4] = new org.omg.CORBA.StructMember ( - "startTime", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[5] = new org.omg.CORBA.StructMember ( - "userName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[6] = new org.omg.CORBA.StructMember ( - "foamVersion", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[7] = new org.omg.CORBA.StructMember ( - "code", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[8] = new org.omg.CORBA.StructMember ( - "argList", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[9] = new org.omg.CORBA.StructMember ( - "currentDir", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[10] = new org.omg.CORBA.StructMember ( - "rootDir", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[11] = new org.omg.CORBA.StructMember ( - "caseName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[12] = new org.omg.CORBA.StructMember ( - "nProcs", - _tcOf_members0, - null); - _tcOf_members0 = FoamXServer.JobIDHelper.type (); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.JobIDListHelper.id (), "JobIDList", _tcOf_members0); - _members0[13] = new org.omg.CORBA.StructMember ( - "slaves", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[14] = new org.omg.CORBA.StructMember ( - "nCountedProcs", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_double); - _members0[15] = new org.omg.CORBA.StructMember ( - "cpuTime", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[16] = new org.omg.CORBA.StructMember ( - "endDate", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[17] = new org.omg.CORBA.StructMember ( - "endTime", - _tcOf_members0, - null); - _tcOf_members0 = FoamXServer.JobStatusHelper.type (); - _members0[18] = new org.omg.CORBA.StructMember ( - "status", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (FoamXServer.JobDescriptorHelper.id (), "JobDescriptor", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.JobDescriptor read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.JobDescriptor value = new FoamXServer.JobDescriptor (); - value.jobID = FoamXServer.JobIDHelper.read (istream); - value.ppid = istream.read_long (); - value.pgid = istream.read_long (); - value.startDate = istream.read_string (); - value.startTime = istream.read_string (); - value.userName = istream.read_string (); - value.foamVersion = istream.read_string (); - value.code = istream.read_string (); - value.argList = istream.read_string (); - value.currentDir = istream.read_string (); - value.rootDir = istream.read_string (); - value.caseName = istream.read_string (); - value.nProcs = istream.read_long (); - value.slaves = FoamXServer.JobIDListHelper.read (istream); - value.nCountedProcs = istream.read_long (); - value.cpuTime = istream.read_double (); - value.endDate = istream.read_string (); - value.endTime = istream.read_string (); - value.status = FoamXServer.JobStatusHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.JobDescriptor value) - { - FoamXServer.JobIDHelper.write (ostream, value.jobID); - ostream.write_long (value.ppid); - ostream.write_long (value.pgid); - ostream.write_string (value.startDate); - ostream.write_string (value.startTime); - ostream.write_string (value.userName); - ostream.write_string (value.foamVersion); - ostream.write_string (value.code); - ostream.write_string (value.argList); - ostream.write_string (value.currentDir); - ostream.write_string (value.rootDir); - ostream.write_string (value.caseName); - ostream.write_long (value.nProcs); - FoamXServer.JobIDListHelper.write (ostream, value.slaves); - ostream.write_long (value.nCountedProcs); - ostream.write_double (value.cpuTime); - ostream.write_string (value.endDate); - ostream.write_string (value.endTime); - FoamXServer.JobStatusHelper.write (ostream, value.status); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHolder.java deleted file mode 100644 index d3a7002c0c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/JobDescriptorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Job descriptor structure. -public final class JobDescriptorHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.JobDescriptor value = null; - - public JobDescriptorHolder () - { - } - - public JobDescriptorHolder (FoamXServer.JobDescriptor initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.JobDescriptorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.JobDescriptorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.JobDescriptorHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHelper.java deleted file mode 100644 index 6a3dd4f79d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHelper.java +++ /dev/null @@ -1,62 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobDescriptorListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class JobDescriptorListHelper -{ - private static String _id = "IDL:FoamXServer/JobDescriptorList:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.JobDescriptor[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.JobDescriptor[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = FoamXServer.JobDescriptorHelper.type (); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.JobDescriptorListHelper.id (), "JobDescriptorList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.JobDescriptor[] read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.JobDescriptor value[] = null; - int _len0 = istream.read_long (); - value = new FoamXServer.JobDescriptor[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = FoamXServer.JobDescriptorHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.JobDescriptor[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - FoamXServer.JobDescriptorHelper.write (ostream, value[_i0]); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHolder.java deleted file mode 100644 index bd33457055..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobDescriptorListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobDescriptorListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class JobDescriptorListHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.JobDescriptor value[] = null; - - public JobDescriptorListHolder () - { - } - - public JobDescriptorListHolder (FoamXServer.JobDescriptor[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.JobDescriptorListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.JobDescriptorListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.JobDescriptorListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobID.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobID.java deleted file mode 100644 index 6e3905f8ba..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobID.java +++ /dev/null @@ -1,30 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobID.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Job ID. -public final class JobID implements org.omg.CORBA.portable.IDLEntity -{ - public String hostName = null; - - // Host name. - public int processID = (int)0; - - public JobID () - { - } // ctor - - public JobID (String _hostName, int _processID) - { - hostName = _hostName; - processID = _processID; - } // ctor - -} // class JobID diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHelper.java deleted file mode 100644 index decc654dcb..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHelper.java +++ /dev/null @@ -1,84 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobIDHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Job ID. -abstract public class JobIDHelper -{ - private static String _id = "IDL:FoamXServer/JobID:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.JobID that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.JobID extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[0] = new org.omg.CORBA.StructMember ( - "hostName", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[1] = new org.omg.CORBA.StructMember ( - "processID", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (FoamXServer.JobIDHelper.id (), "JobID", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.JobID read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.JobID value = new FoamXServer.JobID (); - value.hostName = istream.read_string (); - value.processID = istream.read_long (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.JobID value) - { - ostream.write_string (value.hostName); - ostream.write_long (value.processID); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHolder.java deleted file mode 100644 index b0866087f1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDHolder.java +++ /dev/null @@ -1,40 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/JobIDHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// Job ID. -public final class JobIDHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.JobID value = null; - - public JobIDHolder () - { - } - - public JobIDHolder (FoamXServer.JobID initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.JobIDHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.JobIDHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.JobIDHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHelper.java deleted file mode 100644 index ae6ba846e5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHelper.java +++ /dev/null @@ -1,62 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobIDListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class JobIDListHelper -{ - private static String _id = "IDL:FoamXServer/JobIDList:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.JobID[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.JobID[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = FoamXServer.JobIDHelper.type (); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.JobIDListHelper.id (), "JobIDList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.JobID[] read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.JobID value[] = null; - int _len0 = istream.read_long (); - value = new FoamXServer.JobID[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = FoamXServer.JobIDHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.JobID[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - FoamXServer.JobIDHelper.write (ostream, value[_i0]); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHolder.java deleted file mode 100644 index 46b5b7a68a..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobIDListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobIDListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class JobIDListHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.JobID value[] = null; - - public JobIDListHolder () - { - } - - public JobIDListHolder (FoamXServer.JobID[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.JobIDListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.JobIDListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.JobIDListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatus.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatus.java deleted file mode 100644 index accb929d1b..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatus.java +++ /dev/null @@ -1,50 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobStatus.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public class JobStatus implements org.omg.CORBA.portable.IDLEntity -{ - private int __value; - private static int __size = 7; - private static FoamXServer.JobStatus[] __array = new FoamXServer.JobStatus [__size]; - - public static final int _JOB_UNDEFINED = 0; - public static final FoamXServer.JobStatus JOB_UNDEFINED = new FoamXServer.JobStatus(_JOB_UNDEFINED); - public static final int _JOB_LAUNCHING = 1; - public static final FoamXServer.JobStatus JOB_LAUNCHING = new FoamXServer.JobStatus(_JOB_LAUNCHING); - public static final int _JOB_RUNNING = 2; - public static final FoamXServer.JobStatus JOB_RUNNING = new FoamXServer.JobStatus(_JOB_RUNNING); - public static final int _JOB_STOPPING = 3; - public static final FoamXServer.JobStatus JOB_STOPPING = new FoamXServer.JobStatus(_JOB_STOPPING); - public static final int _JOB_SUSPENDED = 4; - public static final FoamXServer.JobStatus JOB_SUSPENDED = new FoamXServer.JobStatus(_JOB_SUSPENDED); - public static final int _JOB_FINISHED = 5; - public static final FoamXServer.JobStatus JOB_FINISHED = new FoamXServer.JobStatus(_JOB_FINISHED); - public static final int _JOB_ABORTED = 6; - public static final FoamXServer.JobStatus JOB_ABORTED = new FoamXServer.JobStatus(_JOB_ABORTED); - - public int value () - { - return __value; - } - - public static FoamXServer.JobStatus from_int (int value) - { - if (value >= 0 && value < __size) - return __array[value]; - else - throw new org.omg.CORBA.BAD_PARAM (); - } - - protected JobStatus (int value) - { - __value = value; - __array[__value] = this; - } -} // class JobStatus diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHelper.java deleted file mode 100644 index a45bedf602..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHelper.java +++ /dev/null @@ -1,53 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/JobStatusHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class JobStatusHelper -{ - private static String _id = "IDL:FoamXServer/JobStatus:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.JobStatus that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.JobStatus extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (FoamXServer.JobStatusHelper.id (), "JobStatus", new String[] { "JOB_UNDEFINED", "JOB_LAUNCHING", "JOB_RUNNING", "JOB_STOPPING", "JOB_SUSPENDED", "JOB_FINISHED", "JOB_ABORTED"} ); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.JobStatus read (org.omg.CORBA.portable.InputStream istream) - { - return FoamXServer.JobStatus.from_int (istream.read_long ()); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.JobStatus value) - { - ostream.write_long (value.value ()); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHolder.java deleted file mode 100644 index 93edaf1062..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/JobStatusHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/JobStatusHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class JobStatusHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.JobStatus value = null; - - public JobStatusHolder () - { - } - - public JobStatusHolder (FoamXServer.JobStatus initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.JobStatusHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.JobStatusHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.JobStatusHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHelper.java deleted file mode 100644 index 4dbad975e4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHelper.java +++ /dev/null @@ -1,60 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/LongListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class LongListHelper -{ - private static String _id = "IDL:FoamXServer/LongList:1.0"; - - public static void insert (org.omg.CORBA.Any a, int[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static int[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.LongListHelper.id (), "LongList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static int[] read (org.omg.CORBA.portable.InputStream istream) - { - int value[] = null; - int _len0 = istream.read_long (); - value = new int[_len0]; - istream.read_long_array (value, 0, _len0); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, int[] value) - { - ostream.write_long (value.length); - ostream.write_long_array (value, 0, value.length); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHolder.java deleted file mode 100644 index a21c05613d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/LongListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/LongListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class LongListHolder implements org.omg.CORBA.portable.Streamable -{ - public int value[] = null; - - public LongListHolder () - { - } - - public LongListHolder (int[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.LongListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.LongListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.LongListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageType.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageType.java deleted file mode 100644 index e2a9bd2b7d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageType.java +++ /dev/null @@ -1,42 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/MessageType.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public class MessageType implements org.omg.CORBA.portable.IDLEntity -{ - private int __value; - private static int __size = 3; - private static FoamXServer.MessageType[] __array = new FoamXServer.MessageType [__size]; - - public static final int _M_DIAGNOSTIC = 0; - public static final FoamXServer.MessageType M_DIAGNOSTIC = new FoamXServer.MessageType(_M_DIAGNOSTIC); - public static final int _M_WARNING = 1; - public static final FoamXServer.MessageType M_WARNING = new FoamXServer.MessageType(_M_WARNING); - public static final int _M_ERROR = 2; - public static final FoamXServer.MessageType M_ERROR = new FoamXServer.MessageType(_M_ERROR); - - public int value () - { - return __value; - } - - public static FoamXServer.MessageType from_int (int value) - { - if (value >= 0 && value < __size) - return __array[value]; - else - throw new org.omg.CORBA.BAD_PARAM (); - } - - protected MessageType (int value) - { - __value = value; - __array[__value] = this; - } -} // class MessageType diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHelper.java deleted file mode 100644 index 9f6ebf720e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHelper.java +++ /dev/null @@ -1,53 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/MessageTypeHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class MessageTypeHelper -{ - private static String _id = "IDL:FoamXServer/MessageType:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.MessageType that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.MessageType extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (FoamXServer.MessageTypeHelper.id (), "MessageType", new String[] { "M_DIAGNOSTIC", "M_WARNING", "M_ERROR"} ); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.MessageType read (org.omg.CORBA.portable.InputStream istream) - { - return FoamXServer.MessageType.from_int (istream.read_long ()); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.MessageType value) - { - ostream.write_long (value.value ()); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHolder.java deleted file mode 100644 index 3a6e0a9a2c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/MessageTypeHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/MessageTypeHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class MessageTypeHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.MessageType value = null; - - public MessageTypeHolder () - { - } - - public MessageTypeHolder (FoamXServer.MessageType initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.MessageTypeHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.MessageTypeHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.MessageTypeHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Helper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Helper.java deleted file mode 100644 index 050c86ffc5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Helper.java +++ /dev/null @@ -1,66 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/Point3Helper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class Point3Helper -{ - private static String _id = "IDL:FoamXServer/Point3:1.0"; - - public static void insert (org.omg.CORBA.Any a, float[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static float[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_float); - __typeCode = org.omg.CORBA.ORB.init ().create_array_tc (3, __typeCode ); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.Point3Helper.id (), "Point3", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static float[] read (org.omg.CORBA.portable.InputStream istream) - { - float value[] = null; - value = new float[3]; - for (int _o0 = 0;_o0 < (3); ++_o0) - { - value[_o0] = istream.read_float (); - } - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, float[] value) - { - if (value.length != (3)) - throw new org.omg.CORBA.MARSHAL (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - for (int _i0 = 0;_i0 < (3); ++_i0) - { - ostream.write_float (value[_i0]); - } - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Holder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Holder.java deleted file mode 100644 index 15d9085490..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/Point3Holder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/Point3Holder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class Point3Holder implements org.omg.CORBA.portable.Streamable -{ - public float value[] = null; - - public Point3Holder () - { - } - - public Point3Holder (float[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.Point3Helper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.Point3Helper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.Point3Helper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHelper.java deleted file mode 100644 index 0303deb4ef..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHelper.java +++ /dev/null @@ -1,64 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/StringListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -abstract public class StringListHelper -{ - private static String _id = "IDL:FoamXServer/StringList:1.0"; - - public static void insert (org.omg.CORBA.Any a, String[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static String[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.StringListHelper.id (), "StringList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static String[] read (org.omg.CORBA.portable.InputStream istream) - { - String value[] = null; - int _len0 = istream.read_long (); - value = new String[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = istream.read_string (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - ostream.write_string (value[_i0]); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHolder.java deleted file mode 100644 index bb3c0fb4b1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringListHolder.java +++ /dev/null @@ -1,41 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/StringListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public final class StringListHolder implements org.omg.CORBA.portable.Streamable -{ - public String value[] = null; - - public StringListHolder () - { - } - - public StringListHolder (String[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.StringListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.StringListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.StringListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPair.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPair.java deleted file mode 100644 index eaaebd3363..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPair.java +++ /dev/null @@ -1,26 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/StringPair.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class StringPair implements org.omg.CORBA.portable.IDLEntity -{ - public String name = null; - public String value = null; - - public StringPair () - { - } // ctor - - public StringPair (String _name, String _value) - { - name = _name; - value = _value; - } // ctor - -} // class StringPair diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHelper.java deleted file mode 100644 index c91f8ef802..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHelper.java +++ /dev/null @@ -1,82 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/StringPairHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class StringPairHelper -{ - private static String _id = "IDL:FoamXServer/StringPair:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.StringPair that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.StringPair extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[0] = new org.omg.CORBA.StructMember ( - "name", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[1] = new org.omg.CORBA.StructMember ( - "value", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (FoamXServer.StringPairHelper.id (), "StringPair", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.StringPair read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.StringPair value = new FoamXServer.StringPair (); - value.name = istream.read_string (); - value.value = istream.read_string (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.StringPair value) - { - ostream.write_string (value.name); - ostream.write_string (value.value); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHolder.java deleted file mode 100644 index 9f567f9156..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/StringPairHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class StringPairHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.StringPair value = null; - - public StringPairHolder () - { - } - - public StringPairHolder (FoamXServer.StringPair initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.StringPairHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.StringPairHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.StringPairHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHelper.java deleted file mode 100644 index 7a4752336d..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHelper.java +++ /dev/null @@ -1,62 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/StringPairListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class StringPairListHelper -{ - private static String _id = "IDL:FoamXServer/StringPairList:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.StringPair[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.StringPair[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = FoamXServer.StringPairHelper.type (); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.StringPairListHelper.id (), "StringPairList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.StringPair[] read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.StringPair value[] = null; - int _len0 = istream.read_long (); - value = new FoamXServer.StringPair[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = FoamXServer.StringPairHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.StringPair[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - FoamXServer.StringPairHelper.write (ostream, value[_i0]); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHolder.java deleted file mode 100644 index 5ee7242677..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/StringPairListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/StringPairListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class StringPairListHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.StringPair value[] = null; - - public StringPairListHolder () - { - } - - public StringPairListHolder (FoamXServer.StringPair[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.StringPairListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.StringPairListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.StringPairListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHelper.java deleted file mode 100644 index d80b0c25d5..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHelper.java +++ /dev/null @@ -1,62 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/TypeDescriptorListHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class TypeDescriptorListHelper -{ - private static String _id = "IDL:FoamXServer/TypeDescriptorList:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.ITypeDescriptor[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.ITypeDescriptor[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = FoamXServer.ITypeDescriptorHelper.type (); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (FoamXServer.TypeDescriptorListHelper.id (), "TypeDescriptorList", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.ITypeDescriptor[] read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.ITypeDescriptor value[] = null; - int _len0 = istream.read_long (); - value = new FoamXServer.ITypeDescriptor[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = FoamXServer.ITypeDescriptorHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.ITypeDescriptor[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - FoamXServer.ITypeDescriptorHelper.write (ostream, value[_i0]); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHolder.java deleted file mode 100644 index b63e4bddfc..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/TypeDescriptorListHolder.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/TypeDescriptorListHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class TypeDescriptorListHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.ITypeDescriptor value[] = null; - - public TypeDescriptorListHolder () - { - } - - public TypeDescriptorListHolder (FoamXServer.ITypeDescriptor[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.TypeDescriptorListHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.TypeDescriptorListHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.TypeDescriptorListHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationError.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationError.java deleted file mode 100644 index 0ea60eae8c..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationError.java +++ /dev/null @@ -1,39 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/ValidationError.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class ValidationError extends org.omg.CORBA.UserException -{ - public FoamXServer.ErrorCode errorCode = null; - public String errorMessage = null; - public String itemPath = null; - - public ValidationError () - { - super(ValidationErrorHelper.id()); - } // ctor - - public ValidationError (FoamXServer.ErrorCode _errorCode, String _errorMessage, String _itemPath) - { - super(ValidationErrorHelper.id()); - errorCode = _errorCode; - errorMessage = _errorMessage; - itemPath = _itemPath; - } // ctor - - - public ValidationError (String $reason, FoamXServer.ErrorCode _errorCode, String _errorMessage, String _itemPath) - { - super(ValidationErrorHelper.id() + " " + $reason); - errorCode = _errorCode; - errorMessage = _errorMessage; - itemPath = _itemPath; - } // ctor - -} // class ValidationError diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHelper.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHelper.java deleted file mode 100644 index 74f14442f3..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHelper.java +++ /dev/null @@ -1,93 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/ValidationErrorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -abstract public class ValidationErrorHelper -{ - private static String _id = "IDL:FoamXServer/ValidationError:1.0"; - - public static void insert (org.omg.CORBA.Any a, FoamXServer.ValidationError that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static FoamXServer.ValidationError extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [3]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = FoamXServer.ErrorCodeHelper.type (); - _members0[0] = new org.omg.CORBA.StructMember ( - "errorCode", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[1] = new org.omg.CORBA.StructMember ( - "errorMessage", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[2] = new org.omg.CORBA.StructMember ( - "itemPath", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (FoamXServer.ValidationErrorHelper.id (), "ValidationError", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static FoamXServer.ValidationError read (org.omg.CORBA.portable.InputStream istream) - { - FoamXServer.ValidationError value = new FoamXServer.ValidationError (); - // read and discard the repository ID - istream.read_string (); - value.errorCode = FoamXServer.ErrorCodeHelper.read (istream); - value.errorMessage = istream.read_string (); - value.itemPath = istream.read_string (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, FoamXServer.ValidationError value) - { - // write the repository ID - ostream.write_string (id ()); - FoamXServer.ErrorCodeHelper.write (ostream, value.errorCode); - ostream.write_string (value.errorMessage); - ostream.write_string (value.itemPath); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHolder.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHolder.java deleted file mode 100644 index ca58060c68..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/ValidationErrorHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package FoamXServer; - -/** -* FoamXServer/ValidationErrorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - -public final class ValidationErrorHolder implements org.omg.CORBA.portable.Streamable -{ - public FoamXServer.ValidationError value = null; - - public ValidationErrorHolder () - { - } - - public ValidationErrorHolder (FoamXServer.ValidationError initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = FoamXServer.ValidationErrorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - FoamXServer.ValidationErrorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return FoamXServer.ValidationErrorHelper.type (); - } - -} diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/_IDictionaryEntryStub.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/_IDictionaryEntryStub.java deleted file mode 100644 index 41bdbe10e1..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/_IDictionaryEntryStub.java +++ /dev/null @@ -1,356 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/_IDictionaryEntryStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public class _IDictionaryEntryStub extends org.omg.CORBA.portable.ObjectImpl implements FoamXServer.IDictionaryEntry -{ - - - // Reference to the type descriptor object for this entry. - public FoamXServer.ITypeDescriptor typeDescriptor () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_typeDescriptor", true); - $in = _invoke ($out); - FoamXServer.ITypeDescriptor $result = FoamXServer.ITypeDescriptorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return typeDescriptor ( ); - } finally { - _releaseReply ($in); - } - } // typeDescriptor - - - // Current value for this (non compound) entry. - public FoamXServer.FoamXAny value () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_value", true); - $in = _invoke ($out); - FoamXServer.FoamXAny $result = FoamXServer.FoamXAnyHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return value ( ); - } finally { - _releaseReply ($in); - } - } // value - - - // Current value for this (non compound) entry. - public void value (FoamXServer.FoamXAny newValue) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_value", true); - FoamXServer.FoamXAnyHelper.write ($out, newValue); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - value (newValue ); - } finally { - _releaseReply ($in); - } - } // value - - public void setValue (FoamXServer.FoamXAny value) throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("setValue", true); - FoamXServer.FoamXAnyHelper.write ($out, value); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - setValue (value ); - } finally { - _releaseReply ($in); - } - } // setValue - - - // Sub-elements for compound types. - public FoamXServer.IDictionaryEntry[] subElements () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_subElements", true); - $in = _invoke ($out); - FoamXServer.IDictionaryEntry $result[] = FoamXServer.DictionaryEntryListHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return subElements ( ); - } finally { - _releaseReply ($in); - } - } // subElements - - public int nSubElements () throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("nSubElements", true); - $in = _invoke ($out); - int $result = $in.read_long (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return nSubElements ( ); - } finally { - _releaseReply ($in); - } - } // nSubElements - - public boolean packedList () throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("packedList", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return packedList ( ); - } finally { - _releaseReply ($in); - } - } // packedList - - - // The current selection index - public int selection () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_selection", true); - $in = _invoke ($out); - int $result = $in.read_long (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return selection ( ); - } finally { - _releaseReply ($in); - } - } // selection - - - // The current selection index - public void selection (int newSelection) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_selection", true); - $out.write_long (newSelection); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - selection (newSelection ); - } finally { - _releaseReply ($in); - } - } // selection - - - // entry object. - public void addElement (FoamXServer.IDictionaryEntryHolder subEntry) throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("addElement", true); - $in = _invoke ($out); - subEntry.value = FoamXServer.IDictionaryEntryHelper.read ($in); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - addElement (subEntry ); - } finally { - _releaseReply ($in); - } - } // addElement - - - // Remove element from list. - public void removeElement (FoamXServer.IDictionaryEntry subEntry) throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("removeElement", true); - FoamXServer.IDictionaryEntryHelper.write ($out, subEntry); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - removeElement (subEntry ); - } finally { - _releaseReply ($in); - } - } // removeElement - - - // are found. - public void validate () throws FoamXServer.FoamXError, FoamXServer.ValidationError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("validate", true); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/ValidationError:1.0")) - throw FoamXServer.ValidationErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - validate ( ); - } finally { - _releaseReply ($in); - } - } // validate - - - // Returns true if this entry, or any sub-entries have been modified. - public boolean modified () throws FoamXServer.FoamXError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("modified", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return modified ( ); - } finally { - _releaseReply ($in); - } - } // modified - - - // Save method for root (dictionary) objects. - public void save () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("save", true); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXIOError:1.0")) - throw FoamXServer.FoamXIOErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - save ( ); - } finally { - _releaseReply ($in); - } - } // save - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:FoamXServer/IDictionaryEntry:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - private void readObject (java.io.ObjectInputStream s) throws java.io.IOException - { - String str = s.readUTF (); - String[] args = null; - java.util.Properties props = null; - org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); - _set_delegate (delegate); - } - - private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException - { - String[] args = null; - java.util.Properties props = null; - String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); - s.writeUTF (str); - } -} // class _IDictionaryEntryStub diff --git a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/_ITypeDescriptorStub.java b/applications/utilities/preProcessing/FoamX/Java/FoamXServer/_ITypeDescriptorStub.java deleted file mode 100644 index d325e16c56..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/FoamXServer/_ITypeDescriptorStub.java +++ /dev/null @@ -1,1045 +0,0 @@ -package FoamXServer; - - -/** -* FoamXServer/_ITypeDescriptorStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.1" -* from FoamX.idl -* 02 April 2007 09:53:40 o'clock BST -*/ - - -// ------------------------------------------------------------------------- -public class _ITypeDescriptorStub extends org.omg.CORBA.portable.ObjectImpl implements FoamXServer.ITypeDescriptor -{ - - - //- The type of this parameter. - public FoamXServer.FoamXType type () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_type", true); - $in = _invoke ($out); - FoamXServer.FoamXType $result = FoamXServer.FoamXTypeHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return type ( ); - } finally { - _releaseReply ($in); - } - } // type - - - //- The type of this parameter. - public void type (FoamXServer.FoamXType newType) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_type", true); - FoamXServer.FoamXTypeHelper.write ($out, newType); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - type (newType ); - } finally { - _releaseReply ($in); - } - } // type - - - //- Primitive type flag. - public boolean isPrimitiveType () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_isPrimitiveType", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return isPrimitiveType ( ); - } finally { - _releaseReply ($in); - } - } // isPrimitiveType - - - //- Compound type flag. - public boolean isCompoundType () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_isCompoundType", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return isCompoundType ( ); - } finally { - _releaseReply ($in); - } - } // isCompoundType - - - //- Path of this parameter relative to root dictionary. - public String path () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_path", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return path ( ); - } finally { - _releaseReply ($in); - } - } // path - - - //- Path of this parameter relative to root dictionary. - public void path (String newPath) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_path", true); - $out.write_string (newPath); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - path (newPath ); - } finally { - _releaseReply ($in); - } - } // path - - - //- Foam parameter name. - public String name () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_name", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return name ( ); - } finally { - _releaseReply ($in); - } - } // name - - - //- Foam parameter name. - public void name (String newName) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_name", true); - $out.write_string (newName); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - name (newName ); - } finally { - _releaseReply ($in); - } - } // name - - - //- Short display name. - public String displayName () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_displayName", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return displayName ( ); - } finally { - _releaseReply ($in); - } - } // displayName - - - //- Short display name. - public void displayName (String newDisplayName) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_displayName", true); - $out.write_string (newDisplayName); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - displayName (newDisplayName ); - } finally { - _releaseReply ($in); - } - } // displayName - - - //- Long descriptive name. - public String description () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_description", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return description ( ); - } finally { - _releaseReply ($in); - } - } // description - - - //- Long descriptive name. - public void description (String newDescription) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_description", true); - $out.write_string (newDescription); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - description (newDescription ); - } finally { - _releaseReply ($in); - } - } // description - - - //- Dictionary comment. - public String comment () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_comment", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return comment ( ); - } finally { - _releaseReply ($in); - } - } // comment - - - //- Dictionary comment. - public void comment (String newComment) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_comment", true); - $out.write_string (newComment); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - comment (newComment ); - } finally { - _releaseReply ($in); - } - } // comment - - - //- GUI category. - public String category () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_category", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return category ( ); - } finally { - _releaseReply ($in); - } - } // category - - - //- GUI category. - public void category (String newCategory) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_category", true); - $out.write_string (newCategory); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - category (newCategory ); - } finally { - _releaseReply ($in); - } - } // category - - - //- URL to relevant help file. - public String helpURL () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_helpURL", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return helpURL ( ); - } finally { - _releaseReply ($in); - } - } // helpURL - - - //- URL to relevant help file. - public void helpURL (String newHelpURL) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_helpURL", true); - $out.write_string (newHelpURL); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - helpURL (newHelpURL ); - } finally { - _releaseReply ($in); - } - } // helpURL - - - //- URL to a nice icon for this entry. - public String iconURL () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_iconURL", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return iconURL ( ); - } finally { - _releaseReply ($in); - } - } // iconURL - - - //- URL to a nice icon for this entry. - public void iconURL (String newIconURL) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_iconURL", true); - $out.write_string (newIconURL); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - iconURL (newIconURL ); - } finally { - _releaseReply ($in); - } - } // iconURL - - - // Defaults to false. - public boolean optional () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_optional", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return optional ( ); - } finally { - _releaseReply ($in); - } - } // optional - - - // Defaults to false. - public void optional (boolean newOptional) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_optional", true); - $out.write_boolean (newOptional); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - optional (newOptional ); - } finally { - _releaseReply ($in); - } - } // optional - - - // Defaults to true. - public boolean visible () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_visible", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return visible ( ); - } finally { - _releaseReply ($in); - } - } // visible - - - // Defaults to true. - public void visible (boolean newVisible) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_visible", true); - $out.write_boolean (newVisible); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - visible (newVisible ); - } finally { - _releaseReply ($in); - } - } // visible - - - // Defaults to true. - public boolean editable () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_editable", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return editable ( ); - } finally { - _releaseReply ($in); - } - } // editable - - - // Defaults to true. - public void editable (boolean newEditable) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_editable", true); - $out.write_boolean (newEditable); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - editable (newEditable ); - } finally { - _releaseReply ($in); - } - } // editable - - - //- Minimum value for this parameter. - public FoamXServer.FoamXAny minValue () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_minValue", true); - $in = _invoke ($out); - FoamXServer.FoamXAny $result = FoamXServer.FoamXAnyHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return minValue ( ); - } finally { - _releaseReply ($in); - } - } // minValue - - - //- Minimum value for this parameter. - public void minValue (FoamXServer.FoamXAny newMinValue) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_minValue", true); - FoamXServer.FoamXAnyHelper.write ($out, newMinValue); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - minValue (newMinValue ); - } finally { - _releaseReply ($in); - } - } // minValue - - - //- Maximum value for this parameter. - public FoamXServer.FoamXAny maxValue () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_maxValue", true); - $in = _invoke ($out); - FoamXServer.FoamXAny $result = FoamXServer.FoamXAnyHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return maxValue ( ); - } finally { - _releaseReply ($in); - } - } // maxValue - - - //- Maximum value for this parameter. - public void maxValue (FoamXServer.FoamXAny newMaxValue) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_maxValue", true); - FoamXServer.FoamXAnyHelper.write ($out, newMaxValue); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - maxValue (newMaxValue ); - } finally { - _releaseReply ($in); - } - } // maxValue - - - //- Name of dictionary to use as a lookup table. - public String lookupDict () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_lookupDict", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return lookupDict ( ); - } finally { - _releaseReply ($in); - } - } // lookupDict - - - //- Name of dictionary to use as a lookup table. - public void lookupDict (String newLookupDict) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_lookupDict", true); - $out.write_string (newLookupDict); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - lookupDict (newLookupDict ); - } finally { - _releaseReply ($in); - } - } // lookupDict - - - //- List of permissible values for this parameter. - public FoamXServer.FoamXAny[] valueList () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_valueList", true); - $in = _invoke ($out); - FoamXServer.FoamXAny $result[] = FoamXServer.FoamXAnyListHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return valueList ( ); - } finally { - _releaseReply ($in); - } - } // valueList - - - //- List of permissible values for this parameter. - public void valueList (FoamXServer.FoamXAny[] newValueList) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_valueList", true); - FoamXServer.FoamXAnyListHelper.write ($out, newValueList); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - valueList (newValueList ); - } finally { - _releaseReply ($in); - } - } // valueList - - - //- Top-level dictionary location relative to case root. - public String dictionaryPath () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_dictionaryPath", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return dictionaryPath ( ); - } finally { - _releaseReply ($in); - } - } // dictionaryPath - - - //- Top-level dictionary location relative to case root. - public void dictionaryPath (String newDictionaryPath) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_dictionaryPath", true); - $out.write_string (newDictionaryPath); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - dictionaryPath (newDictionaryPath ); - } finally { - _releaseReply ($in); - } - } // dictionaryPath - - - //- Number of vector space elements. - public int numElements () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_numElements", true); - $in = _invoke ($out); - int $result = $in.read_long (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return numElements ( ); - } finally { - _releaseReply ($in); - } - } // numElements - - - //- Number of vector space elements. - public void numElements (int newNumElements) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_numElements", true); - $out.write_long (newNumElements); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - numElements (newNumElements ); - } finally { - _releaseReply ($in); - } - } // numElements - - - //- Labels of vector space elements (eg, x, y, z). - public String[] elementLabels () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_elementLabels", true); - $in = _invoke ($out); - String $result[] = FoamXServer.StringListHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return elementLabels ( ); - } finally { - _releaseReply ($in); - } - } // elementLabels - - - //- Labels of vector space elements (eg, x, y, z). - public void elementLabels (String[] newElementLabels) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_elementLabels", true); - FoamXServer.StringListHelper.write ($out, newElementLabels); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - elementLabels (newElementLabels ); - } finally { - _releaseReply ($in); - } - } // elementLabels - - - //- List of sub-types for compound types. - public FoamXServer.ITypeDescriptor[] subTypes () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_subTypes", true); - $in = _invoke ($out); - FoamXServer.ITypeDescriptor $result[] = FoamXServer.TypeDescriptorListHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return subTypes ( ); - } finally { - _releaseReply ($in); - } - } // subTypes - - - //- Element type in List of elements. - public FoamXServer.ITypeDescriptor elementType () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_elementType", true); - $in = _invoke ($out); - FoamXServer.ITypeDescriptor $result = FoamXServer.ITypeDescriptorHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return elementType ( ); - } finally { - _releaseReply ($in); - } - } // elementType - - public boolean hasDefaultValue () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("hasDefaultValue", true); - $in = _invoke ($out); - boolean $result = $in.read_boolean (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return hasDefaultValue ( ); - } finally { - _releaseReply ($in); - } - } // hasDefaultValue - - public void getDefaultValue (FoamXServer.IDictionaryEntryHolder defaultValue) throws FoamXServer.FoamXError, FoamXServer.FoamXIOError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultValue", true); - $in = _invoke ($out); - defaultValue.value = FoamXServer.IDictionaryEntryHelper.read ($in); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXIOError:1.0")) - throw FoamXServer.FoamXIOErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - getDefaultValue (defaultValue ); - } finally { - _releaseReply ($in); - } - } // getDefaultValue - - - //- Compound sub-type methods. - public void addSubType (FoamXServer.FoamXType type, FoamXServer.ITypeDescriptorHolder subEntry) throws FoamXServer.FoamXError, FoamXServer.FoamXIOError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("addSubType", true); - FoamXServer.FoamXTypeHelper.write ($out, type); - $in = _invoke ($out); - subEntry.value = FoamXServer.ITypeDescriptorHelper.read ($in); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXIOError:1.0")) - throw FoamXServer.FoamXIOErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - addSubType (type, subEntry ); - } finally { - _releaseReply ($in); - } - } // addSubType - - public void removeSubType (FoamXServer.ITypeDescriptor subEntry) throws FoamXServer.FoamXError, FoamXServer.FoamXIOError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("removeSubType", true); - FoamXServer.ITypeDescriptorHelper.write ($out, subEntry); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXIOError:1.0")) - throw FoamXServer.FoamXIOErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - removeSubType (subEntry ); - } finally { - _releaseReply ($in); - } - } // removeSubType - - - // are found. - public void validate () throws FoamXServer.FoamXError, FoamXServer.FoamXIOError, FoamXServer.ValidationError - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("validate", true); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:FoamXServer/FoamXError:1.0")) - throw FoamXServer.FoamXErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/FoamXIOError:1.0")) - throw FoamXServer.FoamXIOErrorHelper.read ($in); - else if (_id.equals ("IDL:FoamXServer/ValidationError:1.0")) - throw FoamXServer.ValidationErrorHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - validate ( ); - } finally { - _releaseReply ($in); - } - } // validate - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:FoamXServer/ITypeDescriptor:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - private void readObject (java.io.ObjectInputStream s) throws java.io.IOException - { - String str = s.readUTF (); - String[] args = null; - java.util.Properties props = null; - org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); - _set_delegate (delegate); - } - - private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException - { - String[] args = null; - java.util.Properties props = null; - String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); - s.writeUTF (str); - } -} // class _ITypeDescriptorStub diff --git a/applications/utilities/preProcessing/FoamX/Java/META-INF/MANIFEST.MF b/applications/utilities/preProcessing/FoamX/Java/META-INF/MANIFEST.MF deleted file mode 100644 index 833b22645e..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Created-By: OpenCFD -Main-Class: FoamX.App diff --git a/applications/utilities/preProcessing/FoamX/Java/Make/files b/applications/utilities/preProcessing/FoamX/Java/Make/files deleted file mode 100644 index 2fcfe08018..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/Make/files +++ /dev/null @@ -1,31 +0,0 @@ -FoamX/Modules/CaseEditor/CaseEditorModule.java -FoamX/App.java -/* FoamXServer/FoamXIOError.java */ -/* FoamXServer/FoamXError.java */ -/* FoamXServer/FoamXSYSError.java */ -/* FoamXServer/HostBrowser/IHostBrowserHelper.java */ -/* FoamXServer/HostBrowser/IHostBrowser.java */ -/* FoamX/Exceptions/FoamXException.java */ -/* FoamX/Exceptions/CaseBrowserIOException.java */ -/* FoamX/Util/FileEditor.java */ -/* FoamX/Util/MemoryView.java */ -/* FoamX/Util/MenuItemActionChangedListener.java */ -/* FoamX/Util/ResourceHelper.java */ -/* FoamX/Options/OptionsManager.java */ -/* FoamX/ToolbarManagement/Toolbar.java */ -/* FoamX/ToolbarManagement/ToolbarManager.java */ -/* FoamX/ActionManagement/ActionManager.java */ -/* FoamX/TaskManagement/TaskManager.java */ -/* FoamX/Reporting/ReportingManager.java */ -/* FoamX/Reporting/ReportingWindow.java */ -/* FoamX/CaseManagement/CaseManager.java */ -/* FoamX/CaseManagement/CaseBrowserPanel.java */ -/* FoamX/CaseManagement/ContextInfo.java */ -/* FoamX/WindowManagement/WindowManager.java */ -/* FoamX/ActionManagement/IActionProvider.java */ -/* FoamX/TaskManagement/TaskStatusBar.java */ -/* FoamX/CaseManagement/CaseManagerListener.java */ -/* FoamXServer/HostBrowser/IHostBrowserOperations.java */ -/* FoamXServer/CaseBrowser/ICaseBrowser.java */ - -LIB = $(FOAMX_PATH)/lib/FoamX diff --git a/applications/utilities/preProcessing/FoamX/Java/Make/options b/applications/utilities/preProcessing/FoamX/Java/Make/options deleted file mode 100644 index b3d008ff38..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/Make/options +++ /dev/null @@ -1,6 +0,0 @@ -EXE_INC = -nowarn - -LIB_LIBS = \ - META-INF/MANIFEST.MF \ - resources \ - FoamX/icons diff --git a/applications/utilities/preProcessing/FoamX/Java/resources/DictEditorModule.properties b/applications/utilities/preProcessing/FoamX/Java/resources/DictEditorModule.properties deleted file mode 100644 index 6765d6c2b4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/resources/DictEditorModule.properties +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# Resource settings for the Dictionary Editor Module. -# -################################################################################ - -UndefinedImage = icons/small/unknown.gif -BooleanImage = icons/small/document.gif -LabelImage = icons/small/document.gif -ScalarImage = icons/small/document.gif -CharImage = icons/small/document.gif -WordImage = icons/small/document.gif -StringImage = icons/small/document.gif -DimensionSetImage = icons/small/document.gif -ShapeImage = icons/small/document.gif -FixedListImage = icons/small/text.gif -ListImage = icons/small/text.gif -DictionaryImage = icons/small/folder.gif -CompoundImage = icons/small/text.gif - -################################################################################ -################################################################################ -################################################################################ -################################################################################ - diff --git a/applications/utilities/preProcessing/FoamX/Java/resources/FoamX.properties b/applications/utilities/preProcessing/FoamX/Java/resources/FoamX.properties deleted file mode 100644 index d9f6078fa4..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/resources/FoamX.properties +++ /dev/null @@ -1,272 +0,0 @@ -################################################################################ -# Basic Resource Settings for FoamX. -# -################################################################################ - -Title = FoamX - -################################################################################ -# Application menu bar definitions. -# Each of the strings that follow form a key to be used to the -# actual menu definition. -################################################################################ -FoamX.Menubar = FoamX.FileMenu FoamX.ToolsMenu WindowMenu HelpMenu -#FoamX.Toolbar = FoamX.Options -FoamX.Toolbar = - -################################################################################ -# File Menu Definition. -################################################################################ -FoamX.FileMenu = FoamX.Exit -FoamX.FileMenuLabel = File - -FoamX.ExitLabel = Exit -FoamX.ExitShortDescription = Exit -FoamX.ExitLongDescription = Exit -FoamX.ExitAction = FoamX.Exit -FoamX.ExitImage = /toolbarButtonGraphics/general/Stop16.gif - -################################################################################ -# Tools Menu Definition. -################################################################################ -//FoamX.ToolsMenu = MemoryView - FoamX.Process -FoamX.ToolsMenu = MemoryView -FoamX.ToolsMenuLabel = Tools - -MemoryViewLabel = Show Memory View... -MemoryViewShortDescription = Show Memory View -MemoryViewLongDescription = Show Memory View -MemoryViewAction = FoamX.ShowMemoryView -MemoryViewImage = /toolbarButtonGraphics/development/Applet16.gif - -FoamX.OptionsLabel = Options... -FoamX.OptionsShortDescription = Options -FoamX.OptionsLongDescription = Options -FoamX.OptionsTooltip = FoamX Options -FoamX.OptionsAction = FoamX.EditOptions -FoamX.OptionsImage = /toolbarButtonGraphics/general/Preferences16.gif - -FoamX.ProcessLabel = Process Management -FoamX.ProcessShortDescription = Process Management -FoamX.ProcessLongDescription = Process Management -FoamX.ProcessTooltip = Foam Process Management -FoamX.ProcessAction = FoamX.EditProcesses -FoamX.ProcessImage = /toolbarButtonGraphics/general/Information16.gif - -################################################################################ -# Window Menu Definition. -################################################################################ -WindowMenu = ArrangeCascade -WindowMenuLabel = Window - -ArrangeCascadeLabel = Arrange Cascade... -ArrangeCascadeAction = WindowManager.ArrangeCascade -ArrangeCascadeImage = /toolbarButtonGraphics/development/Applet16.gif - -################################################################################ -# Help Menu Definition. -################################################################################ -HelpMenu = FoamX - Online - DemoGuide - ProgrammersGuide - Code -HelpMenuLabel = Help - -FoamXLabel = FoamX Documentation... -FoamXShortDescription = FoamX Documentation -FoamXLongDescription = FoamX Documentation -FoamXAction = FoamX.ShowOnlineHTML -FoamXImage = /toolbarButtonGraphics/general/Information16.gif -FoamXHTML = http://www.openfoam.org/doc/index.html - -OnlineLabel = Online FOAM Documentation... -OnlineShortDescription = Online Documentation -OnlineLongDescription = Online Documentation -OnlineAction = FoamX.ShowOnlineHTML -OnlineImage = /toolbarButtonGraphics/general/Information16.gif -OnlineHTML = http://www.openfoam.org/doc/index.html - -DemoGuideLabel = User Guide (PDF)... -DemoGuideShortDescription= User Guide -DemoGuideLongDescription= User Guide -DemoGuideAction = FoamX.ShowDemoGuidePDF -DemoGuideImage = /toolbarButtonGraphics/general/Information16.gif -DemoGuidePDF = Guides-a4/UserGuide.pdf - -ProgrammersGuideLabel = Programmers Guide (PDF)... -ProgrammersGuideShortDescription= Programmers Guide -ProgrammersGuideLongDescription= Programmers Guide -ProgrammersGuideAction = FoamX.ShowProgrammersGuidePDF -ProgrammersGuideImage = /toolbarButtonGraphics/general/Information16.gif -ProgrammersGuidePDF = Guides-a4/ProgrammersGuide.pdf - -CodeLabel = Code Documentation... -CodeShortDescription = Code Documentation -CodeLongDescription = Code Documentation -CodeAction = FoamX.ShowCodeHTML -CodeImage = /toolbarButtonGraphics/general/Information16.gif -CodeHTML = Doxygen/html/index.html - -SaveCaseLabel = Save Case... -SaveCaseShortDescription = Save Case -SaveCaseLongDescription = Save Case -SaveCaseAction = FoamX.SaveCurrentCase -SaveCaseImage = /toolbarButtonGraphics/general/Save16.gif -SaveCaseTooltip = Save Current Case. - -#SaveAllCasesLabel = Save All Cases... -#SaveAllCasesAction = FoamX.SaveAllCases -#SaveAllCasesImage = /toolbarButtonGraphics/general/SaveAll16.gif -#SaveAllCasesTooltip = Save All Cases. - -CloseCaseLabel = Close Case... -CloseCaseAction = FoamX.CloseCurrentCase -CloseCaseImage = /toolbarButtonGraphics/general/Stop16.gif -CloseCaseTooltip = Close Current Case. - -#CloseAllCasesLabel = Close All Cases... -#CloseAllCasesAction = FoamX.CloseAllCases -#CloseAllCasesImage = /toolbarButtonGraphics/general/Save16.gif -#CloseAllCasesTooltip = Close All Cases. - -################################################################################ -# Type Icons -################################################################################ - -UndefinedImage = /FoamX/icons/small/unknown.gif -BooleanImage = /FoamX/icons/small/unknown.gif -LabelImage = /FoamX/icons/small/unknown.gif -ScalarImage = /FoamX/icons/small/unknown.gif -CharImage = /FoamX/icons/small/unknown.gif -WordImage = /FoamX/icons/small/unknown.gif -StringImage = /FoamX/icons/small/unknown.gif -DimensionSetImage = /FoamX/icons/small/unknown.gif -ShapeImage = /FoamX/icons/small/unknown.gif -FixedListImage = /FoamX/icons/small/unknown.gif -ListImage = /FoamX/icons/small/unknown.gif -DictionaryImage = /FoamX/icons/small/dictionary2.gif -SelectionImage = /FoamX/icons/small/file.gif -CompoundImage = /FoamX/icons/small/file.gif - -################################################################################ -# Icons -################################################################################ -#PatchRootImage = /FoamX/icons/small/folder.gif -PatchRootImage = /FoamX/icons/small/maths/patches.gif -#PatchTypeImage = /FoamX/icons/small/folder.gif -PatchTypeImage = /FoamX/icons/small/maths/patch.gif -BoundaryDefinitionImage = /FoamX/icons/small/text.gif - -NewPatchTypeImage = /toolbarButtonGraphics/general/New16.gif -DelPatchTypeImage = /toolbarButtonGraphics/general/Cut16.gif -NewPatchPhysicalTypeImage = /toolbarButtonGraphics/general/Refresh16.gif -DelPatchPhysicalTypeImage = /toolbarButtonGraphics/general/Delete16.gif - -NewDictionaryImage = /toolbarButtonGraphics/general/New16.gif -DelDictionaryImage = /toolbarButtonGraphics/general/Cut16.gif -NewDictionaryEntryImage = /toolbarButtonGraphics/general/Refresh16.gif -DelDictionaryEntryImage = /toolbarButtonGraphics/general/Delete16.gif - -AddFieldImage = /toolbarButtonGraphics/general/New16.gif -DeleteFieldImage = /toolbarButtonGraphics/general/Cut16.gif - -################################################################################ -# Case Browser Icons -################################################################################ -CaseBrowser.RootContextImage= /toolbarButtonGraphics/development/WebComponent16.gif -NamingContextImage = /FoamX/icons/small/folder.gif -CaseBrowser.HostImage = /toolbarButtonGraphics/development/Host16.gif -CaseBrowserImage = /toolbarButtonGraphics/development/Server16.gif -CaseBrowser.InvalidRefImage = /toolbarButtonGraphics/general/Stop16.gif -CaseBrowser.CaseRootImage = /FoamX/icons/small/folder.gif -CaseBrowser.CaseNameImage = /FoamX/icons/small/text.gif -CaseBrowser.LockedCaseImage = /toolbarButtonGraphics/general/History16.gif - -CaseBrowser.OpenCaseImage = /toolbarButtonGraphics/general/Open16.gif -CaseBrowser.CreateCaseImage = /toolbarButtonGraphics/general/New16.gif -CaseBrowser.ImportCaseImage = /toolbarButtonGraphics/general/Import16.gif -CaseBrowser.DeleteCaseImage = /toolbarButtonGraphics/general/Delete16.gif -CaseBrowser.UnlockCaseImage = /toolbarButtonGraphics/general/Bookmarks16.gif -CaseBrowser.RefreshBrowserImage= /toolbarButtonGraphics/general/Refresh16.gif -Tree.ExpandTreeImage = /toolbarButtonGraphics/navigation/Down16.gif -Tree.CollapseTreeImage = /toolbarButtonGraphics/navigation/Up16.gif - -################################################################################ -# Case Editor Module Icons -################################################################################ -OpenDictionaryImage = /toolbarButtonGraphics/general/Open16.gif -CloseDictionaryImage = /toolbarButtonGraphics/general/Delete16.gif -SaveDictionaryImage = /toolbarButtonGraphics/general/Save16.gif -EditRawDictionaryImage = /toolbarButtonGraphics/general/Edit16.gif -EditDictionaryEntryImage= /toolbarButtonGraphics/general/Open16.gif -EditPatchImage = /toolbarButtonGraphics/general/Open16.gif -EditFieldImage = /toolbarButtonGraphics/general/Open16.gif -FieldImage = /FoamX/icons/small/maths/PhiField.gif -#FieldImage = /toolbarButtonGraphics/general/Cut16.gif - -################################################################################ -# Toolbar buttons -################################################################################ -BackImage = /toolbarButtonGraphics/navigation/Back16.gif -ForwardImage = /toolbarButtonGraphics/navigation/Forward16.gif -StopImage = /toolbarButtonGraphics/general/Stop16.gif -ReloadImage = /toolbarButtonGraphics/general/Refresh16.gif -HomeImage = /toolbarButtonGraphics/navigation/Home16.gif - -CaseBrowser.StopBrowserImage = /toolbarButtonGraphics/media/Stop16.gif -CaseBrowser.StartBrowserImage = /toolbarButtonGraphics/media/Play16.gif -CaseBrowser.StartProcessEditorImage = /toolbarButtonGraphics/general/Information16.gif -CaseBrowser.EditFoamControlDictImage = /toolbarButtonGraphics/general/Information16.gif - -RunCalculationImage = /toolbarButtonGraphics/media/Play16.gif -StartCalculationImage = /toolbarButtonGraphics/media/FastForward16.gif -StopCalculationImage = /toolbarButtonGraphics/media/Stop16.gif -SystemAppClassImage = /toolbarButtonGraphics/general/Stop16.gif -UserAppClassImage = /toolbarButtonGraphics/general/Cut16.gif -OverridenAppClassImage = /toolbarButtonGraphics/general/Open16.gif - -################################################################################ -# External documentation browser -################################################################################ -Browser = mozilla -PDFBrowser = acroread - -################################################################################ -# Default width and height of internal frame windows. -################################################################################ -WindowManager.InternalFrameWidth = 400 -WindowManager.InternalFrameHeight = 350 - -# Initial window Width. -FoamX.FrameWidth = 800 -FoamX.FrameHeight = 600 - -################################################################################ -# Case Editor Icons -################################################################################ -MeshImage = /FoamX/icons/small/maths/mesh.gif -#PatchesImage = /toolbarButtonGraphics/general/Open16.gif -PatchesImage = /FoamX/icons/small/maths/patches.gif -#PatchImage = /toolbarButtonGraphics/general/Open16.gif -PatchImage = /FoamX/icons/small/maths/patch.gif -InvokeUtilityImage = /toolbarButtonGraphics/development/Bean16.gif -ReadMeshImage = /FoamX/icons/small/text.gif -CaseBrowser.CasePropertiesImage = /toolbarButtonGraphics/general/About16.gif -CaseBrowser.EditAppClassesImage = /toolbarButtonGraphics/general/History16.gif -CaseBrowser.InvokeUtilityImage = /toolbarButtonGraphics/development/Bean16.gif - -# Tree line style. Can be Angled, Horizontal or None. -Tree.LineStyle = Angled - -################################################################################ -# Tree Icons -################################################################################ -CaseManager.SaveCurrentCaseImage = /toolbarButtonGraphics/general/Save16.gif -#CaseManager.SaveAllCasesImage = /toolbarButtonGraphics/general/SaveAll16.gif -CaseManager.CloseCurrentCaseImage = /toolbarButtonGraphics/media/Stop16.gif -#CaseManager.CloseAllCasesImage = /toolbarButtonGraphics/general/Delete16.gif -CaseBrowser.CloneCaseImage = /toolbarButtonGraphics/general/Copy16.gif -CaseBrowser.ManagedCaseImage = /toolbarButtonGraphics/development/Bean16.gif -CaseBrowser.HostOfflineImage = /toolbarButtonGraphics/general/Stop16.gif -Case.CaseRootImage = /FoamX/icons/small/folder.gif - -################################################################################ -################################################################################ - diff --git a/applications/utilities/preProcessing/FoamX/Java/resources/MemoryViewLocale.properties b/applications/utilities/preProcessing/FoamX/Java/resources/MemoryViewLocale.properties deleted file mode 100644 index 8b112169ff..0000000000 --- a/applications/utilities/preProcessing/FoamX/Java/resources/MemoryViewLocale.properties +++ /dev/null @@ -1,35 +0,0 @@ -# Sun Public License Notice -# -# The contents of this file are subject to the Sun Public License -# Version 1.0 (the "License"). You may not use this file except in -# compliance with the License. A copy of the License is available at -# http://www.sun.com/ -# -# The Original Code is Forte for Java, Community Edition. The Initial -# Developer of the Original Code is Sun Microsystems, Inc. Portions -# Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved. - -# Sample ResourceBundle properties file - - - - - -# {0} total memory - -# {1} free memory - -# {2} used memory -TXT_STATUS=Used {2} bytes of {0} allocated memory - -# name of window -TXT_TITLE=Memory View - -TXT_GARBAGE=Garbage Collect -TXT_REFRESH=Refresh Now -TXT_CLOSE=Close -TXT_TIME=Refresh time: -TXT_SET_TIME=Apply - - - diff --git a/applications/utilities/preProcessing/FoamX/currentBugs.txt b/applications/utilities/preProcessing/FoamX/currentBugs.txt deleted file mode 100644 index da85ff6cac..0000000000 --- a/applications/utilities/preProcessing/FoamX/currentBugs.txt +++ /dev/null @@ -1,149 +0,0 @@ -Bugs ----- - -1] -(startup) -The C++ codes read the ns.ref file as well as the Java. -They should contact nsd directly. 04/02/03: C++ codes use commandline arguments -passed through. - -2] -(startup) -- also if roots are incorrect and cannot be read) you get no warning. -8/1/02: partially fixed: is warning message from FoamXCaseBrowser ---> FOAM Warning : User specified root directory '"/aaaa/run/LES"' not found. -Removing from root directories list. - -3] -(startup) -If licenseserver gets killed and restarted foamX gets confused. -Unclear message. Should it be possible to reconnect (by rereading ns.ref?). - -4] -(case opening) -if mesh&fields are not consistent (changing number of patches) -you get exception: -FoamXError: -Type mismatch, expected scalar, got invalidType -in function FoamX::FoamXAny::SetValue(const FoamXServer::FoamXAny&) -in file FoamXAny.C at line 87 -CANNOT REPRODUCE. 04/02/03. Adding patch to 'boundaryField' is no problem -(not used). Deleting patch info from 'boundaryField' just makes it use default -values. - -5] -(create case) -Application class is straight pull down instead of now hierarchical. - -6] -(dictionary editor) -Timeformat is Optional but -- if they don't have it, it is scientific -- if they do have it, it is general. - -7] -(import mesh) -If import is meshDescription only FoamX pops up box: "no mesh defined" -Yes? What is the problem? - -8] -no possibility of hand editing arguments. E.g. parallel running? - -9] -parallel running tool - -10] -Logs/Probes: -- text tail log (should wait until log appears. Sleep is done on Java side) -- text view log -- graph tail var in log -- graph view var in log -- graph tail probe -- graph view probe - -11] -(process editor) -On slow machine Corba can timeout (e.g. running foamProcessInfo on turner) -leaving it in bad state. -Ok if timeOut set to larger value. - -12] -(run panel) -Run a case (e.g. icoFoam) in foreground. Kill icoFoam process. -Upsets Corba and FoamX does not work anymore. -CANNOT REPRODUCE. 4/02/03. It pops up panel saying 'icoFoam exited with -return code 15' - -13] -Cannot resolve URL from /FoamX/icons/small/maths/interpolationScheme.gif -Cannot resolve URL from /FoamX/icons/small/maths/snGradScheme.gif - -14] -in caseChooserDlg you are allowed to 'Open Case Browser'. -Is not supported internally. - -15] -No possibility of rereading dictionaries. But is supported for mesh & fields. - -16] -caseBrowser tree does not get refreshed sometimes if case gets closed. - -17] -If clone case fails the case list gets messed up. Unlock-case should remove -any case from caseList in caseBrowser. - -18] -Chris: for his tutorials: no boundary file. When opening case and then saving -it overwrites fields with ones without all the carefully set boundary info. - -19] -Start with arguments to open case automatically: -runFoamX penfold $FOAM_RUN/icoFoam cavityTut -Now in caseBrower busyCursor is still on. -10/04/03. REMOVED busy cursor from openCase - -20] -View Log file. - Followmode does not work. - -21] -(simpleEditor) -Does not have key shortcuts. - - -**** APPEARANCE *************************************************************** - -22] -Close button does not close all dictionary windows. -Open e.g. field (say U), open boundary condition window. -This (managed) window does not close. - -23] -(changes to button icons) -Open/Close_Case_Broswer (they are the same as start/stop FOAM run) -perhaps a terminal for Open_Case_Browser -Close_case (looks like stop run) - -24] -(case setup) -Tools are not accessible from the menu bar at the top of the screen. - -25] -(case panel) -Icons for fields dont work (icons for dictionary entries do!) -(Chris) - -26] (dictionary editor) -Description of an individual entry in a dictionary in bottom panel of -toplevel dictionaryEditor appears only in dictionaryEditor, not in any of the -other editors. - -27] -(case editor) -Nice to know which time is set in database so when you are editing fields -you know which one is being edited. - -28] -(menu bar) -When editing a case there should be File -> Save Case (and other options) - -******************************************************************************** diff --git a/applications/utilities/preProcessing/FoamX/lib/jlfgr-1_0.jar b/applications/utilities/preProcessing/FoamX/lib/jlfgr-1_0.jar deleted file mode 100644 index 6fdf3d5bf0f03463a5a405f339cb4d3a7424237d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 114580 zcmcFs1z43?*F{nhF=z=zrMnwM1Vu_gy5rJ)>6Dfbl=RXfozmUiBHhiU>k3H!FT(fD z$ox9-4bJoGJi?2db=IzR_SrlaK|sWWyA1rtE@eRu_q$(L;1J=&1Yh#g2#X8R9ksy0 zA;3KsLAiYL8SrPH_WY+WV*;P?-N5qup(=vuOih?nAOe1kvvh9z*I9wxxI zV+A}X-!SU;Z+`ft*$=D52L9Gm-4JA90eWOgGRv2Tk%vRPlj-=l_4l0%T+H{U1Bs4wQ2*lKuKcVGDIbJxxYtS{*%Y@Qy|9C(&TF zw`%Xd#Y`R_AM12Ps;jB7n@+r%lE4;1M%G3qyc>4uL1&c~bCUDyLg7I-66qdeW;j;y zp7K)M=2&e;)NQI;cx^k5pX8JkvR}w@Pc){^k%`5j;V3%f6yahX?{YzLUSfk1b%M!p z@o;g;A4pRohRsoY(R*YrodgqTQ_HrJLOjC>*mpXV4Zou^BcD=pF@J=*GN1vG1U4A4rpj-DCh)m zfj)flz<2!~*W#5S@>_0%px)r4kfiZVzByKon|7ZI%{RE3-SIy3ONN0yZC$2Yp{5_4 zHCR$2{&Xy%vFV4oPo9A;Cb-}Uil{Fw3(aLDKZ03z&?Qs1h<1{{pl76~fBrP}D3AU&e zkY>T%`jC2(l;V0$)M(pgJ5+xT4pjcT9`&gFDfKCWpcD$bG9?vWW7JiCRP_`=R8KqP zG9|RW@9TD7j(+|TSaZVvzV5%tgW1z{(?#db%2-dm$=jCA*omR11?y-I;=cTOHmbeX~w>u;8o2!;7JTM6x7r2>`_j6@D{{E9Z=Y68PvZ z{ED=(7RcOC&lvOvCNx#8A0Im-BYPsCpu-8*$58vBp^2h#K4e9B8to!%^z68$+hi-k z2K5a)VWzprxK4mcm9o-O0W|@=!LeOkhkkQ7Z;aD zk_nGY^`c!(w9Q{QnSsoN^^LRrU3FA)qFpt`{U6zC?%P#`2vEn;$He5`ncP|0}Ei10TMx{+LOpgPxwAfZg=r2HDm72nbAW z=xPj2Q6ii1p7|DtO6`*5TMcCrj5b1zc-I|u zHghBB%zS3~Un?Ti&SIddq(W8oi2Bsjo*zKhB2}Nu2ScJ?#Hneisl~p1nQ}uZJZT~V zq7c9C5>}k@Uqx+d{J`#!bI; z64Pt%+rUm3k@~~ZQP0`LpSZ@;koh+kzkK2%NN9cN4VCJn+dn%msjf16rpIGsZ>XnZEC4dL0Ga>IWlxkSJP$TdJne**dMV#zS{;fzTJn@h}cp*-23N%>$m_?Z3YEKX`#(^L_F(Dv-ep z)t3y58lOjfNwvtE7;G8Bzb#HDlWEso!X^VX6ra=ZB}ub>nGt!s;eq@)_+nz?7fkIp z*#Hc=KR|Ky9P$4o7<{LJC`jAlZvs($3Ir9{#5+*G3=R2d$$W03JJ zh!NpU`usN#Jq!ZHiy{3|&8O=CDokJ9e6bgGTi)D>{pD6ZccjyCOZYoyhr}t8#6`>!)oe_~Kn&&Aob^g=p=bf*@e5-GNU-^)1VeE-9{Foh`X8;xO8Gq&o zB=vN3E&jpMlj^@kdEh)|p-#2mGLZJKf;JKPrZCa;L>rHq_U$bez{OTv4EaCE6@K>v zKQ8@zh4q)0{?FJCxPeplEAVM|c?W_b#R62@n8uE!u09JCvJ@d%Wemc$UUiv(sc$hO{tQaYfMgQ9*)r z##O(uLjKXg2Qa6;QhaY|E3`YD3Xfkk99&F(OiDYGeBuUvEE@j@F#e`VeEIGTHrber zy!GXn*X(bbs4w?7@cPDY$6O6$vTo*7-O<*%s2tF-xJC8E8^i<8Z$ia+?SSCtOirY^Y5{ga54o}|19DZq1imJDPjJWz<^EM>>LDB(g0Gp+S20P?r9Z8(*1&V$MHC)*%kVrXe(ENl!0nOpE{ z14-IH0u_VDYIGN>S@S-hITlvcY3wv&LebjL@4A=yfMt?507YT?KU0KGVSHyG;(RruP|BKFH<<(u~()R}o@##H{ zF?`du7l$SKYn0g~0I9WKV#)kBuzUp4HZlKa48;H#THHAEA?5kxXik5y>iX@@2iMpp z;cC5@WW``J9LpFw@rQ}p#|v0w`Qg`db#Hs>WHinDmC~nZ4!i0wDjNGDk2Co0=am0#a+|aaZ+);rL>BgLM%= z=|@T;o%59pe-+37fsfOGadR}b#g^!s)Ip|86W&YnTsIe$KX_9Mb?u_Ggu3Rf!-b-O zvgGjxbM8CM&odOiJfL8(p1LiwQ`8ZGkuzt^XVIDRIW@lPJ`Y6(PY*Hg2Z^^q z7bTGC_A@;@2|I`X8m8y-pMiszOP7z1k4@Cx>Ka7I$`zST)d|4nqEt(_iRkFoTo6!j z>CX-p#E}VaplBf@h`g#6?(CIPjg&g5zJb$WEBtUW7M^Tck|nCp^DvA1s|23vaR z5c#Kx#G&ko^t3`WNeLmS*l``ZwZK#Z6@y0z?_?_^VWtL#@V} z$GmAje_zTU3b~qyZ_0^ERHR+CG=MWYQ=~oKGbE z7V+FnPLjZU9pn1lD2$Bvxan9IbZirBle0ArV7LBD{QiE#{&N6rVI5h@_5nWwFrrFW z!bs6mXfpC6_>1D5lyw3MIctfBQ?b<@dhpia#-7@um^r?jLslG&4GxLEUK7`8E0Ij7 zN;*TM+Bcc(N?0H8>!kEoq(Bib%q8YyZ(bh)a9jQ*c7Hhy|21ULc{yf)b^vO3cn>_z zP{TbFy~*6rUn4NOxzu-0#6uU$)wy*lvkcHTgjqEpad#=WBc|(vzQ{$n`J+pu;vV41 z5#i2X&bKn16O}j$`DnG&9-N$Eivy2s1i4MmBG)n#yKPa6qxuqZVP}QPoUc_U0MLGn z$>%Gdzn9zm8od*X{S(5Ko>;6s&D1sPG81fR{VN-$s1r)qaXrhu`xW5kga%Su%Q@wn z*Wd~6DPu=s+(N74#Mg1Sm5jAy@^aU1c`GH@Ul5DCUpvydx>_yc+rVL8qRN()C zu84DCf*AO_|6h4CR=3jAQMb@DG5%e_4R`K!iof!@wCQ=g&&q9`j)NEu7#adX?MYNt zJG1PoCzdVQT9rPVz0|?yCgsD%QBX&5d(?Zk!|q9}&#)^o4LEMul}1>yYgoEHH|B`% z(?jof7Zq&_XubPSBs5JY z-yb)}0g+&At2WTQ`E3^j zw(A7!_7hc*a{H{cF-J>iN9%B*>PX4TL0<;6(2%3l76!3g^3Re78`k@{wT7;!7OC}@ z*>Y*O4{>WYG*C$OiANTt7Fx^8_D>ZQ?9$MHBO>OQSv&M~-|HDhHdIxaPE=h&j&nI} z#}GIP_%mcE1+EB8sN5Fud&&>Ov5{mN80az0kP6e)%U|Shk{Faqxhtk>&Qzd~66cO! zk6NjeSb(%(tG5jB@dTuP@BL4G{>IsFpK+I@d{^zKBGN|m=1U^B(5<4O0cQLshd!}T0rjK|fu_i6b=p)CI2 z8Gi!BdB)pppE5q?(0TLg_;jN)5%1pNM0M8wb*Hh)o$1x`HS1NUQb*`ghN7zR*ntCV zE*GDTSGn?NV<`W+Y*t07!|uwghzYH-gX6~3(p4OlD8A#(kzyR3PF_Cn++d27gm|Ql z#qz*mt=Ad>x9L)q3)B9#@_6}vOGi{#p-E+t8i?o+) zI(wc*eKn{Rom#oXxjE3$7iUdAPj{!rqZFHZfW!I7zZhKD8C`BU*VfLYZ5YXH+wOja zsH`tJUqbu#>HjwBsmtqIMohKHBPicv#F}Fp^2WJkuO7ii%n^<`bkp* z#CoKebn~Cb=9=cKs^}fZ4v@tCG00FC!SmVe(WRyP$kaS}ssmj|;lXK{d!YU(|P3)+^JE54N3d})8f!-ZA2!lu~ZY~#61#3bC9WalN` z>73Sid^7{g_g^08i{3T!cCp3Bxq4AChh%LGZwjy=d!Xg+H!Ffa=PZ9-G5^k43YnN& ztD9^6GecU)Uh*HGE_e0Sc*LHHGZta+65PmapeHP)fY7bDaBwY)mM5=BgW|Ze+WW%F zG|dGS7>&z%eH?aR=dy0My? zk*cb;%BsQgivH5lp5o%}!ott_`JH)r9l5z}pFTBbW;Uj$*Qch|CMQ=XB~>RRRDS$e z{_$hkhuD(X4<*sjMUj#D;o-TVp;^Jf836&wZ{8%ne*MAIGse{|!o?;0)hh@SlQsZE zRaF)6`?+7lyNCd1IN(l>#DNvz!aYQGsERawN_{)vv66PEx3p=~{f_61?r3aqclGON zXbH)!BWw9(u1Vc5CCP1m!B92~@z9=-{%=%V>{Qfj z0>SLomUv;N?6~w;j!~{RsomLv+)3pWqS4Zck^GdTNRWtqGvAgN1#nbUzTt->K9UeH zF|{>6IdQxTbjZ=))v&!QWodj@Oi$C?1Z)eo02zU)?+P1h(%$7aG`#!$XcBx^5(G%$ zRv<0fYpBmeh3-C)yek7Tzso>Ne+?Cm>!c3^1D9d25Ljvs@ci67{&Ftyk8Pu)xX~U7 zr{3LE*I7HlcC9xr;*i;A`)B@dtfxo!N#c-kmVo@?z7;-ePd4M2wU9=FGHaBM||I z`Of-esTX<_m(BWiwOb)N5%)<-<+yLMJZ$aQ8J$*YjnEaMTuQq(Vr$#zFLIJ$RUFn7 z7~vEc^Hly8RCYJrL_(J%fTTW>V_3UwgxP3l&l^K_Yl~)WRprZIadNKa3&r7sxw&F7 zG4SmOZ5HMZ!yoc2!_z$24e2Bg-V8!eEUt}&zfPEPbiWYGJzN1M&TSXb)b?3t^_%pf zQSZx`uV17Dsp{bSWTUQiS41kBegPl5j3FNNM`*2ir+||Mks9*mtSqc7`?usCe6tp( zCy#y)T}jiGAxW%NC1S3PB~6b})Z}P{Cj*-iW-CaL_9iD7ugt~gDDJ|(5{y_!^MXc#R|v39#hZ(3)Tf~E29rqoius!H)@+xALf zp;2kRt9XWjqtoD~)NsN0(bokG1n;wg=l=JN#z0UUbMZXcXr};=fIH^%b)`uh zTtadT1j=?zS{|=4f)w5-q`LV}$k+R(?P+6c9jgcDOJZo*7VK(@(pA0ZQ9_D?K8Rn&P9;1ilx@_J?_XDSXPzK3Semm#)2k~cVbVO3LqK244% zu(k33&i0-+@oz`pb4Xx&lQYBnPq#O?nJZCZn8$f+GC@R~_Pw*sY9vBySd>b^*Pg)o zMjRUM5{=!3d;{8a1zW5Ag5d~O73Ip+FCB!|XlS>Lj9{Caa~_^D^>xg3^(@#}?axG( zS~^xcTO(d7aHf4w7gQYH>+55YmWFY1vGw&(&##Oss8-r+&hWIiw~|SWjSd!P=3CCj z3v=1qu@)3&t*(p?^yVA41V;st8pY77i&*cJK$vzUAUT?wGb_N~MX;MKwL$i^+Xk2% z_f`Q$0m`b)_VQt__KIT8%uJ0(BQ`ZVqw~?EEeyRq%HFgi5`ju4Qn})wO)_>rEK&~b zYfYRccy1X;UZ;GpbVBL)$_)oo5=10u<;@*xJ<|;ORg`k)Y8HE;vKgF(x8|!?tP70G z^Yyy(uige2r)!EO%RNJuVSVZ4MdrQ5pjL^DaZ^zH&{Zng zsL_h)j%~t1Hj`qf_0QcRVU>=1U%k~aKjWO8scW6&#kQ_4(|ia_UVe?9NGK5;?)e(x zqH>>GXd3Q*uFHP0@jCD6`}QcGhAUn}()pNZy!2){)>lwDcga(u)!+8x+>~c%o_(E* zfe;qe)|iA|cFRf_l?g!^Pre5~N`svgnNAIBN0mW9{gM<{K%8DW0>;P(A*j`l(KbKEi`+bI#>8B1(BPZ=o5(z z3hc1?CRu_R<@IXou8+rxf^Z1kBK$E};s1&N~}YYiSk==oSz&@bvB*7WJO zU=RXO3?rWADW}rWdF|)tZ5l=(Ej{($sYc&k{CKP6=bf%+Z>n2@|KQSpYtaxEiTIr? zLI3=qxdv!hYl%gedey^8k1x1fqB-4ERbsII>DB;+#l+{N@hq1fH4KDiN51w6l{e7olWAq77A|Eq9kfEcRV z{v_K2T2_9I$I@c}52%f6HZglFly$g|ONhXGsv>1PF(>*)>1ew?I~Pn*r)x(lOzj5!wJZH8qw7rnkq&Oe%sc}WI+4L6R z?J`xJEmwwGfmp4OzgV+5tAj(wQEXbhQ4B`!47W7xOGf~lZVU(b*bi?%QEZsWb~Cd% z$XYx+Pjjkn&H3?Xo4rzJAE zQd#kY${*`+CP+cCUlR;)Wr6WC^e zy_v%Fe8tgnVZHrev_;n%fYS{>@Otl@f&aX@@i%0Ct$6&YohzRBy_JEg9?Ey0I;YgD zQ`{wmudD3#u;O*eRi>pg6^y36Rfm*L29KffeV`F(^S8+WSwI%=4yHw{A~COCjQgWH zGK8I6`e^zkI)4@q#7wO8ei08CSXs4y(z2HUG@x{8>*l^pzgb3aFin_^;ztqam>Qzs zovTrrU)uj*WZZ1R|7F8$CH_ShU@*(W#Vr~xlL20y3NYngF zSjd5o{wgZSoHXG50hj;uKR5%LJ%Za~#o@A^9z9!I7$udgSfq{aSQ*R<-I3Gz=r~Ct z#?Z*<8XDRwA1vpblbe7H^RFyi+tk#&(b*@9?G~r)@!w>&n=$G#yncoWRi~cXv`?Sj zYMP%BDu}J;<4h<+z(kYYQ*ytR!B)VM%>lB7S!BhS6;1N1b{UIB4u>4kDDeHwdRF7t){M2nIDZ>awcZjS5C_?q{n zgnW5&0=8;#kylgE_R=)6QlTQLlc<$~c~<%b9$puUuTOz;Qh> z3@$NfRW!xX&m3vkv2n6vw?RVm)bsLkP<cJWo&V^(W0oZ#SM ztGln><)|Nm6@29g`Y;tTJJcenl1WT`KNoW#*Y5Bs92{4cJfSgobbt+ulvEK!nw5qu zG%PXl74Oo8;dygt zB@4WDl>p!`u&uwq{BI;fXH>?yH2;r%hS90dz;pY=f2HLy!yQvZ#3aO6hSw_1ws(o+ z>V>)}_pcQo;^e&WW2??U|8&U(cNa;o71XKTlM*ND1!fI~f85iQ|Vmo~RC_KE8f_fcvO5>9Ek@rg5@#x$jPAi>Jf_?_m5! zEhzZb#kr0J{@L0S*l~Ud`=7avliKP$&Cd>NY1*k2!o#esGuBoH2S)Ra7lWftq*MmS zov(VObDdn=&SM|yef?<^Y%I1?VQDhaisg$VsUbSozDsMjFvzg6#WT_)W#u^vOYEG$ zu+79okh1bpM0hArSuF!vS$FP-QhP_){*u*IOCUW7XEoaCNhv*3$Mm|b#G*=I2fN3x zIl^eJozGtv9+1e_;o(C z)A+{M#mlxV&2tj0TNe!WuqylYDoc$i)oxc2Uv0d9H3Tv`ICG6>&8TQ5*%{;;8l0H! zPj<|6o>U28HMt<_aJLeu^@hd z+Q*)?{@vE2kvFTSNMbu0ttSNCx-~tj*lru~Vt4rI*!IY4LPGJZzc!n{zN|~mnD>p7 zwq$F)w(k0qqHpDIZd+Y;kCY6t58EJB>xPGlBO^ump=P`!mC0(Z31~@Vq>;0>wyrn$ zsF+lkRk_x487=8z?$#}f5LZS6hs;+1mFhR=et6Eg|Fs1AJm-M~`eX_T;K%9dpXTMa zi-<ZE*G-?={xJ~95{?XmO zEy;O)RgRCBvEB4w35c%P*y-6?bgAC7y(;>5#y-8Me)?J?7SAr^rN+vD7S*{l8MaVkz^sdaZlS$t!uzI&oQxTpA zTXXgWGs=}x>?4uLXRR=A9w`yo&zK$+2U_5dmV6PK#Xfx2j4PEGUN+|5EaiT24Y}r! zX?Dy%xc>8o@HgQ8i8k|VxD}tCz}@K%)2(48PPuQnL!hvB*|PaI?fYzB5yve8Qj|H* zkp7A-qj8LTY9pJnD@Egp-p!;wILxBBcJA;pR|&a)OW1EJP1~ zjaSjxp;B*tSE4I@nap@Gf48Zf7t5ecexlSSL;K;5JXxdQo{EXq3c9VMZA7l&(k}jy zh)I9u&Eqj?Yo`iS1h@SBh#b}Dfm=i3_t!dSv!9?tW2l4+yE3SZUK)301^Y38Qk$2= z-g65+eS1;eqdV@o`M)>M)033*=OIJ@NB@7JM+amKGFLbJ-C0WSxfu6zHRC_;@@xHp zyk{Y@BA z#lV;|?%`7FHK4_p)r2!w4+as7=tx(#cUTz$`U(gXbF{_-N$jC*gPc0seGn!#hVLVP zUb(QIwTIj~YY!QQ_wq&};*>n}xz>2yE|K0_n>^XHr65{Kot3z&MY{{JD+Em05&1$m zc@h+D%_VCz70vqQiT#w7JA<_}i_9FSeWLyTo|jgkjTJH$a(|L28g=L-Rn#qJ9^UM1 z5OM8{hsfw6c2>HwWW(Fg$zdLY739j;x9zQX4h3SO3e!`?)-{n)D0u#uW-SB;JPc;5 zk2>$;-0zrc=OCoxu3UWeCDqF}Yg85c;(AH)i!G-DfEd{KL&|Y}kLmu@$i5F6d1L~N z(=$51*S`~0UEaUX{PLx~Gn%K=W@E~qkPDkmWu&*4go2{^6)NU`g;e&tOt^B42q%f) z-i);PJ}-xCv{t9B-iwUQC#B{AnWJ)!eLcomAC5#ukx(kA%pr6|TODs+Xo^34ynpYi zH_LLScN9eO5dktPvg^JK&j`KPKDfJ!Y(r4Ya!GpUwJ9s}fMb4+I>^wt{mQ2K&f@CL zTNie1e`IYZ=cGmN`VRp2o%2M05#ZB-KK~NH=BEIElNN{aa!9%S5nz+rgkx>)Ob_IH z2g+VbJ$Ig=n(2}o4z#yAGkkmvzFAuq0r`OKqgT@vS&b5T+@mDV%JO=;WuMEbn6prJ zEwfwaOOLKmw*HqD!_1|Hm6*HK7uFH=;->xDWdLA|UxLi}*I0ZuDC4P#xt^VgF)(cL zS9sUec?0JIypDSoM+dtCUg+&WPCZrUT~=0xmV72}W1Kh};I>r)`Gh-kF+)OSHg7Em zJS)5%8HU|U>6}NkGe7jES4V6Gw|LB%@9weMJCDbm-t~{DSnlBt$wijU3DFqo$|-EH ziheWP!&(E|9!QKu)X`Js5sci#YcQKVEaU^1@+R7k5el1 zfl@QiS1bS8WFA8#cp`KFaok^`&i=Ph2f98j^fdoH%vru;9-umFu^PmL^;D(#EfEWa zU{BhIb;O8Qop#s7wuSjh(DS)fEaE#<_M(ECyl#7Wh*)*Jlb@f36i(-Bz@jRAuhCMZ z7c$lBFr@R|*8XZFzgTj}@25EX6{?y^d0o^Zg9aUIYb#6lW;WUmb@P1Bi|+Rw2^m9_ zZB3je{9Yjr&_GbD?CUERHa${{35Dw(um@B>>_h)K7xVKv=D*3#$;`0-Z&=jtJ^0@s zJjp5eza)Hr)|x|b>|L@icA+fQ0_x%dZsDHsqYeQH8FY$e1ogS?X&*!Mx99k-PY;;$ zQMU98e-(ULteFuC6sUV~Q(szYrnb?|E=-f{mh9>}2KamRm&pFSC;tazzjr$SOTL7J z=SN=u!Ix}{gZ9iOSnXXsE}OX3!s@Y6A01`-HISlTm7rDL&TXXIN-YT7G0OKm+%s`! zDWGRcT779hAs?s6B)c~G<&~#h8sly#)AU!wc-VQ)X6`|^(h z>_4R~+mC*FuIFh$c<{YNOUjMM_HO~7Ayk-n=NgIv5gn(b4&7mg@QlEl+8PorXcP6< z&9>pmvIloxGcYRz&9?cb_wae|Zi@|*Y-cO?Q14l#i}UQtnu;0aS*3|bq#6i-1k6m1 z5!Ek@zp1jrwSSC@1Lr&gVXcAw}dK5kwE*Q0WyR>)j>oc3%tq8>0$kP-C+fG{1_bM9)j)Hym zp0(pHkP(U?B5K=FOI_SprIrItl9MirAA3;#SBTD=`F|mT>w@IvLG<+W8XELYr*8iD zzzbo9@l_8aeUkJ^eP8v=HopstZBh(|&YL{Ty7pW+dS^hd(?d#V*W1h9C{NMG{4O#7SUO_9 zjy@`NK8B8#jvJ33nQtxbw}y>Je=p5-fV&HWWeaVIK&@!RnQJz^a1CEPQ{LXNH}yW1 z41q$4#dw@xDU@!213X81TCdYroy}*!`#zr`2_Y@a)lSt1q#}?j)8xwCD_u-dtc-T8 zlsl6~j&Ug?T*~la)`MJJ@I$zv z5=cv>F06ALYLM`R7;vU{e{iUS=gj@D!G4~>XQx>|!v2-w#-aV@%o=bL@ea=(Y<+SK z<>V&fF>I{-j`f<;Ndf=;CL(Z$WG)G~iKtR}G}#hT7)DoFY_YIa@0&%dWMjL%49nGt zIn_~qzgd@>#gf>Jxy#jSQ?4yZWR9DfkM3bC^Y7T-$Rt&eJbQhDNzjttpAqIeIQI zBMO%3Ehk!(y*Bx=u^TU%XMEG9JS6#OP?oHOD~8XWBLfzw1a-fHl0={`xADa$4cSd^ z>&VDN!fU5PsXr&yK)d030=`#N#p78<)h*E2i*_|OYnO*GN9#2@epqn*7UG4CVF*-= zE4&Px8>IrzZ$^EdU4O2r30VGN6y@(CHPCnEjfEu(R8-7B+k0jvt%`~Y^4YZ>g#VOM z^<)$7NvumgaG{C0O!7I8T1i|ppRfwIe|}G6d+@lwE1U~5o@zKVEQ$W?G9wI&o?_ip zHziD$(^PE8_Vd>!%);F?2|I&lc?PURjGK-nFTAVwR`S#6*2Zj|VRP*yBB2xJ$l><5 z??!56>|#Gu33$=%*9D5H8_;%?##X!+t8RHd3T=N$Hr~4`$=gVq=uWM`XDJWu!|lDY znxj`N8rS4keWj7)7-}xzG-1;?Nwwiv7Vy&p3(BQfGP?CM#QVw8%%U4T&-<4 zG;gXC%NWy&^B#dP$}w=0Ok$=ATI=6c+f5#A;#eN*2U8N76KGz$VbI~_aiY_C+5 z+q)1S?C-3Zj8|N8+gTkgUFy%WHZyavxi;m5{9q?n!XVj1-&hZnOb5kTUR+pRO2)y2 zP~W4sOogkga^EZqpEwxFap+^Tk_o*cy?a%^WpODqqbWMq%CT5-bZ$|4cZoANIAJj- zO*YhedED%&O1ghNsMm^wBPBO*%FW=J%( zJ}U;+o^;YP30j<~#ne7cla#5Z8{x_$WwwrNf%RRSv3!2<)#KjypIlHRL7*@bTI&PC|mNXR6ql%}&8uaiYr|wskuE2z}=O zg6`D~NjJ)7v6tu_Lh{r6GgQp9_CsN%1*#*(D>c=QYye$zbf5|MQA`MVO<@xiONE)v z4mNAUA5mh~Ms1IeR*u6uotKBfTXos?I^sOsj+@mf7&~;T4o;IJL0&tR%B7o|HN}l| z(TBzM`-f4AYsTXa`zuSwA~-5Mwg+1qAF~4PIG3AE_iZh)nT(bo`MDYm7Z9WDlgHkC z6|W-{|Fvx+#swnKpjqqc)*kgpfq@JWH&O{VxNJ`MGBRa;?jrsuWMlHRL2i#DBeCgjKsk44=s;(KAaf zM8w`oX% zE>GQhp;)6npO;%b_-N99!>_K^zx}}c5faYr+lriz*UWr)OKg(!B_64YKK$7Aq4?bs zvU~iTI<+cc!*3!$VcfbJTI%W-HPh5WVWU_HXhTRjyDW1$Ompa5!t(Pzv;X9YrxW7N zXNvz#x+5VRU~L73@a$}c(@O@g;!nqMumV3FCF0UaX+ojdAH|Ku)zvFyub`z^2f>rd zj7TK>)@P@t;}vuXrF98GsCbS~qokd%!_az;#`3++dby3s+w|kc&$L&8gro)CBNgt= z;l+&qpVm)D>;zKj&p)Ko{}iV4uI+EY#K8r?NWy5K5lnOwY_Gd%-+@-u^l!TL1`$UsI(6vH8A;gLDt zv_TeLPk?sWArEvd4>}kzmTK8UMm4+6ke64G-(qET1$<$mS=!F!>5~@6-Ctt*=ee@b z|8u?#oNj#|qX)E+yVSVWq=oVE*sUM8%t~CpbD&y0)l!ggeP_+S*m>NSDXB7w<1jzd zSXp^g;YnlD>gwp|Xep@}=L9s2)%j>Jget49KE!xnm0E!U-0sgE9(PA1|u&Nvdv1o&H)ZVe69K%Q|siT`-wr|qtUxw-2 zn8d)^d5&`fGn85isxvcTbR%$fCUfg1*0lPI>sX-^8d2mOwWKS}cbn^JS)LSdb(V4r z$oI9j>UFNZa_jIv*SG$!{d|b7E4N|hK)v(hT!7(oF66K6 zo1if7$F8lDK7tyE_i%lhLFOTnpwIYwS!4*cSMQW2xoV2U_-m0hfH9_bOd9)j0`VbV z6U({gEb6ib$VLux4>RNYgNRH!5f84qjqUQUjl8m_oajV8P(@CeeQLw=S*T`Q zux4DSvH#wrN!;`f-&Gp%hCA_rm7)#(Qq6CMgO*h5`c~uFq?)}TToJxkop05}_TDx$ zp?h6ov5+`Q1ZJPI+IJr%T3L#)D%DZWjBgAA{yaEB%Ca6?ih}LuV&)T|XG!)b`zZJb zf#F?l2r@uK{il14jAY8kCQKW6#`2z0dtSa5)H<9l^ZH>k(G{N$HY}NJ^TkT&t`A-5 zS($YQsIkLpZ=xbnCIm7=E`Qvx(A0Dj%FWLYY1Y!nmLtbpoS*-skb&*%@j%%1Zk~dX zCb1N`0W*+$vHPdJr1W@19M%eA#Pd`q_j&f<79xM0M)uPOw=N?ZTB&;>9YHIRcA-~p z!*M+vEEqgOjD=PQeTAmgRHR(D{;c=Oq=&4iD5%xuYwc=D4+@U)tj3(6u2dc$JXz@C zhn4&tHn`C_i;_~|Yl>;edBrLWVmL1jm0Za)h{wTqAmDDfVVT93A|@M|vP+&OEamb6 zN;?&nS<9HtGVjLdN?I^pjla)w>uBr{-u!ot*uK z@GJ(N$)I{zD_T&uwAStdxLY3+0V~n4bD+5;EI>6hUzR7{#W-p`q$_d-aj>VByT~^; zNpE(+_idME+A&vOujNBI^Z?2TH)>KbJAS+SA>3%eE>TaL*D>8X^fErYTWXHevDvXf zrsTGOsQA>}c4DAj96EGuh0ZvrPO61@@|x{)z9XLWEl?E{HNKa0X+rL0^8jCr;)~2{ zGl>us_Jl2Xo+c8Xog<)FK4d5 zgG5rjoZn*jGn>cPSU7L3*2hyLvws6RI8ZKEwIZej0;$5(52?c6xAXr`z&z77fPSRc zOFl8qcGYD;uxrz3*EG;XZ;4TN)70YEY7S{?3~O?+TIFRJ7$^?+-!)Nb&lpc-1@qE2O3b$Qvhq|Sfa~P zwR2e5^IejSQRcCSrklCGcqyXgAgeT(_eI`IM|_ygvS#~e^_ucZ+OR&f_hn~FYNR~F z@l2VXeUkVfk8MrC(U=%dy9m$&%-q+OVyrM?v)7uUX%b*uQexKWHp*peqH685k}5^D z6xxF+L7fUwc3dAk0zC<%E+HuTA`C-1(OVI8HSG=5w55Z z;lRmR%856`GZIA*wQFNzWHjSwhv&%srfi@mI5=3|15qcR3s3G7Wp+-g`Q@DS$Y~?u z*bdt2)SBwJ^7cmYhZ0}3V(z8+EvTdLy75S6u#j_1deTre}Z;L|b)vEG8Jbmz)VYVS|+ej3RiJO(Om{Y_w zhw;LG^v*j8tLN8&;xXih0`i}c>@=9nO6^L7qre?LFU*mVGN|X!T!QxYG$@o=im)bI zCqkKX^^9WPz0w zUPbB?S_l8MDGHh`q^Kw)heiQwh9x3j$&h)NIT`rajzP9vv(tk0Iup6$OaGjRkMpcf z%<>cCA*HF~XpF@m^AT=_63*?VoR<|09I<#KE=HXA7WbjZoH&GbY|Pwz+}w2BQ#}ln ziR7fW?+{AkVuATcZ{rXuVk*|Bq%Nl3qVX<*DfN;2@;)|s%ly`3MuFdmB`Lg#)F-U& zUis4^@)^2y`#c^cmO^kr5KpafSYe@mL5`4Idu{tye$M=uXA2*DyqBJG-}>No*WKNL zCWftZy2Fg)8M;V=#xsamXN2yp+xY>{782efY26B|dtq9lU5Z3`W=o5W!VkY(rG2r2DJY1*XI7EEqe(6cPb-F{pO33O0pCPRd{PJ;vl$DS`VjWZlyIe?~>L)9JF{G zd`W$3X@Qr2!)>`r=M4o>b)E$HoeRmkr*tR^ix2soA^jm&zrYzLc)qyJmuE6iJOIuX z*cSD4VU)ppGq=g5C&kNF9>Jw0D4XTnEz%oS0#Ort$qCH z5L6;f?n>$cj;O|~J*%R3vdSJnJ-^0G!<#^tNwtEugwg^138TJu$NEam^Kg{KrBQ!Q|8+; z`uE-kUpab}g(x8KnO4Uo>j>c_Lgr~i-`4@6BR$gZ_1TfXoe4{rg8ndr5s<$o`EGD? z!Dd&pJFWer2TNDmLgjT>I~AC6jkeJ4>PHPqM`;_josGNv&s>Stlj5VzR4scLn5<;! z^JrT>(?~YBcmM}XTfuao#T|B24kwIT7S zK@qy(uWL@D8jB@} zs-gg_zu@ZOi%lmlCyz%U*>qzxvg}KN+4PkcH(R zPSAlf&HoAp`3C;LSy<%<^|?ClG~gCj5vUacjIAZ&v0H0+BeAn~Y;$yQ?2Gfz0}c3D zzksksiqQ4@MzfqC7Zy{ON2)$#Qpo*iAQzq`3Gf0Igr2-Z#rnAmUHqh8uq!5b3DN8- z331>3rO-?T%zR=pLy>pW75l4ns+R5SCONBUJC!1$V+m6AGfcyk&qA|4AJ3;YsbySP z{~kfXKnF4aF6F-k@TnzUf?Y!U-QCB!lUAOSiI2bq>FUba>`#47jVmq9YyEwP!$Zey zZO7r^)v>XS5J+W0LR)fjduC=&Vc}?H*`czykHb@gml*G@;rSEe@Li@-sl(2LjzjD8Z z610VTvxbHBEh(XrKNoq+{dh3ne2k>mpS&&G@NPBJW8IHiC%YeE6#exctgUC z5Ql{<&<4&&f)Fb}qer=Le4n- zRQLpXqG#(vo zD!0A9Xf9DT|JaNub{zcUPkG8LX>N;KCCq)oJL^?$gq`N~9laknZm8?(XjH{(o5AyUPCV?!EWFc+U46j>zFS@4Pef&OGxxchl()tCN#$*_fF0 zm^~SHxM&=nASj+>t6m!3BV9SpW;I*xjCb__=qIg#)@#-Qb4mBcBvp>tRA#Y7f$T_^ zz8rml1&7m?OZB*nf+U~?EbsvA?OQ<3`m5^iYjC&?x5;kPTv_4k*Xgi8#vQmQuhY#Z zR)~+%+_RT{?m)47Ac16SMI@L|O?Vj7gWwDnJwfBc`%oS|%1)<9N}B;EY5B|jxqFg-k6RZp)zH*1)i6}kF#GrO8GwZ=A~f`Ovh?4p$M39UR20nb z0CpaHT=Qsy_m3LLA9RO`z=gyh1TZHj=M}t;z$vvBpkX0r$mOz^6@X{<_>|FI7lK5I zky19rpmjPfZ8@@bIfea3{GJq1#=Rp+JAlZ4JD>TZHu(Rt(_O#+V?guQb|L^+j1GE~ zqY{hLJ6<&_v|tn?aXoz5DMLBe+NB}er;qV;8%LG*1IF3t<~G_M**hG+)Hgwp0qE0+ z14fYVBG2Pu*Y!7&ncgoY1dq<4Z8y0*wF(s|R+=q&r*YGGNE_!QM4I>5XmRP@>Z~;m zq_Z8sj<-ukf7o*FzmFcKI);D3nA}DW_Jd~LHw%v+UyZr{G+5%9Fp`&Y}$Ekq00P^V+vp-nM8h_hcj)BX( zhL^YyBT1x^B9(2|HGa)O=_i+@I(4)nLp=mfgHE>!K_Rdo+g+DH8`2b~!992m&V<6Z zGA*X2r#33nL0s2lae6qd5VFCfyP2F(wq1eV(baHo<(3Qv9vT90uknAm+yA4T?|SQR zkDiAVEKn|5Zw_I3CPAGiN{nX895!x9am&wc&WmcKb1tjx*IJsqXL@2TOpiNLsI{&E z4!PySHNO<0YIc*$t-eGfIBa{{-P!@yi#TkC-NV}Jl#3JgiISbR>MG&mZHG#$oJ0UrNt@@?iL%_nKEWNN9m7lNkGdF zJLj8H0DjPFsdb(2Pq@(%X5sNNN`8y%( zKeNl-oAs|eaI5^{^9N(%T^_Aybbv>z<}oWaJyP*8Eh;gw{-TeDT1Ri>*J3@TI$_Y} z=r%aA799O2`92OE*?So(UivD}2}aE0R_c4GXvWB;vFaAs$gIeZ?k+dv zo9$Uy_;n$5$|*PD)#8^&3>BrNb9}ltt-CKlugdlTJ0AR!3jTXLimO=use1pH9iw^q z`TuXhTC{L1Ko0aQ%&Go>4t&5nhMpUX^g|<~#XPHKnnjk63@g6wR@;kpBYh%EzG+7T z$MEOh_U78rd}Y6Q3|2&|enF0~{3Hm0ehwf{??D(G^pzoJ3t*V;f515Z*2#W=W`3vT z{ME@eYUL3DCu2oMu9Id)E_uzAA}`+`b*UgtNh?ZZpB*+F@pR$}mdr?Z8b^`Rsou;l z3qiHcUK)*bS!tC&EV{D(t>iLSSbFlM>tiG*Ce#m?cABhGCZl=d7e_h)iOsQPPF7eI zxlF~B46+QlS+SA@thwpW6DMj)sP*d`HK)@IUKf{9DiayYPnkUFt_D zV>#P^IipIym@}?0ezp!N=)*Gzl!9!>jH;%(?28S(#Ho@Qqw2jPSN@kZFFtkTj;#y{ zzm6??j+vs_#T&#vWPNxtNaju89bxspt3pFOGNE{@jpP+;V$;bNr=cN}dxIXKJnMaW zTjt(={&26QJMQ)Os5e<7BLm()X$0NYUqJTUnQ^i`SU%Wr;KyOHw!FC>usd;_tT?&a zo{}yBG#6|R#=5AXvXySEug*O>Hj))fclYbh!U%-f*lhOu+JdCvvC17*d&}NJ8R0M( zFV`+>To8l;`dAt#*~AqqCEMc;8V8*~ZRML|*ezRqISU~00i~ZZ-CppuXC#fy z(KlYbSAw!r02xA(hT+>tBlIVz)TkIKzc1r!|0uQme=oJBoY8KV@ux7NQT>)MO*asn zW>xH3-+APC=oLK_R||^T=w!|Cm6wK2H#IigLD{37K^n;2*Zo#G&SCHx9N`Gl`4AS| zH&_ZB6bYNVcwX$m)!G2@wDvNu-DD+ zNL`2Jm#|b4+DIQjy}~vfF>2e3YsHobp=33hS9h2?Iw0ObM>pPR?UI{Q$4zWLSxf^h zSnN+B3u7;5x;H2JVodMR1;n4lUt-W*C;9gx55M=XZkQUv^_?)iKDdWGUcr7EzE{*_cX}abCv75ArGv8(p!g*cko+V27#a~ zwNC%~_BK8spN7$IKk%_OyzUP{C}1rkj>HER_T6u7F=06U4lGS%>s1~LBXcp9P_s_g z_w&vkTa*<=j;vxC+~Mf(NoCzEx$R5td}1N4#1{|yO!b6*P=9SN; z(R){4&Y@L`-J8CY&VfGqG+>yGUn21TXu9vD4F9C*q#}m3w)WT!J+wZ_?wI!A4nZ=* z6&jP01!}{~Qpa$+1aYg>zwC+j4Xs|Nfwv5gR=~@h#q!pbjT~Ek*7C`FE-SqtG3xy?Syhsf6VveAD^SIZ(nU1$o ztgF9x+{&HH`oA(%{8J_*{y$BqqZI3>X*YXi;6qXmO@#RfR!aL+9n)US_-eloVycB0 z5}7N@P`y)Wy|GMdJjob^ZU#I7Ll~O!-g2WPoD=a9V8~zlgm;bkzY$OTL#D)MxHV;n zj>9kk7^+k-i>L-mXlrk2la)gNr)OVlVvAzVbF4O^ zi$eI&DU}T2Wr#SbBiXe1;61v7T-l6(e?xWf4_Wg2 zy}q?1_RWH&^}Ey~vJ+S_jiFwYU7I|v& zL&73+Pj4bsP6EC`DblDj|B z9xhUTjak5Qzv`jiwcLOD47zJKpxyr)q{2wqUt2F~q@OA!L$A*V4P&`$qS*E*;OZg= zht>9Exl8!HpQ82YF0g4qkHhXrr?z~~1@8WKV8hzR1`r0Wee>`;XYCV}ThS#;s$6&C z)Z-*BDrf?M4tsrL<+ouCS~$o^p_?^$u-Sgk@a#3D$aq7T-qzaT}}c;dTVIu;nJh z26ttmS`;L&TuxTqT=-bF<*hroV%T`;3cAqrD)`j3QhDPCF9w4e!`cN z&Mi60<$y@6Z^svc$~3Skm&1ggK22{P+1Gx1OcS~+AU-ffq7RQAN~e=I6J^+rj@yz- zSwvO5czF?r2YIB^mF@*Q>~&w;DVrR_D%gKA``Vr8@b~TD+gIFQ+Z>RrZwJiW6P~BC z)?dYJDbHZGyw;a!1+>uj|7_;l6{5ZUeQXBfkIqlNqr7nIe;a(OD}Rv?+2Z#+Wd2%z zuJ0bU|^`Dm5QNF`GF>HLUrEyo0G2#cA3xI3X|ej`*^B3WT7r6u+ZD9g_mAgvUT3e@N(6MxJ71*Whoi>~r3 zcbl%IiUD1LeijnU5~QcMJiIX&9Io;F)5u5-OB08@E}k2=Sfiebm5HdJ_xuym$WZgO z=BOkHa2}!;pSsXt9yt26Zsx0GaO{XzzMW~?+DC{Qdqz_SI=V`a&Q=;7*U`S6Kjvps zd11B9g5uezpkQQcx5Uc&*4#Ev0*3!(^R=VvhfEAit_KfD#L`6ZC=ZX;Z0$4>6S0%} zlSCMnOwFxNuX=mMl!tXGzceR`l?C&qaL)PjJ%(%X8DdHsaq3;82+`HyLQtPng^uXr z_|m*(?pQp=CXSt&~u(% z{bONaa^=y?mV>6PSdKpE3WrI}M>1JB2rrfMPFI%e>t_Al%vQ{>uN*iuugele3 z2L&DU)4vKCXJvrUvrt2RIonj--P5Cn>W=$agmCfTj0;aROUm`et?;8a$X7W3FpV?B zT&m6tJwu(PlA@W?*C0hDZde#H2rj<%FSC8}gmWElkASd_$_lBhPgB^Q$`yt`cG;`V2LaPFz@adPRxWOxHM{TK zylk$5GxYt{rYaf)dzmantbsiizik&2y!EY@5KxLz z1euu2-Gsr2o_d^2=drb@V zygmBEt}-L+n|hPosLV1dqEYL0%`{8zE2Q#cQ&SzZ6R0iPw&=4X@K`#(fa+wtd=(ox zproJJ+}fYZF>76tbV$|MuhEH-|DPbxv;o`Q?zWw}R$n`rZ;lD8C_tqXL2I%5X zSjU3jv5tJ20+s>RuCZ=k()=QeqEqVA%7!YM=Ueyp_fu0-ZEbD!_4OY=e*7=Z82F#C zix3vOZM+#(1Ft)YdlgchpFei&H&y2=LZIqYKZZ=}6qK7!I1nR`8d#~wP91o5%pFbiz$%nzw*)HJm}j@hwb#o+H;UYN$flJF;mLwzb)}u0 zEMHq|X=o_u?X4{@RA{Nw&HVVL?2F*Oo$<|Qhm4PorC+?qaT{f85u0paweJ?Xd-_-Zb5;H+Pcmjs0 zi-L**qlu%ft1IO4$@ep=l{AiwufDResV>4(1TRo63_WNABa@UA>u_7Wj{$D>MY`T! zoSqa!R%J&-rJFi5!j*jUNlrD4$*c~m#e#k4>ej7SDgm@^K1t5-hsnwHKf+v4UzKBB z<|H8ArrSGs{ruj5xGkjC^YOsRNB?sA8+YQ}-N-DKg`j1i?|vNn6Obn$L%)Z* z@5c^Avhk72_SVhr&fTt#ozC{{iLtA(k&Bk5^^Ugf;lZC~zzPlUXR^MF-aG!>ThT`I4KR-WjZ|{G(5)k`; z{_`C+4)NWsZvRgp4_x2481s<8fHHj(lTKVRF8L@z|41U^g!h1f3|#N63>LyO^v6EF`k$U6qCvxa zv~pEOfqNK79?vZS4+RMu=Eo%i^$0mvDxLo$Bc0?sDJcd$>33XtO|4BF_vRA?%;gN# zfIpP|13vLR6l?`;2#Z63G?Bx_2R}pT9s1g#A=UEaLxg_a=WZC%ui#kzUj$XbJ_NKr zBb0mR0zonXp(#brrcc{f{{*42+B#Tvd}4a~_!zY6aBBX+XkF@3pEG#7vBKGlV}lx_ zmBr|2VFF^0P|M6u51%+&us^BYIXQUk)?fMbp-Z!cVwGl_<}ssz9D0$K{0`Ot=|&O1 z=EC^5g^+=2jS@q?Mrs&sA-Z)=b6`oNuO9@&Ms3M-3VFz^`%~2DP-*F_G(B}rGA<+)wZ({hNEtIL^9;RlSBUPYXbQQE{Pm)~K@fNzW_Cb#w&wo3rfv42%Wybz9pm`Rm0*wu9N-!GIp$Zy_nqi6Z+X zYSpWu8aQEHvFT&c%VH)*MsdrhmS>N9cpHg{i8}w^$0hvm7~3M$R?h-INK>#9Gx>x#nv=N*mXAka2lq~o z+PEO=dcK}t$y>-DOG$SkeB7LxRcF{jzJyKVy37?tmD*lKX*cgIztmucvi+>4Sx=^F z68*rI=9Aar?EB~-!RK!phH_|0_juio_FFaE$=1I-mLEL4s7!5q%RR;(Qd<2OI_v8- zgSpQT5^@Mpc26vsp6Yg{A9Iw|t0WVnQ*Lh3UeLC;gI*>21Zv^*Z(mr>4YUq$fIoV- zn0i8m)*4I=|Aemw{%rQseiZ#~fF|MUtaR99>tnwX+jkyuN;6ly>b^exJf5e8>EKXw zEZyaA#)2du-BQ%0o{N&oacD33(npz~&GBN$lzjvLc2MYWn4mpA_k0q9+VhLzC7C3* z55)X6W0*-*dUkTcB_HW2S%km?{*77}@@(faBn{dTGz%Zu^A#U1iWONIDxS1Vh=USW zScg?ApB3ASL^OrKlVb9hwf?)=;qRM( z+}6fMrhhd``l09Pi3r~nWp&*fFTB!ob8`sI12*<1zy^^(XmM!?^7r=yz?t&fdjcO9 zXrivC*^~BJJx&_eld)>-eiR+5O;(F(UfU!)WFjWj^!#1o@reMz^x~O*?^z+NQ+hT@75oyCwGdrqc@X)c@GSp?MUg#Iqh@=FL z#k638JrcJr?I}iGvQ6hLWwnePn~R*cI9zb2Es?B8D;)G9Q@vp{X<*z`&l^7H&)%smNA%Y0J!XxF6KjkQte=+2ZsqF zI1=b;aorLCCj4M2_)e)t0It^q=2jitX@i#W3ffQ+-&#k>*7tMXR#u`J`A&qxHStIZ z+lBu#4+#9&ZkmP8m!Y(<*`7Yk>3k(+rJv&3)e23GW#mRI4lG&&ydP=qT6U zRCNBdR}8>V{i}PfxqWu{n&FnXN?9>IDV`IXF0A zVPewI(rT!y11)~ERH&b2C)g=-Ll|fPY{};{I+{{y)YW6#hq@FDGDp<%OaW;_j2$&5 z8Q+5QtDG91Hn<|}<7o}i2$DpMD!4sD#fPYO_{7Z^F~pfDk$B-Q8<(xmMki;`yegL$tIoUNGp9=&_2iE-qkRUNC28Hgj_- z_LY_WVq)DwLfmd{dnP7;(=h?dXx%Z)BbhSdz#o8qE-o%EFz_h~3JRPA7V`4O#>U#( z+UDlw?5wh;rlziLdPYV@e0+RrDj`tp;Nv#|>@07{erEBS|Kxn-1THRa#;+&GEDrZp z=!2fMwD9|&9P#$XWz3qzZ)*myGH9MtRf4cz(n>Xv0n3r_+4v3oQR`q)+2e^iFxLh+2NvNTK?VQZ!ZgX@;e_UJ(L4_R z=4o8_wz*s=ikFbGzyKT@DOdtJO~AOfY_wCuaGzUw&gC7}1Ca3bb^CJ#L%Z@ z{s9f7E#xboT!ZwKZ?K~@$R;j&EI)g=2~7?*uGcmyOXt6|v>27memrNpiKrGvkyBPt zHNRE#I)^~hNG9n!tAiiC{cNf>w5xmsEJ&r1)u` zbuM)g^mU(l+J|0+$NT9Bd6oIQmQ=VH8PD%0e}hBzu% zEQ!-tC)UMC(^S;aM8kwv*D%l5MN2V1)Gq6V-tU0M~-G~tb==+?RMw^>QA7M<4Hc!{sIjLQ2yHTR5sp;1m zGbrPc>g*m5YVs=>wW|=%o2rPBxgfZ5T-KOsN!(n>R_Y#EZ{8twnmLdsdDt zP*c9RL)lI_WNFGLVk3HA=GqJo=Aj9pAD$eQf5wD4E|=OYw#m?dqw6t8C9oJb388xF z;ZC{>s}J02mWQV!(F)$a-Ek@h!D(t@IT#yjitCnSmg6g%#U6AUn;%Z&6i3vgdjh+d z238#BHzRR&vySbgAAt8L|oKa1|XMY^6YL>WbROpvQgM z=G(MxG&Ahq=6i0-iky*=6(XKC^~@`Xr|`)`O_pj`A*()ZR*Cc=f#M(@DLjPcg)a=z z&UMC!o|79AqOi!^>)UEHtvx;)nt-Bhk@m@cKTBpgw!( zes&2Gp^xC{VqYECaa2@X9^Q%lATdh79Y3(b{u;z@C9!W)BK@(;cAI+Q)3(oVp3ELN zP|5HRVIdgdJ$Ve{7RAf%J(MW+<*f)03HH3{#rXInrfGb3wwvRj|tQEQG(;>6NMB!fF!L~R8qvQyF=di0#=Db1ue zfBwc{*lXfm0#RZ&5OMdCWo9)3aPW*rcygrwF#e@laU=*)N_Jjg1R$o@Sb^ikJy=@#=WT7Aas^tz2REb^$n<_w9DlD}bA zx$9=C1vP8fRA(7+jo^6OvY)N4b`#yKI6v5xm+d}BgHhFcbyZ?&ZeC7)OiF0TKg?_* zzE&|+=~mfPXcVFCjT`gvvT5S8OTP_zeF$iSouWEfaK+|DeK|Fh)vJL7pE-pHR|qc> z7BBzza8e|6mt36O4k%qQr!b${XPFOmrt#~2UF34`*h$n=x>2GPDc-+`K3WY3Z{Y1u zb+GY~ShJaBVLK@jKiU`B=Z-}=v(2NhsHSLx6D@I5n)RPJU{`!&==oa6K0Gg2fomGy zj~u?bs-%3?T7VwBstT9L1i#ah-3?j`w_TdAl-r6zMRD)=o57p)8YP?>Dc`ip%Lc!p zSq>WX$BK;~AxAoD#ly%Y6*KB3B*Wyh#vf^hDU8EAO3A`3*N{j#pW#d5htT3TT_CE~ zbh3iRc0%=pNVq^9CnBmkci#LKQ_s#%NvI|)vc(LX4d18@>O&!d zXc6$@gbj|ww>r+Nb+a?qypKrVU(l74E-U9+vLZL0);6pk=0U@M7*}AGMv@?jDfy)0 zS>WoX+OO^l{$5(a{<5wA1PKZwNO8*bDM$8s0>nsjp(g8bG0DjIHk;(Vu^K#49NfMg zL(%{88rr^7uKlN{arY_o`w07Pi{n3RHzob1msKT=He(pxE%I%4_xYZD!e=E>dDZ#g zBk_@?X6&iT{u%pmJPU}wf(Yq1w<(JghCh)vlzx0u% z+`+%*4=Y`LMD^kAR73Hoim9`Quf&Zf0fx-eOiie7j|{9)RaqPCWcHnf$ZmQkDjb-4;h*+G9}v7XCWdr*mf%; z$;3>*f}VDU%_NcM*D9mt%aV*KQJz|EQq=8`qR{7`Of8?V>F^EF^RrH)qKq50-d|j2 z?I7RmnyH$bzcic3Rvh0kwHUyX9=d?XR&?CIbc?#T2lQkXM9>7_F2D9b?z+t1%U%d+ zSlt~K|J?nM8@ZXR-dh>;q+jW_XRtfJiVz2g?l0{Q&UXd~W&jTSgYzM!3M*C?+r_Ru zH6wUz>td&wAO|}f9LCH2-T0N29)~j1vz8?98N;bdJAfhz*n2k^H#b{o#sD_w*{ye* z<{ALGl~X#Wx->WM?o4?Ljg4X`x#H=G!n5x4$0Jso_6!cobKLyh*&i&<22zAQ;Blsl z4KT>b$-!U$Ofa>N2rlROR_)d=YM5Pn+Cr-+4H3p4m_>vi;&@;qMRrgS+j(aU3Q(6x z7_EIy1Kr=s&Jz!nA>Eaq!^N#sbXVeWk?ViK^F}1PA>#S_V2_xfHf67Ei4|N$y5)$0 z2vj??u~M$^e3weCb0)#KnqEfrfnZWV-vLIM?X6ow1E&Lh$73VFk6Zv_&ElfT z%8L2&ve~lInZ|~V`nuJs%7v!JjoO-}_O{)&)*XQF3K(>DcO5h}uJ!dEcXj}Ox!KyX zF*JAv3_W{$4!b&c+uOE=ht9^wu0}^LMuyMF$1X>P&thX+Q&amJ8uoK?#`5zgv$BRt zOXo^TX7lsMfeC3&&TwJjL_xuLb@g&-=?p-cRa?6P@Mcw4FI8490F%@D`n9U6h04mg z=H|`%dSI5i+S_~7({ng5a1t5S1PoQbCH2I8ZA(h-P0tugPU+19ens|ZR`zgu#z0zn zKQL*{1%6BJNO{FVS^0cKRO7eg-meKAsp*3`c@t?FgGD7Xz@)XHpa7WC|2$Xy`RhMZ zb3xsF1aooy!0Ve=iphP>YbT&@UE&Ru)EvChQtYI>8oJfx!x9%A6|Z zTvi;Q!Co<{il%DsG)4LI3%!Dk)!%UQ3h)u)<;Qr&ywx_)6L~I8fcUh_GgwPsS6GMy zL5`f}kq@Z1g&5B(LE_i4$ZU_8pu0VS-%GqCdP1SOTU$HZ>>=yH6oQHX&hG)v{ER{b z1dN02ZE&VYYrTf62LvqDBI-9X6)cpe4BFZhA3>jk)Pu>la(sR7@_+%N_SvkyR=f}{ z)g(2rnfNlMjt(i|Iv|jcvZdA(+#<=}LLA3!7FP)c z;@qE6sPw;{9eh<9_+W}OjV33)8Vu0mdwwl^tGi{Yqor+*3v@~-a8+$^#VrhR1$ER+ zjm&HSJ}d(>5?o$GH8NZdeSO^DbPdgL#Wc(`Of5Ck$sWV-3B1F7FNO(V^YIyKZ#0xNt{HOT)T{hh)wpQ^(Ai4SjhZNPfJ|~QCmWK zf7|NNT#|gsa!zKx{gPK1pHST+y5Mw3ZhaYy^0!_0M*Sfrk0!4R#LBc^YN-FebNmrB zpMr1wUqKT9bF?FYU6OajF6c+RrvGt6;ro>kM8}> zjvXNI_4OY1_U!j`?{#u`8Y?Imv9R!|sF*1$n<_1xEG!%`HT_&)4}`+`ii+vx=JmR|#j2{= z_V(@8){T~y_2%Zarl!@##+8PKWgr^%^z3(c?{#+Ww6|}yw5%m0RDb*!YGdQu*LT?4 zd(hLf*WJC_-oBZU(c<6`I5~MUHg-8WdNDF`K0JKZ+Y3a%-u(QYl$83($?J)UtC5kj zjErV;bN9Ub;hfxo>Y4?LdJxv0$3U!{n3(A6>#MJ?2e2tgNlCG>vEKnsKSxa9>+eC+ z_9wg(5HxMS2TfZW5HBBZ5YW$Vex{(o!QQ3;pKMH74c{`OfzX>qN4oeS8@&-^BTe*6 z@ifI?65!&&P|x*`^kbA{fqI0%uNIyX4acGNTtOO%h^95b59X;59`6&WhXmw#0nrc0 zgyrcZ^ksF#l7~R0^|*D3G~u=7l;=K2_dMoDtPJKwXm(|O>kC$>tnAhW4g)esSQjWF zhA#vu()m$LjT;(7hQ=5s*9bZG{R>T>+&a7m?ua1CAfLrozQ(?%U9#s0c=OQ*Uew)u z)*q_7P0@t`OAz#h=Vw?5-NC?V z@8N1#>{rju%#^a_uT9qGOXTQpV%cw;rpooA=%yx1_nNP-dVnFF$?0y!Bb4ecC1c&W z1ZrYwg|YIjy3ni>I)my0$A%*;W*nh78|%Kn0%9qJYhW%s*WgiNFwuNF8NvK{GIFbL zviY07$|VX%tOahODwn-q+2RTA~GJE3W5laP#7$?6~s z6zJTMsSBQ1W&h?oA=qvX&iX*iY{l-mdHc<10W1N0A&yJ^PL=|+6?3Y56Hk*Kd8UyP zy)3iV<%ltCLm#qx(=|C4of8ZBQf>b}Q%t07_vt(Cy&H~)pfOLc;n@* zt-teWG(eVrW3Nifr%JQXr%lbBr0=TUK|#j1%-MO27^y6oiu9@aBXVV7$;t8YRcWtP zpD3Y-uFarVDPAV=O{3%ZN=eWTw@p1RIp4f<}@DN9G|EQ7m{o;xQ5w#n%9XqHLTQjuufeog-d zUhyE}flCvO5nXp#j1#j**yXgudeunP7&rD6G5N zmu4HxILas#o_&D4bJe`M!Ya-hm!`yu0sEmK7G8cq2dOP*yVw?M^)|M!R@i~g3Xjo@ zQolseAoD2;4FyA=t0#&KNZn=r@%LN4vAj zm)BX!iets|FEGsLjfJE_k%wLA9EXBlL}Wom$nQo`81P@q>`^mFi+(A>^d&tvi6vvE zR@17>dz(YQY;Tc`QbmlkCfAQD@yg5;>WY3@3rW?$MzBv|_Y`U}j__P*r}uc6+MTzs z@ND}0%AmrKrFc3SS?gJFLvX?)dg{*unDSf(58|udY|y3)Oo-(cJV(6@eVe3DKy0ai z^AY-iN2nq)Y<7xcU06v$4?hn5TXxQ%I@afU&4z}ISlUGT>20qyJx|wS^ z+l0~N4x+JUST_*pDA@$0%?g8yJvCOcwv=$L@S!(?jGVeBBnn|@{qc2laQ!cOJYA)8 zXovU671KS~wF<_JC12RDU&x-K)|79je-#z!slZdN*C-kyDP7&y2(Qq5Rx2O-QThZt z#~rc{9*5MKzibyx5v$Up$$ho<+6nZw;$5=eoYe*b_P1ZaO?U6`-wy}HG&D^$%(U;e z4}Nbqv75}t+Z=S`Fx_rQ+yIm3`K2XR<5>`Jy6+4t&aSr%D-m_I^908EK}I=TT#sv- z1JokOyjVP*ia%4Nqzr|wBxF&iktQ2cekHPd9+ks*Z!`n>??Z(afC}VS3E{mv3GY9)-M?$qeP0g+U`GG9 z1&MxSnWo=}?3I-xkO3n5qv?I9vTQ$ORNh8A3RB&-QXVor6qfDti{Os&mGUTwiDkpn z?yJ|I2SiWe3-Ajl-dYlPfJJ#{1YQty;csuizb;UiQ~O}D)%Y~_g{VzUmctc+ppBi` z3{{SS*byC?%pSIeq$xUGW?sDtB15{Z?fJ`B%oxc00$!AK{eTAG#0r-bhecIXJ9tbd1 zu_2BkGb48~Q|&dWg(5@seAA$xA&ge4ET83bcI`eu6cUP_guP_-@zo)bmv_fXz^P^aGbeZV7X1WI0A-Y6Q0S(ur{syi(Lz~#u;t4vQK9xP)k<)2OlHfhltmR8vgg#hpb0Q;i{ zV1Fh`rW7ic=K<``$(BPt(EC(i-icv5+H0K)(-Ly3w4Rf5ysnIl9I~)@QcXEOQ4~?VR2FY=+InG zH(gvT@XXpKDd}6MfZ)c)x@mp^yTkddIxK)=+?gyh>x!fW{En8E_U!CzY;5fH>(_Gt zWJpD&y1E*8d3ASp!@3J1SU65v>xTvC9kCu(kDqtxk*0z#7z`*sfDnhAkhy zq@YEaf`=XpIP~{aQj{{%(pm^qb0B4fu_BEO_AAIE^n7St@sepzSfem@(G&k&T{O!v{ zX)YpRq3#Q27pnmq_XJ4wgulGc_W$d2b<0-?G}ZoHs=xVHyNM8J%u`YZ{AfCj{t&E( z`yn~ZA6^S=Ldv<1Fm2F8zoMW+4wjc~Zel6eR{1oE(B;_zmc1dbEZ0+*8*(5B=h0jL z!swc=h%rK`8@ZZ1HOm{QB48m>3S9~5)FcF8N zu3;h;UCX93bpSi`7MkTfGNC~L5=H5`)wN8MR?4f>O#fjz>&7(ACuiN8*?Lyen%0ii`HXS@;Qt34Ju^mB{%vCX|Xu5*TBD ztQ|a}5HQk*%|P;vtTfj3c3STo6EwS67M3rh5G}7Uw;8~!5k&m(N-)j$$+3yKi2taW zgu;Adn|KO0#J$Z(aHH2ATDVy4mr+Wo$!FqV5q5Z78>PJ7L&jHlSJj%PEK!Ts+zXdnF+VCug88fj9#5* zy-i)RoI*m0{bX?Z40Pev{Zv(ENX?d~fUn<wQz+<2%7m_m5noOP9RP5+8+3MXS zt#oCO6=s(AmK}@TG-ogiO|?ap-OLWHuwwX8e{0)C2E>Cm)+bpV*6Z9Zaxl+;{@PMU znAP@V8Bj6P+4c+9hv7tG z%nLL__=G--YJC!{jQsjhyr_=(8cLS3itM0#Z24eMSi@iRB=dFl$ngHKKCkid@a}Qo zkkrnCruu=D%F3V=smko!lB$T>?25AC#=?T?Uf;4ZQmg)v=l>K zoUk$4o(=^zp)7Z?R;%yb!rzU65_rKK1A|^(2`GUB8gc+QYj_-cPPX9?fNo#zW~H>+ z-rJhM;o;@g)7FlRjBILZIuRaa*4j?9sn|X=C>^i9lvwc^m=Ky|v_H~Vx_qIqL2i{( zFEgWU(Uz{%_)zA<^~utMO#{!uwRT1`8op575K=S!snyA1 zlba#}Rh@xF7-Yg{Wb&rwQ_cJpeyj{u2TQE(G-%VRf*oh^QZddUQ5EBG0y#1xLuGd5 z2Gaf`ht`nXkdFl)v$9U@?ozNRDrym=B-GbOZ*Bs)VGF3M7n;9(SHOmbhd%)nuq`bu zjg2X&sR8J|q=ZCpU?9*5(ZGfLIa`?2*Iw5+r=^u86=hXbeT>iW&P%Lfj;3V9VfpZiS{`v; zV$+*zR}VS(tqGKbub37ZH~Ymdy=Kq7_#(?!jmE zy*IlsL&=_wt!<`AVmNMg_W06?$tk1s0hNl5eIsD-khTrFvU8N4W6W@ZJDwD4TI?M1 zfW#4<_K=Ul+LDI{+f?T3EKy=o%i$bq4up6eT0pJf`%ubK3nhwE3!Vn8h>0X9P zX?J6f;^AuBPHy~rRyA=AL-oI+Y51es_+>G$#!PFZBdo>Bz?0RHLNC_6Syy~O zcx>#3n262cyzx)thfRPqN&agupcW)7sj?I$E${_B+ox=V9MuYivnVT3M#}-PL>wsH#aKi?T&#ZiXW_aAU`k;*1usK&|par5QS_t zTd34irp@OUXXh<*wn*enI#oiWJ$S?m-^9L3T%M3Chl7hF$vIpj-DVEY3U{E`>x9=M zRhqfLfRxBd;-1-4d^Y!_S~i&=*Dz#zAQoN7@eBRT`Sv~1h-$xom~>l!U;k2o|8Lg( zQGPRmHveDccRUD4_T$H8@7^_wi{~jRRqN}wnwt+fJI^O4Pvz$WHTl1W@88RBxSs~@ z5JA1SBs>M6UGxo-t}oSi>2Ov*dz+N*J_lMNTi}s6X3bwBn16fmJaU>?ZmB^q=<>+^^__3`zW4}60d;-?XT8bY2x>Gk!CW)Q9qMkZz?5iDq4K|WD&@%`1-L91i1 zY=Cz&{-uZiJw?y|BkwJM;$F9GaUwth1QOic-CcqO_u%gC?!kgX0>K@EJB>H)?hcK+ zyUXjGbMM@o%-lO?X5RV#->cUts;HzWI{n+<{`Ovbt+hXz+Q=AvG%*y?{dbzGzZclr z+Dl1s%C)X%mkPNLiRv2lKooeqDWFZOTNfNizuPh*&4$}{Y~vJVxN!P;sRl(VJHz%$ z`{(Y+`BH6bxBJ?=-snf5vvH#*kb-8AkA|kKmVI+PH;YQif!EzhXTCatghb4GX_1C* zc(}KBvBvsn&@U-1h3oiou}ZrXuXNXZme+kXwG$w1rSb@db->F2dwN9wW`FqhZz?5p z#_dn+_+VKo3U0jIat2YS$(PI&{7h2L2jaCFVh+JNKlmif>Py=jHV+k(_8MvJvVGmq zZVg()t~VZG8aVlsYLsXd8tB(9DBsyRRz2R#K$2w7)(UvOap$ZR&qa3|*h$n&FUTln zu@7lVtdB6-r2gPJ%mRSJXvAW(wEN54C~4wz2!p{-IQI`v`SO=M_FsC+zur85FR_gwX091gnDk~Ub4mQ!QR#^=?*Ktpr9GmayZ zY9S+o@Nj=)VQZ@=CT3@3w10JU)!%Qw)YN!)dC(XV5|y01{{WaDE{eB1Ti!I@f^TSa zKA7I?o`yei^H{m=4ewXJsIo}ou^nDj{m1C9J^khHEHsZF`^jXJ>C3!LjxEisOfAi= zPjt6;_0A7X_E4v%CqE+XAEu3T;G3prXJuzl=Jsqcnfpfiq<*D-xIAz~E6q7-9#QS0yyO`UU^nA^6u2{y9n-e({zUZI^*AmtST{MuuyLE4`R7rWB5-R zPX3Db{yloV9~b=GotNk|E8Mpt>~p0Txm;HdgV&r(G`v#d*%|1pQ~ms=!!Y(Xhd>Sb z-JKi#S2SvsplLR+vnp86i8EV$Ffdh|i-6nEEKM#~Le6mnUv&sL)4X}dd-Vm$1{>vFua32xI%8f$Gi9=KUsoL-*& zAgR;O5XS$_zG9uwiMq!&FKxZSuRI)(=N_~{_|(c_`P{#C`@@CCHXEjS_i{~@5R zeo2b|d2#o{EB4oH`1d=n*`aqaOXLs}op^3;)6tOz?7Feh;5x5V%3I;EvnZ7$ZMooL z2e#=22gOp&(Hz*OHxjqe{pNJ9KTcb--r;B&NOI=@d~Ue02|!>Zr-Sq4)Obw9x?jyq`mZX z)V+1gepj1(!=Lh3REQ|#F<(HZU-Mn{$%)2r;~5G~kuHKwnDN~AecuFEDB3frq7TqI z`~C@vw621i7oMLM^+PG*Nna`qt&c$Ic1LQg*U+W(S5i|W(r3~c!CFNzgAL;Wuv`r) zLP_dquk44z40J)YUt)yE*`)NZ_}_eha)o?i?rIMlM_KM87?qV&n=RM-`U$&!BsN42iEjSuB{%}S98V)9$AWNl}u z>tJgAADM6b*c1eI(!72=c?yB#vetIx$ada2e@#_g%vEPIl@kD9U97*~9UO1IvTl%x zpgA;60$76bk)RK0lA87BZ=;i@vF95$w;M3_;P>lo43=W1Wgewdn4O0z9RWE-i&ZxZ z6?KIyS|y$-~Ft|Vnqt%@4*Nw{7L=dv@n@3H^#oLK6TqM|Pz z*J*@lzR*r>{^NOBV~PJIuafOMul#l^&bI!9TFJqSYy_$x*kDsTbDLdtEZkUis|Kq^ z$6lCV^I&)=4XhBM=Qs*h)MiUv9rW$`Sy6?6mt<5(e^m}c?c{V;1?R7rf0@JnOHuoK zD*NH@mS_yoiHA(1Cf8$RRLoGS4jAmjWY)|n?)^CDYm_1m%%L5afR!$sluo9Q8g~dG zmp+znXlYQA_2@)>o9)|1mDgz`_^r2SgOPs}Q@`q9GnRz$f$Y+>*_sS&@Fo-Z&5nVV zm+PhfCr^Z97w%WSE|2H;7kvO78`cUTSoIw=`Y7e-uvd865U-*7$Ex(rL%tuUYI-E}m=?y}LPjzTf| zVFIf24sLbfO?bs6l&M6c|JB-vzlG`o%j8nVff>dcn|K{H!9rGCi1FZX^%pYKKtpfC zm8#z5MLRdGl4g*G`&y;7b?v1E)gE1}CJM;{>yRjxvwuG#fj)eATTU#GGW-)Kbu!j| z!Xc96WpyE!tG<*41EbM2d6C)d>9u~S-AvIZsdfRsT6MDB5#IGeE`;191I*6Q*Ebd7 zW*FWL%+H7U5OHF+VVdVzF`M;NGw;OzD|4c4{9DIhmghJ6~*>^uEX7eh4dlzQc^L) zk1)T6p-^nnKaYxCuf$rE<<*(Yd!U15?fc&R?-jX4ctK>xE0oU*s&7(8uuHixB#D+G z4GYG+Wr*#7g0FKLJI`8rh&?nh;xe#avA+w^{l1;+y+S7973*k;_Av^2>}rT!126;a znOEyh?opJcZ84CG4%+i@+T0n=CPDmY$9Oj}2-r{v|L*X_bpC>J9+)`ZU)ZawHh9CU zD5GZqoRxN<ND2(;!{(iu3ks9iH&4o_pig3^0t7~b26)D{lY6y6;2b0*=A z)Tj1)8Iu5CkEdH9!o1fIEVY+9el_0c6-PnGw-}M|+@Xb%r`eW7Zr_HxZENqy$dnR< zdz4{&7$l!zKo_(p-;U*v?g8FGpP0yYhxD~;3{rdS<;mEDYQAaWHL*FAC^!=!)t7o^ zNB->PQP;%$H-yDIQii1X8v>3O0bJ73eZB>G7(6DFlY73(P}aS~P^`1_ z?FPAMAUQKg!)B zqyKzTDsO0M{ZH3{g0De#@5lQF*E294V_|6tu2eA4(f?)^!nh4F3x{6?H*kmuJT!P+ zW{@X|;#ID5$LYoJ4rP-tBW9e@7b6kwHQktx#&nF1UEnX=p;w&*-q@-Tu!X8-{)@k^i*g8%M6mbe)hIvHA6+gKV}Ine#%*>(T&^Z%Um`t#3=>)QR= zRsOvT_%ZcRjxNCOz8uRrka`f&YVxo>?`ajFE2+0Ri4f}S<*0|HEFMbcJj@*`b2t&e zQ~WGSwCD=Rp-bd4e<;{UJ+w-iD(0|XojGZT*5-ESw3mOXxUugGg}LRNcea|X)SV0g z3JYPuFL?ON^K&ri#tPvPSU7h>vVd=W)rquiJ-5cah9+F`5HDuKLW8C+CDJYiOQKpx!bAm13`yrk zz=jf6e*T_|xoLGB6wWIrE{~b7t!{_=5Z+Ix6%~BV-p%fJPD_i8EpHzm?ykU_%s+WG zyI&pNUhHXVXy9vou1$N^`>?NoiJpkQt3I#RpOm!c*nfBH5U|GuB;Auv%iyXj%+^q} ze7qM^NUTr~@K-L{?l~NyqAn<0`lznK4m7n>tczA)HMg=FiiiaTfR~r|b1~ky*qIr4 zcz{+&E)*SmgHM9D_GGlFhQ*{LdGOL4tK6N3f^SzFph5eUnQVS;+_b(b=kZ+aunOLpP8y!U;PVBrqSKprByHVqjXcU16FMdWCN~V>(Il z>pD4MQeAu9U?Mm;VEFL^I$`+pJM)DN^C{dKG_-iFU=I0Vbn}H_KD$9RXuwVVHXtu> zo5GL>S9u|SsPz8Zq55mX`fmWpzlCaYWoP*)6M!)m1%x-~js$A{wMCZ!j;&GQPiNp|$1x+hP=x$Vy6voodHJLtqo}{`woS9pi ztp*!i6=O}O@p+z}bt4R?ayNOLv<-+o^luK&RytjbL7v49qyat0KO4es9?aJ1@8yKo zlxWYF8C_&}x^E38+k%mqStjGli}ME8i`_>M(A(?j@$q2(&iP2I(c|Xs>IfWRB@gF^ zAYdpOT`HIJA()o&{>chVRRfbq!E{nL+Yd}LBo`2%(weWybt-~#(l#)?d zLOJpBvb^=zFRIQCvB{?nX-5XQ_Ny)YrM-hCnbNVL8Vf=oj46MMg|>-BP`d#mRqmOr zc>fqk0ZHhQp529m1J&}Jf!@q&O_@1NU(`V3{IMzPC@R$=I*VVz=_7jJ5$72|)aS2a z(#x?4$$`KphVl<{?O#vLKktuzPVfSTx>o!K2EQixpGK}eSt9WNb_~Yl!;61D2EU(y zOF6?J=G6yqkTtqr(P}l+g1J8^R7wMBe9b`MJb346TwL5Ute@ixJnSA+`EA&3EexGi zJ?s0Tq=Y{ZiPYwU1?YQg>tgqquB>xe3WseM66zl0Pznqw_5wV7L9#eukri~D1iM&G zIjx1P)KrMk$Fqm4=~9;(`4u0e#pm^$nSF3(&%&-rQ}t4V#pD9z2|p-GSdAm}6b5*LhkRSMa!$cD!SDl#6xt$fwCsEPHf66#)#) zZKy9>Zk=V(PEDn~+^}VQtEFV#Xl*tUtJUmcUF-+QM4+Q=LUW$&}c0b%t zXgVCaFjt~cW%s_DqDkZPQsH)X`qb?0sydst)Vu^9_E;Zj>AZRZUk39v)-5Bzf7}HG zP_OZzz8~w-S?QSkhO{4<6dWB69d5(Z(hc`)(^@Ccb8xV5Fz_~caSA?kgmHX5TO*2& zLZzjU(PH3Zpkbvkv%G1mD~!q-%Q7N6Dw2^2mjtD<8V}6{ha#jTq)arJDEDQ5|90D1 zywS=78gxFCa;v`9-3r?(MWu6_ugv?)R0K@y+ay1_decAT`kr6Pl7B8f{W)sEWeGTF z|Nlt$5#bTsw);IfZ}w7oJWtPi*ZiO_@A4RhFi-0H7>YEi4JOBg=h=#v%G^2^anzly zm+BqYZqIUMydJMtW}~~~=(OTF^1Wy8Ig+MIv>3e)FQu?zY2s^)w<3y@z%ZGYWqaae z;N?LIn|;?wd!X@f^6d2Z+2&*+IJH0CJlx%ZCxA8>%u;LRF)z#+b zlF$k3-Rg-NI1_<4jp(`3#_M}V`$5Y|UA5ct}Ys}(&$r|DGr%mwDTtx68K zocE1XCx=?v2KqXCZNEi_#@y(5yLarsLept3)a2ZqzS(S|p@9pD&~1z)Y{Ll~u0DsY zhb<&mQ8k;HNia26jn}Z$+93VDk6bxmFiJo&y|~InT`e7WTMJI|MjsnQbvRqp&m@8- z@q;$rW2Ghc!i9GT2F?g@)LJItzQi?3BF<5)Xj{=;ZW>uK5~JgL#R519jX%&~7*Uy7 zK5UcKU9KzZb+5lAOaNfQE0bN!R&5@{kGRZ~7>rRrlOWxqHT=9x0;vS#B7L=UjUlx= zvs~dRe^r3J;%Od^$m2p>ymx7!A;~+}kZB zce*bIhI(c2Dt4~VB~0f>HPzAB|1v_8TuaWIE%5Q-`9tFWpB$lI^Zx&=xEHoJF4nGE z7zbI7*RvQ)V{>_3FNYe-7)$SJvwBOr%C&x0q#8=)Oh`(wwK+-!S1?|;=lMV&u&$1S zoqc9}JQ^ILKH|Un1f~4u6BN(aj!5v#&s8JLhx8c?6v#LcTV@{2)XO8r?4e+C=3Yl0 z8=FkEXFcyg=E&kbx)jD!ra`%kMWa2X(Y07#*+548SQ_peqOi5Hy0vR(rGF~7vaxx9 znB30%l_El}ld4~lLS33)z#^h1G^%25SB$?u7V0R0X@1Z$lgQ6eV_)s5-8|(}kt4p| z&#Bv{_8+O+2f~)`MbzCa88baI!$eJWRV*9Z^j_@M#SYB0vy;?R3a_BEow7t-0a$Jp zox^Nc1M|96W%Mg3MOo#ea&vxlt&P+8dVw8TuEiAi%EX}o!m?S;#X1|Do~%#wTwm9> zOY9czMj@>sMMou;#%z5j%^@Z0tfAMKPqEK*m*%-UY%HQVK-jfcRXyvkzeBJ{R@q<4 zJ-kwjVELda`01}IM)*8|bL`-l{QQTs-up{h|1T9IzvlIyg3?FWGGmX73`b@D?0l@t z17RppwtSBMFIEd1+<`f4uuNdqU{r+O*#YjcvOl96W zPWK*DEGe!ArX#__WmiXv@)a&Omg7}h)5HM+9qA#^^Ko@$qg$HV)%$9rpC>M9Zz-2Y z{kCpltIfmji2BSw(Xj(fZ5mIuwxYp0L!ZmrgmP;oxR0qJXC_FCQEWrqtWK6vbWfzk zzohE=GD-ugArJsI4{qdU%PWIlY3Mi6={_wWp=!Jwd)aK`paPD;rZCd2?+= zEip@tibyLHovKVL1DOcHtM6qh1msohRe97b!jW2&6M}qUr1ii zxc6ZUQy!-8>w)g)Lr&Sf+Xk6GMW*q3-|VjU=p5XRz={ei3_sQrOG7o8PDk+aBu*yrOX3c2B#)O9ZkvBkaJBwOR+*xn%_;yghv>h!-I;f zYxN)9&_0tNEq{T~=1ViNZ>)-rJc7MAIYW2@V>I$MI)Q68fq?zELD^qf)I^jylo+_o z`~eC9xXnbMwW7;^R6STruj>hlW%lGXYyRj?&>6)i%Z+pu&s9$H*u)6 zTrw?AD7xnq`8|R6b8NTOB?w@tLan`m==A275~)$odBj{i(fE2g!_C&~*Yiw9IE>_~ z1{#fX-#vmAAJoo5vf&4@_RW+ytE?&tRaZuvI&;l|*3;GLL*c$+3I>eEl*qJE!->V; zxI`Ka^3@)>i%&N&APRq$FFzPs~a0;$h6D&qxABc5s+ zH|0%zgPNAmIn%!hZXQ~4?W;BUwZ_-L9qeyxa@3z2>^}fF610L~i+^`#PHT7~nGXWW z+Dw97>({le3gbu^MvUJ#j!%m;Qc}OBcD2kjdsJ2AWQO=;7&=XTmZIsm+rLnp>=5dh z{CI(cga|;zGwB=bEt8XrHrO(XTOH>0=G`;1x1wCj>L5l{LWK_wEzQ|tw!9zc>}{ha z0`C{_F$sP~goG9NMevQEe~oWeM#CVsPn&R{Ysd8_ zXN9Cq5*0yyTD5W8his%q1q0PB7js%z{hPd_>_;gD8e#l9#kD#&i0+I!MRR+knPs`IY_NUx`wf_TBz{>ML5{C&SvSMUGS z5fx_?7Us9Hu`t#DjmRNrVfyn~-H5*X;jrG){AC4#Lg;PZbexF)`vv^Hk&uCp7vBM<3Ln(~8v_q(dha}hHlRr1^TJ$m zF-TA0j;l^qK?*vsWb|?l^DuEP52*;1D$BI!F`~R$d`X3AL4`@k96M_&vYNStdXD(v z5j}~wGd;o{oji$`LWiqXQr&%zIMnD}HP=fEpg$Yg#;}+RK(9oBRBiihZ9TCB>4AcQ zLqGR9nuXhELORlJ&?UuH!#LRB&8i5ePMd9P%*4v-Q~p(Y?1$PEA4YZRFeCr&#Fc6( z!1fetV!&{mzI>1Eu?lN~OSvFB9ZKzYUkfjsccf+Gp+KN|2 zR4C@43KZcjdFAd*jrx&Nk94`mDI)DrQ&y;3+=BY)%H2Ru9`g?%B+sYMx;pI~2MOr* zbamVjrdPL##=1kE7lkL)%%4WG?_&-F8h>R@8u1 zCd2RYJt$t89#nOVY}u*q#}Un@c<5+|jVkgkkWcBH0eHxQb=v>|qYhU#=+gqbBSN3i zT)H??uI|)G1hCW0$zKsr06Nx6#u z;6=D-R9gNik0Fw)t^fnX!NpJkHMzVS`|FykalSI+CHC9lGfDi1OIC&mybtBKPjwO} zb68QRf&_av zh|$tqr(z?lhMpm|$dqV92bT&kic;gFeX&AaCwqCF(rg1SN#Yv^E2^XSoV5kvdRzO) z1ik`3C|VorVubOB3H-0g?9Z3hzk(P4AAr_UTL0TXYvsJ9{Z9X1;#PKoZ`-_~nZZ2@eO~ZoMgYP?%F!#c~ zLj~O%1T9)*y<2hGMGxK8k$Y5qU#}+BPUQJe`eL0dcGE2{K!;!| z2@4O4LW(|tUQ#VG`h$9sr9s=<6mD^n2-!sHVq&T!-XRl=4SJ1(VtvbxT&079x?!;F zP4KaS{n*CiI07XyEhiz@Oshi}@4V}Q`r>ma+wZR3h51FFU@%;*vE1|nw18hD*Dk+I zqa>!l@VxP-w0hMO9vge{x+45Tg?!SAQbi0ipDBu$4Y`M^Phth-;o zuFi5zAT@IMQWUu5<`2;G(WZ{yS(ol{-*oSkG0fC)-uj5PG)<;HLLT?=R5-vvi}v;9 zInGHMV$){M}C$9uOVVO+Gnwk&}-X!ehTfky82MkJY^~ zm0P1#&HRcD{wqDeY>`r7ryd3_?q~cS3sx*RsA8qUQIiR?D)H=)@Nme-QsO7TJ4lFk z@4LuOc97nGM4w6Y;Z-H5T+PyR)}R&8Zb7yZ3*zkkpe=e6^~x#~I<%EqXN%$fL!~+3 z99ZHW89xNj!GR#rHFd981;UyEqR+bek-Er75eR2Lg&wPixq}V zEN3U;O`nb%Adl{x-b7TLBLI&{q&>8m_0l$REyT!DL1pfa(ytVG2TQcXzu;u(UW+WP za#K)TFpR`LG6`eY3!!2=H&rrNcI#T|u5%OB@@29?$6TSJO?sv0wVvHlpAK0GjLPLS z(&^p%9%OHZC$e`(TkZ_Ts18STzl0d;tsl!D`q*9F5sF5cNbmd@mAsf`mF^w6cmluh zt=`%P^+Z+86tbzv#awfdm%zx|v+X8sTdI7=YXlQRdHrm9|1LAce^=aNyzYX^n1T1y zo@B1t)Yw*G47Ydhm9oal*t?I!87tx+B}3l!%r;CXe;8iE#XHrl@9huh&0pfx4*s-! z%{d?}Fnh=p_liS;CGhC`gS;J6y@0$OnXFUsi-6}*Pc-aKz|883{kaR^@-u2wSgm}> zVdbUgXZIT+dBb@#g2Y9_&%;bO4c+6&Uuh zrhBa|fkS|LOY0>CvC!ZfSB4n=bcd@^?C~^ji7=y+)N7i|2Ia*#sq(RvL4&8GXbWHw z@l1cxO`TAu5F~qyS!R69ceTEG&f2~{bOWx1CsIgYi}RV@(Q!phju9L3P@J8C=G|yRKHIuhOgH z9u4DUj>G%Kp2SG~z5RpzMCerA*S8r->{-cr4XeP&wmwshyTk;J02fqimF@2XxeZhb z9I`tmaXL&d{Hm&eS$mZ`3`{tneW|TWS{nchi@fGsFMB6NqHc7!Pv2bAg+dk)Mx!9x z9@b%e^I`x&9~V1u%k(hWoQCzm`r4g<=l#8)pDzY;hry<_lhG@9?jw{H6hutKLBd{I z_VBN*?XGFiX#(Pe-kMhlVw(a=jnF3N0?VZ%2UtoNKD|=gN-uEItkJM4IhKiu* zjQp>Y2~S34>Dxl{*^3Rq#xem=}*xbbk)Y`voWXJzG6fd7k_5 z`znebtK}#EPTuTv+ZhYI^l>f!>|Grl)*kFv7a9PJ3TsRJ)*m0$6Zf?{@mpU)bZ>lA zckGwWw1km_=$?$E(e%WTw1naOteJ-Dz0twbFQKiGAuTEKgSna0IT=$~sbiTbqj^~~ z1=+K?SyN?&%Y`|!`QN9@i&@|_qy6orzf5`IZZ@F9AjgPv$E>J)Ld}p{#_*fH zfs38s8rN zjnUN78|{rb5#2UC*ER`S_W8?Lulatl_?qAdR`~-M{l6uGe^25E(Kj;ckl=2l$6qfI zKS^aPGcqed;tRclD)hi7dfJ3Cy~`Jvkmb)97haW7L>Ok#@GQ%1U$~`}YD!QPEr?(= zR3npjn{dDgj+7KZRS3;WB-f);-M@Z3+^VrY1UtD3{Z99K9 zk@A!6H=r7v8;Um=?@AaX!bXK*z^%sVn#W#H;_8TB=8u5CL=I%>wFCsa(s}^}+tSc% zjRSDT8CQJ$kL1M`>|Eq1ZGv5y%<|PqR6igWa&Ay&s*LvWK!q!ps_hA|77Gq1E70vD z4O>q6L2gM*Ggos*7Q2^qYZYB4!stm?<4M229AZ@$q3R2;7;Cp{5y+|72qo+FJ+6E)@xM_~v@;czcMK)*=MUM_ku zuK`;hN53RJ0u1rI;mFMlb1oKlx&vCFdVYkV3xTwU=_QJ>z>q68jiEBDQ_oeMHlI2o z(gN55=Z~{G_uWSx>`QmZ{D$WB=WuauH&(8h_O>4tyy?rZB&CY`1{+_u^N4TI`-bVG zL){O1lU2NcCGiQ4u^>PDPqF)OI# zWgH(A^?C8HNIXXSGxuPjU}$fQdJ?k6LW#H0`NcH}6w)FmhfX&4r|JZZghOUBk=)Ba zK)a_L-x-{x=?@Plgl;o9r_&a!MQsiumv3B^55*{mttUFDH%GLRuItY2cc^Y*9eIk< zcDbf*=I=k(*tt~21TvEH!=orLg#&6M?Gdlw69E#M(7fEzMvg@Ccb*sZnouAZV&m6-JuW*M$2tur zL`-qr*FSe)fIw1VU%pmk5KZQ+KH;?4CB9dMbt5rOiLu!eLVkNEBR3U3*HypUR{%v% z!oh)YU;mD}&K0LYLsQN)NNVzd zXZF3zisCpftP~h{ufPAU;;;&28EylE;XQwF!~Qi*{5cFs)Y{(R*8&fWA+3NHu&|XZ zv3u=bZ%8Od9M#o3_XjhHl%y=)JDr^pNf=oqfts^xY$to?m1%jK0OviIp32f!M=GrD zOSf;f;EiZ4+#gSc*K$lFQ+c(@^=|3_#*g4czB5ktgJD4Y!-nRa(B7w4UsB+Tw2_f- zk*VP0Q{ro259)Md5r3qap`}jL zLR_0<&Jfm-4>U2>l*D-2_jOh956E?N7pF^_r>)mfj1x(amG8S(ESxf^$9AaDo@np% zT3yc{*C46iqBFUS*DS9!G9&9Gw@vyQoDh7#OEr(A6uX7(6y;2eYh%M`Z)a;?=H+s7 zwyDVqZ&ea0z{U%}8mOu80u(CErf2Aij4I$}Ao!Z2IR;B$8iF{=8E)bs{4T&;<)&xt zTi`-?Z@Sdk*4F1Gve9+fll9;DkA+7+2n*EK#R#;eiQJBT=lQJ{4}*Zcy&q0GE(F8- zv9|@B=4e#r>QvC`SkUh7zEzoRmoIS-|dSAemE|7JKu;neBL$fot?F zofI`z&7M?@^`m=4oUQPuBBg4<(B-3zXCZ+KvFwfy@(DI^2~tEZiUY%+^E$`h__J9# zy-W3&GG9dV2^x&X!AwvUe!QkO>Cw@%jVqaPtc|~Vj)j*d4B0Lql7oVql-8(P_o+O9 zN0xP!DsFZ+-6Cz*n-&r-91XP&CROnkzrqzncy%gMdYHPH>OK6Ik&6?k-3Fk+2kgh! zKhz_Gzf_Wpf2#HUQAsNN*yr@GL?k`{<00H)H`n}!`BoeLL)(VCeRN zD>9AK)@gA8GL6>Ri&OjQX|Y2luAW!(@X_1*@+lC&r z!x{S4t^^ie&q$DrUm( zuEewAYZuIulk!3xLL`{>=!%Np2s^TC+1>kMP*CLA>o{g|xB4i0psnCWLM6lp!iV~e zdgn1P5LfM&kH3y&bqiu+6d_nRaqU2VUupu?IMdPldxI&(2lH&{ct?wkK(7Zk@S6A_ zXo5rI_jY{l>MsNp6gEoXb?@*^KQh zpDOFKCH9mDs1PDmDmz-eZWa{Zt(Y6(&Zq!gsrZIZke)~PT~!Wp((8|{l$mlXPTxkH zX&1m)HZM8la8p+{AGzN2GdZXE`+xR$#j)UV4XTMuBW0txKD$yLry`}rcnAMi4NN-= zUzccuOGuADl##!N@1GMtDgSx#)4+JDvUL3<>l26HJniE0ni2|l*?Ah1(Bi6;`%u~J zSKU;Oqi4;%(PTJ0b~Zb!0cS>1+RV;Vw~GBdAP{S@y8Zoe>)}vDLiBCiV48x~$C2sT zCX>VcMy~3Eg$mQrWK}GsVwGk)S7B2zbA`2pXfiO3(iP01tWQh?(~rpThed zfnwH0iilBxpuo6c$@2EPiBF+vk?M^(Rs}}ssR0QQQGFg{4;D0*rWA$@0eZ%sME2H5 zYtqx{NUc`6GF*%*PhfI0Xujs|@(}X#@o(JbJE-$zFgP+@s(rM&`uqgG;{i_e&^T?h zWu!xPX>LkwaY3V0eQ`RMN@Ho3Mb-Hh4%Dkjvr%Anwk4A|_66{D-~VXmy%qeYHx4vRJmW$S4cxiOEth%K{fM!X|n2iARP6MytDDa+@+(C1oFCX78(wOHn$!p{9_KyvV|3`???Gw}I;cP*2?8_9SNi z%NAMGhlHkkfkQgt4`Ds@Kg`O1Z;a+;)EyzZWiY-#DWm(pCGC-Bt8fhZjvmxDA_uB9 z^er2JZhzrNpg(3M|JfYpb6F9+jqE#gHsB(;A*0%MJj}*O>9Gii*~dV9)VROz6?Shxe^OU^~Hs%5Ij&w>UMWrsJ9? z-HAlZ5;2rC%GV2_v#+`phF7V}>m`Ak+^B2!ZE!2C&u5U@_TZ>_Ne0vk5pq+O+++8N zBfj>-k2S7?H1vxiEo%~E&PmaZ0jVfv1N2rCNus`q)iWxbc^^GKxO!?uRSa?ypg#ZZ zcgbmL5le4MJ%Px>RaN$Zevf$VsvHYB3$Jn;S8`AW$zG{O*CnLodFYaxMf9a2+nQEp zY|3}<7zQ|X>Kxa#yiT*!EB5E(NS6%ZhMQP-h##zEiwwt5kL}g5im{S(fE-9K$2UJ_y`WI^Bm6JvzNkynwg3zk0+dmx!aACH=LeXL9cfsYPnhrM-nBQ7C9f*AZB|NY|@ zpTM;a4hhk!D+1>c`w7|j zGDC+U4JLGF7~li zgs7e_9Ys@{o?19Nqe}<-d7(U2y;~k+^=IjhEFoLW#eyc1}xhW(|~cOPG^xFjRa!$3&Cyhz&aAX0~Op}mX*Dm z0xr3e7-2<1Ne6pob)^G&Al$u`SH$T9blqCEnDxYlo?`Kq#!6{JbzJG!-b&6%S1;jR z1zFljf+?n?gcC8S7!k?A z)C`{wn>iPZ$$62>t)pF$8gIC93GZ|FL3?b-;TMj|Nh8ypdJJmC@97r5WgJaTGi$|B ztxHwOyK<^g7xumOyEkc15X)*1bn;f_H=bT!XV>sL6A8-gYe3L8zgxG77E z=cb7J<7SnLil^#XPYm7ab}JL5&4!qw#XhH#XEqQWbrfc1>IJ3a(`Djc#=MnfilaKU zn%3;xZ=Ttz**dJ-x>>0sBiif84YaF)Q2*rJ-h#Peqmnz$<9+FI(`!fn_I$`KBXFeB zeU4+rVFqWD0iZjRelTuU&qA3kPX6|k)AgHs-;k50AWfXO{4s{#j5(o(<8VsB;cX)C zy(P`F+^n}EsvqxS^t$jiPItvOicjxY*d{yNc$$m^4Jl^#VPJ7amG>d>WHb6OH|kxiyXNk zi^S+jhSv1C+As=u&nQ7>7a( zdo1Ws5I$vOIG#d1_cD%Sve&7%!yd7}w~|BK}6WFDID01cCez674X1e=ctGb^?xdNUn}cAz zPwO+sI5qs`dCO|u#wL-h9r;2My_4NtGje1#@JmAj4$9BxJ%lfQ&HRA_r)6~&OelD8 zyLa*M@Ss*)T~nhBW*B{>3=klQ>o;Uf_(&NeO8ngCQ~L`3+gHm^Lihd7IuLK45jUe) z^F0#^@af63Okn(=#?mt5=tCDey`Qzg?dhc`b@kNhS2WD!Qnq}~*Q*Py=hya%_-HNRdYCA9tSQeGU`h1> zt>x@q@LA`mi`_ve8CKU>M5ofrT(W3Xy8UOyh*2^6qjXIAsCL_TLmxzNPr?zedUSOP zb_(BUcjFXKq`C$7nIIe09HlT~H?P0T;MFE^Aw*n?l;B2qvLbC{hf;7!E4#Qt!?Lh- z_rm8Z?2&T#em~(%pL1%=t7pHOF=cN$=?WzzaPU}Eo@kGYvCBxKZR6HdVtU5!P*0gJ z=Agt$%hQY^=oW+1c;MnSVaj}jG*e$M0re^tnl6&#El=QFC8&d$#4$F^1LJA7%=(oV zqWHMAByE0(N;8|%*Sah#b1jg&>S)~#7E+n=_|#Fy-dLuY{?~c|Qa`Rr%jruqh5I2} zm5!YGw|km!T<^lAm-QK1a1R2Y6JB#gt87MooqCNek6+Ry%#7ywX`a95b%LnK!(*5J zjdn7{%c+$0{UPeFvP+ah_741Wv2UiuS;$?=`9yp1*t;xp)o zd*~nOaV?bWrX8FbDgQ9g{WU!@{i&|@Cl2Mmo{jw9I28eZ0^rwwFdK1e`D7zXjTyk+ zG8$w~64!22aOuBEO*$%`%e|>m^DaMnjmDPzEe)x{!9Zt@<>l#nQboNXR9{a-Y-mGC zG7KyjL^L=n8&Mh(O!#-`uOMH#KI1?^euGF03-$7apBxQ50wo9K>*rMQ5bPZ6)?DR) zZ~+MJ`e(o<*%t65HhBS@ZjM8so6*r=eEngpN$OvQvLtwruJ9N z^S@=2;FHvhitEPuuza>^h<1C)O{?WuY%_b)(hI$cnjD_s_}u~IIN8VI=7=@G<-}EG zfwRa6=F-)XpzS9(pTfcuiyBp6%SZemZJKtFYdl#hgdXCM{VlHn1 z98TImTs1Y-%*~!>w>#0@S4SWo=gWcWK`eyBd4SnY=0VbwwMwJjQADv6OAL6OE_<2r zbOlK$pZERoe(ze+bm?I7M6<vg@Zd*AnU3HI^UP&V|f z)%eLJam?Cq*navVF{rDfnSIwi>`ttfWDiqm<#*a%YVasjZXb zVK99d_vBcXmb>_z<{ou-s;2 zP^zYS+S&Z&Ubwr|eFvPnltThZB;>)C{U+wRywsD5TGUK0-yR2XI3K>69sKCi_~c9> zH|bTQls6&7dywAu21HFq`uY6>+qC9XDs~P&yLL3N@Vc3^rK4BIng1?&=2^Yn>retN zC~Ls4#n0a>8fK$tuzG|hu)>zRjIiiA|8@b%ceqid%%~u#s3+0JIN+F2XJ6Ope*)-m zrKn`M4$bWnumoKFXudcnVRuIeS8AIiD~VDO|O$^a+@lDlShbT#?AB^vsH+QwrhdMPv;R z4^J3$sfQ@3%Bv|pw9{33ajP`hcqV?X$ap~_jU-x7Q$yjCk)EFP(P9_T^(hherJcN< z>4jZ(BP4CZxMc!RAf24VGrT3nwgbeWMfi1s%X)d7bq*_6&Hu9_AOnu#@;6YHi2fJf z{eQoo$oz8;p~Rw|t+n6-R#0R3Z3bS(sMm!uZ>-H!WYGsAHOja)>q??j#0$g8u_t?m zSyb7Pt5pk;9chhCHLR>}Vo%%D#;>oorz@A(40=`0jihSiT8l_EO@wo-g7k{xJ-nCWkx1O;eFqQ)d!+n(7468yP zq;qU*Ya<{ac=hTPl$cQ-XEVh1LnsLX6k;1}d>L(q*w(%}JvJ&CIBqaC9HnQ}LbNL0i)4dsy2nGHfdpJ&!(O1hzvMLU{ zuTQ!pu~8Ji%POQ*?+{K+&!a#4(p9sLY0{ih2OL>DcuW)DN=~ULt7D)%AzS1E&T219 zy;{^h4@X}Hdpl9w$imB?~+ZhjVW<@5;?|0-YaT)t+m)A&N{ znb}egb-03`I0QMl=V#jloJ*+PbL`4xuh7`Ys6KMt)ol950()EEhLG%e?vtO>j;y9w})u+Swes!cywk9*<{lh)E8Vn9T*W1-H-aS)6)N#&^jFL2Pr>Gzl z3*J4mIe8(15San4-^HzF=SSG6`yXB9x070mp!&I^J@9*{4!?O>jb{XnQtqP0=gz*ru-KkW}2pEZqcwVU8dfU@;`Qj5_vAWjR z%TGQT2l-pu_|VdRlFxL0Na#O*<}3p7KumAtuz}H2ArBM(n=qHc{MC7WF6hULid(^g_E263P@vtv)3!NQscgt8E-o$=1MPv~DMf)Wt;REXm+H9dl_!gB@6QC~Or07}=3?$IeP!Bs z1neF*gqktG&(f+P=E%yq6Rpl2m4Cz4qNCTbD4M&zzK=V#)N!uhtJqw~oNZyr8MhXB z4Yjg0h4skBSvJ#CN;X2P%h!9){b%7C_P5ZUQv$t&3v46de|Ox?z5<(LNB!F7DM4~9 za;#w}E8&kQj{(UIF@?Qh87;RSy}6TA>;1IOKc(?Oc1LJVXYQNcindX!$a06+*DeWF zuJM&#Da~HVZ`~eM-Fj5*liuo^*6R17HQ>d&z>Ig^&*~oJbeM;~G>>>`_o&t~vfL`F z+$N^NI;z|ysln}OqeE=Pt!GWQo;A8ZZ&LNo)w-9j6I5s%RcRdc+Ay@lD6GUhrphY* zjqRh_^DfV20}3VYWJq|XE8Q!S^Ujp_$&&ZUR1L`03VV4Yq*OQjmFB%XgNSl=>jVy` zWKO%sd~T`S_D{~azYubMCgPbXV;C7 z#~rtbKWX)7?%TIva7;3c33`scklRG?6t)vv^4SwaL2L?HZ+I{u`tF8$1=Cw zOZY6=!qUPV3p+3=`6S~B8urt?Hr6jPJrZq&*=XrVNyzAE*^G^htslL-ZD(sKKtp#J ze-Hio#{gB=&%@2`(P)F7oEFFx%T1bGr#}cTgN)m}`03Wig!MkBxVfME>4~ zTXFf8I8%qL*|BkU?jkU*CM`-uFRV&*W3M$WqwzRdi3_u18#T<#+_AHH`K?;TJ#B)hZ+vF-Y53QJ10Pd%fC9 zQbIvJ!?3?x#5tj*^2v~)_L}VM*&4@)Bb7nKmOhO_;)RYX;m=t+Y$oHJ7mg!m} zVVYk|rID|opgOreQaMY|p=v7pNvT;)0Aafsp=6@pFk#o2(FwmWNe#Zih{&eTm7gp| zHNLRW#m#T&NZ5XCQ1`!l`%eCScSLkwZ`+ufg2qs9f0x>{nwf#F_Jq-hil&gm^NfsU z?Sluo?eYfj2Q%71K}aEKU?Mmd$boBp3#nA>$Gj?ooJZMG^LF0p(+R$HctMg20E15-Zjz5G;KTV z$i4Dsen$!AJ(z_?!N!Sox&x(r6(uiBOLWDT}`ZT)7ZvFS zKdJ?}?C*<5A$ytYC0H6vQzs`E{i4NFSr+N~OvS|;2-7&|j&xdch)?R++Gy$6+-qy& zwA8f@=ZlW6c-1K>rds*R)554#Ti?mW#(0m|g(RES>*VD0-74YFe8g;~l|K#KNY+ZD zi>uGGT7Smjxcl1eAj|UV_Q~j{j~JLvG&NPYAPU|6vhO~Awx2EU>V@3ZfkZ`uJ2d!2 zp4D?CEfizA9>R>m-Q?_NjgsHqZVSxWK@t_2fBio@6@l|Kl9T}WTkKzb?i}bBw;zT7 zcI)Av=m zfX&hSd<7bDOcZnG497W7pJC!RQ^du>mf_-HquPH^%voEIm+J)ku{{(74oDwAumeCy zOm@S}Mdtekz-}BN94DpC9e^8}Awn|H`hWKI>)t#3czN!WnPQ75w3s<&-`#Pex6cXZ z{D0Qz=3nV{eg|%jHNkF=wfxrU{_B0A&C&2=@TgQI9#)m+!;_B=W^vYe`0FC$8(-{C zsUxoYaw8I3r82=Um@>-XwOiQ>7w~kF)`J`GYs;zh5gymag?SVCwTTH zo6J?%OK=9~?{;(7Tz7E_8d;uyr!)4pEnhp1eEAgqCrjS+4zYEu2ki?wM23FnEjWtk zm#u}vh9?KbeR#D_^V8_!Jz0C|L3SWxhdO1&Cx?M_^=52lusW{n8lonU0Bb|Rq0 zLxw;&<$h&b3vY>Ke_TYzsp(M?f?zIFd3yZ$!+CR}pQmCsy!Xbgj#_`7HrO8#d0Up? z^Z6r%EeU#y_SaPpiVKH*9DG|MkSLX_z#2t7S59qql`&jlzTqnFeIeKDw9&!7Nr;4} zm#LJlY18$&JfcHL)9)Q~2r;SBRwHK@U?1n;QxHk^BZ?rqV^U{Z7u1%0W3-8od^&RP zsMhM3>8ejdF}ou_|G@Pkgu3OvR9+LY!AIjd70Mk~xlRX15}pg!Wfj`N!Zy@0_qIT) zt6}6T3$8=;USqaO+Jn_J<#%QIl0%zD+eD+sVlE%xHjuk)`dl+MH=HarF_t2CNVWZr zZCw-H1;@9UpDi~W_1C<67CwiysoApFO_0ZzZWLY@c-j$oVLvXoWq>s^;VFRiW(QMV z17*X)QbNR9#_ZsD8^Ba0pqE$K7Eu?v(B2o+9o(WFn$t9~^m6YA;d9>JgsR zs5Uo>+dFPMUp#V$nIWh}!}ztxDb3f5u`hc(uZS6#^fj{*-Ru){mugvBqjR{-#i5aQ zvE#-u&B;FXwS75dA+|K$7ZmNv&70TE9y+=`D)b{}44f2{R{lU^c%Oy-w9*x$9Pi_y znzsd%)S7SI4x3uNdf@!YOl()>>M@gR(vqI|L}k8A6NETS;tQ&Q1xNe$FPVNJyk$OY zuW^344Gcsi)jkiG6Gb`B2;_@92F_e=d$sr7b7A2!5`v(sk-NCAV_zt&Jr+I1$jrF< zY5&Tw++qX|crzTCw z%4pPf1jb1-e3`TTQZXL(vdXu?G|YSQwefQL-H_wMvQ~%ei*pW{baN5Eq7yjqe(~&v zh{6Fvr|0`pkT}9sdAHJ);(czMYbb-Zf#baU3j@ITItq45=J)E3`R#$<$0X400j&M? zCB=FxHLa2F8>im4^yC{21&xy(d#~)MyIOiGY1NK7vIM#AWrfc{mMiG?HNm1a`-;>t z5GZyC^d~`{FZ{^6}IzdCrVIt!({^``}tcZYSfk)`l46=Rq(73eF zb*)DTt8v_(i}*VDcH4>O+G9mTS zTp68A?a+;jWqn=$rnd9d>-yI%k*sR{4OM*c=>qC50nfeP-uCn*J$2@KY_rB{_v(n$ zqOhB*+seE}rO%Kio5FgT@WJ>*pa&do6Wlj65t^(J_2g8P}L#*vwivc#LMp(eHX0xyDZ8o{>xw*EskxSxf zb}uYm2oL0IPxT)T)1w+3DR3R!`K`BIc}YcSNigEATXEDKiJOyn+(g{pdIl9bH0ubQ z?d{g>S7X~5hY0J{&Ja`lSBs5wp(Z$LV2A@h)BL;FVzw)_dA93!zuh{P9`8ugEVcgH z*{mbyq^LwP-!SpM*rf4RTB2v`YKN)1Q(~d6tm=BNzwwgP6mM^9VOEjNlAkEOo&@h% zotBxe9Bj;B5Z!eMpW-KXgh7*$cwrcjvU~gX9w+Hd;+^Bo}f6 z1ScP?4m>7cZ@#hiwc-xZG?==9Re9r%v>|ZInmpzAAvW#i{;UL{5T$xFNckni8buL2 zPcIeuwy~nIIywD$Q&UxC!^=+2S9MM?L7Aoad&UV9pY(G%7M|JdSS7hA7FJ|G_N?ZO zXx&)2s+r1IN;*UOlSlE|x`nZZx%%V_G?yydE_vY2t08-352+?IGe1Qx zcAj&~bI*t=)vBUG#FN+xDHjP5h~n#g^=>S=rgHf?B^6;G@rv@6d&%x_4qjZ8;r zN-IAIkC92Zp?l*-+&%ec`_&?nK17DAJ_OUlh~kyxA_yRZ{XD zBVYfN|Cm?#$lAqAm5*uo$!T=E5IifqJe{4_`HKY(JCpAqZP0x2pc!Nd`BQtiv6!m* zrv~xdk2E46k-YV<7O|LUGXODY6eA*_JR*_&<4~jMS_0`0!Vx{)-WU78$oFRQv6RKGd|#O{A6Uz%jve(P}X zzB>|w&kEb^qQ1#07_6@6atvw3ue&tWX~q<+($H{zy71=XaK&_~%Nl2a;j7rPvIvdS z7BzSOyA99csF&fFP@2X6#X&cR?Kv_%VsaK(LSrU$ge0;`;n9f1clVwh5G9hpjSiDd zav0?sxy+Q98D1cI+)ATXL@HtNy7sfrY1J|r9MO?EbzQ?|BT?^>AH+oGrQeAWmFUg| zes)?BT4p8EL?~1awb-(jUn-?Kj*pLTTcj@dIN%jI?%T%|qwLaxvT`TRbu*R)FY-Qp zd4=z@o-NqHtQqTiT&zk`Ao11CAT~Jjv&k(f>$epiSLr776VC7NLiq7H8%RrBIeuuT z-k?{_%^iGI($c9%ypHcAzZ=P|rdVtGNbTY~SFeEbd&h8H#5r+KzT&~YZ(qa8{@FbEK%iHA^GyzG!kZ6O z1PQg6_w71yr{equk-gh>f?Yv3zYtY^q~En#clEZOJU^FE{C%NlN4jW=U}`o!{fto= zaca@RFuRf7@UNb@DeF^R7r9pDrv`AUYOnOz=LK2Kw|1Jw&=%zsE>_Tls>WJ99v=3l z8^H~g3zi)><~vMYEy>Nb>QT5}jZDR9Y~L0AsZ&t z)eEoG`r7z`n73L+@O^8-w76#5@MQYvQcB-MuHbB6)1?#TtEx)<9qF>xebW@@eDQFw znH1vviJY2^)hT_1o?PQS?iTmykwOWjr-8B*5t9%nlT3yhqY_~)!ZYgKSoiL1SwF72 zLk2SOH-mlDzJ5RLcwD{Jy%f|8eArU*?==InwK&x9H6Z!IW<>#Ow^=X5AKbWiW9#@~ zb1ly5?6cjLCV_!bq(=ogPU$GiylPqLmY}UPZa3pAF#eXanKQ~2T>IHfv;$HLPk{@v z{?F)KE(Kib?+rCFSvWv!R#kq`NN2$S;i%T#Q_Nmf#9ik)4^_;(Sdj zePC0xV3z4zm4XHBQgim^jZb|#b4COsuC z>!3hR4vyM550!iV%Dw|T7}gJt0*npSeLtMCbG|akZn{5uGyBfVbDbb5oY&r?AWRPj z2s#cZyvQ@rYOt5RKF9iG5ch6 z4JmPo|DH%?2leqX7Dbnuu9y1BM;{$n@YE>`)tqdWkPOZ#w;#G)FDr!0;^NFA6gB$J zH_obmpj73ODs@b{5N-Uyfsg}dN1lueVS7oO6;mT3uQ%XqykQX~Z+=_MJYfaN=!vJH zT`3iaP%Cb6k*G$xFE4V=_4QcpIC_{oAXOg&jRF&H*f8U= z9v#^bnG$K(<6+Wq2K!;!aYmluPYk%XNJvlNJ|Rsa4SACIdB)P=Yd&K>KBLDIQbzKz z!(S{A?gKHhVO!WTKYFVzGUu!vtH^i(^sK`HTS_fEyz6Gv%qsm#4&j4aiTa!JvI zik@Jol~)}T@APFca&*?tEDvJzWE`U|ouyV7yH)S1Ufhdwt(GwLStBE1@tV(?-24jN zvZ48$xs;4zcpGa{T63RjLw#pF9Zk}4mV@f~>SEPON?F4GymS-d_Tu%==E7L3dCo9w z%-J=vJ!P&HZ(@*PKf}&0ef7EgF4hLQFAd_XwQOn3tfCDp?J{5L#oFb}>uY3o;V?2Q z?z+Yz$-*Qi(L6XbJ8L0lP9(caj766H9mj_u?H4=0I{~L?{!#>3SbPmzT>RY$crjX@ z-g4;tBEsAR>F_rP00;e8mGdXS?dhKO=@Q48;WjaDNeV%AWtou3V7s}hRCj(UaE8>S zuO+&U%%n5lvMKRw5oihvEY?Hi=o`(t^K&-0P6SPz5+!)Jz`V}zU_fK6gX`$pDKM|g zw;TV~dssh=t+3SOV-Cwvs#x9`M%F?$ejVE@bpf7ptm>s-zP+1~A|#Bpclf5NjL0tv zlZ?!@of%LE3mg%GPF&ED*b~2dMq_*iNX6{etXo6tOG_WVrZ3qp-g%_?%^T*p48u0h z9g?>=Jli?ajBO$^bi#aXb0e~L$HrgX-%e6DI1Eyvhj`#i`<5RbpYoG@AJ_I3%k-79TbWf93ipb>B?cH@TNkg78S{5aB|D`Vp2P7s{b% zb(SNO5(`5?wZRdpNs`jC_aDSoyzLOuiBE~ju5Ve{JG6%^{ZMeUe5__vnX-nstlHuY zeU~<`ORM`Rx=XbaF06}MR93VGwD&}Xk(4+mI#hY#C+S(Y?fD|$rs1ZiQtfVc)RIby zZRD%0#)9XS53M~*)9;z*21zpB?*Gr`f)i4AUh9AX1^m>=|4*L$bFti5N(CRwi|A=< zc!q4$DKQD#Y@4=9p0kO@Ii_zND{>7H>OH!Kd5WFI#*Z7v+ACGE@77+DIY4(C|DGdW zWnHm<@-BSb^Is?iNKFEnDW6h$z1gxhR)00y*PnW-F*WtFO)JwOmI&-!#zi`4vg-cu|xeMz8@g+lx zf)0O2wY!Kex}(xhtLeD~7)&xA-6iTe7sg3?eOl(4!iqz(R`Xcq$-)Bnw{&EIQiN+zG25UuSvk6}l6-BoCtR$2 zM>ulwV2W#x4wuF2tL3p>r>(l4spIn%(ygR9? zb3vGpXyw6~=}(Sm>!3h^rDJPG;_ z>32PocW8&HjmezrKQJ`h`8KfPn*5{w@W`(Y6@&O#!u!asik+%$NDU7su(k^nc}qdq zW6D)j^K@=?T`0E6EN{@9=Y!h@N3$EA4i?rP8j64lDJ(7Q<21}nQnby2Rjzjna%FR( zYj(ZDHI{2T-Nmx}cDG3+Kg+vjxo&1hlgiI@41}nwoo} zH#5%+U>M1IkzQ>(JUK$O=c3;IbXPfZ zm(@?E-HuY1b=ejU6S!lyC|>2mKHt7w|~8< z%{N2=R7XvcK76^LprDsdHXp8>J@g@DpnU9_BjvhKYE%qX(5c-AU-@O8xo64Ha(=hJ zWb#JPWr^3GBbtraR*WC^s+@fo_0VGve#4z8z1Mjoy6!+V(PQE99wZ~aA?zMO zkz&ff%zmdiN(84oC-CJ86%Fmqdvp&!Y8O@$9b@=v`gUJgqwDQJB2QEQJyinEIC~q5 znub+-q+V%=_cF_tk}xq#i(ZrJuv?mLqhz53$nY}kxZ`XI{wC&M_NGBnvqvJlZ?k>s2=$= zs)@r+&s5P zO{D}q61$ehaO^a4UK~r29_cvOtSNuO$_xRKLC1qQ!7)w_9Kk$wSuti>x_pE3i z;W*Q=+J7!RT~ybq#p~>?f$2F=CM%9mEFO&FRvToBma*}uLP<0?#7Q@YN1^3k$pVHi2 zNZc>rp3TG|Q_oX{HwCA$zd;Z=tw$ei{hR>*f zyd~%>@~#NiQYOsf;Yk|zy}>zGBX5g#a$3qUO3K$hUt_LS)7B}yJdgYE(~E&1;puy4 zv}Pv`$je>6oS-Ou_d(e6pxy6$JVF%qHc<#?jofCt@rGT;c(MF+QjOI_DE6W%6EFU} zf4p`Z$=TCLl5+YNX=mlV z819$&2Z_cfoR)BDGB&vBAg|m%8<#dP5~~t&G4R}{=D0&ArM}c>DxLQ*i=HuKuo%BC zV^mmZd^|nO*MBKeBf5XpS6SoY%d?lKU%zagrxeU9iLbWFDDB7|9Eh}EddSvqOOTph z(-(TquNmk3y|TntUXA@+Gy}Z54w?nq*(>=M@lzAi&Y3LSewDddE~6W*IzKG z`2G-Jfh{@MBXLRoJd3F0Wwwo4)L)e%8}USfzitbJ1omstoa&!nl{hacdij!^JgdZI zsPNrb=o=YQ7-0(h$y^KEfVW17*jQU5&8}E#nHw1DK+VrD#`tdy6`Vm0hWzNyoNQ$f z%5ECrXYogW{_y?ZihpESBkZBn-oLDg4?snCYx;7)FJ=Rwhk*kB4idH20y#l8M`2r` zy8yJ&UfZ+?z>0y;!l2>c%b|b6@7jqVO@8F({2l2r5hMKwpq>DM>zM@nzN0cc|1;S)oDzgmi^NV}W073q^f-0`T&)@z&#s0QeLL6Odm|8n{OM7pQ`nF2d5p z&_%|!svprcHq4y)6##W6XZnsii z9ApcqHo&Fd)s?s-%s&kQ2j}m@ z5R7VJ2u#QN=_zDgsQqI3r7rmC718$KYc^KahI$U@(JlqGnvjtnqo5l>*x&8k;s^Sd zIevB{P^-IDQHrg9z^Xg&N3@o<2?ExB;{uWzNpjshAS?rc8y1iF?<85I-9-fGuMntj z4}tgH#UC06&}kshNw!~)?7_c-FCa~9OwB~itPqyg=k-9XLtlWVy_NYWph6ud=Px?= zDTV~|0z?pcNXtLGf=tg0*BIbIufPr~Vf4`7O8~a{tNwVvK*x-xaUuODft-fXPm^It z|C90%-k^iy8uU@ufk4~kza9tjzvDOU|EF&Yv89};a7O@e5eS^!a2Rv;FW3G#JlhG_ z59~7+-UIFzAaK9g4+biKs5ReR8^v$X7m!0bOVkbE6F}g8BMqt&rUh)89(@Vwe0McJ z06OG1@H*v3`S%k3sZ*$6sM^0hpjp=gppeVM9kP;YTksZ#L{CRZ7My?#gX)kQ$1tS- zZk3;H)()UNApi56_~$3+2X633^maGXvNhEIo;MEGaA5&lE~|G3)am8}VT36EJhqtN z6wFbLfDN!?Z^OF-u(7Zbfxy3=D>VjMifHK=qc&F%SeyFA1k}+K0D*%MG#G#{BJF-; z@YvdyLtxtJ{=)-6TPK{~!RBB%wyj+uFsjBl0IU;h%=H3jn+F75%ag&NY+LYUq@|sf zC7KZ)#6C!Vx+@PToe2ca&I68uDI2}sVuk0Vf9eglbS)U`Y|Dl|A*ydcN?FFfxz``10#}cu~(6%Xh!@H*!=490|c1eB!bBZ z9GuODA^4ZZKdUlS_kctE^T3B6mY~T-udyjY*H8;qi_T zmW>sf_x=i?%yWLE(3}*Sn$ZFI^^|}H|F7zqX#LpY+FHvX=4WmeJ0tLcpq({1v+C^M znR3=hG;IyUv?3h4T@IA10sgff74UW8exv!Pgel<)CM@W514O&z{j*PJlk{s zSZ^V;-w2B?q;d@q`1dLXJBoi(SpsQmh~|4i(8nC78nJ<0A%Xc8Rx97%p^DH@5e;<} zPcjWDwDw9soz!o<@rBHClK_AV>;;}0NjrPbpcC2e|vvv$Y0Sz4|LC* zTLX$N0fGD0h|o4r;IF96HJ~Vc5b+)gpyXj7aNpuS_jl$`-$KtFJwH?damj$deJlC= z_S_%7g&sX2cA^Z*CPM(4EVvn{FKmZKqG?;#ff-6}w)KA|o{&~RAcFR*N{wJzF!VF=lWdiGC z+5n5#o7fSWO+ce&ctfzfE$g3a%v<{d2%1x1GXSk{wgZ7f1tqsr5I}#u_0QG?g7!`? zW#R%L5fIQrZ+T8gZwrN1sYH-q<=7Mz-VWe02b`vN0q{W-_-z@C;G0We=;0=KI8^%p zm>dXbv$s4WvKYaCEO%T*S{gbc&A{3)`f_wR@cE%t?o&WOU$*5@m;X2AD1x;GkdYcq zDILI6t+LI{-vE0LC@_X2?re1(-TLVsT*Lp2V>ey-G0 z@$(BaZ!rxPR`hj@*z)L_(M~|FUDKh3MikIUIhrwH7oY~ICgkk`9oBOo zaO#vgCR9{iA?g)F!&V7E^aBEKS;TK_OSM6>ehNXYRb~p*K)?D7OaI z=%7&wZWH)oZ-Kza7_oZWK{uC|P&+D!o4mAZ5E>7CMd4QIW5z|VZ!^J>IZNOH(4-Uo zy^a`e$GwcU1MC6XzO2K276eQ?089&~4j5rVMb#Ce-j}kKCITK10t8O2HQSDgzMetU zZ0(qn`an;1yx*y87MM^`b?pUIJBEGLAHcWz1O%?@gw1wTDRTsxbq$D$`lwxddG=_BM2);4GwF$hf<%`C3j~fecf|;csx5@=_Kjev1HJ&Y z4e((M-_32YmIytBCBjSxVTIZ_K=9G?hrUh&Ff^ir!?kby3plFg9|2tXDD~k3z!1X?P3sF`ub!j0JOPm7C|FVtjIijn{U~@qwH%nC1_-={D0^*(l||?xQ4Kr* zl=Tm$E0_huITWhJ9ZaaGxnA{E;f@!34fL!<(Ur@0J1W?OM`KrrN=EXQ7;;=l;JQltVM0aKbqG-X&AIP1 zfVcky1l|XS_-{v5K_X2>(JcN#T;I3XC2Ih)4+wniurLr4u9OX$t><9?Hk>m#(hp29 z4g_9*d+%=t{=Q$nImbcuT?qa-xwaVEJVJ$&1!DyN(>6Z@XAA)6RssAo5O~)i_W&a} zG%G;Wdjy~r_PL!J0$8X~gHNBlLoh<4OrOw~V|b4^dJ2>QjjZ6)r}of)Q_j!n6Z%qU zpC!rkf)XG@!RI(k4>2m`4+jB014~_G5kq_c+zBA?IgWNXMr<(0LDd=}b26HphnDu( zQEF0D#CGJ(nuMM^alT!P>IWBIlL(?P;ewik3LXUt?@Dq@fmUAFfWRA+o6(qn(Niyz z2AzRc;3$E>#{^?B+fmPJBhgiRNZG!OgjLA%Ac0q&YYE$7MUY5iQ!PtlG$VpBfEE?t z9DpWvM}ff6!H+OTqqeRPdhR~S$Ps|$0s?QW_JJcV=$CtcE<;^Fnwlf65E5F3Xikqo z@M;$Ofp`FpLVz)C$LIxf z2skzDIVM!}x;pnDc{qWdXMw=`u=uoXsrKebOElU}0ByO~58WvQ%q|oz%L~l7sQN-& zgwjTp0bo7{0(UrJu*3UzuYl%}=k>J=(M)Sq6c?hjkhSR)Is1gGnVE%vy*c7`?{(HQr4@HIEzR z``s?v4lD{PA3DF70t)x0;s*BsCaPcTe}x$rRbPl(u6&B?9^gWL0bgXfP_Z3X5@Cnh z9!~>kQa{TO5%7lHK;Te@N(`W=nnF-TwZm#gK+9)9*g=c@>+yTD9aP#9%yXnI5nwy- z4=PW(m@7ipP>F%S>GEJm{rCE@m5!?W7ohu!%tzUfAG*Uw7c~vr(~;)T$}hUfCBzw@w0;cS8O|@60Qql7qm|&>APanz*)Z$CgFtSt6_qP(5S@D4j-GvXcWC zL;wgJT=)({FsjB7IQ3HRloo)dpnxy8Zx1#%(b7RPZG*ru2*Ow>;ROQ_xW-tW7=lqX zo&{jMAl9-mU|(qU5Dqp3Blo|19yH55Z-S<;hQP;48FH=wGf1MCA_a_eF#@C4*y>P~ z?K037+HQdNed1u2gaH`MplA*#%(+f03Vk~@AaHIJm>^-oMb#JLN`4s#_5;ik6t2R@ zZMg_7OC2;$3~?2j>x}7vJ8%Ml>&rWc85dRGdB9B+I}r?ROhJQW_HsgGZgai&zO=?bzT5ugDbn9Kt8bn1U|}Y8r_zR_OuB^4gTCkC7=5#6DiMWFKfqa0CvFkBf10*8lz zc?8CARLvoH(*nNz3eegEz~K`e)tT+!-zPe#t??4TUaYowkPom!K;ULh0V`^M*BP2d zqACkfNh|s6l!2nqb^zQGg<#+8?^IDUJ?IXLwILGCpc8^OGVb&E3hEuSD*%U^12@DN zj;cAdlV9}i;;}a1$dJG*b`@x){|=W$m?F_F{XyL1fq8QpVB_!0;(-0@nOnz<`%B-S zCl7wVT2B273VuR@HX6OYx(Hi@3DVpY+!2ADKBxwIK6h+CEDOGx4-j~ll#US(#Jxdv zGzcuieNm(K@X%)#@S7V<^gOkAaJ%f*vZF~jcV;0z%IVse%A_c zi-5q5LJ7K;?b$z!^2_Ibp8J5{xaV|&?gQ{gAn;CV5*#$c433_>++KQD2$)(P2sg}| zJHa`S?a9A|^hYhE7O0=O?{2Ur7%?9P?Z-J-Ax_|g)b@q^DF`%J@E&a7J-}(cEl)EgCSWomQLO@jw`SIZTV?DrhG4Y4FvQ-PNDR(S6vdp4syCF; zX=|=0PMF0HN?^oBXn$WiHv^+7RDXm@*qXBjUP8Upzbygv9iZePThofbTN*vNe_I0D zj{p_2HID?myP;LYq>$g*%+1^ps1}2Y+M00S9PFEfU;jTBh4#gu_|RM9ox|%~j|wKG zZHYRD`gx!NwuYvLx6!p4m=plD(Wr)k$Xmk?!z;#3u$r=cZQdH_dTUbzMZw$}ITp@d z)WL-Pr?wwrZ;ibPXNT!w&PKI1#NHZJ5bmcLhM2HX$0}&29?;}#YwS9BQ5>fK=b})* zG*r~q;9|V6D#3%qq^K=Ux-~T3){hPqvo+ojycisC6cICr`qBSv7W3;H{hYO;3tsf= zg%oW;F; - } - - times - { - type word; - description "Times to clone"; - iconURL "/FoamX/icons/small/maths/stopAt.gif"; - helpURL "controlDict.html"; - default allTime; - valueList - ( - firstTime - latestTime - allTime - noTime - ); - } - - application - { - type word; - description "Foam Application Class"; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/mapFields/FoamX/mapFields.cfg b/applications/utilities/preProcessing/mapFields/FoamX/mapFields.cfg deleted file mode 100644 index 67017ced14..0000000000 --- a/applications/utilities/preProcessing/mapFields/FoamX/mapFields.cfg +++ /dev/null @@ -1,55 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// mapFields tool definition - -description "Maps volume fields from one mesh to another"; - -mapFieldsDict -{ - type dictionary; - description "mapFields control dictionary"; - dictionaryPath "system"; - - types - { - include "patchMapping.cfg"; - } - - entries - { - arguments - { - type compound; - optional 1; - entries - { - include "$FOAMX_CONFIG/entries/arguments/rootAndCase.cfg"; - include "$FOAMX_CONFIG/entries/arguments/sourceRootAndCase.cfg"; - include "$FOAMX_CONFIG/entries/arguments/consistent.cfg"; - include "$FOAMX_CONFIG/entries/arguments/parallelSource.cfg"; - include "$FOAMX_CONFIG/entries/arguments/parallelTarget.cfg"; - } - } - - patchMap - { - type list; - description "list of pairs of source/target patches for mapping"; - elementType patchMapping; - } - - cuttingPatches - { - type list; - description "list of target patches cutting the source domain"; - elementType word; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/mapFields/FoamX/patchMapping.cfg b/applications/utilities/preProcessing/mapFields/FoamX/patchMapping.cfg deleted file mode 100644 index 4ebf2d219c..0000000000 --- a/applications/utilities/preProcessing/mapFields/FoamX/patchMapping.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patchMapping -{ - type compound; - description "Source and target patch names for mapping"; - - entries - { - sourcePatch - { - description "Source patch"; - type word; - default ; - } - - targetPatch - { - description "Target patch"; - type word; - default ; - } - } -} - - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/setFields/FoamX/boxToCellFields.cfg b/applications/utilities/preProcessing/setFields/FoamX/boxToCellFields.cfg deleted file mode 100644 index 72a6a5d17d..0000000000 --- a/applications/utilities/preProcessing/setFields/FoamX/boxToCellFields.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -boxToCell -{ - type - { - include "../../../mesh/manipulation/cellSet/FoamX/boxToCell.cfg"; - } - - entries - { - fieldValues - { - type fieldValues; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/preProcessing/setFields/FoamX/setFields.cfg b/applications/utilities/preProcessing/setFields/FoamX/setFields.cfg deleted file mode 100644 index ccfa280bfe..0000000000 --- a/applications/utilities/preProcessing/setFields/FoamX/setFields.cfg +++ /dev/null @@ -1,57 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// cellSet tool definition - -description "Initialise fields based on parameters specified in setFieldsDict"; - -setFieldsDict -{ - type dictionary; - description "cellSet control dictionary"; - dictionaryPath "system"; - - types - { - include "$FOAMX_CONFIG/entries/fieldValues/fieldValues.cfg"; - } - - entries - { - arguments - { - type rootCaseTimeArguments; - } - - defaultFieldValues - { - type fieldValues; - } - - regions - { - type list; - description "list of regions"; - - elementType - { - regionType - { - type selection; - - entries - { - include "boxToCellFields.cfg"; - } - } - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/thermophysical/adiabaticFlameT/FoamX/adiabaticFlameT.cfg b/applications/utilities/thermophysical/adiabaticFlameT/FoamX/adiabaticFlameT.cfg deleted file mode 100644 index 6ada063a00..0000000000 --- a/applications/utilities/thermophysical/adiabaticFlameT/FoamX/adiabaticFlameT.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// adiabaticFlameT tool definition - -description "Calculates adiabatic flame temperature for a fuel from input paramaters"; - -adiabaticFlameTDict -{ - type dictionary; - description "adiabaticFlameT control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type compound; - optional 1; - entries - { - include "$FOAMX_CONFIG/entries/arguments/controlFile.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/thermophysical/chemkinToFoam/FoamX/chemkinToFoam.cfg b/applications/utilities/thermophysical/chemkinToFoam/FoamX/chemkinToFoam.cfg deleted file mode 100644 index d218cc82d8..0000000000 --- a/applications/utilities/thermophysical/chemkinToFoam/FoamX/chemkinToFoam.cfg +++ /dev/null @@ -1,51 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// chemkinToFoam tool definition - -description "Converts CHEMKINIII thermodynamics and reaction data files into OpenFOAM format"; - -chemkinToFoamDict -{ - type dictionary; - description "chemkinToFoam control dictionary"; - dictionaryPath "system"; - - entries - { - type compound; - optional 1; - entries - { - chemkinFile - { - type word; - description "Chemkin file"; - } - - chemkinThermodynamicsFile - { - type word; - description "Chemkin thermodynamics file"; - } - - foamChemistryFile - { - type word; - description "OpenFOAM chemistry file"; - } - - foamThermodynamicsFile - { - type word; - description "OpenFOAM thermodynamics file"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/thermophysical/equilibriumCO/FoamX/equilibriumCO.cfg b/applications/utilities/thermophysical/equilibriumCO/FoamX/equilibriumCO.cfg deleted file mode 100644 index f47d6cff16..0000000000 --- a/applications/utilities/thermophysical/equilibriumCO/FoamX/equilibriumCO.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// equilibriumCO tool definition - -description "Calculates equilibrium level of carbon monoxide"; - -equilibriumCODict -{ - type dictionary; - description "equilibriumCO control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseArguments; - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/thermophysical/equilibriumFlameT/FoamX/equilibriumFlameT.cfg b/applications/utilities/thermophysical/equilibriumFlameT/FoamX/equilibriumFlameT.cfg deleted file mode 100644 index 8c128bc906..0000000000 --- a/applications/utilities/thermophysical/equilibriumFlameT/FoamX/equilibriumFlameT.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// equilibriumFlameT tool definition - -description "Calculates equilibrium flame temperature for a fuel from input parameters"; - -equilibriumFlameTDict -{ - type dictionary; - description "equilibriumFlameT control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type compound; - optional 1; - entries - { - include "$FOAMX_CONFIG/entries/arguments/controlFile.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/FoamX/mixtureAdiabaticFlameT.cfg b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/FoamX/mixtureAdiabaticFlameT.cfg deleted file mode 100644 index f395744a7b..0000000000 --- a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/FoamX/mixtureAdiabaticFlameT.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.0 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// mixtureAdiabaticFlameT tool definition - -description "Calculate the adiabatic flame temperature for a given fuel mixture at a given temperature"; - -mixtureAdiabaticFlameTDict -{ - type dictionary; - description "mixtureAdiabaticFlameT control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type compound; - optional 1; - entries - { - include "$FOAMX_CONFIG/entries/arguments/controlFile.cfg"; - } - } - } -} - -// ************************************************************************* // diff --git a/bin/FoamX b/bin/FoamX deleted file mode 100755 index 4282b59eb1..0000000000 --- a/bin/FoamX +++ /dev/null @@ -1,240 +0,0 @@ -#!/bin/sh -#------------------------------------------------------------------------------ -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. -# \\/ M anipulation | -#------------------------------------------------------------------------------ -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# Script -# runFoamX -# -# Description -# Loader for FoamX Java Client. -# -#------------------------------------------------------------------------------ - -Script=${0##*/} - -usage() { - while [ "$#" -ge 1 ]; do echo "$1"; shift; done - cat< /dev/null - fi -} - - -## isValid jobControlFile -#isValid() { -# grep 'startDate' $1 > /dev/null && \ -# grep 'startTime' $1 > /dev/null && \ -# grep 'userName' $1 > /dev/null && \ -# grep 'foamVersion' $1 > /dev/null && \ -# grep 'code' $1 > /dev/null && \ -# grep 'currentDir' $1 > /dev/null && \ -# grep 'argList' $1 > /dev/null -# -# return $? -#} - - -#------------------------- -# -# Main. -# -#------------------------- - -#if [ -z "$FOAM_JOB_DIR" ]; then -# echo "FOAM_JOB_DIR environment variable not set. This should point to the" -# echo "Foam jobControl directory." -# echo "" -# exit 1 -#fi - -# Make sure that the FoamX configuration directory is available. -if [ ! -d "$FOAMX_CONFIG" ] ; then - echo "Can't find FoamX configuration directory at $FOAMX_CONFIG." - exit 1 -fi - -# Make sure that the FoamX client configuration file is available. -if [ ! -r "$FOAMX_CONFIG/FoamXClient.cfg" ] ; then - echo "Can't find FoamX FoamXClient.cfg file in $FOAMX_CONFIG." - exit 1 -fi - -#- Get host and port from FoamX client client configuration file. -# -HOSTNAME=`getValue "$FOAMX_CONFIG/FoamXClient.cfg" 'org.omg.CORBA.ORBInitialHost'` -if [ $? -ne 0 ]; then - HOSTNAME=`uname -n` -fi -HOSTPORT=`getValue "$FOAMX_CONFIG/FoamXClient.cfg" 'org.omg.CORBA.ORBInitialPort'` -if [ $? -ne 0 ]; then - HOSTPORT=1234 -fi - -#- Parse arguments. -argPort="" -argHost="" -args="" -while [ "$#" -gt 0 ] -do - case "$1" in - -h | -help) - usage - ;; - -host) - argHost=$2 - shift 2 - ;; - -port) - argPort=$2 - shift 2 - ;; - *) - args="$args $1" - shift - ;; - esac -done - - -# Install handler for interrupts -XHB_PID='' -trap cleanup 0 2 3 15 - - -#- Use STARTUP flag to determine whether or not to run runFoamXHB -if [ "$argPort" -o "$argHost" ]; then - echo "Connecting to server running on $argHost , port $argPort" - HOSTNAME=${argHost:-$HOSTNAME} - HOSTPORT=${argPort:-$HOSTPORT} -elif [ -r $FOAMX_CONFIG/ns.ref ]; then - echo "Warning: a server already seems to be running." - echo "(Detected server reference $FOAMX_CONFIG/ns.ref)" - echo "Do you want to kill this server ? (n)" - read answ - answ=${answ:-n} - if [ "$answ" = 'y' ]; then - killFoamX - runFoamXHB < /dev/null& - XHB_PID=$! - fi -else - killFoamX > /dev/null - runFoamXHB < /dev/null& - XHB_PID=$! -fi - - -##- Remove any invalid entries in finishedJobs -## (upset ProcessEditor) -#( -# cd $FOAM_JOB_DIR -# if [ "`ls finishedJobs`" ]; then -# for f in finishedJobs/* -# do -# isValid $f -# if [ $? -ne 0 ]; then -# echo "Removing invalid job file $f" -# rm -f $f -# fi -# done -# echo "" -# fi -#) - -if [ "$XHB_PID" ]; then - #- Wait for nsd to have started - while [ ! -f $FOAMX_CONFIG/ns.ref ] - do - sleep 1 - done - - #- Wait for runFoamXHB to have started - while [ ! -f $FOAMX_CONFIG/HostBrowserLog.xml ] - do - sleep 1 - done -fi - -#- For mico > 2.3.7 : force to use 1.0 -#orbArgs="-ORBDefaultInitRef corbaloc:iiop:1.0:$HOSTNAME:$HOSTPORT" -orbArgs="-ORBDefaultInitRef corbaloc:iiop:1.0:$HOSTNAME:$HOSTPORT -ORBInitialPort $HOSTPORT -ORBInitialHost $HOSTNAME" -#echo "Starting Java with ORB arguments : $orbArgs" - -# Set Language to English -oldLang=$LANG -export LANG=en_EN -echo "Setting LANG to $LANG" - -#------------------------------------------------------------------------------ -# Run FoamX via jar file. -jars='.' -for f in $FOAMX_PATH/lib/*.jar -do - echo "Using jar $f" - jars="${jars}:${f}" -done -java \ - -cp "$jars" \ - -DFoamX.SystemPath=$WM_PROJECT_DIR \ - -DFoamX.SystemConfigPath=$FOAMX_CONFIG \ - -DFoamX.UserConfigPath=$FOAMX_CONFIG \ - FoamX.App $orbArgs $args - -#------------------------------------------------------------------------------ - -# Reset Language to original -export LANG=$oldLang diff --git a/bin/foamCheckJobs b/bin/foamCheckJobs index 8aca63233f..807e624f05 100755 --- a/bin/foamCheckJobs +++ b/bin/foamCheckJobs @@ -156,8 +156,7 @@ information on the machine the process ran on and release the lock if the program is no longer running. Requirements: the environment variable FOAM_JOB_DIR needs to point to the -license directory and all machines have to be reachable using rsh/ssh. -(as set in \$FOAMX_CONFIG/FoamX.cfg) +license directory and all machines have to be reachable using ssh. The output from checking all running jobs is collected in an optional file. @@ -205,12 +204,7 @@ else fi #- obtain rsh method -RSH='rsh' -if [ -f $FOAMX_CONFIG/FoamX.cfg ]; then - if grep 'remoteShell' $FOAMX_CONFIG/FoamX.cfg >/dev/null; then - RSH=`getEntry $FOAMX_CONFIG/FoamX.cfg remoteShell` - fi -fi +RSH='ssh' echo "Using remote shell type : $RSH" echo "" diff --git a/bin/foamInstallationTest b/bin/foamInstallationTest index bfcf841eac..49329c11ca 100755 --- a/bin/foamInstallationTest +++ b/bin/foamInstallationTest @@ -27,7 +27,7 @@ # foamInstallationTest # # Description -# Checks the machine system, the installation of FOAM, and the user's +# Checks the machine system, the installation of FOAM, and the user's # personal configuration for running FOAM. # #------------------------------------------------------------------------------ @@ -158,7 +158,7 @@ reportEnv () { else echo "`fixlen "$1" 21` --------- env variable not set --------- $3" fi - + ERROR="false" if [ "$EXISTS" = "no" ] || [ "$ON_PATH" = "no" ]; then ERROR="true" @@ -168,7 +168,7 @@ reportEnv () { echo "WARNING: CRITICAL ERROR" echo fi - + } findExec() { @@ -184,7 +184,7 @@ findExec() { return 0 fi ;; - *) + *) if [ ! -d "$d/$2" -a -x "$d/$2" ]; then IFS=$OLD_IFS echo "$d/$2" @@ -205,9 +205,9 @@ reportExecutable () { echo "`fixlen "$1" 9`" "*** not installed ***" VERSION="" case $1 in - icoFoam) echo " CRITICAL ERROR" + icoFoam) echo " CRITICAL ERROR" CRITICALERROR=`expr $CRITICALERROR + 1` ;; - gcc) echo " CRITICAL ERROR" + gcc) echo " CRITICAL ERROR" CRITICALERROR=`expr $CRITICALERROR + 1`;; gtar) ;; gzip) ;; @@ -238,9 +238,9 @@ reportExecutable () { echo " foam settings: $APP_SPEC" echo " current path : $APP_PATH" case $1 in - icoFoam) echo " CRITICAL ERROR" + icoFoam) echo " CRITICAL ERROR" CRITICALERROR=`expr $CRITICALERROR + 1` ;; - gcc) echo " CRITICAL ERROR" + gcc) echo " CRITICAL ERROR" CRITICALERROR=`expr $CRITICALERROR + 1`;; gtar) ;; gzip) ;; @@ -316,7 +316,7 @@ case $OS in elif [ "`echo $PINGTEST | grep "unknown host"`" != "" ] ; then RESULT="No_entry_for_\"$1\"_in_/etc/hosts" else - RESULT="Networking_cannot_reach_$1" + RESULT="Networking_cannot_reach_$1" fi ;; *) @@ -326,7 +326,7 @@ case $OS in elif [ "`echo $PINGTEST | grep "unknown host"`" != "" ] ; then RESULT="No_entry_for_\"$1\"_in_/etc/hosts" else - RESULT="Networking_cannot_reach_$1" + RESULT="Networking_cannot_reach_$1" fi ;; esac @@ -349,7 +349,7 @@ EOF } checkTelnetPort () { -if [ -x "/usr/bin/telnet" ] || [ -x "/bin/telnet" ] ; then +if [ -x "/usr/bin/telnet" ] || [ -x "/bin/telnet" ] ; then RESULT=`telnetPortTest $1 $2 2>&1 | egrep "onnect.* [t|r]"` if [ "`echo $RESULT | grep 'Connected to'`" ] ; then RESULT='Successful' @@ -404,11 +404,11 @@ if [ `length $USER_NAME` -eq 0 ] ; then fi # case $USER_SHELL in - csh | tcsh) + csh | tcsh) USER_CONFIG_TYPE="cshrc" echo "`fixlen "Shell:" $WIDTH` ${USER_SHELL}" ;; - bash | ksh) + bash | ksh) USER_CONFIG_TYPE="bashrc" echo "`fixlen "Shell:" $WIDTH` ${USER_SHELL}" ;; @@ -445,7 +445,7 @@ fi # if [ `length $USER_NAME` -eq 0 ]; then echo "`fixlen "User:" $WIDTH` ${USER_NAME}" - echo "FATAL ERROR: Cannot stat user name ${USER_NAME}." + echo "FATAL ERROR: Cannot stat user name ${USER_NAME}." echo "" echo " Contact your system administrator, " echo " Foam${FOAM_VERSION} needs a valid " @@ -529,7 +529,6 @@ echo "" reportEnv '$FOAM_USER_APPBIN' '$PATH' "no" reportEnv '$FOAM_APPBIN' '$PATH' "yes" reportEnv '$WM_DIR' '$PATH' "yes" -reportEnv '$FOAMX_PATH' '$PATH' "yes" reportEnv '$CEI_HOME' '$PATH' "no" echo "" reportEnv '$JAVA_PATH' '$PATH' "no" @@ -562,7 +561,7 @@ reportExecutable gzip if [ "$OS" = "Linux" ] ; then reportExecutable tar else - reportExecutable gtar + reportExecutable gtar fi reportExecutable icoFoam "${FOAM_APPBIN}/icoFoam" hline #-------------------- @@ -606,12 +605,12 @@ hline #-------------------- echo "" if [ $FATALERROR -gt 0 ] ; then echo "The system test has evoked $FATALERROR fatal error(s)." -else +else echo "Base configuration ok." fi echo "" if [ $CRITICALERROR -gt 0 ]; then - echo "The foam installation contains $CRITICALERROR critical error(s)." + echo "The foam installation contains $CRITICALERROR critical error(s)." else echo "Critical systems ok." fi diff --git a/bin/foamSystemCheck b/bin/foamSystemCheck index b2f4aef209..21eb19f3fd 100755 --- a/bin/foamSystemCheck +++ b/bin/foamSystemCheck @@ -27,7 +27,7 @@ # foamSystemCheck # # Description -# Checks the machine system and the user's +# Checks the machine system and the user's # personal configuration for running FOAM. # #------------------------------------------------------------------------------ @@ -101,7 +101,7 @@ checkSsh pingTest () { case $OS in - SunOS) + SunOS) if [ -x '/usr/sbin/ping' ] ; then PINGTEST=`/usr/sbin/ping $1 2>&1` if [ -n "`echo $PINGTEST | grep 'alive'`" ] ; then @@ -109,13 +109,13 @@ case $OS in elif [ -n "`echo $PINGTEST | grep 'unknown host'`" ] ; then RESULT="Unknown_host" else - RESULT="Networking_not_set" + RESULT="Networking_not_set" fi else RESULT="Ping_not_installed_in_usual_path" fi ;; - *) + *) if [ -x '/bin/ping' ] ; then PINGTEST=`/bin/ping -w 3 -c 1 $1 2>&1` if [ -n "`echo $PINGTEST | grep '1 received'`" ] ; then @@ -145,19 +145,19 @@ EOF } checkTelnetPort () { -if [ -x "/usr/bin/telnet" ] || [ -x "/bin/telnet" ] ; then - RESULT=`telnetPortTest $1 $2 2>&1 | egrep "onnect.* [t|r]"` - if [ "`echo $RESULT | grep 'Connected to'`" ] ; then - RESULT='Successful' +if [ -x "/usr/bin/telnet" ] || [ -x "/bin/telnet" ] ; then + RESULT=`telnetPortTest $1 $2 2>&1 | egrep "onnect.* [t|r]"` + if [ "`echo $RESULT | grep 'Connected to'`" ] ; then + RESULT='Successful' elif [ "`echo $RESULT | grep 'Connection refused'`" ] ; - then - RESULT='Unsuccessful, connection refused*' - else - RESULT="Not active*" - fi -else - RESULT='No_telnet_running:_cannot_check*' -fi + then + RESULT='Unsuccessful, connection refused*' + else + RESULT="Not active*" + fi +else + RESULT='No_telnet_running:_cannot_check*' +fi } checkRsh () { @@ -234,7 +234,7 @@ fi # if [ `length $USER_NAME` -eq 0 ]; then echo "`fixlen "User:" $WIDTH` ${USER_NAME}" - echo "FATALERROR: Cannot stat user name ${USER_NAME}." + echo "FATALERROR: Cannot stat user name ${USER_NAME}." echo " Foam${FOAM_VERSION} needs a valid user name." echo " Contact your system administrator. " echo "" @@ -244,20 +244,6 @@ else fi # -heading "Checking networking..." -checkNetworking -if [ $SSHRSHOK -eq 1 ]; then - echo "(*) Only one of rsh or ssh is required and only by FoamX." -elif [ $SSHRSHOK -gt 1 ]; then - echo "FATALERROR: No remote shell available." - echo " FoamX requires passwordless " - echo " 'ssh' and/or 'rsh' to the current host." - echo " Contact your system administrator if you intend " - echo " to run FoamX." - echo - FATALERROR=`expr $FATALERROR + 1` -fi - echo "" echo "" if [ $FATALERROR -gt 0 ]; then diff --git a/bin/killFoamX b/bin/killFoamX deleted file mode 100755 index 5363e0e0d0..0000000000 --- a/bin/killFoamX +++ /dev/null @@ -1,161 +0,0 @@ -#!/bin/sh -#------------------------------------------------------------------------------ -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. -# \\/ M anipulation | -#------------------------------------------------------------------------------ -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# Script -# killFoamX -# -# Description -# Kill script for the FoamX client/server -# -#------------------------------------------------------------------------------ -Script=${0##*/} - - -#- Set some system specifics -case `uname -s` in - HP-UX*) - UNIX95=a; export UNIX95 - ;; - IRIX*) - _XPG=1; export _XPG - ;; -esac -COLUMNS=200 -export COLUMNS - -usage() { - while [ "$#" -ge 1 ]; do echo "$1"; shift; done - cat</dev/null || usage "directory does not exist: '$caseDir'" - ;; - *) - usage "unknown option/argument: '$*'" - ;; - esac -fi - - -# Install handler for interrupts -XHB_PID='' -trap cleanup 0 2 3 15 - - -#- Use STARTUP flag to determine whether or not to run runFoamXHB -pid=`getPID 'runPatchToolServer'` -echo "runPatchToolServer : pid:$pid" - -if [ "$pid" ]; then - echo "Using running runPatchToolServer (pid $pid) ..." -else - $ScriptDir/runPatchToolServer < /dev/null& - XHB_PID=$! -fi - - -#- For mico > 2.3.7 : force to use 1.0 -orbArgs="-ORBDefaultInitRef corbaloc:iiop:1.0:$HOSTNAME:$HOSTPORT" - -#------------------------------------------------------------------------------ -# Run PatchTool via jar file. -PATCHTOOL_PATH=$FOAM_UTILITIES/mesh/manipulation/patchTool -jars='.' -for f in $PATCHTOOL_PATH/lib/*.jar -do - echo "Using jar $f" - jars="${jars}:${f}" -done -set -x -$jdkhome/bin/java \ - -cp "$jars" \ - -DFoamX.SystemPath=$WM_PROJECT_DIR \ - -DFoamX.SystemConfigPath=$FOAMX_CONFIG \ - -DFoamX.UserConfigPath=$FOAMX_CONFIG \ - -DFoamX.PatchToolPath=$PATCHTOOL_PATH \ - PatchTool/PatchTool $orbArgs $args - -#------------------------------------------------------------------------------ diff --git a/bin/runFoamXHB b/bin/runFoamXHB deleted file mode 100755 index 14faf43a79..0000000000 --- a/bin/runFoamXHB +++ /dev/null @@ -1,149 +0,0 @@ -#!/bin/sh -#------------------------------------------------------------------------------ -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. -# \\/ M anipulation | -#------------------------------------------------------------------------------ -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# Script -# runFoamXHB -# -# Description -# Loader for FoamX host browser. -# -#------------------------------------------------------------------------------ - -#- Set some system specifics -case `uname -s` in - HP-UX*) - UNIX95=a; export UNIX95 - ;; - IRIX*) - _XPG=1; export _XPG - ;; -esac -COLUMNS=200 -export COLUMNS - - -# getValue file var -# Prints value of 'var=value' in file. -getValue() { - val=`grep "^[ \t]*$2[ \t]*=" $1 | sed -e "s/^[ \t]*$2[ \t]*=//" | head -1` - if [ -z "$val" ]; then - return 1 - fi - echo "$val" - return 0 -} - -# getPID processName -# Prints pid of named process (looks at users processes only) -getPID() { - ps -u $LOGNAME -o 'pid,args' | fgrep " $1" | fgrep -v fgrep | head -1 | awk '{ print $1 }' -} - -# cleanup -# removes all excess processes and files. Used in signal handler -cleanup() { - echo "runFoamXHB : cleanup" - - #- reset traps - trap 0 2 3 15 - - NAMESERV_THREADS=`ps -u $LOGNAME -o 'pid,args' | fgrep " nsd" | fgrep "$myIOP" | fgrep -v fgrep | head -1 | awk '{ print $1 }'` - # Kill the MICO nameserver if it is running - if [ "$NAMESERV_THREADS" ]; then - echo "`basename $0`: Killing name server nsd(pid $NAMESERV_THREADS)." - kill -9 $NAMESERV_THREADS - else - echo "`basename $0`: Name server is not running." - fi - - #- Clean up files - rm -f $FOAMX_CONFIG/HostBrowserLog.xml - - #- nsd should already be done by nsd subshell but just to make sure. - rm -f $FOAMX_CONFIG/ns.ref -} - -#------------------------- -# -# Main. -# -#------------------------- - -# Make sure that the FoamX configuration directory is available. -if [ ! -d "$FOAMX_CONFIG" ] ; then - echo "Can't find FoamX configuration directory at $FOAMX_CONFIG." - exit 1 -fi - -# Make sure that the FoamX client configuration file is available. -if [ ! -r "$FOAMX_CONFIG/FoamXClient.cfg" ] ; then - echo "Can't find FoamX FoamXClient.cfg file in $FOAMX_CONFIG." - exit 1 -fi - -# Get host and port from FoamX client client configuration file. -HOSTNAME=`getValue "$FOAMX_CONFIG/FoamXClient.cfg" 'org.omg.CORBA.ORBInitialHost'` -if [ $? -ne 0 ]; then - HOSTNAME=`uname -n` -fi -HOSTPORT=`getValue "$FOAMX_CONFIG/FoamXClient.cfg" 'org.omg.CORBA.ORBInitialPort'` -if [ $? -ne 0 ]; then - HOSTPORT=1234 -fi - -if [ "$HOSTNAME" = 'localhost' ]; then - echo 'Your hostname is set to localhost. This tends to give problems in FoamX.' - echo 'Either change your hostname or specify a fully resolved ip address in' - echo 'the ORBInitialHost setting in the $FOAMX_CONFIG/FoamXClient.cfg' - exit 1 -fi - -myIOP="inet:$HOSTNAME:$HOSTPORT" - -#- Cleanup processes started by me -trap cleanup 0 2 3 15 - -rm -f $FOAMX_CONFIG/ns.ref -echo "Starting NameServer with $myIOP ..." -nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref /dev/null || usage "directory does not exist: '$caseDir'" - ;; - *) - usage "unknown option/argument: '$*'" - ;; - esac -fi - -#- Cleanup processes started by me -NSD_PID='' -trap cleanup 0 2 3 15 - -if [ -r $FOAMX_CONFIG/ns2.ref ]; then - echo "Using server reference $FOAMX_CONFIG/ns2.ref" -else - echo "Starting NameServer (nsd) with $myIOP ..." - - nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns2.ref " - exit 1 -fi - -FILE=$FOAMX_CONFIG/entries/arguments/$1.cfg -if [ -e $FILE ] ; then - echo "File $FILE already exists" - exit 1 -fi - -echo "Creating file $FILE" -writeFile $1 > $FILE diff --git a/etc/apps/FoamX/createFlagWithArgument b/etc/apps/FoamX/createFlagWithArgument deleted file mode 100644 index af4c8d1441..0000000000 --- a/etc/apps/FoamX/createFlagWithArgument +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh -#------------------------------------------------------------------------------ -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 1991-2005 OpenCFD Ltd. -# \\/ M anipulation | -#------------------------------------------------------------------------------ -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM; if not, write to the Free Software Foundation, -# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# Script -# createFlagWithArgument -# -# Description -# Creates a FoamX configuration file for a command line flag with argument, -# e.g. -scale 0.1, in the $FOAMX_CONFIG/entries/arguments directory. -# The argument entry must be edited, e.g. to specify the type. -#------------------------------------------------------------------------------ - -writeFile () { -cat < " - exit 1 -fi - -FILE=$FOAMX_CONFIG/entries/arguments/$1.cfg -if [ -e $FILE ] ; then - echo "File $FILE exists" - exit 1 -fi - -echo "Creating file $FILE" -writeFile $1 $2 > $FILE - -echo "YOU MUST EDIT SOME ENTRIES (****) IN FILE:" -echo " $FILE" diff --git a/etc/apps/FoamX/defaults/constant/thermophysicalPropertiesCombustion b/etc/apps/FoamX/defaults/constant/thermophysicalPropertiesCombustion deleted file mode 100644 index 8fd0ad1794..0000000000 --- a/etc/apps/FoamX/defaults/constant/thermophysicalPropertiesCombustion +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object thermophysicalProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -thermoType hhuMixtureThermo>>>>; - -stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.675; - -fuel fuel 1 44.0962 200 5000 1000 7.53414 0.0188722 -6.27185e-06 9.14756e-10 -4.78381e-14 -16467.5 -17.8923 0.933554 0.0264246 6.10597e-06 -2.19775e-08 9.51493e-12 -13958.5 19.2017 1.67212e-06 170.672; - -oxidant oxidant 1 28.8504 200 6000 1000 3.10205 0.00123963 -4.17512e-07 6.60292e-11 -3.87448e-15 -985.517 5.35187 3.58378 -0.0007269 1.66985e-06 -1.08452e-10 -4.31951e-13 -1050.53 3.11223 1.67212e-06 170.672; - -reactants reactants 24.8095 29.4649 200 5000 1000 3.28069 0.00195035 -6.53483e-07 1.00239e-10 -5.64653e-15 -1609.55 4.41496 3.47696 0.000367499 1.84866e-06 -9.8993e-10 -3.10214e-14 -1570.81 3.76075 1.67212e-06 170.672; - -products products 1 28.3233 200 5000 1000 3.106 0.00179682 -5.94382e-07 9.04998e-11 -5.08033e-15 -11003.7 5.11872 3.49612 0.000650364 -2.08029e-07 1.2291e-09 -7.73697e-13 -11080.3 3.18978 1.67212e-06 170.672; - -burntProducts burntProducts 25.8095 28.3233 200 6000 1000 3.106 0.00179682 -5.94382e-07 9.04998e-11 -5.08033e-15 -11003.7 5.11872 3.49612 0.000650364 -2.08029e-07 1.2291e-09 -7.73697e-13 -11080.3 3.18978 1.67212e-06 170.672; - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/defaults/constant/thermophysicalPropertiesMixture b/etc/apps/FoamX/defaults/constant/thermophysicalPropertiesMixture deleted file mode 100644 index 7dc3303f37..0000000000 --- a/etc/apps/FoamX/defaults/constant/thermophysicalPropertiesMixture +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ".OpenFOAM-1.2/apps/FoamX"; - case "defaults"; - instance "constant"; - local ""; - - class dictionary; - object thermophysicalProperties; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -// Thermophysical model -thermoType hThermo>>>>; - -mixture air 1 28.9 1007 0 1.84e-05 0.7; - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/defaults/system/controlDict b/etc/apps/FoamX/defaults/system/controlDict deleted file mode 100644 index 58ed480f87..0000000000 --- a/etc/apps/FoamX/defaults/system/controlDict +++ /dev/null @@ -1,56 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ".OpenFOAM-1.2/apps/FoamX"; - case "defaults"; - instance "system"; - local ""; - - class dictionary; - object controlDict; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -startFrom startTime; - -startTime 0; - -stopAt endTime; - -endTime 0; - -deltaT 0; - -writeControl timeStep; - -writeInterval 1; - -purgeWrite 0; - -writeFormat ascii; - -writePrecision 6; - -writeCompression uncompressed; - -timeFormat general; - -timePrecision 6; - -graphFormat raw; - -runTimeModifiable yes; - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/defaults/system/controlDictAdjustTimeStep b/etc/apps/FoamX/defaults/system/controlDictAdjustTimeStep deleted file mode 100644 index b191bac447..0000000000 --- a/etc/apps/FoamX/defaults/system/controlDictAdjustTimeStep +++ /dev/null @@ -1,62 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ".OpenFOAM-1.2/apps/FoamX"; - case "defaults"; - instance "system"; - local ""; - - class dictionary; - object controlDict; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -startFrom startTime; - -startTime 0; - -stopAt endTime; - -endTime 0; - -deltaT 0; - -writeControl timeStep; - -writeInterval 1; - -purgeWrite 0; - -writeFormat ascii; - -writePrecision 6; - -writeCompression uncompressed; - -timeFormat general; - -timePrecision 6; - -graphFormat raw; - -runTimeModifiable yes; - -adjustTimeStep no; - -maxCo 0.5; - -maxDeltaT 0; - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/defaults/system/controlDictSteady b/etc/apps/FoamX/defaults/system/controlDictSteady deleted file mode 100644 index e752534fe8..0000000000 --- a/etc/apps/FoamX/defaults/system/controlDictSteady +++ /dev/null @@ -1,56 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FoamFile -{ - version 2.0; - format ascii; - - root ".OpenFOAM-1.2/apps/FoamX"; - case "defaults"; - instance "system"; - local ""; - - class dictionary; - object controlDict; -} - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -startFrom startTime; - -startTime 0; - -stopAt endTime; - -endTime 0; - -deltaT 1; - -writeControl timeStep; - -writeInterval 1; - -purgeWrite 0; - -writeFormat ascii; - -writePrecision 6; - -writeCompression uncompressed; - -timeFormat general; - -timePrecision 6; - -graphFormat raw; - -runTimeModifiable yes; - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DebugSwitches.cfg b/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DebugSwitches.cfg deleted file mode 100644 index 9ee3fc2693..0000000000 --- a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DebugSwitches.cfg +++ /dev/null @@ -1,668 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DebugSwitches -{ - type dictionary; - - entries - { - aC11H10 debugSwitch; - addCell debugSwitch; - addFace debugSwitch; - addPoint debugSwitch; - algebraicPair debugSwitch; - amgCoupledInterface debugSwitch; - amgInterfaceField debugSwitch; - anisotropic debugSwitch; - APIdiffCoefFunc debugSwitch; - Ar debugSwitch; - areaScalarField debugSwitch; - areaTensorField debugSwitch; - areaVectorField debugSwitch; - atomizationModel debugSwitch; - attachDetach debugSwitch; - backward debugSwitch; - basePatch debugSwitch; - basicMesh debugSwitch; - basicMixture debugSwitch; - basicThermo debugSwitch; - bC11H10 debugSwitch; - BDCG debugSwitch; - BICCG debugSwitch; - BirdCarreau debugSwitch; - blended debugSwitch; - blobsSheetAtomization debugSwitch; - blobsSwirlInjector debugSwitch; - booleanSurface debugSwitch; - boundaryCutter debugSwitch; - boundaryMesh debugSwitch; - boundaryToFace debugSwitch; - bounded debugSwitch; - boundedBackward debugSwitch; - boxToCell debugSwitch; - boxToFace debugSwitch; - boxToPoint debugSwitch; - breakupModel debugSwitch; - C10H22 debugSwitch; - C12H26 debugSwitch; - C13H28 debugSwitch; - C14H30 debugSwitch; - C16H34 debugSwitch; - C2H5OH debugSwitch; - C2H6 debugSwitch; - C2H6O debugSwitch; - C3H6O debugSwitch; - C3H8 debugSwitch; - C4H10O debugSwitch; - C6H14 debugSwitch; - C6H6 debugSwitch; - C7H16 debugSwitch; - C7H8 debugSwitch; - C8H10 debugSwitch; - C8H18 debugSwitch; - C9H20 debugSwitch; - calculated debugSwitch; - CallbackRegistry debugSwitch; - Cartesian debugSwitch; - cell debugSwitch; - cellClassification debugSwitch; - cellCuts debugSwitch; - cellDistFuncs debugSwitch; - cellLimited debugSwitch; - cellList debugSwitch; - cellLooper debugSwitch; - cellMDLimited debugSwitch; - cellModeller debugSwitch; - cellPoint debugSwitch; - cellPointFace debugSwitch; - cellSet debugSwitch; - cellToCell debugSwitch; - cellToFace debugSwitch; - cellToPoint debugSwitch; - cellZone debugSwitch; - CH3OH debugSwitch; - chemistryReader debugSwitch; - chemkinReader debugSwitch; - ChomiakInjector debugSwitch; - clippedLinear debugSwitch; - Cloud debugSwitch; - CoEuler debugSwitch; - CoGamma2 debugSwitch; - collisionModel debugSwitch; - commonRailInjector debugSwitch; - commSchedule debugSwitch; - componentMixed debugSwitch; - compound debugSwitch; - const debugSwitch; - constant debugSwitch; - constInjector debugSwitch; - coordinateSystem debugSwitch; - corrected debugSwitch; - coupled debugSwitch; - CrankNicholson debugSwitch; - CrossPowerLaw debugSwitch; - cubeRootVol debugSwitch; - cubic debugSwitch; - cubicCorrection debugSwitch; - cyclic debugSwitch; - cyclicLduCoupledInterface debugSwitch; - cyclicLduInterface debugSwitch; - cyclicLduInterfaceField debugSwitch; - cylindrical debugSwitch; - database debugSwitch; - dataSchedule debugSwitch; - DCG debugSwitch; - DeardorffDiffStress debugSwitch; - default debugSwitch; - definedHollowConeInjector debugSwitch; - definedInjector debugSwitch; - definedPressureSwirlInjector debugSwitch; - deformationEnergy debugSwitch; - diagonal debugSwitch; - diagonalSolver debugSwitch; - diagTensorField debugSwitch; - DIC debugSwitch; - DICGaussSeidel debugSwitch; - dictionary debugSwitch; - DILU debugSwitch; - dimensionedTypes debugSwitch; - dimensionSet debugSwitch; - directCombineFaces debugSwitch; - directDuplicatePoints debugSwitch; - directHexRef8 debugSwitch; - directionMixed debugSwitch; - directMappedPatch debugSwitch; - directMeshCutAndRemove debugSwitch; - directPolyTopoChange debugSwitch; - directRemoveCells debugSwitch; - directRemoveFaces debugSwitch; - directRemovePoints debugSwitch; - disallowDefaultFvPatchField debugSwitch; - dispersionLESModel debugSwitch; - dispersionModel debugSwitch; - dispersionRASModel debugSwitch; - distortionEnergy debugSwitch; - downwind debugSwitch; - dragModel debugSwitch; - dynMixedSmagorinsky debugSwitch; - dynOneEqEddy debugSwitch; - dynSmagorinsky debugSwitch; - edgeInterpolation debugSwitch; - edgeIntersections debugSwitch; - edgeList debugSwitch; - edgeScalarField debugSwitch; - edgeSurface debugSwitch; - edgeTensorField debugSwitch; - edgeVectorField debugSwitch; - elementScalarField debugSwitch; - elementTensorField debugSwitch; - elementVectorField debugSwitch; - empty debugSwitch; - engineMesh debugSwitch; - enrichedPatch debugSwitch; - entry debugSwitch; - ETAB debugSwitch; - Euler debugSwitch; - evaporationModel debugSwitch; - exponential debugSwitch; - extendedLeastSquares debugSwitch; - extendedLeastSquaresVectors debugSwitch; - fa debugSwitch; - faBoundaryMesh debugSwitch; - faceAreaPair debugSwitch; - FaceCellWave debugSwitch; - faceCoupleInfo debugSwitch; - faceLimited debugSwitch; - faceList debugSwitch; - faceMDLimited debugSwitch; - faceSet debugSwitch; - faceToCell debugSwitch; - faceToFace debugSwitch; - faceToPoint debugSwitch; - faceZone debugSwitch; - faMesh debugSwitch; - faPatchField debugSwitch; - faScalarMatrix debugSwitch; - faSchemes debugSwitch; - fastLduTriLookup debugSwitch; - faTensorMatrix debugSwitch; - faVectorMatrix debugSwitch; - FDIC debugSwitch; - featureEdgeMesh debugSwitch; - features debugSwitch; - fields debugSwitch; - fieldToCell debugSwitch; - file debugSwitch; - fileName debugSwitch; - finiteVolume debugSwitch; - fixedEnthalpy debugSwitch; - fixedFluxBuoyantPressure debugSwitch; - fixedFluxPressure debugSwitch; - fixedGradient debugSwitch; - fixedNormalSlip debugSwitch; - fixedUnburntEnthalpy debugSwitch; - fixedValue debugSwitch; - fixedValueOutflow debugSwitch; - fluxCorrectedVelocity debugSwitch; - foamChemistryReader debugSwitch; - FoamX debugSwitch; - FoamXError debugSwitch; - fourth debugSwitch; - freestream debugSwitch; - freestreamPressure debugSwitch; - fv debugSwitch; - fvMatrix debugSwitch; - fvMesh debugSwitch; - fvMeshDistribute debugSwitch; - fvMotionSolver debugSwitch; - fvPatchField debugSwitch; - fvScalarMatrix debugSwitch; - fvSchemes debugSwitch; - fvSolution debugSwitch; - fvSphericalTensorMatrix debugSwitch; - fvSymmTensorMatrix debugSwitch; - fvTensorMatrix debugSwitch; - fvVectorMatrix debugSwitch; - GAMG debugSwitch; - gamgAgglomeration debugSwitch; - gamgInterface debugSwitch; - gamgInterfaceField debugSwitch; - Gamma debugSwitch; - Gamma01 debugSwitch; - Gamma2 debugSwitch; - Gamma201 debugSwitch; - Gamma2Limit debugSwitch; - Gamma2V debugSwitch; - GammaLimit debugSwitch; - GammaV debugSwitch; - Gauss debugSwitch; - GaussSeidel debugSwitch; - general debugSwitch; - geomCellLooper debugSwitch; - geometricFields debugSwitch; - geometricSurfacePatch debugSwitch; - global debugSwitch; - globalMeshData debugSwitch; - globalPoints debugSwitch; - globalProcessor debugSwitch; - gnuplot debugSwitch; - gradientDispersionRAS debugSwitch; - gradientEnthalpy debugSwitch; - gradientUnburntEnthalpy debugSwitch; - Gulders debugSwitch; - GuldersEGR debugSwitch; - H2O debugSwitch; - harmonic debugSwitch; - hashTable debugSwitch; - HashTable debugSwitch; - hCombustionThermo debugSwitch; - heatTransferModel debugSwitch; - hexCellLooper debugSwitch; - hexRef8 debugSwitch; - hhuCombustionThermo debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hhuMixtureThermo>>>> debugSwitch; - hMixtureThermo>>>> debugSwitch; - hMixtureThermo>>>> debugSwitch; - hMixtureThermo>>>> debugSwitch; - hMixtureThermo>>>> debugSwitch; - hMixtureThermo>>>> debugSwitch; - hMixtureThermo>>>> debugSwitch; - hMixtureThermo debugSwitch; - hMixtureThermo>>>> debugSwitch; - hMixtureThermo>>>> debugSwitch; - hollowConeInjector debugSwitch; - hThermo>>>> debugSwitch; - hThermo>>>> debugSwitch; - hThermo>>>> debugSwitch; - IC8H18 debugSwitch; - ICCG debugSwitch; - IDEA debugSwitch; - IFstream debugSwitch; - indexedOctree debugSwitch; - indexedParticle debugSwitch; - injectorModel debugSwitch; - injectorType debugSwitch; - inletOutlet debugSwitch; - interpolations debugSwitch; - intersectedSurface debugSwitch; - inverseLinear debugSwitch; - IOobject debugSwitch; - IOptrList debugSwitch; - IOPtrList debugSwitch; - IOPtrList debugSwitch; - IOPtrList debugSwitch; - jplot debugSwitch; - kEpsilon debugSwitch; - kOmegaSST debugSwitch; - KRR4 debugSwitch; - labelField debugSwitch; - labelList debugSwitch; - labelListList debugSwitch; - labelToCell debugSwitch; - labelToFace debugSwitch; - labelToPoint debugSwitch; - LamBremhorstKE debugSwitch; - laminar debugSwitch; - laminarFlameSpeed debugSwitch; - laplace debugSwitch; - LaunderGibsonRSTM debugSwitch; - LaunderSharmaKE debugSwitch; - layerAdditionRemoval debugSwitch; - layered debugSwitch; - lduCoupledInterface debugSwitch; - lduInterface debugSwitch; - lduInterfaceField debugSwitch; - lduMatrix debugSwitch; - lduMesh debugSwitch; - leastSquares debugSwitch; - leastSquaresVectors debugSwitch; - LESdelta debugSwitch; - LESfilter debugSwitch; - LESmodel debugSwitch; - level debugSwitch; - licence debugSwitch; - LienCubicKE debugSwitch; - LienCubicKELowRe debugSwitch; - LienLeschzinerLowRe debugSwitch; - limited debugSwitch; - limitedCubic debugSwitch; - limitedCubic01 debugSwitch; - limitedCubicV debugSwitch; - limitedGamma debugSwitch; - limitedLimitedCubic debugSwitch; - limitedLimitedLinear debugSwitch; - limitedLinear debugSwitch; - limitedLinear01 debugSwitch; - limitedLinearV debugSwitch; - limitedMUSCL debugSwitch; - LimitedMUSCL debugSwitch; - limitedSuperBee debugSwitch; - limitedSurfaceInterpolationScheme debugSwitch; - limitedVanLeer debugSwitch; - linear debugSwitch; - linearUpwind debugSwitch; - linearUpwindV debugSwitch; - liquid debugSwitch; - LISA debugSwitch; - localBlended debugSwitch; - localMax debugSwitch; - localMin debugSwitch; - localPointRegion debugSwitch; - locDynOneEqEddy debugSwitch; - lowReOneEqEddy debugSwitch; - LRR debugSwitch; - LRRDiffStress debugSwitch; - MB debugSwitch; - mesh debugSwitch; - meshCutAndRemove debugSwitch; - meshCutter debugSwitch; - meshModifier debugSwitch; - meshMorphEngine debugSwitch; - meshSearch debugSwitch; - meshToMesh debugSwitch; - meshWave debugSwitch; - MeshWave debugSwitch; - midPoint debugSwitch; - minMod debugSwitch; - mixed debugSwitch; - mixedEnthalpy debugSwitch; - mixedSmagorinsky debugSwitch; - mixedUnburntEnthalpy debugSwitch; - modifyCell debugSwitch; - modifyFace debugSwitch; - modifyPoint debugSwitch; - motionDiff debugSwitch; - motionSmoother debugSwitch; - motionSolver debugSwitch; - movingWallVelocity debugSwitch; - multiDirRefinement debugSwitch; - multivariateSelection debugSwitch; - MUSCL debugSwitch; - MUSCL01 debugSwitch; - muSgsWallFunction debugSwitch; - N2 debugSwitch; - nbrToCell debugSwitch; - nearestToCell debugSwitch; - Newtonian debugSwitch; - noDragModel debugSwitch; - none debugSwitch; - NonlinearKEShih debugSwitch; - normal debugSwitch; - normalToFace debugSwitch; - NSRDSfunc0 debugSwitch; - NSRDSfunc1 debugSwitch; - NSRDSfunc14 debugSwitch; - NSRDSfunc2 debugSwitch; - NSRDSfunc3 debugSwitch; - NSRDSfunc4 debugSwitch; - NSRDSfunc5 debugSwitch; - NSRDSfunc6 debugSwitch; - NSRDSfunc7 debugSwitch; - nuSgsWallFunction debugSwitch; - nutStandardRoughWallFunction debugSwitch; - nutStandardWallFunction debugSwitch; - nutWallFunction debugSwitch; - objectRegistry debugSwitch; - octree debugSwitch; - octreeDataEdges debugSwitch; - octreeDataFace debugSwitch; - octreeDataFaceList debugSwitch; - octreeDataTriSurface debugSwitch; - ODESolver debugSwitch; - off debugSwitch; - OFstream debugSwitch; - oneEqEddy debugSwitch; - orientedSurface debugSwitch; - ORourke debugSwitch; - oscillatingFixedValue debugSwitch; - outletInlet debugSwitch; - outletStabilised debugSwitch; - PackedList debugSwitch; - pair debugSwitch; - parabolicCylindrical debugSwitch; - parallelInfo debugSwitch; - parcel debugSwitch; - ParSortableList debugSwitch; - partialSlip debugSwitch; - passiveParticle debugSwitch; - patch debugSwitch; - patchEnhanced debugSwitch; - patchFields debugSwitch; - patchToFace debugSwitch; - PatchToPatchInterpolation debugSwitch; - patchZones debugSwitch; - PBiCG debugSwitch; - PCG debugSwitch; - pdf debugSwitch; - perfectInterface debugSwitch; - Phi debugSwitch; - PointEdgeWave debugSwitch; - pointIndexHitList debugSwitch; - PointPatchField debugSwitch; - pointPatchInterpolation debugSwitch; - pointScalarField debugSwitch; - pointScalarField::DimensionedInternalField debugSwitch; - pointSet debugSwitch; - pointSphericalTensorField debugSwitch; - pointSphericalTensorField::DimensionedInternalField debugSwitch; - pointSymmTensorField debugSwitch; - pointSymmTensorField::DimensionedInternalField debugSwitch; - pointTensorField debugSwitch; - pointTensorField::DimensionedInternalField debugSwitch; - pointToCell debugSwitch; - pointToFace debugSwitch; - pointToPoint debugSwitch; - pointVectorField debugSwitch; - pointVectorField::DimensionedInternalField debugSwitch; - pointZone debugSwitch; - polyBoundaryMesh debugSwitch; - polyMesh debugSwitch; - polyMeshMorphEngine debugSwitch; - polyTopoChange debugSwitch; - polyTopoChanger debugSwitch; - Prandtl debugSwitch; - pressureDirectedInletOutletVelocity debugSwitch; - pressureDirectedInletVelocity debugSwitch; - pressureInletOutletVelocity debugSwitch; - pressureInletUniformVelocity debugSwitch; - pressureInletVelocity debugSwitch; - pressureSwirlInjector debugSwitch; - pressureTransmissive debugSwitch; - primitiveMesh debugSwitch; - PrimitivePatch debugSwitch; - probes debugSwitch; - processor debugSwitch; - processorLduCoupledInterface debugSwitch; - processorLduInterface debugSwitch; - processorLduInterfaceField debugSwitch; - pseudoSolid debugSwitch; - Pstream debugSwitch; - pureMixture>>> debugSwitch; - pureMixture>>> debugSwitch; - pureMixture>>> debugSwitch; - quadratic debugSwitch; - QUICK debugSwitch; - QZeta debugSwitch; - RanzMarshall debugSwitch; - raw debugSwitch; - reaction debugSwitch; - realizableKE debugSwitch; - refinementHistory debugSwitch; - refinementIterator debugSwitch; - reflect debugSwitch; - regionSplit debugSwitch; - regIOobject debugSwitch; - ReitzDiwakar debugSwitch; - ReitzKHRT debugSwitch; - remove debugSwitch; - removeCell debugSwitch; - removeCells debugSwitch; - removeFace debugSwitch; - removeFaces debugSwitch; - removePoint debugSwitch; - repatchPolyMesh debugSwitch; - reverseLinear debugSwitch; - rhoMUSCL debugSwitch; - RK debugSwitch; - RNGkEpsilon debugSwitch; - RosinRammler debugSwitch; - rotatedBoxToCell debugSwitch; - rotatingPressureInletOutletVelocity debugSwitch; - rotatingTotalPressure debugSwitch; - RutlandFlashBoil debugSwitch; - saturateEvaporationModel debugSwitch; - scalarField debugSwitch; - scaleSimilarity debugSwitch; - setUpdater debugSwitch; - SFCD debugSwitch; - SFCDV debugSwitch; - shapeList debugSwitch; - shapeToCell debugSwitch; - SHF debugSwitch; - SIBS debugSwitch; - simple debugSwitch; - skewCorrected debugSwitch; - skewCorrectionVectors debugSwitch; - skewLinear debugSwitch; - sliced debugSwitch; - slidingInterface debugSwitch; - slip debugSwitch; - Smagorinsky debugSwitch; - Smagorinsky2 debugSwitch; - smooth debugSwitch; - smoothSolver debugSwitch; - solution debugSwitch; - SpalartAllmaras debugSwitch; - spectEddyVisc debugSwitch; - spherical debugSwitch; - sphericalTensorField debugSwitch; - standardDragModel debugSwitch; - standardEvaporationModel debugSwitch; - static debugSwitch; - StaticHashTable debugSwitch; - steadyState debugSwitch; - stochasticDispersionRAS debugSwitch; - string debugSwitch; - SuperBee debugSwitch; - SuperBee01 debugSwitch; - supersonicFreestream debugSwitch; - surfaceFeatures debugSwitch; - surfaceInterpolation debugSwitch; - surfaceInterpolationScheme debugSwitch; - surfaceIntersection debugSwitch; - surfaceNormalFixedValue debugSwitch; - surfacePatch debugSwitch; - surfacePatchIOList debugSwitch; - surfaceScalarField debugSwitch; - surfaceScalarField::DimensionedInternalField debugSwitch; - surfaceSnap debugSwitch; - surfaceSphericalTensorField debugSwitch; - surfaceSphericalTensorField::DimensionedInternalField debugSwitch; - surfaceSymmTensorField debugSwitch; - surfaceSymmTensorField::DimensionedInternalField debugSwitch; - surfaceTensorField debugSwitch; - surfaceTensorField::DimensionedInternalField debugSwitch; - surfaceToCell debugSwitch; - surfaceToPoint debugSwitch; - surfaceVectorField debugSwitch; - surfaceVectorField::DimensionedInternalField debugSwitch; - swirlInjector debugSwitch; - symmetryPlane debugSwitch; - symmTensorField debugSwitch; - syringePressure debugSwitch; - TAB debugSwitch; - tensorField debugSwitch; - tetFemMatrix debugSwitch; - tetFemScalarMatrix debugSwitch; - tetFemTensorMatrix debugSwitch; - tetFemVectorMatrix debugSwitch; - tetPointScalarField debugSwitch; - tetPointTensorField debugSwitch; - tetPointVectorField debugSwitch; - tetPolyMesh debugSwitch; - tetPolyPatchFields debugSwitch; - thermo debugSwitch; - thermophysicalFunction debugSwitch; - time debugSwitch; - timer debugSwitch; - timeVaryingMappedFixedValue debugSwitch; - timeVaryingUniformFixedValue debugSwitch; - topoAction debugSwitch; - topoCellLooper debugSwitch; - topoSet debugSwitch; - topoSetSource debugSwitch; - toroidal debugSwitch; - totalPressure debugSwitch; - totalTemperature debugSwitch; - trajectory debugSwitch; - transform debugSwitch; - transportModel debugSwitch; - treeDataTriSurface debugSwitch; - treeLeaf debugSwitch; - treeNode debugSwitch; - triSurface debugSwitch; - turbulenceModel debugSwitch; - turbulentInlet debugSwitch; - UMIST debugSwitch; - uncorrected debugSwitch; - undoableMeshCutter debugSwitch; - uniform debugSwitch; - uniformFixedValue debugSwitch; - unitInjector debugSwitch; - unix debugSwitch; - Unix debugSwitch; - upwind debugSwitch; - value debugSwitch; - valueStored debugSwitch; - vanDriest debugSwitch; - vanLeer debugSwitch; - vanLeer01 debugSwitch; - vanLeerV debugSwitch; - vector debugSwitch; - vector2DField debugSwitch; - vectorField debugSwitch; - viscosityModel debugSwitch; - volPointInterpolation debugSwitch; - volScalarField debugSwitch; - volScalarField::DimensionedInternalField debugSwitch; - volSphericalTensorField debugSwitch; - volSphericalTensorField::DimensionedInternalField debugSwitch; - volSymmTensorField debugSwitch; - volSymmTensorField::DimensionedInternalField debugSwitch; - volTensorField debugSwitch; - volTensorField::DimensionedInternalField debugSwitch; - volVectorField debugSwitch; - volVectorField::DimensionedInternalField debugSwitch; - walkPatch debugSwitch; - wall debugSwitch; - wallBuoyantPressure debugSwitch; - wallHeatTransfer debugSwitch; - wallLayerCells debugSwitch; - wallModel debugSwitch; - waveTransmissive debugSwitch; - wedge debugSwitch; - weighted debugSwitch; - word debugSwitch; - writer debugSwitch; - xmgr debugSwitch; - zeroGradient debugSwitch; - zoneToCell debugSwitch; - zoneToFace debugSwitch; - zoneToPoint debugSwitch; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DimensionedConstants.cfg b/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DimensionedConstants.cfg deleted file mode 100644 index 5ea33c30f2..0000000000 --- a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/DimensionedConstants.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DimensionedConstants -{ - type dictionary; - - entries - { - R - { - type scalar; - description "Universal gas constant"; - default 8314.51; - } - - Pstd - { - type scalar; - description "Standard pressure"; - default 1.0e5; - } - - Tstd - { - type scalar; - description "Standard temperature"; - default 298.15; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/InfoSwitches.cfg b/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/InfoSwitches.cfg deleted file mode 100644 index 5376884da8..0000000000 --- a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/InfoSwitches.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -InfoSwitches -{ - type dictionary; - - entries - { - writePrecision - { - type label; - description "Writes to the specified precision"; - } - - writeJobInfo - { - type label; - description "Write the job information files used by the process editor"; - } - - FoamXwriteComments - { - type label; - description "Write FoamX descriptions as comments above case dictionary entries"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/OptimisationSwitches.cfg b/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/OptimisationSwitches.cfg deleted file mode 100644 index 74b2e1fdf5..0000000000 --- a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/OptimisationSwitches.cfg +++ /dev/null @@ -1,41 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -OptimisationSwitches -{ - type dictionary; - - entries - { - fileModificationSkew - { - type label; - description "Time delay of automatic re-reading of case files to compensate for time difference between networked machines"; - } - - scheduledTransfer - { - type label; - description "Use data scheduling during processor-processor transfers rather than asynchronous buffered transfers"; - } - - floatTransfer - { - type label; - description "Convert doubles into floats for processor-processor field transfer to reduce bandwidth (transfers the mean value as a double and renormalises)"; - } - - nProcsSimpleSum - { - type label; - description "Number of processors at the global-sum method changes from flat to hierachical"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/controlDict.cfg b/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/controlDict.cfg deleted file mode 100644 index 566140f345..0000000000 --- a/etc/apps/FoamX/dictionaries/OpenFOAMControlDict/controlDict.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "OpenFOAM control dictionary"; -helpURL "controlDict.html"; -dictionaryPath "$FOAMX_CONFIG/../.."; - -entries -{ - hosts - { - type list; - elementType word; - } - - caseRoots - { - type list; - elementType string; - } - - include "DebugSwitches.cfg"; - include "InfoSwitches.cfg"; - include "OptimisationSwitches.cfg"; - include "DimensionedConstants.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs.cfg deleted file mode 100644 index 194cb35e21..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -GuldersCoeffs -{ - type dictionary; - description "Fuel specific Gulders flame speed model constants"; - entries - { - include "GuldersCoeffs/Methane.cfg"; - include "GuldersCoeffs/Propane.cfg"; - include "GuldersCoeffs/IsoOctane.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/GuldersCoeffsEntries.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/GuldersCoeffsEntries.cfg deleted file mode 100644 index d4f5d7a316..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/GuldersCoeffsEntries.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/dimensionedScalar/W.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/eta.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/xi.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/alpha.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/beta.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/f.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/IsoOctane.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/IsoOctane.cfg deleted file mode 100644 index c552a9c22e..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/IsoOctane.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -IsoOctane -{ - type dictionary; - description "Coefficients for isoOctane"; - - entries - { - include "GuldersCoeffsEntries.cfg"; - } - - include "defaults/IsoOctane.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Methane.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Methane.cfg deleted file mode 100644 index 956c224305..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Methane.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Methane -{ - type dictionary; - description "Coefficients for methane"; - - entries - { - include "GuldersCoeffsEntries.cfg"; - } - - include "defaults/Methane.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Propane.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Propane.cfg deleted file mode 100644 index 3c606864b2..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/Propane.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Propane -{ - type dictionary; - description "Coefficients for propane"; - - entries - { - include "GuldersCoeffsEntries.cfg"; - } - - include "defaults/Propane.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/IsoOctane.def b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/IsoOctane.def deleted file mode 100644 index 7715314792..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/IsoOctane.def +++ /dev/null @@ -1,9 +0,0 @@ -default -{ - W W [0 0 0 0 0 0 0] 0.4658; - eta eta [0 0 0 0 0 0 0] -0.326; - xi xi [0 0 0 0 0 0 0] 4.48; - alpha alpha [0 0 0 0 0 0 0] 1.56; - beta beta [0 0 0 0 0 0 0] -0.22; - f f [0 0 0 0 0 0 0] 2.3; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Methane.def b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Methane.def deleted file mode 100644 index f82111017c..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Methane.def +++ /dev/null @@ -1,9 +0,0 @@ -default -{ - W W [0 0 0 0 0 0 0] 0.422; - eta eta [0 0 0 0 0 0 0] 0.15; - xi xi [0 0 0 0 0 0 0] 5.18; - alpha alpha [0 0 0 0 0 0 0] 2.0; - beta beta [0 0 0 0 0 0 0] -0.5; - f f [0 0 0 0 0 0 0] 2.3; -}; diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Propane.def b/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Propane.def deleted file mode 100644 index 16863bf953..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/GuldersCoeffs/defaults/Propane.def +++ /dev/null @@ -1,9 +0,0 @@ -default -{ - W W [0 0 0 0 0 0 0] 0.446; - eta eta [0 0 0 0 0 0 0] 0.12; - xi xi [0 0 0 0 0 0 0] 4.95; - alpha alpha [0 0 0 0 0 0 0] 1.77; - beta beta [0 0 0 0 0 0 0] -0.2; - f f [0 0 0 0 0 0 0] 2.3; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs.cfg deleted file mode 100644 index 7bfd871761..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -MKCoeffs -{ - type dictionary; - description "MK Fuel specific model constants"; - entries - { - include "MKCoeffs/Propane.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/MKCoeffsEntries.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/MKCoeffsEntries.cfg deleted file mode 100644 index 6d033d0c0a..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/MKCoeffsEntries.cfg +++ /dev/null @@ -1,14 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/dimensionedScalar/Bm.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/B2.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/phim.cfg"; -include "$FOAMX_CONFIG/entries/dimensionedScalar/f.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/Propane.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/Propane.cfg deleted file mode 100644 index 4539563369..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/Propane.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Propane -{ - type dictionary; - description "Coefficients for propane"; - - entries - { - include "MKCoeffsEntries.cfg"; - } - - include "defaults/Propane.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/defaults/Propane.def b/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/defaults/Propane.def deleted file mode 100644 index 55062af395..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/MKCoeffs/defaults/Propane.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - Bm Bm [0 0 0 0 0 0 0] 0.3422; - B2 B2 [0 0 0 0 0 0 0] -1.3865; - phim phim [0 0 0 0 0 0 0] 1.08; - f f [0 0 0 0 0 0 0] 2.1; -} diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/StCorr.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/StCorr.cfg deleted file mode 100644 index df8d752978..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/StCorr.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ignitionSphereFraction -{ - type scalar; - description "For 3D the fraction of a sphere the ignition kernel assumes"; - iconURL "/FoamX/icons/small/maths/ignitionSphereFraction.gif"; - minValue 0; - maxValue 1; -} - -ignitionThickness -{ - type dimensionedScalar; - description "For 2D the ignition kernel thickness"; - iconURL "/FoamX/icons/small/maths/ignitionThickness.gif"; -} - - -ignitionCircleFraction -{ - type scalar; - description "For 2D the fraction of a circle the ignition kernel assumes"; - iconURL "/FoamX/icons/small/maths/ignitionCircleFraction.gif"; - minValue 0; - maxValue 1; -} - -ignitionKernelArea -{ - type dimensionedScalar; - description "For 1D the ignition kernel area"; - iconURL "/FoamX/icons/small/maths/ignitionKernelArea.gif"; -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/SuModel.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/SuModel.cfg deleted file mode 100644 index fbf774d72e..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/SuModel.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SuModel -{ - type model; - description "Strained laminar flame speed model"; - default unstrained; - valueList - ( - unstrained - equilibrium - transport - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/XiModel.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/XiModel.cfg deleted file mode 100644 index 970a4af592..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/XiModel.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -XiModel -{ - type model; - description "Flame wrinkling model"; - default transport; - valueList - ( - fixed - algebraic - transport - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/combustionProperties.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/combustionProperties.cfg deleted file mode 100644 index 1ce5d00cb2..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/combustionProperties.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of combustion properties"; -dictionaryPath "constant"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/fuel.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/fuel.cfg deleted file mode 100644 index 895cace61f..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/fuel.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fuel -{ - type model; - description "fuel"; - default Propane; - valueList - ( - Methane - Propane - IsoOctane - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/ignitionSite.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/ignitionSite.cfg deleted file mode 100644 index b8f4979987..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/ignitionSite.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ignitionSite -{ - type dictionary; - iconURL "/FoamX/icons/small/maths/ignitionSite.gif"; - entries - { - include "$FOAMX_CONFIG/entries/vector/location.cfg"; - - diameter - { - type scalar0Inf; - description "Ignition kernel diameter"; - } - - start - { - type scalar; - description "Start of ignition"; - } - - duration - { - type scalar0Inf; - description "Duration of ignition"; - } - - strength - { - type scalar; - description "Strength of ignition"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/ignitionSites.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/ignitionSites.cfg deleted file mode 100644 index 40f889e795..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/ignitionSites.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ignitionSites -{ - type list; - iconURL "/FoamX/icons/small/maths/ignition.gif"; - - types - { - include "ignitionSite.cfg"; - } - - elementType ignitionSite; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/combustionProperties/laminarFlameSpeedCorrelation.cfg b/etc/apps/FoamX/dictionaries/combustionProperties/laminarFlameSpeedCorrelation.cfg deleted file mode 100644 index c03000d261..0000000000 --- a/etc/apps/FoamX/dictionaries/combustionProperties/laminarFlameSpeedCorrelation.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laminarFlameSpeedCorrelation -{ - type model; - description "Laminar flame speed correlation model"; - default Gulders; - valueList - ( - const - Gulders - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/controlDict/adjustTimeStep.cfg b/etc/apps/FoamX/dictionaries/controlDict/adjustTimeStep.cfg deleted file mode 100644 index c2b258a328..0000000000 --- a/etc/apps/FoamX/dictionaries/controlDict/adjustTimeStep.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -adjustTimeStep -{ - type Switch; - description "Automatic adjustment of time step?"; - helpURL "controlDict.html"; - default yes; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/controlDict/controlDict.cfg b/etc/apps/FoamX/dictionaries/controlDict/controlDict.cfg deleted file mode 100644 index 3616383790..0000000000 --- a/etc/apps/FoamX/dictionaries/controlDict/controlDict.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -controlDict -{ - type dictionary; - description "Control dictionary"; - helpURL "controlDict.html"; - dictionaryPath "system"; - - entries - { - include "standardEntries.cfg"; - } - - default - { - include "../../defaults/system/controlDict"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/controlDict/controlDictAdjustTimeStep.cfg b/etc/apps/FoamX/dictionaries/controlDict/controlDictAdjustTimeStep.cfg deleted file mode 100644 index 4b6d036409..0000000000 --- a/etc/apps/FoamX/dictionaries/controlDict/controlDictAdjustTimeStep.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -controlDict -{ - type dictionary; - description "Control dictionary"; - helpURL "controlDict.html"; - dictionaryPath "system"; - - entries - { - include "standardEntries.cfg"; - include "adjustTimeStep.cfg"; - include "maxCo.cfg"; - include "maxDeltaT.cfg"; - } - - default - { - include "../../defaults/system/controlDictAdjustTimeStep"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/controlDict/controlDictSteady.cfg b/etc/apps/FoamX/dictionaries/controlDict/controlDictSteady.cfg deleted file mode 100644 index d2502121c5..0000000000 --- a/etc/apps/FoamX/dictionaries/controlDict/controlDictSteady.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -controlDict -{ - type dictionary; - description "Control dictionary"; - helpURL "controlDict.html"; - dictionaryPath "system"; - - entries - { - include "standardEntries.cfg"; - } - - default - { - include "../../defaults/system/controlDictSteady"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/controlDict/maxCo.cfg b/etc/apps/FoamX/dictionaries/controlDict/maxCo.cfg deleted file mode 100644 index 15750d832e..0000000000 --- a/etc/apps/FoamX/dictionaries/controlDict/maxCo.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -maxCo -{ - type scalar01; - description "maxCo"; - iconURL "/FoamX/icons/small/maths/maxCo.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/controlDict/maxDeltaT.cfg b/etc/apps/FoamX/dictionaries/controlDict/maxDeltaT.cfg deleted file mode 100644 index 533c2bffa6..0000000000 --- a/etc/apps/FoamX/dictionaries/controlDict/maxDeltaT.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -maxDeltaT -{ - type scalar; - description "maxDeltaT"; - iconURL "/FoamX/icons/small/maths/maxDeltaT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/controlDict/standardEntries.cfg b/etc/apps/FoamX/dictionaries/controlDict/standardEntries.cfg deleted file mode 100644 index 7f5b141a74..0000000000 --- a/etc/apps/FoamX/dictionaries/controlDict/standardEntries.cfg +++ /dev/null @@ -1,217 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -application -{ - type word; - description "Foam Application"; - helpURL "controlDict.html"; - iconURL "/FoamX/icons/small/maths/application.gif"; - optional 1; - editable 0; -} - -startFrom -{ - type word; - description "Start point of run"; - helpURL "controlDict.html"; - iconURL "/FoamX/icons/small/maths/startFrom.gif"; - default startTime; - valueList - ( - firstTime - startTime - latestTime - ); -} - -startTime -{ - type scalar; - description "Calculation start time"; - iconURL "/FoamX/icons/small/maths/startTime.gif"; - helpURL "controlDict.html"; - default 0.0; -} - -stopAt -{ - type word; - description "End point of run"; - iconURL "/FoamX/icons/small/maths/stopAt.gif"; - helpURL "controlDict.html"; - default endTime; - valueList - ( - endTime - writeNow - noWriteNow - nextWrite - ); -} - -endTime -{ - type scalar; - description "Calculation end time"; - iconURL "/FoamX/icons/small/maths/endTime.gif"; - helpURL "controlDict.html"; - default 0.0; -} - -deltaT -{ - type scalar0Inf; - description "Calculation time step"; - iconURL "/FoamX/icons/small/maths/deltaT.gif"; - helpURL "controlDict.html"; - default 0.0; -} - -writeControl -{ - type word; - description "Type of write output control"; - iconURL "/FoamX/icons/small/maths/writeControl.gif"; - helpURL "controlDict.html"; - default timeStep; - valueList - ( - timeStep - runTime - adjustableRunTime - cpuTime - clockTime - ); -} - -writeInterval -{ - type scalar0Inf; - description "Interval with which the results are output"; - iconURL "/FoamX/icons/small/maths/writeInterval.gif"; - helpURL "controlDict.html"; - default 1; -} - -purgeWrite -{ - type label; - description "Keep given number of output time, delete previous"; - iconURL "/FoamX/icons/small/maths/purgeWrite.gif"; - helpURL "controlDict.html"; - minValue 0; - maxValue 99; - default 0; - optional 1; -} - -writeFormat -{ - type word; - description "Write Format"; - iconURL "/FoamX/icons/small/maths/writeFormat.gif"; - helpURL "controlDict.html"; - default ascii; - valueList - ( - ascii - binary - ); -} - -writePrecision -{ - type label; - description "Significant figures of written ASCII data"; - iconURL "/FoamX/icons/small/maths/timePrecision.gif"; - helpURL "controlDict.html"; - optional 1; - minValue 0; - maxValue 99; - default 6; -} - -writeCompression -{ - type word; - description "Write Compression"; - iconURL "/FoamX/icons/small/maths/writeCompression.gif"; - helpURL "controlDict.html"; - optional 1; - default uncompressed; - valueList - ( - uncompressed - compressed - ); -} - -timeFormat -{ - type word; - description "Time directories name format"; - iconURL "/FoamX/icons/small/maths/timeFormat.gif"; - helpURL "controlDict.html"; - default general; - valueList - ( - general - fixed - scientific - ); -} - -timePrecision -{ - type label; - description "Decimal precision of time directory names"; - iconURL "/FoamX/icons/small/maths/timePrecision.gif"; - helpURL "controlDict.html"; - minValue 0; - maxValue 99; - default 6; -} - -graphFormat -{ - type word; - description "Output format for graphs"; - helpURL "controlDict.html"; - optional 1; - default raw; - valueList - ( - raw - gnuplot - xmgr - jplot - ); -} - -runTimeModifiable -{ - type Switch; - description "Can parameters be modified during run time?"; - helpURL "controlDict.html"; - default yes; -} - -functions -{ - type list; - optional 1; - types - { - include "$FOAMX_CONFIG/types/functionObjects/probe.cfg"; - } - elementType probe; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/diffusion.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/diffusion.cfg deleted file mode 100644 index e5c291e5ca..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/diffusion.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -diffusion -{ - type word; - description "Mesh motion diffusion"; - helpURL "controlDict.html"; - iconURL "/FoamX/icons/small/maths/diffusion.gif"; - default linear; - valueList - ( - linear - exponential - quadratic - nonOrthogonality - skewness - mixedQuality - patchEnhanced - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/distancePatches.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/distancePatches.cfg deleted file mode 100644 index 7bb456ab25..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/distancePatches.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -distancePatches -{ - type list; - description "list of patches from which non-uniform diffusion is calculated"; - elementType word; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/dynamicMeshDict.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/dynamicMeshDict.cfg deleted file mode 100644 index 883529e572..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/dynamicMeshDict.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dynamicMeshDict -{ - type dictionary; - description "Dictionary of motion properties"; - dictionaryPath "constant"; - - entries - { - include "$FOAMX_CONFIG/dictionaries/dynamicMeshDict/staticFvMesh.cfg"; - } -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/frozenDiffusion.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/frozenDiffusion.cfg deleted file mode 100644 index 18b8016b62..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/frozenDiffusion.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -frozenDiffusion -{ - type SwitchOnOff; - description "Calculates diffusion once at beginning of run"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default off; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/movingFvMesh.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/movingFvMesh.cfg deleted file mode 100644 index 00396d26d3..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/movingFvMesh.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -movingFvMesh -{ - type word; - description "Mesh motion options"; - helpURL "controlDict.html"; - iconURL "/FoamX/icons/small/maths/movingFvMesh.gif"; - default staticFvMesh; - valueList - ( - staticFvMesh - movingPinFvMesh - movingInkJetFvMesh - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/movingInkJetFvMeshCoeffs.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/movingInkJetFvMeshCoeffs.cfg deleted file mode 100644 index 7d016bb749..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/movingInkJetFvMeshCoeffs.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -movingInkJetFvMeshCoeffs -{ - type dictionary; - description "Coefficients for moving ink jet"; - visible 1; - entries - { - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/solver.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/solver.cfg deleted file mode 100644 index ffb1c17fc5..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/solver.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -solver -{ - type word; - description "Mesh motion solver"; - helpURL "controlDict.html"; - //iconURL "/FoamX/icons/small/maths/diffusion.gif"; - default laplace; - valueList - ( - displacementLaplacian - displacementComponentLaplacian - displacementSBRStress - velocityLaplacian - velocityComponentLaplacian - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/dynamicMeshDict/staticFvMesh.cfg b/etc/apps/FoamX/dictionaries/dynamicMeshDict/staticFvMesh.cfg deleted file mode 100644 index 7e53ac493b..0000000000 --- a/etc/apps/FoamX/dictionaries/dynamicMeshDict/staticFvMesh.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dynamicFvMesh -{ - type word; - description "No mesh motion"; - helpURL "controlDict.html"; - iconURL "/FoamX/icons/small/maths/movingFvMesh.gif"; - editable 0; - default staticFvMesh; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/environmentalProperties/environmentalPropertiesg.cfg b/etc/apps/FoamX/dictionaries/environmentalProperties/environmentalPropertiesg.cfg deleted file mode 100644 index e8cd2cf8b7..0000000000 --- a/etc/apps/FoamX/dictionaries/environmentalProperties/environmentalPropertiesg.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -environmentalProperties -{ - type dictionary; - description "Environmental properties"; - dictionaryPath "constant"; - - entries - { - include "$FOAMX_CONFIG/entries/dimensionedVector/g.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/allSchemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/allSchemes.cfg deleted file mode 100644 index 8707a76d24..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/allSchemes.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -d2dt2Schemes -{ - include "schemes.cfg"; - entries - { - default - { - type word; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/ddt.gif"; - default Euler; - valueList - ( - steadyState - Euler - ); - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/schemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/schemes.cfg deleted file mode 100644 index 0902b66598..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/d2dt2/schemes.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Second time derivative discretisation schemes"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/allSchemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/ddt/allSchemes.cfg deleted file mode 100644 index 5e4783aa7f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/allSchemes.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ddtSchemes -{ - include "schemes.cfg"; - entries - { - default - { - type word; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/ddt.gif"; - default Euler; - valueList - ( - steadyState - Euler - CrankNicholson - backward - ); - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/schemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/ddt/schemes.cfg deleted file mode 100644 index ec186882a5..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/schemes.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Time derivative discretisation schemes"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/steady.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/ddt/steady.cfg deleted file mode 100644 index b90ba6e31e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/steady.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ddtSchemes -{ - include "schemes.cfg"; - entries - { - default - { - type word; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/ddt.gif"; - default steadyState; - editable 0; - valueList - ( - steadyState - ); - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/transient.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/ddt/transient.cfg deleted file mode 100644 index d3b17b9395..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/ddt/transient.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ddtSchemes -{ - include "schemes.cfg"; - entries - { - default - { - type word; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/ddt.gif"; - default Euler; - valueList - ( - Euler - CrankNicholson - backward - ); - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/B.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/B.cfg deleted file mode 100644 index f77d75e103..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/B.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(B) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/R.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/R.cfg deleted file mode 100644 index f10d96158f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/R.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(R) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divR.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/Rca.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/Rca.cfg deleted file mode 100644 index 2097a4611d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/Rca.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(Rca) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divStar.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/Rcb.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/Rcb.cfg deleted file mode 100644 index 19ea4441b1..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/Rcb.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(Rcb) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divStar.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/SuGradb.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/SuGradb.cfg deleted file mode 100644 index 3ed0749aa4..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/SuGradb.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div((Su*grad(b))) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divSuGradb.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/U.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/U.cfg deleted file mode 100644 index e679c65507..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/U.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(U) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/USuXiGradb.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/USuXiGradb.cfg deleted file mode 100644 index b80b5f95a7..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/USuXiGradb.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div((U+((Su*Xi)*grad(b)))) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divStar.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/centered.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/centered.cfg deleted file mode 100644 index 84c056a10d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/centered.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - include "interpolation/centered.cfg"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/default.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/default.cfg deleted file mode 100644 index 799780b864..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/default.cfg +++ /dev/null @@ -1,37 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -default -{ - type selection; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/div.gif"; - entries - { - include "none.cfg"; - - Gauss - { - type selection; - entries - { - include "interpolation/default.cfg"; - outletStabilised - { - type selection; - entries - { - include "interpolation/default.cfg"; - } - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/defaultOnly.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/defaultOnly.cfg deleted file mode 100644 index 289cdcb8ba..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/defaultOnly.cfg +++ /dev/null @@ -1,44 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "schemes.cfg"; - entries - { - default - { - type compound; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/div.gif"; - entries - { - include "discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - include "interpolation/default.cfg"; - outletStabilised - { - type selection; - entries - { - include "interpolation/default.cfg"; - } - } - } - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/discretisationScheme.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/discretisationScheme.cfg deleted file mode 100644 index 830d73fb6d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/discretisationScheme.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -discretisationScheme -{ - type word; - default Gauss; - editable 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/all.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/all.cfg deleted file mode 100644 index f24b4929ce..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/all.cfg +++ /dev/null @@ -1,54 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/blended.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubicCorrection.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/downwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear2.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear2V.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/interfaceCompression.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/GammaV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/harmonic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/inverseLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubicV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedGamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLimitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLimitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinearV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedMUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedSuperBee.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedVanLeer.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linearUpwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/midPoint.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Phi.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/QUICK.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SFCD.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SFCDV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/skewLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SuperBee01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SuperBee.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/UMIST.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeerV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/weighted.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/centered.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/centered.cfg deleted file mode 100644 index 730cadaa9a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/centered.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubicCorrection.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/harmonic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/inverseLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/midPoint.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/weighted.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/default.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/default.cfg deleted file mode 100644 index 23bb507b0e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/default.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/QUICK.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SFCD.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SuperBee.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/UMIST.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/blended.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubicCorrection.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linearUpwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear2.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/midPoint.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/skewLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/weighted.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar.cfg deleted file mode 100644 index f17340f515..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/QUICK.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SFCD.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SuperBee.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/UMIST.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/blended.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubicCorrection.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/downwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/harmonic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/inverseLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linearUpwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear2.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/midPoint.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/skewLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/weighted.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedGamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLimitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLimitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedMUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedSuperBee.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedVanLeer.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar01.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar01.cfg deleted file mode 100644 index db34828c46..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalar01.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SuperBee01.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/interfaceCompression.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalarMULES.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalarMULES.cfg deleted file mode 100644 index 083b14e76d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/scalarMULES.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SuperBee.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/interfaceCompression.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/tensor.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/tensor.cfg deleted file mode 100644 index abeef555fe..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/tensor.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Phi.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/QUICK.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SFCD.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/UMIST.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/blended.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubicCorrection.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linearUpwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear2.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/midPoint.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/skewLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/weighted.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/vector.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/vector.cfg deleted file mode 100644 index f355a1220c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/interpolation/vector.cfg +++ /dev/null @@ -1,37 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/interpolations/unselected.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/upwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedLinearV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeer.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/vanLeerV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Gamma.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/GammaV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/Phi.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/limitedCubicV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/MUSCL.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/QUICK.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SFCD.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/SFCDV.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/UMIST.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/blended.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubic.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/cubicCorrection.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/linearUpwind.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear2.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/filteredLinear2V.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/midPoint.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/skewLinear.cfg"; -include "$FOAMX_CONFIG/entries/interpolations/weighted.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/muEffGradUT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/muEffGradUT.cfg deleted file mode 100644 index 34108e47ce..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/muEffGradUT.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div((muEff*dev2(grad(U).T()))) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divStar.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/multivariateSelection.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/multivariateSelection.cfg deleted file mode 100644 index e485707a4d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/multivariateSelection.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -schemeType -{ - type word; - default multivariateSelection; - editable 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/none.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/none.cfg deleted file mode 100644 index 1c7fa41438..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/none.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -none -{ - type compound; - description "No default discretisation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/noneOnly.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/noneOnly.cfg deleted file mode 100644 index e43851ad42..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/noneOnly.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -divSchemes -{ - include "schemes.cfg"; - entries - { - default - { - type word; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/div.gif"; - default none; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffGradUT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffGradUT.cfg deleted file mode 100644 index e2c1c03ffd..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffGradUT.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div((nuEff*dev(grad(U).T()))) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divStar.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffaGradUaT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffaGradUaT.cfg deleted file mode 100644 index 71f4fc9d8b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffaGradUaT.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div((-nuEffa*grad(Ua).T())) -{ - include "tensor.cfg"; - iconURL "/FoamX/icons/small/maths/divNuEffaUaT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffbGradUbT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffbGradUbT.cfg deleted file mode 100644 index 12eda52da7..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/nuEffbGradUbT.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div((-nuEffb*grad(Ub).T())) -{ - include "tensor.cfg"; - iconURL "/FoamX/icons/small/maths/divNuEffbUbT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlpha.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlpha.cfg deleted file mode 100644 index 1b19e1827d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlpha.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,alpha) -{ - include "scalar01.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiAlpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlphaAlpha.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlphaAlpha.cfg deleted file mode 100644 index 8e09eee335..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiAlphaAlpha.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiAlpha,Alpha) -{ - include "scalar01.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiAlphaAlpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiB.cfg deleted file mode 100644 index 5e2c629f08..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiB.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,B) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiB2DBUB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiB2DBUB.cfg deleted file mode 100644 index c0754dc97b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiB2DBUB.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiB,((2*DBU)*B)) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiB2DBUB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiBT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiBT.cfg deleted file mode 100644 index eeb170f378..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiBT.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,B) -{ - include "tensor.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiBT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiBU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiBU.cfg deleted file mode 100644 index bbbbce093b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiBU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiB,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiBU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiEpsilon.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiEpsilon.cfg deleted file mode 100644 index 438443691c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiEpsilon.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,epsilon) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiEpsilon.gif"; -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiGamma.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiGamma.cfg deleted file mode 100644 index 875be3e3bf..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiGamma.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,gamma) -{ - include "scalarMULES.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiGamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiMuTilda.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiMuTilda.cfg deleted file mode 100644 index 45b501921a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiMuTilda.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,muTilda) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiMuTilda.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiNuTilda.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiNuTilda.cfg deleted file mode 100644 index 9568823e7f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiNuTilda.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,nuTilda) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiNuTilda.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiR.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiR.cfg deleted file mode 100644 index 0708c04b80..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiR.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,R) -{ - include "tensor.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiR.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiStb.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiStb.cfg deleted file mode 100644 index 3a7eba53d3..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiStb.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiSt,b) -{ - include "scalar01.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiStb.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiT.cfg deleted file mode 100644 index 236fb3bb46..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiT.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,T) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiU.cfg deleted file mode 100644 index 66d8c96951..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiUp.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiUp.cfg deleted file mode 100644 index 0b37ca2922..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiUp.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiU,p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiUp.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiV.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiV.cfg deleted file mode 100644 index b9966ee74e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiV.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,V) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiV.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiVdjVdj.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiVdjVdj.cfg deleted file mode 100644 index 61067e1257..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiVdjVdj.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiVdj,Vdj) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiVdjVdj.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiSu.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiSu.cfg deleted file mode 100644 index f9b36a1e50..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiSu.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiXi,Su) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiXiSu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiXi.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiXi.cfg deleted file mode 100644 index dbd79e3dae..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiXiXi.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiXi,Xi) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiXiXi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiaUa.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiaUa.cfg deleted file mode 100644 index 7a515a4dcc..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiaUa.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phia,Ua) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiaUa.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phibEpsilon.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phibEpsilon.cfg deleted file mode 100644 index c5627acb6e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phibEpsilon.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phib,epsilon) -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiEpsilon.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phibUb.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phibUb.cfg deleted file mode 100644 index 3785261eb2..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phibUb.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phib,Ub) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divPhibUb.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phibk.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phibk.cfg deleted file mode 100644 index 58ded8e7cc..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phibk.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phib,k) -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/div/scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhik.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phidp.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phidp.cfg deleted file mode 100644 index f5b39c74bf..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phidp.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phid,p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhidP.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phie.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phie.cfg deleted file mode 100644 index 435355935b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phie.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,e) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiE.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phift_b_h_hu.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phift_b_h_hu.cfg deleted file mode 100644 index 9103fee53d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phift_b_h_hu.cfg +++ /dev/null @@ -1,71 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,ft_b_h_hu) -{ - type compound; - iconURL "/FoamX/icons/small/maths/divPhiStar.gif"; - entries - { - include "discretisationScheme.cfg"; - include "multivariateSelection.cfg"; - multivariateSelection - { - type dictionary; - entries - { - fu - { - type selection; - entries - { - include "interpolation/scalar01.cfg"; - } - } - - ft - { - type selection; - entries - { - include "interpolation/scalar01.cfg"; - } - } - - b - { - type selection; - entries - { - include "interpolation/scalar01.cfg"; - } - } - - h - { - type selection; - entries - { - include "interpolation/scalar.cfg"; - } - } - - hu - { - type selection; - entries - { - include "interpolation/scalar.cfg"; - } - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phih.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phih.cfg deleted file mode 100644 index b63341ec59..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phih.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,h) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhih.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phik.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phik.cfg deleted file mode 100644 index 62c8716039..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phik.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phi,k) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhik.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phirAlpha.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phirAlpha.cfg deleted file mode 100644 index a6ea09c89e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phirAlpha.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phir,alpha) -{ - include "scalar01.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiAlpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phirbGamma.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phirbGamma.cfg deleted file mode 100644 index 1f4e33e327..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phirbGamma.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phirb,gamma) -{ - include "scalarMULES.cfg"; - iconURL "/FoamX/icons/small/maths/divPhirbGamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiv2p.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phiv2p.cfg deleted file mode 100644 index db41131543..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phiv2p.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiv2,p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhiv2p.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRho.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRho.cfg deleted file mode 100644 index 5cc212fda4..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRho.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiv,rho) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhivRho.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoE.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoE.cfg deleted file mode 100644 index 7624ea64a7..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoE.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiv,rhoE) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/divPhivRhoE.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoU.cfg deleted file mode 100644 index 98d99b2597..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/phivRhoU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(phiv,rhoU) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divRhivRhoU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/rhoPhiU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/rhoPhiU.cfg deleted file mode 100644 index 0479c2b0cd..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/rhoPhiU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(rho*phi,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divRhoPhiU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/rhoR.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/rhoR.cfg deleted file mode 100644 index ef91834802..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/rhoR.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div((rho*R)) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/divRhoR.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/scalar.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/scalar.cfg deleted file mode 100644 index e354cc0e9a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/scalar.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - include "interpolation/scalar.cfg"; - outletStabilised - { - type selection; - entries - { - include "interpolation/scalar.cfg"; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/scalar01.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/scalar01.cfg deleted file mode 100644 index ea750792ee..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/scalar01.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - include "interpolation/scalar01.cfg"; - outletStabilised - { - type selection; - entries - { - include "interpolation/scalar01.cfg"; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/scalarMULES.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/scalarMULES.cfg deleted file mode 100644 index 61e2614eaf..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/scalarMULES.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - include "interpolation/scalarMULES.cfg"; - outletStabilised - { - type selection; - entries - { - include "interpolation/scalarMULES.cfg"; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/schemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/schemes.cfg deleted file mode 100644 index 3db9d6b98a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/schemes.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Convection discretisation schemes"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/sigma.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/sigma.cfg deleted file mode 100644 index 8d8db8623d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/sigma.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(sigma) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divSigma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/sigmaD.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/sigmaD.cfg deleted file mode 100644 index f9110b83ca..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/sigmaD.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -div(sigmaD) -{ - include "centered.cfg"; - iconURL "/FoamX/icons/small/maths/divSigma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/tensor.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/tensor.cfg deleted file mode 100644 index fc1cf31cce..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/tensor.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - include "interpolation/tensor.cfg"; - outletStabilised - { - type selection; - entries - { - include "interpolation/tensor.cfg"; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/div/vector.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/div/vector.cfg deleted file mode 100644 index 5d80c1662a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/div/vector.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - type selection; - entries - { - include "interpolation/vector.cfg"; - outletStabilised - { - type selection; - entries - { - include "interpolation/vector.cfg"; - } - } - } - } -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/DT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/DT.cfg deleted file mode 100644 index add3e0b7e5..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/DT.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/D.cfg"; - include "variables/T.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/T.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/T.cfg deleted file mode 100644 index c3487dc5bb..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/T.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/T.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/U.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/U.cfg deleted file mode 100644 index a4c50e4456..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/U.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/U.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/UT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/UT.cfg deleted file mode 100644 index 80033b9dd2..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/UT.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/U.cfg"; - include "variables/T.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/fluxRequired.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/fluxRequired.cfg deleted file mode 100644 index d6f1b3a325..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/fluxRequired.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Calculation of flux"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/p.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/p.cfg deleted file mode 100644 index c10f68f007..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/p.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/p.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pPB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/pPB.cfg deleted file mode 100644 index cdaf54aef9..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pPB.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/p.cfg"; - include "variables/pB.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pPcorr.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/pPcorr.cfg deleted file mode 100644 index 4916ba207b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pPcorr.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/p.cfg"; - include "variables/pcorr.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pd.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/pd.cfg deleted file mode 100644 index f6c7f66131..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pd.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/pd.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorr.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorr.cfg deleted file mode 100644 index fd8d417d33..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorr.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/pd.cfg"; - include "variables/pcorr.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorrGamma.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorrGamma.cfg deleted file mode 100644 index afd231acea..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/pdPcorrGamma.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/pd.cfg"; - include "variables/pcorr.cfg"; - include "variables/gamma.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/phi.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/phi.cfg deleted file mode 100644 index 2f390bfaec..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/phi.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fluxRequired -{ - include "fluxRequired.cfg"; - entries - { - include "variables/default.cfg"; - include "variables/phi.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/B.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/B.cfg deleted file mode 100644 index d0bdc9ee2f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/B.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/vecB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/D.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/D.cfg deleted file mode 100644 index 27ba437c97..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/D.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -D -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/D.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/T.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/T.cfg deleted file mode 100644 index fda86dea3c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/T.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -T -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/T.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/U.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/U.cfg deleted file mode 100644 index efeaa0755c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/U.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -U -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/U.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/default.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/default.cfg deleted file mode 100644 index 199e737b75..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/default.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -default -{ - type Switch; - description "Create storage for flux for all solved variables?"; - helpURL "fvSchemes.html"; - default no; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/gamma.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/gamma.cfg deleted file mode 100644 index 1af80fc035..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/gamma.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gamma -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/gamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/p.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/p.cfg deleted file mode 100644 index 2d48c9cda0..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/p.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/p.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pB.cfg deleted file mode 100644 index 696e2a8509..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pB.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pB -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/pB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pcorr.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pcorr.cfg deleted file mode 100644 index 1c27a9a585..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pcorr.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pcorr -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/pcorr.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pd.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pd.cfg deleted file mode 100644 index 298f58b4c6..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/pd.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pd -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/pd.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/phi.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/phi.cfg deleted file mode 100644 index ed72a9e0c6..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/flux/variables/phi.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -phi -{ - type compound; - editable 0; - iconURL "/FoamX/icons/small/maths/phi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/fvSchemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/fvSchemes.cfg deleted file mode 100644 index 522718cac1..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/fvSchemes.cfg +++ /dev/null @@ -1,14 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Finite volume discretisation schemes dictionary"; -helpURL "fvSchemes.html"; -dictionaryPath "system"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/D.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/D.cfg deleted file mode 100644 index c7023a3289..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/D.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -grad(D) -{ - include "standard.cfg"; - iconURL "/FoamX/icons/small/maths/gradD.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/DBUmagsqrB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/DBUmagsqrB.cfg deleted file mode 100644 index 4324cbfc34..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/DBUmagsqrB.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -grad((DBU*magSqr(B))) -{ - include "$FOAMX_CONFIG/dictionaries/fvSchemes/grad/standard.cfg"; - iconURL "/FoamX/icons/small/maths/gradDBUmagsqrB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/Gauss.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/Gauss.cfg deleted file mode 100644 index b3992b7a6a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/Gauss.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Gauss -{ - include "../interpolation/interpolationScheme.cfg" - description "Gauss discretisation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/T.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/T.cfg deleted file mode 100644 index 7896c2ac32..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/T.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -grad(T) -{ - include "standard.cfg"; - iconURL "/FoamX/icons/small/maths/gradT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/U.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/U.cfg deleted file mode 100644 index bafeb004cc..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/U.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -grad(U) -{ - include "standard.cfg"; - iconURL "/FoamX/icons/small/maths/gradU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/V.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/V.cfg deleted file mode 100644 index c189e0fa33..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/V.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -grad(V) -{ - include "standard.cfg"; - iconURL "/FoamX/icons/small/maths/gradV.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/default.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/default.cfg deleted file mode 100644 index 2392ae230e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/default.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -default -{ - include "standard.cfg"; - description "Default gradient scheme"; - iconURL "/FoamX/icons/small/maths/grad.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/defaultOnly.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/defaultOnly.cfg deleted file mode 100644 index 2c99ee5ebe..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/defaultOnly.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradSchemes -{ - include "schemes.cfg"; - entries - { - include "default.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/fourth.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/fourth.cfg deleted file mode 100644 index 9e59b28ac5..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/fourth.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fourth -{ - type compound; - description "Fourth order discretisation scheme"; -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/gamma.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/gamma.cfg deleted file mode 100644 index 65ff6ae866..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/gamma.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -grad(gamma) -{ - include "standard.cfg"; - iconURL "/FoamX/icons/small/maths/gradGamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/leastSquares.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/leastSquares.cfg deleted file mode 100644 index ed98f3966c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/leastSquares.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -leastSquares -{ - type compound; - description "Least squares discretisation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/none.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/none.cfg deleted file mode 100644 index 1c7fa41438..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/none.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -none -{ - type compound; - description "No default discretisation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/p.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/p.cfg deleted file mode 100644 index ea592d3ac1..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/p.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -grad(p) -{ - include "standard.cfg"; - iconURL "/FoamX/icons/small/maths/gradP.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/schemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/schemes.cfg deleted file mode 100644 index e6b699ee5f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/schemes.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Gradient discretisation schemes"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/grad/standard.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/grad/standard.cfg deleted file mode 100644 index 40c29abef1..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/grad/standard.cfg +++ /dev/null @@ -1,107 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type selection; -entries -{ - include "Gauss.cfg"; - include "leastSquares.cfg"; - include "fourth.cfg"; - - cellMDLimited - { - type compound; - entries - { - scheme - { - type selection; - entries - { - include "Gauss.cfg"; - include "leastSquares.cfg"; - include "fourth.cfg"; - } - } - coefficient - { - type scalar01; - default 1.0; - } - } - } - faceMDLimited - { - type compound; - entries - { - scheme - { - type selection; - entries - { - include "Gauss.cfg"; - include "leastSquares.cfg"; - include "fourth.cfg"; - } - } - coefficient - { - type scalar01; - default 1.0; - } - } - } - cellLimited - { - type compound; - entries - { - scheme - { - type selection; - entries - { - include "Gauss.cfg"; - include "leastSquares.cfg"; - include "fourth.cfg"; - } - } - coefficient - { - type scalar01; - default 1.0; - } - } - } - faceLimited - { - type compound; - entries - { - scheme - { - type selection; - entries - { - include "Gauss.cfg"; - include "leastSquares.cfg"; - include "fourth.cfg"; - } - } - coefficient - { - type scalar01; - default 1.0; - } - } - } -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/1A.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/1A.cfg deleted file mode 100644 index f4ad8afe0c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/1A.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolate((1|A)) -{ - include "interpolationScheme.cfg"; - iconURL "/FoamX/icons/small/maths/interpolate1A.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/B.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/B.cfg deleted file mode 100644 index ba2ccc6985..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/B.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolate(B) -{ - include "interpolationScheme.cfg"; - iconURL "/FoamX/icons/small/maths/interpolateB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/HbyA.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/HbyA.cfg deleted file mode 100644 index 29e41512dd..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/HbyA.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolate(HbyA) -{ - include "interpolationScheme.cfg"; - iconURL "/FoamX/icons/small/maths/interpolateHbyA.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/U.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/U.cfg deleted file mode 100644 index 49a0fafd83..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/U.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolate(U) -{ - include "interpolationScheme.cfg"; - iconURL "/FoamX/icons/small/maths/interpolateU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/default.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/default.cfg deleted file mode 100644 index f297955d8c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/default.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -default -{ - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/interpolationScheme.gif"; - include "interpolationScheme.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/defaultOnly.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/defaultOnly.cfg deleted file mode 100644 index a34e006859..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/defaultOnly.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - include "schemes.cfg"; - entries - { - include "default.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/interpolationScheme.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/interpolationScheme.cfg deleted file mode 100644 index 6d330e1fe7..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/interpolationScheme.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type selection; -entries -{ - include "$FOAMX_CONFIG/entries/interpolations/linear.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/cubicCorrection.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/harmonic.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/inverseLinear.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/midPoint.cfg"; - include "$FOAMX_CONFIG/entries/interpolations/weighted.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/schemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/schemes.cfg deleted file mode 100644 index 98eb45244c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/interpolation/schemes.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Interpolation schemes"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ABpB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ABpB.cfg deleted file mode 100644 index f53e04c0f4..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ABpB.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((1|A(B)),pB) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian1ABpB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1AUp.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1AUp.cfg deleted file mode 100644 index dcdfd36d11..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1AUp.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((1|A(U)),p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian1AUp.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1Ap.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1Ap.cfg deleted file mode 100644 index be468cf8d0..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1Ap.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((1|A),p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian1AUp.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ArhoUp.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ArhoUp.cfg deleted file mode 100644 index c6d5a15e10..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1ArhoUp.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((1|A(rhoU)),p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian1ArhoUp.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1p.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1p.cfg deleted file mode 100644 index 4993f2a421..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/1p.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(1,p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianP.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBB.cfg deleted file mode 100644 index 12052b7f02..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBB.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DB,B) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDBB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBEffB.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBEffB.cfg deleted file mode 100644 index 923b4173d3..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DBEffB.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DBEff,B) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDBEffB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DDD.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DDD.cfg deleted file mode 100644 index 09e6b5513d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DDD.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DD,D) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDDD.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DREffR.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DREffR.cfg deleted file mode 100644 index 07a9e47d66..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DREffR.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DREff,R) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDREffR.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DTT.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DTT.cfg deleted file mode 100644 index 7ed9cf5720..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DTT.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DT,T) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDTT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DUU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DUU.cfg deleted file mode 100644 index 6ccefb5cd6..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DUU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DU,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDUU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DVV.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DVV.cfg deleted file mode 100644 index 689733a80b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DVV.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DV,V) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDVV.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg deleted file mode 100644 index f64c02aeaf..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DepsilonEffEpsilon.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DepsilonEff,epsilon) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDepsilonEffEpsilon.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DkEffk.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DkEffk.cfg deleted file mode 100644 index 2df3e8733b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DkEffk.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DkEff,k) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDkEffk.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DmuTildaEffMuTilda.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DmuTildaEffMuTilda.cfg deleted file mode 100644 index 726b0a1308..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DmuTildaEffMuTilda.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DmuTildaEff,muTilda) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDmuTildaEffMuTilda.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DnuTildaEffNuTilda.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DnuTildaEffNuTilda.cfg deleted file mode 100644 index 4d971ef6c2..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/DnuTildaEffNuTilda.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(DnuTildaEff,nuTilda) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDnuTildaEffNuTilda.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/Dphi.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/Dphi.cfg deleted file mode 100644 index 110f7ac4c6..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/Dphi.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(D,phi) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianDphi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffh.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffh.cfg deleted file mode 100644 index 960b55d364..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffh.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(alphaEff,h) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianAlphaEffh.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffhu.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffhu.cfg deleted file mode 100644 index 8fc107c28c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/alphaEffhu.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(alphaEff,hu) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianAlphaEffhu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/default.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/default.cfg deleted file mode 100644 index f6eda7fe67..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/default.cfg +++ /dev/null @@ -1,37 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -default -{ - type selection; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/laplacian.gif"; - entries - { - include "none.cfg"; - - Gauss - { - type compound; - entries - { - interpolationScheme - { - include "../interpolation/interpolationScheme.cfg"; - } - - snGradScheme - { - include "../snGrad/snGradSchemeVector.cfg"; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/defaultOnly.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/defaultOnly.cfg deleted file mode 100644 index 87a5e1e27d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/defaultOnly.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacianSchemes -{ - include "schemes.cfg"; - entries - { - default - { - include "vector.cfg"; - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/laplacian.gif"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/discretisationScheme.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/discretisationScheme.cfg deleted file mode 100644 index 830d73fb6d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/discretisationScheme.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -discretisationScheme -{ - type word; - default Gauss; - editable 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffFt.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffFt.cfg deleted file mode 100644 index 4f5b4b036e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffFt.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(muEff,ft) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMuEffFt.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffU.cfg deleted file mode 100644 index d444d5e649..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(muEff,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMuEffU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffb.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffb.cfg deleted file mode 100644 index 32ebd0d6de..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffb.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(muEff,b) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMuEffb.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffft.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffft.cfg deleted file mode 100644 index d444d5e649..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muEffft.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(muEff,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMuEffU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muU.cfg deleted file mode 100644 index ce6b641857..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/muU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(mu,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMuU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mue.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mue.cfg deleted file mode 100644 index b8c7943765..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mue.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(mu,e) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMuE.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutAlpha.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutAlpha.cfg deleted file mode 100644 index 1c68b0a563..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutAlpha.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(mut,Alpha) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMutAlpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutU.cfg deleted file mode 100644 index 306720a54d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/mutU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(mut,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianMutU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/none.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/none.cfg deleted file mode 100644 index 1c7fa41438..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/none.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -none -{ - type compound; - description "No default discretisation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffU.cfg deleted file mode 100644 index a20cef86b9..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(nuEff,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianNuEffU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffaUa.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffaUa.cfg deleted file mode 100644 index 397863fa3a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffaUa.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(nuEffa,Ua) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianNuEffaUa.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffbUb.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffbUb.cfg deleted file mode 100644 index e6834b0939..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuEffbUb.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(nuEffb,Ub) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianNuEffbUb.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuU.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuU.cfg deleted file mode 100644 index f2fb2247da..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/nuU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(nu,U) -{ - include "vector.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianNuU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/phi.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/phi.cfg deleted file mode 100644 index 6c6f572322..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/phi.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian(phi) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacian1phi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUp.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUp.cfg deleted file mode 100644 index 8ad1ef561f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUp.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((rho*(1|A(U))),p) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianRhoAUp.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUpd.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUpd.cfg deleted file mode 100644 index 66042a0a6e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/rhoAUpd.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laplacian((rho*(1|A(U))),pd) -{ - include "scalar.cfg"; - iconURL "/FoamX/icons/small/maths/laplacianRhoAUpd.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/scalar.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/scalar.cfg deleted file mode 100644 index 56aaf1b409..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/scalar.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - include "../interpolation/interpolationScheme.cfg"; - } - - snGradScheme - { - include "../snGrad/snGradSchemeScalar.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/schemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/schemes.cfg deleted file mode 100644 index b369f691f8..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/schemes.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Laplacian discretisation schemes"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/vector.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/vector.cfg deleted file mode 100644 index 7dfb29530c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/laplacian/vector.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type compound; -entries -{ - include "discretisationScheme.cfg"; - - interpolationScheme - { - include "../interpolation/interpolationScheme.cfg"; - } - - snGradScheme - { - include "../snGrad/snGradSchemeVector.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/default.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/default.cfg deleted file mode 100644 index 9faa469938..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/default.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -default -{ - description "Default scheme"; - iconURL "/FoamX/icons/small/maths/snGradScheme.gif"; - include "snGradSchemeVector.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/defaultOnly.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/defaultOnly.cfg deleted file mode 100644 index 871e144e94..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/defaultOnly.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -snGradSchemes -{ - include "schemes.cfg"; - - entries - { - include "default.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/schemes.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/schemes.cfg deleted file mode 100644 index 8a1063be61..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/schemes.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Surface normal gradient schemes"; -helpURL "fvSchemes.html"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeScalar.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeScalar.cfg deleted file mode 100644 index cc5137d83e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeScalar.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type selection; -entries -{ - include "$FOAMX_CONFIG/entries/snGradSchemes/corrected.cfg"; - include "$FOAMX_CONFIG/entries/snGradSchemes/uncorrected.cfg"; - include "$FOAMX_CONFIG/entries/snGradSchemes/bounded.cfg"; - include "$FOAMX_CONFIG/entries/snGradSchemes/fourth.cfg"; - include "$FOAMX_CONFIG/entries/snGradSchemes/limited.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeVector.cfg b/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeVector.cfg deleted file mode 100644 index fc52e9ddce..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSchemes/snGrad/snGradSchemeVector.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type selection; -entries -{ - include "$FOAMX_CONFIG/entries/snGradSchemes/corrected.cfg"; - include "$FOAMX_CONFIG/entries/snGradSchemes/uncorrected.cfg"; - include "$FOAMX_CONFIG/entries/snGradSchemes/fourth.cfg"; - include "$FOAMX_CONFIG/entries/snGradSchemes/limited.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/PISO.cfg b/etc/apps/FoamX/dictionaries/fvSolution/PISO.cfg deleted file mode 100644 index b24c59f47a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/PISO.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -PISO -{ - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/Switch/momentumPredictor.cfg"; - include "$FOAMX_CONFIG/entries/label/nCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/ref/pRef.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/SIMPLE.cfg b/etc/apps/FoamX/dictionaries/fvSolution/SIMPLE.cfg deleted file mode 100644 index 75d9e3a270..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/SIMPLE.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SIMPLE -{ - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/label/nNonOrthogonalCorrectors.cfg"; - include "$FOAMX_CONFIG/entries/ref/pRef.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/contactPatch.cfg b/etc/apps/FoamX/dictionaries/fvSolution/contactPatch.cfg deleted file mode 100644 index 9104a0825f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/contactPatch.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -contactPatch -{ - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/scalar01/contactUnderrelaxation.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/touchTolerance.cfg"; - include "$FOAMX_CONFIG/entries/label/gradPatchID.cfg"; - include "$FOAMX_CONFIG/entries/label/dirPatchID.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/fvSolution.cfg b/etc/apps/FoamX/dictionaries/fvSolution/fvSolution.cfg deleted file mode 100644 index 6521a6cd63..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/fvSolution.cfg +++ /dev/null @@ -1,14 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Finite volume solution dictionary"; -helpURL "fvSolution.html"; -dictionaryPath "system"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Alpha.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Alpha.cfg deleted file mode 100644 index 876853132a..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Alpha.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Alpha -{ - include "asymmetricSparse.cfg"; - description "Solver for the Alpha equation"; - iconURL "/FoamX/icons/small/maths/Alpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/B.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/B.cfg deleted file mode 100644 index b0451a6d31..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/B.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - include "asymmetricSparse.cfg"; - description "Solver for the B equation"; - iconURL "/FoamX/icons/small/maths/B.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/D.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/D.cfg deleted file mode 100644 index 339566704b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/D.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -D -{ - include "symmetricSparse.cfg"; - description "Solver for the D equation"; - iconURL "/FoamX/icons/small/maths/D.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/R.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/R.cfg deleted file mode 100644 index 9a68e5a8b2..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/R.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -R -{ - include "asymmetricSparse.cfg"; - description "Solver for the R equation"; - iconURL "/FoamX/icons/small/maths/R.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Su.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Su.cfg deleted file mode 100644 index ff1875ca7b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Su.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Su -{ - include "asymmetricSparse.cfg"; - description "Solver for the Su equation"; - iconURL "/FoamX/icons/small/maths/Su.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/T.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/T.cfg deleted file mode 100644 index 29eb18824e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/T.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -T -{ - include "asymmetricSparse.cfg"; - description "Solver for the T equation"; - iconURL "/FoamX/icons/small/maths/T.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Tsymm.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Tsymm.cfg deleted file mode 100644 index c829ace44d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Tsymm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -T -{ - include "symmetricSparse.cfg"; - description "Solver for the T equation"; - iconURL "/FoamX/icons/small/maths/T.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/U.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/U.cfg deleted file mode 100644 index 09901e0694..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/U.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -U -{ - include "asymmetricSparse.cfg"; - description "Solver for the U equation"; - iconURL "/FoamX/icons/small/maths/U.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Ua.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Ua.cfg deleted file mode 100644 index edb57905a8..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Ua.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ua -{ - include "asymmetricSparse.cfg"; - description "Solver for the Ua equation"; - iconURL "/FoamX/icons/small/maths/Ua.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Ub.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Ub.cfg deleted file mode 100644 index 36f735f425..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Ub.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ub -{ - include "asymmetricSparse.cfg"; - description "Solver for the Ub equation"; - iconURL "/FoamX/icons/small/maths/Ub.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Usymm.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Usymm.cfg deleted file mode 100644 index 3ceae6664c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Usymm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -U -{ - include "symmetricSparse.cfg"; - description "Solver for the U equation"; - iconURL "/FoamX/icons/small/maths/U.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Vfinancial.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Vfinancial.cfg deleted file mode 100644 index eb1e5c9bcc..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Vfinancial.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -V -{ - include "asymmetricSparse.cfg"; - description "Solver for the V equation"; - iconURL "/FoamX/icons/small/maths/V.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Xi.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/Xi.cfg deleted file mode 100644 index 47ebcb7209..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/Xi.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Xi -{ - include "asymmetricSparse.cfg"; - description "Solver for the Xi equation"; - iconURL "/FoamX/icons/small/maths/Xi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/alpha.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/alpha.cfg deleted file mode 100644 index 71ab995180..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/alpha.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alpha -{ - include "asymmetricSparse.cfg"; - description "Solver for the alpha equation"; - iconURL "/FoamX/icons/small/maths/alpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/asymmetricSparse.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/asymmetricSparse.cfg deleted file mode 100644 index b1c0027705..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/asymmetricSparse.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type selection; -entries -{ - include "$FOAMX_CONFIG/entries/solvers/PBiCG.cfg"; - include "$FOAMX_CONFIG/entries/solvers/smoothSolver.cfg"; - include "$FOAMX_CONFIG/entries/solvers/GAMG.cfg"; - include "$FOAMX_CONFIG/entries/solvers/BICCG.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/b.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/b.cfg deleted file mode 100644 index 04fbeb12e5..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/b.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -b -{ - include "asymmetricSparse.cfg"; - description "Solver for the b equation"; - iconURL "/FoamX/icons/small/maths/b.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/beta.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/beta.cfg deleted file mode 100644 index da98bca9db..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/beta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -beta -{ - include "asymmetricSparse.cfg"; - description "Solver for the beta equation"; - iconURL "/FoamX/icons/small/maths/beta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/e.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/e.cfg deleted file mode 100644 index 83286005c3..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/e.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -e -{ - include "asymmetricSparse.cfg"; - description "Solver for the e equation"; - iconURL "/FoamX/icons/small/maths/e.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/epsilon.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/epsilon.cfg deleted file mode 100644 index 15384c71a3..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/epsilon.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -epsilon -{ - include "asymmetricSparse.cfg"; - description "Solver for the epsilon equation"; - iconURL "/FoamX/icons/small/maths/epsilon.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/ft.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/ft.cfg deleted file mode 100644 index 2a943f2ce7..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/ft.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ft -{ - include "asymmetricSparse.cfg"; - description "Solver for the ft equation"; - iconURL "/FoamX/icons/small/maths/ft.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/fu.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/fu.cfg deleted file mode 100644 index f5b298f5be..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/fu.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fu -{ - include "asymmetricSparse.cfg"; - description "Solver for the fu equation"; - iconURL "/FoamX/icons/small/maths/fu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/gamma.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/gamma.cfg deleted file mode 100644 index 1de51acc53..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/gamma.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gamma -{ - include "asymmetricSparse.cfg"; - description "Solver for the gamma equation"; - iconURL "/FoamX/icons/small/maths/gamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/h.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/h.cfg deleted file mode 100644 index 7c0109ac73..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/h.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -h -{ - include "asymmetricSparse.cfg"; - description "Solver for the h equation"; - iconURL "/FoamX/icons/small/maths/h.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/hu.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/hu.cfg deleted file mode 100644 index 87eec94756..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/hu.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -hu -{ - include "asymmetricSparse.cfg"; - description "Solver for the hu equation"; - iconURL "/FoamX/icons/small/maths/hu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/k.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/k.cfg deleted file mode 100644 index afbcee39f0..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/k.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -k -{ - include "asymmetricSparse.cfg"; - description "Solver for the k equation"; - iconURL "/FoamX/icons/small/maths/k.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/motionU.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/motionU.cfg deleted file mode 100644 index 8de6e47c66..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/motionU.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -motionU -{ - include "symmetricSparse.cfg"; - description "Solver for the motionU equation"; - iconURL "/FoamX/icons/small/maths/U.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/nuTilda.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/nuTilda.cfg deleted file mode 100644 index 7a14e3d2f8..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/nuTilda.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nuTilda -{ - include "asymmetricSparse.cfg"; - description "Solver for the nuTilda equation"; - iconURL "/FoamX/icons/small/maths/nuTilda.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pAsymm.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/pAsymm.cfg deleted file mode 100644 index e5e9d81897..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pAsymm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - include "asymmetricSparse.cfg"; - description "Solver for the p equation"; - iconURL "/FoamX/icons/small/maths/p.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pB.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/pB.cfg deleted file mode 100644 index aa82500da6..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pB.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pB -{ - include "symmetricSparse.cfg"; - description "Solver for the pB equation"; - iconURL "/FoamX/icons/small/maths/pB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pFinal.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/pFinal.cfg deleted file mode 100644 index d00e49d90b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pFinal.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pFinal -{ - include "symmetricSparse.cfg"; - description "Solver for the pFinal equation"; - iconURL "/FoamX/icons/small/maths/pd.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pSymm.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/pSymm.cfg deleted file mode 100644 index 58f8d7c2c6..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pSymm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - include "symmetricSparse.cfg"; - description "Solver for the p equation"; - iconURL "/FoamX/icons/small/maths/p.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pcorr.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/pcorr.cfg deleted file mode 100644 index 0ea4ed503c..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pcorr.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pcorr -{ - include "symmetricSparse.cfg"; - description "Solver for the pcorr equation"; - iconURL "/FoamX/icons/small/maths/pcorr.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pd.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/pd.cfg deleted file mode 100644 index edba98e45b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pd.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pd -{ - include "symmetricSparse.cfg"; - description "Solver for the pd equation"; - iconURL "/FoamX/icons/small/maths/pd.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pdFinal.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/pdFinal.cfg deleted file mode 100644 index 3016a6738e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/pdFinal.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pdFinal -{ - include "symmetricSparse.cfg"; - description "Solver for the pdFinal equation"; - iconURL "/FoamX/icons/small/maths/pd.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/phiEP.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/phiEP.cfg deleted file mode 100644 index a29afe1fe0..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/phiEP.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -phi -{ - include "symmetricSparse.cfg"; - description "Solver for the phi equation"; - iconURL "/FoamX/icons/small/maths/phi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rho.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/rho.cfg deleted file mode 100644 index 9b45e69664..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rho.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho -{ - include "symmetricSparse.cfg"; - description "Solver for the rho equation"; - iconURL "/FoamX/icons/small/maths/rho.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoCD.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoCD.cfg deleted file mode 100644 index 9dee5f623b..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoCD.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho -{ - include "asymmetricSparse.cfg"; - description "Solver for the rho equation"; - iconURL "/FoamX/icons/small/maths/rho.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoE.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoE.cfg deleted file mode 100644 index 0401777d07..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoE.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rhoE -{ - include "asymmetricSparse.cfg"; - description "Solver for the rhoE equation"; - iconURL "/FoamX/icons/small/maths/rhoE.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoU.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoU.cfg deleted file mode 100644 index 742f3e248e..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/rhoU.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rhoU -{ - include "asymmetricSparse.cfg"; - description "Solver for the rhoU equation"; - iconURL "/FoamX/icons/small/maths/rhoU.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/symmetricSparse.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/symmetricSparse.cfg deleted file mode 100644 index a237f2ac7d..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/symmetricSparse.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type selection; -entries -{ - include "$FOAMX_CONFIG/entries/solvers/PCG.cfg"; - include "$FOAMX_CONFIG/entries/solvers/smoothSolverSymm.cfg"; - include "$FOAMX_CONFIG/entries/solvers/GAMG.cfg"; - include "$FOAMX_CONFIG/entries/solvers/ICCG.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/solvers/theta.cfg b/etc/apps/FoamX/dictionaries/fvSolution/solvers/theta.cfg deleted file mode 100644 index 8f2d4581c5..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/solvers/theta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -theta -{ - include "asymmetricSparse.cfg"; - description "Solver for the theta equation"; - iconURL "/FoamX/icons/small/maths/theta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvSolution/stressAnalysis.cfg b/etc/apps/FoamX/dictionaries/fvSolution/stressAnalysis.cfg deleted file mode 100644 index 944b0434c3..0000000000 --- a/etc/apps/FoamX/dictionaries/fvSolution/stressAnalysis.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -stressAnalysis -{ - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/Switch/compactNormalStress.cfg"; - include "$FOAMX_CONFIG/entries/label/nOuterIterations.cfg"; - include "$FOAMX_CONFIG/entries/scalar01/D.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvTolerances/fvTolerances.cfg b/etc/apps/FoamX/dictionaries/fvTolerances/fvTolerances.cfg deleted file mode 100644 index 42ddde418f..0000000000 --- a/etc/apps/FoamX/dictionaries/fvTolerances/fvTolerances.cfg +++ /dev/null @@ -1,14 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -displayName "Solution tolerances"; -description "Solution tolerances"; -dictionaryPath "system"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetAll.cfg b/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetAll.cfg deleted file mode 100644 index ac2c4b8f11..0000000000 --- a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetAll.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -toleranceSet -{ - type word; - displayName "toleranceSet"; - description "Set of tolerances"; - iconURL "/FoamX/icons/small/maths/toleranceSet.gif"; - default transient; - valueList - ( - transient - steadyState - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteady.cfg b/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteady.cfg deleted file mode 100644 index 1f0ad71878..0000000000 --- a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteady.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -toleranceSet -{ - type word; - displayName "toleranceSet"; - description "Set of tolerances"; - iconURL "/FoamX/icons/small/maths/toleranceSet.gif"; - default steadyState; - valueList - ( - steadyState - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteadyTight.cfg b/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteadyTight.cfg deleted file mode 100644 index ae98754796..0000000000 --- a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetSteadyTight.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -toleranceSet -{ - type word; - displayName "toleranceSet"; - description "Set of tolerances"; - iconURL "/FoamX/icons/small/maths/toleranceSet.gif"; - default steadyState; - valueList - ( - steadyState - tightSteadyState - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetTransient.cfg b/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetTransient.cfg deleted file mode 100644 index 7fd017e798..0000000000 --- a/etc/apps/FoamX/dictionaries/fvTolerances/toleranceSetTransient.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -toleranceSet -{ - type word; - displayName "toleranceSet"; - description "Set of tolerances"; - iconURL "/FoamX/icons/small/maths/toleranceSet.gif"; - default transient; - valueList - ( - transient - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/injectorProperties/injector.cfg b/etc/apps/FoamX/dictionaries/injectorProperties/injector.cfg deleted file mode 100644 index 6d7ed4a5ab..0000000000 --- a/etc/apps/FoamX/dictionaries/injectorProperties/injector.cfg +++ /dev/null @@ -1,62 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -injector -{ - type dictionary; - entries - { - include "$FOAMX_CONFIG/entries/vector/position.cfg"; - include "$FOAMX_CONFIG/entries/vector/direction.cfg"; - - diameter - { - type scalar0Inf; - description "Diameter of nozzle"; - } - - dischargeCoeff - { - type scalar; - description "Effective area/nozzle area"; - } - - mass - { - type scalar0Inf; - description "Injected mass (kg)"; - } - - temperature - { - type scalar0Inf; - description "Initial liquid temperature"; - } - - nParcels - { - type label; - description "Number of injected parcels"; - } - - injectionProfile - { - type list; - description "mass injection profile, (first timevalue = soi, last timevalue = eoi)"; - - types - { - include "timeDistance.cfg"; - } - - elementType timeDistance; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/injectorProperties/injectorProperties.cfg b/etc/apps/FoamX/dictionaries/injectorProperties/injectorProperties.cfg deleted file mode 100644 index e3ed2d14c7..0000000000 --- a/etc/apps/FoamX/dictionaries/injectorProperties/injectorProperties.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -injectorProperties -{ - type compound; - description "Dictionary of the injector properties"; - dictionaryPath "constant"; - - entries - { - injectors - { - type list; - iconURL "/FoamX/icons/small/maths/injector.gif"; - - types - { - include "injector.cfg"; - } - - elementType injector; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/injectorProperties/timeDistance.cfg b/etc/apps/FoamX/dictionaries/injectorProperties/timeDistance.cfg deleted file mode 100644 index c1292412aa..0000000000 --- a/etc/apps/FoamX/dictionaries/injectorProperties/timeDistance.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -timeDistance -{ - description "Time - distance"; - type fixedList; - elementType scalar; - numElements 2; - elementLabels (time distance); -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/physicalProperties/physicalProperties.cfg b/etc/apps/FoamX/dictionaries/physicalProperties/physicalProperties.cfg deleted file mode 100644 index d4052e9a7f..0000000000 --- a/etc/apps/FoamX/dictionaries/physicalProperties/physicalProperties.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of physical properties"; -dictionaryPath "constant"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/RanzMarshallCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/RanzMarshallCoeffs.cfg deleted file mode 100644 index 588cc33f4e..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/RanzMarshallCoeffs.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -RanzMarshallCoeffs -{ - type dictionary; - description "Ranz-Marshall model coeffs"; - entries - { - include "coefficients/preRePrFactor.cfg"; - include "coefficients/ReExponent.cfg"; - include "coefficients/PrExponent.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/ReitzDiwakarCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/ReitzDiwakarCoeffs.cfg deleted file mode 100644 index 65123e5726..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/ReitzDiwakarCoeffs.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ReitzDiwakarCoeffs -{ - type dictionary; - description "Reitz-Diwakar model coeffs"; - entries - { - include "coefficients/Cbag.cfg"; - include "coefficients/Cb.cfg"; - include "coefficients/Cstrip.cfg"; - include "coefficients/Cs.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/ReitzKHRTCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/ReitzKHRTCoeffs.cfg deleted file mode 100644 index 6333fff95a..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/ReitzKHRTCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ReitzKHRTCoeffs -{ - type dictionary; - description "Reitz KHRT model coeffs"; - entries - { - include "coefficients/B0.cfg"; - include "coefficients/B1.cfg"; - include "coefficients/Ctau.cfg"; - include "coefficients/CRT.cfg"; - include "coefficients/strippedMassLimit.cfg"; - include "coefficients/WeberLimit.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/atomizationModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/atomizationModel.cfg deleted file mode 100644 index bb1518faea..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/atomizationModel.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -atomizationModel -{ - type model; - description "Atomization model"; - default specConstAtomization; - valueList - ( - off - specConstAtomization - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/breakupModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/breakupModel.cfg deleted file mode 100644 index 252c696465..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/breakupModel.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -breakupModel -{ - type model; - description "Breakup model"; - default ReitzDiwakar; - valueList - ( - off - ReitzDiwakar - ReitzKHRT - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B0.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B0.cfg deleted file mode 100644 index 375aff3a4d..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B0.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B0 -{ - type scalar; - description "B0"; - iconURL "/FoamX/icons/small/maths/B0.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B1.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B1.cfg deleted file mode 100644 index 8c64a9b61c..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/B1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B1 -{ - type scalar; - description "B1"; - iconURL "/FoamX/icons/small/maths/B1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CRT.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CRT.cfg deleted file mode 100644 index d897654bd2..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CRT.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -CRT -{ - type scalar; - description "CRT"; - iconURL "/FoamX/icons/small/maths/CRT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cb.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cb.cfg deleted file mode 100644 index 7b7b6113be..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cb.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cb -{ - type scalar; - description "Cb"; - iconURL "/FoamX/icons/small/maths/Cb.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cbag.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cbag.cfg deleted file mode 100644 index d0068c315a..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cbag.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cbag -{ - type scalar; - description "Cbag"; - iconURL "/FoamX/icons/small/maths/Cbag.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CdLimiter.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CdLimiter.cfg deleted file mode 100644 index 3a91d17e83..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/CdLimiter.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -CdLimiter -{ - type scalar; - description "CdLimiter"; - iconURL "/FoamX/icons/small/maths/CdLimit.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cdistort.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cdistort.cfg deleted file mode 100644 index ab67314c36..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cdistort.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cdistort -{ - type scalar; - description "Cdistort"; - iconURL "/FoamX/icons/small/maths/Cdistort.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cs.cfg deleted file mode 100644 index e88282ddb6..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cs.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cs -{ - type scalar; - description "Cs"; - iconURL "/FoamX/icons/small/maths/Cs.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cstrip.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cstrip.cfg deleted file mode 100644 index d27bbcc668..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Cstrip.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cstrip -{ - type scalar; - description "Cstrip"; - iconURL "/FoamX/icons/small/maths/Cstrip.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Ctau.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Ctau.cfg deleted file mode 100644 index f8a8de2965..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/Ctau.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ctau -{ - type scalar; - description "Ctau"; - iconURL "/FoamX/icons/small/maths/Ctau.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/PrExponent.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/PrExponent.cfg deleted file mode 100644 index 6a20bbf534..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/PrExponent.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -PrExponent -{ - type scalar; - description "PrExponent"; - iconURL "/FoamX/icons/small/maths/Pr.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReExponent.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReExponent.cfg deleted file mode 100644 index 9045753a84..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReExponent.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ReExponent -{ - type scalar; - description "ReExponent"; - iconURL "/FoamX/icons/small/maths/Re.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReLimiter.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReLimiter.cfg deleted file mode 100644 index 952317007d..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ReLimiter.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ReLimiter -{ - type scalar; - description "ReLimiter"; - iconURL "/FoamX/icons/small/maths/ReLimit.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ScExponent.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ScExponent.cfg deleted file mode 100644 index 3a9a79a369..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/ScExponent.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ScExponent -{ - type scalar; - description "ScExponent"; - iconURL "/FoamX/icons/small/maths/Sc.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/WeberLimit.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/WeberLimit.cfg deleted file mode 100644 index 17ad60b856..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/WeberLimit.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -WeberLimit -{ - type scalar; - description "WeberLimit"; - iconURL "/FoamX/icons/small/maths/WeberLimit.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cSpace.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cSpace.cfg deleted file mode 100644 index a38fb34843..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cSpace.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cSpace -{ - type scalar; - description "cSpace"; - iconURL "/FoamX/icons/small/maths/cSpace.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cTime.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cTime.cfg deleted file mode 100644 index d6798e992b..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/cTime.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cTime -{ - type scalar; - description "cTime"; - iconURL "/FoamX/icons/small/maths/cTime.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/createCoefficient b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/createCoefficient deleted file mode 100644 index e29373b40c..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/createCoefficient +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createScalar01 " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type scalar;' >> $file -echo ' displayName "'$1'";' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/elasticity.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/elasticity.cfg deleted file mode 100644 index 4ba856cbe0..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/elasticity.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -elasticity -{ - type scalar; - description "elasticity"; - iconURL "/FoamX/icons/small/maths/E.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReFactor.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReFactor.cfg deleted file mode 100644 index 68e8a7083d..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReFactor.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -preReFactor -{ - type scalar; - description "preReFactor"; - iconURL "/FoamX/icons/small/maths/Re.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preRePrFactor.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preRePrFactor.cfg deleted file mode 100644 index a24dd9c6dc..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preRePrFactor.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -preRePrFactor -{ - type scalar; - description "preRePrFactor"; - iconURL "/FoamX/icons/small/maths/RePr.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReScFactor.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReScFactor.cfg deleted file mode 100644 index 412c4eeb80..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/preReScFactor.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -preReScFactor -{ - type scalar; - description "preReScFactor"; - iconURL "/FoamX/icons/small/maths/ReSc.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/strippedMassLimit.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/strippedMassLimit.cfg deleted file mode 100644 index 3d9c61ec0a..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/coefficients/strippedMassLimit.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -strippedMassLimit -{ - type scalar; - description "strippedMassLimit"; - iconURL "/FoamX/icons/small/maths/mmax.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/collisionModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/collisionModel.cfg deleted file mode 100644 index 3e623338c9..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/collisionModel.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -collisionModel -{ - type model; - description "Collision model"; - default off; - valueList - ( - off - ORourke - trajectory - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/dispersionModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/dispersionModel.cfg deleted file mode 100644 index b53457154c..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/dispersionModel.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dispersionModel -{ - type model; - description "Dispersion model"; - default off; - valueList - ( - off - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/dragModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/dragModel.cfg deleted file mode 100644 index dde236ea0f..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/dragModel.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dragModel -{ - type model; - description "Drag model"; - default standardDragModel; - valueList - ( - standardDragModel - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/evaporationModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/evaporationModel.cfg deleted file mode 100644 index 158e0e32cd..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/evaporationModel.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -evaporationModel -{ - type model; - description "Evaporation model"; - default standardEvaporationModel; - valueList - ( - off - standardEvaporationModel - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/heatTransferModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/heatTransferModel.cfg deleted file mode 100644 index 579f0f287d..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/heatTransferModel.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -heatTransferModel -{ - type model; - description "Heat transfer model"; - default RanzMarshall; - valueList - ( - off - RanzMarshall - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes.cfg deleted file mode 100644 index 8fca6ba686..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interpolationSchemes -{ - type dictionary; - description "Interpolation schemes"; - entries - { - include "interpolationSchemes/U.cfg"; - include "interpolationSchemes/rho.cfg"; - include "interpolationSchemes/p.cfg"; - include "interpolationSchemes/T.cfg"; - include "interpolationSchemes/ft.cfg"; - include "interpolationSchemes/fu.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/T.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/T.cfg deleted file mode 100644 index c3309fb3dd..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/T.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -T -{ - type word; - description "T interpolation scheme"; - iconURL "/FoamX/icons/small/maths/T.gif"; - valueList - ( - cell - cellPoint - cellPointFace - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/U.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/U.cfg deleted file mode 100644 index d11a99dabd..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/U.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -U -{ - type word; - description "U interpolation scheme"; - iconURL "/FoamX/icons/small/maths/U.gif"; - valueList - ( - cell - cellPoint - cellPointFace - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/createInterpolationScheme b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/createInterpolationScheme deleted file mode 100644 index c348d83172..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/createInterpolationScheme +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createScalar01 " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type word;' >> $file -echo ' displayName "'$1'";' >> $file -echo ' description "'$1' interpolation scheme";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo ' valueList' >> $file -echo ' (' >> $file -echo ' cell' >> $file -echo ' cellPoint' >> $file -echo ' cellPointFace' >> $file -echo ' );' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/ft.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/ft.cfg deleted file mode 100644 index 0b7c6f8c62..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/ft.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ft -{ - type word; - description "ft interpolation scheme"; - iconURL "/FoamX/icons/small/maths/ft.gif"; - valueList - ( - cell - cellPoint - cellPointFace - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/fu.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/fu.cfg deleted file mode 100644 index 1839702b32..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/fu.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fu -{ - type word; - displayName "fu"; - description "fu interpolation scheme"; - iconURL "/FoamX/icons/small/maths/fu.gif"; - valueList - ( - cell - cellPoint - cellPointFace - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/p.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/p.cfg deleted file mode 100644 index 215f86dd39..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/p.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - type word; - description "p interpolation scheme"; - iconURL "/FoamX/icons/small/maths/p.gif"; - valueList - ( - cell - cellPoint - cellPointFace - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/rho.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/rho.cfg deleted file mode 100644 index 989e4fd79f..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/interpolationSchemes/rho.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho -{ - type word; - description "rho interpolation scheme"; - iconURL "/FoamX/icons/small/maths/rho.gif"; - valueList - ( - cell - cellPoint - cellPointFace - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/reflectCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/reflectCoeffs.cfg deleted file mode 100644 index eb25975efa..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/reflectCoeffs.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -reflectCoeffs -{ - type dictionary; - description "Reflection model coefficients"; - entries - { - include "coefficients/elasticity.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/specConstAtomizationCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/specConstAtomizationCoeffs.cfg deleted file mode 100644 index 2820ed5eb7..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/specConstAtomizationCoeffs.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -specConstAtomizationCoeffs -{ - type dictionary; - description "Specific constant atomization model coefficents"; - entries - { - dropletNozzleDiameterRatio - { - type list; - iconURL "/FoamX/icons/small/maths/dropletDiameterRatio.gif"; - elementType scalar; - } - - sprayAngle - { - type list; - iconURL "/FoamX/icons/small/maths/angle.gif"; - elementType scalar; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/sprayProperties.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/sprayProperties.cfg deleted file mode 100644 index c1f2c80c0b..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/sprayProperties.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of spray properties"; -dictionaryPath "constant"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/standardDragModelCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/standardDragModelCoeffs.cfg deleted file mode 100644 index d27e9382a0..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/standardDragModelCoeffs.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -standardDragModelCoeffs -{ - type dictionary; - description "Standard drag model coefficients"; - entries - { - include "coefficients/preReFactor.cfg"; - include "coefficients/ReExponent.cfg"; - include "coefficients/ReLimiter.cfg"; - include "coefficients/CdLimiter.cfg"; - include "coefficients/Cdistort.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/standardEvaporationModelCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/standardEvaporationModelCoeffs.cfg deleted file mode 100644 index 41a86d7a14..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/standardEvaporationModelCoeffs.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -standardEvaporationModelCoeffs -{ - type dictionary; - description "Standard evaporation model coefficients"; - entries - { - evaporationScheme - { - type model; - default explicit; - valueList - ( - explicit - ); - } - - include "coefficients/preReScFactor.cfg"; - include "coefficients/ReExponent.cfg"; - include "coefficients/ScExponent.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/subCycles.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/subCycles.cfg deleted file mode 100644 index 2244dbaf59..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/subCycles.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -subCycles -{ - type label; - description "Lagrangian temporal sub cycling"; - iconURL "/FoamX/icons/small/maths/purgeWrite.gif"; - helpURL "controlDict.html"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/trajectoryCoeffs.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/trajectoryCoeffs.cfg deleted file mode 100644 index 824797693a..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/trajectoryCoeffs.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -trajectoryCoeffs -{ - type dictionary; - description "Trajectory coeffs"; - entries - { - include "coefficients/cSpace.cfg"; - include "coefficients/cTime.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/sprayProperties/wallModel.cfg b/etc/apps/FoamX/dictionaries/sprayProperties/wallModel.cfg deleted file mode 100644 index 9ecf92a7f2..0000000000 --- a/etc/apps/FoamX/dictionaries/sprayProperties/wallModel.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -wallModel -{ - type model; - description "Wall model"; - default reflect; - valueList - ( - remove - reflect - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicProperties.cfg b/etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicProperties.cfg deleted file mode 100644 index f831f42a35..0000000000 --- a/etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicProperties.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of thermodynamic properties"; -dictionaryPath "constant"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicPropertiesConst.cfg b/etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicPropertiesConst.cfg deleted file mode 100644 index e8f6c8dd6b..0000000000 --- a/etc/apps/FoamX/dictionaries/thermodynamicProperties/thermodynamicPropertiesConst.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -thermodynamicProperties -{ - include "thermodynamicProperties.cfg"; - - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cv.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/R.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Cp.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Cp.cfg deleted file mode 100644 index c1107a8f75..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Cp.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cp -{ - type scalar; - description "Cp"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Hf.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Hf.cfg deleted file mode 100644 index 16ddaf97b1..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Hf.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -deltaH -{ - type scalar; - description "deltaH"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Pr.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Pr.cfg deleted file mode 100644 index f4a5d6cc62..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Pr.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Pr -{ - type scalar; - description "Pr"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tcommon.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tcommon.cfg deleted file mode 100644 index 6ecace3384..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tcommon.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ttransition -{ - type scalar; - description "Ttransition"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Thigh.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Thigh.cfg deleted file mode 100644 index c1b7378a07..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Thigh.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Thigh -{ - type scalar; - description "Thigh"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tlow.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tlow.cfg deleted file mode 100644 index 24891e84e2..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/Tlow.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Tlow -{ - type scalar; - description "Tlow"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/createCoefficient b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/createCoefficient deleted file mode 100644 index 607dae605b..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/createCoefficient +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createScalar01 " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type scalar;' >> $file -echo ' displayName "'$1'";' >> $file -echo ' description "'$1'";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff1.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff1.cfg deleted file mode 100644 index b5e5881391..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff1.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -highTCpCoeff1 -{ - type scalar; - description "highTCpCoeff1"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff2.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff2.cfg deleted file mode 100644 index 9c439a3d00..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff2.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -highTCpCoeff2 -{ - type scalar; - description "highTCpCoeff2"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff3.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff3.cfg deleted file mode 100644 index 5f0dbd79af..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff3.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -highTCpCoeff3 -{ - type scalar; - description "highTCpCoeff3"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff4.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff4.cfg deleted file mode 100644 index 9e58af7846..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff4.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -highTCpCoeff4 -{ - type scalar; - description "highTCpCoeff4"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff5.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff5.cfg deleted file mode 100644 index 96ae5b009a..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTCpCoeff5.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -highTCpCoeff5 -{ - type scalar; - description "highTCpCoeff5"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highThOffset.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highThOffset.cfg deleted file mode 100644 index b2fa832ebf..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highThOffset.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -highThOffset -{ - type scalar; - description "highThOffset"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTsOffset.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTsOffset.cfg deleted file mode 100644 index f41762a07f..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/highTsOffset.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -highTsOffset -{ - type scalar; - description "highTsOffset"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff1.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff1.cfg deleted file mode 100644 index b61aa564d8..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff1.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowTCpCoeff1 -{ - type scalar; - description "lowTCpCoeff1"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff2.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff2.cfg deleted file mode 100644 index f65a4e9db3..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff2.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowTCpCoeff2 -{ - type scalar; - description "lowTCpCoeff2"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff3.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff3.cfg deleted file mode 100644 index 867a884223..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff3.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowTCpCoeff3 -{ - type scalar; - description "lowTCpCoeff3"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff4.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff4.cfg deleted file mode 100644 index 7f0c0fefdc..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff4.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowTCpCoeff4 -{ - type scalar; - description "lowTCpCoeff4"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff5.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff5.cfg deleted file mode 100644 index 95360fcb4c..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTCpCoeff5.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowTCpCoeff5 -{ - type scalar; - description "lowTCpCoeff5"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowThOffset.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowThOffset.cfg deleted file mode 100644 index c2edf9fc4e..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowThOffset.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowThOffset -{ - type scalar; - description "lowThOffset"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTsOffset.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTsOffset.cfg deleted file mode 100644 index 48dd4921a3..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/lowTsOffset.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowTsOffset -{ - type scalar; - description "lowTsOffset"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/molecularWeight.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/molecularWeight.cfg deleted file mode 100644 index 139082ae6a..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/molecularWeight.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -molecularWeight -{ - type scalar; - description "molecularWeight"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/nMoles.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/nMoles.cfg deleted file mode 100644 index 37a0f2d33c..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/nMoles.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nMoles -{ - type scalar; - description "nMoles"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandA.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandA.cfg deleted file mode 100644 index d7ae7b4f4f..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandA.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sutherlandA -{ - type scalar; - description "sutherlandA"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandTemp.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandTemp.cfg deleted file mode 100644 index 4c31f6fc2b..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/sutherlandTemp.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sutherlandTemp -{ - type scalar; - description "sutherlandTemp"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/viscosity.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/viscosity.cfg deleted file mode 100644 index 3a89153d8c..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/coefficients/viscosity.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -viscosity -{ - type scalar; - displayName "viscosity"; - description "viscosity"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficients.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficients.cfg deleted file mode 100644 index 78e0b8417f..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficients.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "specieCoeffs.cfg"; -include "janafThermoCoeffs.cfg"; -include "sutherlandTransportCoeffs.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsHconst.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsHconst.cfg deleted file mode 100644 index 9e81a00b94..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsHconst.cfg +++ /dev/null @@ -1,41 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -reactants -{ - type compound; - iconURL "/FoamX/icons/small/maths/reactants.gif"; - entries - { - reactantsName - { - type word; - } - include "specieCoeffs.cfg"; - include "hConstThermoCoeffs.cfg"; - include "constTransportCoeffs.cfg"; - } -} - -products -{ - type compound; - iconURL "/FoamX/icons/small/maths/products.gif"; - entries - { - productsName - { - type word; - } - include "specieCoeffs.cfg"; - include "hConstThermoCoeffs.cfg"; - include "constTransportCoeffs.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsJanaf.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsJanaf.cfg deleted file mode 100644 index 8aa48b01f0..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/combustionCoefficientsJanaf.cfg +++ /dev/null @@ -1,84 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fuel -{ - type compound; - iconURL "/FoamX/icons/small/maths/fuel.gif"; - optional 1; - entries - { - fuelName - { - type word; - } - include "combustionCoefficients.cfg"; - } -} - -oxidant -{ - type compound; - iconURL "/FoamX/icons/small/maths/fuel.gif"; - optional 1; - entries - { - oxidant - { - type word; - } - include "combustionCoefficients.cfg"; - } -} - -reactants -{ - type compound; - iconURL "/FoamX/icons/small/maths/fuel.gif"; - optional 1; - entries - { - reactants - { - type word; - } - include "combustionCoefficients.cfg"; - } -} - -products -{ - type compound; - iconURL "/FoamX/icons/small/maths/fuel.gif"; - optional 1; - entries - { - products - { - type word; - } - include "combustionCoefficients.cfg"; - } -} - -burntProducts -{ - type compound; - iconURL "/FoamX/icons/small/maths/fuel.gif"; - optional 1; - entries - { - burntProducts - { - type word; - } - include "combustionCoefficients.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/constTransportCoeffs.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/constTransportCoeffs.cfg deleted file mode 100644 index 196886398e..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/constTransportCoeffs.cfg +++ /dev/null @@ -1,12 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "coefficients/viscosity.cfg"; -include "coefficients/Pr.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/hConstThermoCoeffs.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/hConstThermoCoeffs.cfg deleted file mode 100644 index cbfc129e4d..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/hConstThermoCoeffs.cfg +++ /dev/null @@ -1,12 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "coefficients/Cp.cfg"; -include "coefficients/Hf.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/janafThermoCoeffs.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/janafThermoCoeffs.cfg deleted file mode 100644 index f5589579aa..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/janafThermoCoeffs.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "coefficients/Tlow.cfg"; -include "coefficients/Thigh.cfg"; -include "coefficients/Tcommon.cfg"; -include "coefficients/highTCpCoeff1.cfg"; -include "coefficients/highTCpCoeff2.cfg"; -include "coefficients/highTCpCoeff3.cfg"; -include "coefficients/highTCpCoeff4.cfg"; -include "coefficients/highTCpCoeff5.cfg"; -include "coefficients/highThOffset.cfg"; -include "coefficients/highTsOffset.cfg"; -include "coefficients/lowTCpCoeff1.cfg"; -include "coefficients/lowTCpCoeff2.cfg"; -include "coefficients/lowTCpCoeff3.cfg"; -include "coefficients/lowTCpCoeff4.cfg"; -include "coefficients/lowTCpCoeff5.cfg"; -include "coefficients/lowThOffset.cfg"; -include "coefficients/lowTsOffset.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/liquidFuel.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/liquidFuel.cfg deleted file mode 100644 index 1b17457568..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/liquidFuel.cfg +++ /dev/null @@ -1,45 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -liquidFuel -{ - type compound; - description "Type of liquid fuel"; - iconURL "/FoamX/icons/small/maths/fuel.gif"; - entries - { - fuel - { - type word; - default nHeptane; - valueList - ( - nHeptane - nDodecane - isoOctane - nDecane - nOctane - water - diMethylEther - diEthylEther - ); - } - - properties - { - type word; - default defaultCoeffs; - valueList - ( - defaultCoeffs - ); - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/specieCoeffs.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/specieCoeffs.cfg deleted file mode 100644 index 7205e30121..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/specieCoeffs.cfg +++ /dev/null @@ -1,12 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "coefficients/nMoles.cfg"; -include "coefficients/molecularWeight.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/standardMixtureCoefficients.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/standardMixtureCoefficients.cfg deleted file mode 100644 index 8a908d1b77..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/standardMixtureCoefficients.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mixture -{ - type compound; - iconURL "/FoamX/icons/small/maths/mixture.gif"; - optional 1; - entries - { - mixtureName - { - type word; - } - include "specieCoeffs.cfg"; - include "hConstThermoCoeffs.cfg"; - include "constTransportCoeffs.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/sutherlandTransportCoeffs.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/sutherlandTransportCoeffs.cfg deleted file mode 100644 index e086ba09d8..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/sutherlandTransportCoeffs.cfg +++ /dev/null @@ -1,12 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "coefficients/sutherlandA.cfg"; -include "coefficients/sutherlandTemp.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermoType.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermoType.cfg deleted file mode 100644 index 87961a4647..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermoType.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -thermoType -{ - type model; - description "Thermophysical model"; - default hThermo>>>>; - - valueList - ( - hThermo>>>> - hMixtureThermo>>>> - hhuMixtureThermo>>>> - hhuMixtureThermo>>>> - hhuMixtureThermo>>>> - hhuMixtureThermo>>>> - hhuMixtureThermo>>>> - hhuMixtureThermo>>>> - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalProperties.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalProperties.cfg deleted file mode 100644 index 20f284fb76..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalProperties.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of thermophysical properties"; -dictionaryPath "constant"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesCombustion.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesCombustion.cfg deleted file mode 100644 index dfc0f99ff6..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesCombustion.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -thermophysicalProperties -{ - include "thermophysicalProperties.cfg"; - - entries - { - include "thermoType.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/stoichiometricAirFuelMassRatio.cfg"; - include "combustionCoefficientsJanaf.cfg"; - } - - default - { - include "../../defaults/constant/thermophysicalPropertiesCombustion"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg b/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg deleted file mode 100644 index a977e984ba..0000000000 --- a/etc/apps/FoamX/dictionaries/thermophysicalProperties/thermophysicalPropertiesMixture.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -thermophysicalProperties -{ - include "thermophysicalProperties.cfg"; - - entries - { - include "thermoType.cfg"; - include "standardMixtureCoefficients.cfg"; - } - - default - { - include "../../defaults/constant/thermophysicalPropertiesMixture"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/BirdCarreauCoeffs.cfg b/etc/apps/FoamX/dictionaries/transportProperties/BirdCarreauCoeffs.cfg deleted file mode 100644 index 07e31638ad..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/BirdCarreauCoeffs.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -BirdCarreauCoeffs -{ - type dictionary; - description "Coefficients for Bird-Carreau Law"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/nu0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/nuInf.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/k.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/n.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/CrossPowerLawCoeffs.cfg b/etc/apps/FoamX/dictionaries/transportProperties/CrossPowerLawCoeffs.cfg deleted file mode 100644 index 365e5307fa..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/CrossPowerLawCoeffs.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -CrossPowerLawCoeffs -{ - type dictionary; - description "Coefficients for Cross's Power Law"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/nu0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/nuInf.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/m.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/n.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/NewtonianSinglePhaseTransportProperties.cfg b/etc/apps/FoamX/dictionaries/transportProperties/NewtonianSinglePhaseTransportProperties.cfg deleted file mode 100644 index a73418fedc..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/NewtonianSinglePhaseTransportProperties.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -transportProperties -{ - include "transportProperties.cfg"; - - entries - { - include "NewtonianViscosity.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/NewtonianViscosity.cfg b/etc/apps/FoamX/dictionaries/transportProperties/NewtonianViscosity.cfg deleted file mode 100644 index 9b6c822579..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/NewtonianViscosity.cfg +++ /dev/null @@ -1,11 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "$FOAMX_CONFIG/entries/dimensionedScalar/nu.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/contactAngle.cfg b/etc/apps/FoamX/dictionaries/transportProperties/contactAngle.cfg deleted file mode 100644 index 2717b72628..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/contactAngle.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Contact angle properties"; -entries -{ - include "$FOAMX_CONFIG/entries/dimensionedScalar/theta0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/thetaA.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/thetaR.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/uTheta.cfg"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/incompressibleTransportModel.cfg b/etc/apps/FoamX/dictionaries/transportProperties/incompressibleTransportModel.cfg deleted file mode 100644 index 256ed9adce..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/incompressibleTransportModel.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -transportModel -{ - type model; - description "Laminar incompressible transport model"; - default Newtonian; - valueList - ( - Newtonian - CrossPowerLaw - BirdCarreau - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/singlePhaseTransportProperties.cfg b/etc/apps/FoamX/dictionaries/transportProperties/singlePhaseTransportProperties.cfg deleted file mode 100644 index a59b9cef63..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/singlePhaseTransportProperties.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -transportProperties -{ - include "transportProperties.cfg"; - - entries - { - include "incompressibleTransportModel.cfg"; - include "NewtonianViscosity.cfg"; - include "CrossPowerLawCoeffs.cfg"; - include "BirdCarreauCoeffs.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/transportProperties.cfg b/etc/apps/FoamX/dictionaries/transportProperties/transportProperties.cfg deleted file mode 100644 index f817ed1761..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/transportProperties.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type dictionary; -description "Dictionary of transport properties"; -dictionaryPath "constant"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/transportProperties/twoPhaseTransportProperties.cfg b/etc/apps/FoamX/dictionaries/transportProperties/twoPhaseTransportProperties.cfg deleted file mode 100644 index b88ab56378..0000000000 --- a/etc/apps/FoamX/dictionaries/transportProperties/twoPhaseTransportProperties.cfg +++ /dev/null @@ -1,50 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -transportProperties -{ - include "transportProperties.cfg"; - - entries - { - phase1 - { - type dictionary; - displayName "phase1"; - description "Phase 1 properties"; - entries - { - include "incompressibleTransportModel.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/rho.cfg"; - include "NewtonianViscosity.cfg"; - include "CrossPowerLawCoeffs.cfg"; - include "BirdCarreauCoeffs.cfg"; - } - } - - phase2 - { - type dictionary; - displayName "phase2"; - description "Phase 2 properties"; - entries - { - include "incompressibleTransportModel.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/rho.cfg"; - include "NewtonianViscosity.cfg"; - include "CrossPowerLawCoeffs.cfg"; - include "BirdCarreauCoeffs.cfg"; - } - } - - include "$FOAMX_CONFIG/entries/dimensionedScalar/sigma.cfg"; - } -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsCompressible.cfg b/etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsCompressible.cfg deleted file mode 100644 index 1c2f14ddf3..0000000000 --- a/etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsCompressible.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -turbulenceProperties -{ - type dictionary; - description "Turbulence properties"; - dictionaryPath "constant"; - entries - { - include "$FOAMX_CONFIG/entries/LESmodels/compressible/LESmodel.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/LESdeltaTop.cfg"; - - include "laminarCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/compressible/oneEqEddyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/compressible/dynOneEqEddyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/compressible/lowReOneEqEddyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/compressible/SmagorinskyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/compressible/DeardorffDiffStressCoeffs.cfg"; - - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/cubeRootVolCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/PrandtlCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/vanDriestCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/smoothCoeffs.cfg"; - - include "$FOAMX_CONFIG/entries/LESmodels/kappa.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/compressible/wallFunctionCoeffs.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsIncompressible.cfg b/etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsIncompressible.cfg deleted file mode 100644 index 111dab75fc..0000000000 --- a/etc/apps/FoamX/dictionaries/turbulenceProperties/LESmodelsIncompressible.cfg +++ /dev/null @@ -1,46 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -turbulenceProperties -{ - type dictionary; - description "Turbulence properties"; - dictionaryPath "constant"; - entries - { - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/LESmodel.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/LESdeltaTop.cfg"; - - include "laminarCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/oneEqEddyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/dynOneEqEddyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/locDynOneEqEddyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/SmagorinskyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/Smagorinsky2Coeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/spectEddyViscCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/dynSmagorinskyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/mixedSmagorinskyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/dynMixedSmagorinskyCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/LRRDiffStressCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/DeardorffDiffStressCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/SpalartAllmarasCoeffs.cfg"; - - //include "$FOAMX_CONFIG/entries/LESmodels/incompressible/isoScaleSimilarityCoeffs.cfg"; - - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/cubeRootVolCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/PrandtlCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/vanDriestCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/LESmodels/LESdeltas/smoothCoeffs.cfg"; - - include "$FOAMX_CONFIG/entries/LESmodels/kappa.cfg"; - - include "$FOAMX_CONFIG/entries/LESmodels/incompressible/wallFunctionCoeffs.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/turbulenceProperties/checkCoeffs b/etc/apps/FoamX/dictionaries/turbulenceProperties/checkCoeffs deleted file mode 100644 index 5e4375a4ff..0000000000 --- a/etc/apps/FoamX/dictionaries/turbulenceProperties/checkCoeffs +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -for f in `find . -name "*Coeffs.cfg" -type f` -do - temp=`cat $f | head -1` - withCoeffs=`echo $temp | grep Coeffs` - if [ "$withCoeffs" == "" ] ; then - echo "$f is missing Coeffs" - fi -done diff --git a/etc/apps/FoamX/dictionaries/turbulenceProperties/laminarCoeffs.cfg b/etc/apps/FoamX/dictionaries/turbulenceProperties/laminarCoeffs.cfg deleted file mode 100644 index bba982cfc7..0000000000 --- a/etc/apps/FoamX/dictionaries/turbulenceProperties/laminarCoeffs.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -laminarCoeffs -{ - type dictionary; - optional 1; - description "Laminar model coefficients"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg b/etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg deleted file mode 100644 index 9ab4ee8f45..0000000000 --- a/etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsCompressible.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -turbulenceProperties -{ - type dictionary; - description "Turbulence properties"; - dictionaryPath "constant"; - - entries - { - include "$FOAMX_CONFIG/entries/turbulenceModels/compressible/turbulenceModel.cfg"; - include "$FOAMX_CONFIG/entries/Switch/turbulence.cfg"; - include "laminarCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/compressible/kEpsilonCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/compressible/RNGkEpsilonCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/compressible/LaunderSharmaKECoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/compressible/LRRCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/compressible/LaunderGibsonRSTMCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/compressible/wallFunctionCoeffs.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsIncompressible.cfg b/etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsIncompressible.cfg deleted file mode 100644 index 27a0e05617..0000000000 --- a/etc/apps/FoamX/dictionaries/turbulenceProperties/turbulenceModelsIncompressible.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -turbulenceProperties -{ - type dictionary; - description "Turbulence properties"; - dictionaryPath "constant"; - - entries - { - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/turbulenceModel.cfg"; - include "$FOAMX_CONFIG/entries/Switch/turbulence.cfg"; - include "laminarCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/kEpsilonCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/RNGkEpsilonCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/NonlinearKEShihCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/LienCubicKECoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/QZetaCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/LaunderSharmaKECoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/LamBremhorstKECoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/LienCubicKELowReCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/LienLeschzinerLowReCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/LRRCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/LaunderGibsonRSTMCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/SpalartAllmarasCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/kOmegaSSTCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg"; - } -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaBottom.cfg b/etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaBottom.cfg deleted file mode 100644 index e07bb4c42c..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaBottom.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -delta -{ - type model; - description "Filtering scale"; - default cubeRootVol; - valueList - ( - cubeRootVol - smooth - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaTop.cfg b/etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaTop.cfg deleted file mode 100644 index 35f1ac0ad7..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/LESdeltaTop.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -delta -{ - type model; - description "Filtering scale"; - default cubeRootVol; - valueList - ( - cubeRootVol - Prandtl - vanDriest - smooth - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/PrandtlCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/LESdeltas/PrandtlCoeffs.cfg deleted file mode 100644 index 381c9d3c73..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/PrandtlCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -PrandtlCoeffs -{ - type dictionary; - description "Prandtl wall function coefficients"; - entries - { - include "LESdeltaBottom.cfg"; - include "cubeRootVolCoeffs.cfg"; - include "smoothCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cdelta.cfg"; - } - - include "defaults/PrandtlCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/cubeRootVolCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/LESdeltas/cubeRootVolCoeffs.cfg deleted file mode 100644 index 0e5b2caf0c..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/cubeRootVolCoeffs.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cubeRootVolCoeffs -{ - type dictionary; - description "Cube root of volume coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/scalar0Inf/deltaCoeff.cfg"; - } - - include "defaults/cubeRootVolCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/PrandtlCoeffs.def b/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/PrandtlCoeffs.def deleted file mode 100644 index 28a9b205f9..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/PrandtlCoeffs.def +++ /dev/null @@ -1,21 +0,0 @@ -default -{ - delta cubeRootVol; - - cubeRootVolCoeffs - { - deltaCoeff 1; - } - - smoothCoeffs - { - delta cubeRootVol; - cubeRootVolCoeffs - { - deltaCoeff 1; - } - maxDeltaRatio 1.1; - } - - Cdelta Cdelta [0 0 0 0 0 0 0] 0.158; -} diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/cubeRootVolCoeffs.def b/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/cubeRootVolCoeffs.def deleted file mode 100644 index 44c5ec677a..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/cubeRootVolCoeffs.def +++ /dev/null @@ -1,4 +0,0 @@ -default -{ - deltaCoeff 1; -} diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/smoothCoeffs.def b/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/smoothCoeffs.def deleted file mode 100644 index 5fe3f37bab..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/smoothCoeffs.def +++ /dev/null @@ -1,11 +0,0 @@ -default -{ - delta cubeRootVol; - - cubeRootVolCoeffs - { - deltaCoeff 1; - } - - maxDeltaRatio 1.1; -} diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/vanDriestCoeffs.def b/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/vanDriestCoeffs.def deleted file mode 100644 index 15466e38f3..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/defaults/vanDriestCoeffs.def +++ /dev/null @@ -1,22 +0,0 @@ -default -{ - delta cubeRootVol; - - cubeRootVolCoeffs - { - deltaCoeff 1; - } - - smoothCoeffs - { - delta cubeRootVol; - cubeRootVolCoeffs - { - deltaCoeff 1; - } - maxDeltaRatio 1.1; - } - - Aplus Aplus [0 0 0 0 0 0 0] 26; - Cdelta Cdelta [0 0 0 0 0 0 0] 0.158; -} diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/smoothCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/LESdeltas/smoothCoeffs.cfg deleted file mode 100644 index cef9126e6c..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/smoothCoeffs.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -smoothCoeffs -{ - type dictionary; - description "Smooth wall function coefficients"; - entries - { - delta - { - type model; - description "Filtering scale"; - default cubeRootVol; - editable 0; - } - - include "cubeRootVolCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/scalar/maxDeltaRatio.cfg"; - } - - include "defaults/smoothCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/LESdeltas/vanDriestCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/LESdeltas/vanDriestCoeffs.cfg deleted file mode 100644 index 14b7408edb..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESdeltas/vanDriestCoeffs.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanDriestCoeffs -{ - type dictionary; - description "van Driest wall function coefficients"; - entries - { - include "LESdeltaBottom.cfg"; - include "cubeRootVolCoeffs.cfg"; - include "smoothCoeffs.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Aplus.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cdelta.cfg"; - } - - include "defaults/vanDriestCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/LESfilters.cfg b/etc/apps/FoamX/entries/LESmodels/LESfilters.cfg deleted file mode 100644 index 857e0075f9..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/LESfilters.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -filter -{ - type model; - description "LES filter type"; - default simple; - valueList - ( - simple - laplace - anisotropic - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/DeardorffDiffStressCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/compressible/DeardorffDiffStressCoeffs.cfg deleted file mode 100644 index 91b808f230..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/DeardorffDiffStressCoeffs.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DeardorffDiffStressCoeffs -{ - type dictionary; - description "Standard anisochoric Deardorff differential stress model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cm.cfg"; - } - - include "defaults/DeardorffDiffStressCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/LESmodel.cfg b/etc/apps/FoamX/entries/LESmodels/compressible/LESmodel.cfg deleted file mode 100644 index e69078fcae..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/LESmodel.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LESmodel -{ - type model; - description "Anisochoric LES model selection"; - default oneEqEddy; - valueList - ( - laminar - oneEqEddy - dynOneEqEddy - lowReOneEqEddy - Smagorinsky - DeardorffDiffStress - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/SmagorinskyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/compressible/SmagorinskyCoeffs.cfg deleted file mode 100644 index 0d16dad734..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/SmagorinskyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SmagorinskyCoeffs -{ - type dictionary; - description "Standard anisoichoric Smagorinsky model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - } - - include "defaults/SmagorinskyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/DeardorffDiffStressCoeffs.def b/etc/apps/FoamX/entries/LESmodels/compressible/defaults/DeardorffDiffStressCoeffs.def deleted file mode 100644 index fa7fa4fc49..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/DeardorffDiffStressCoeffs.def +++ /dev/null @@ -1,8 +0,0 @@ -default -{ - - ck ck [ 0 0 0 0 0 0 0 ] 0.094 ; - ce ce [ 0 0 0 0 0 0 0 ] 1.048 ; - cm cm [ 0 0 0 0 0 0 0 ] 4.13; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/SmagorinskyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/compressible/defaults/SmagorinskyCoeffs.def deleted file mode 100644 index 1605212d61..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/SmagorinskyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ck ck [ 0 0 0 0 0 0 0 ] 0.020 ; - ce ce [ 0 0 0 0 0 0 0 ] 0.202 ; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/dynOneEqEddyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/compressible/defaults/dynOneEqEddyCoeffs.def deleted file mode 100644 index 5405272eeb..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/dynOneEqEddyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [0 0 0 0 0 0 0] 1.05; - filter simple; - -}; diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/lowReOneEqEddyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/compressible/defaults/lowReOneEqEddyCoeffs.def deleted file mode 100644 index 4da49eeee8..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/lowReOneEqEddyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ck ck [ 0 0 0 0 0 0 0 ] 0.07 ; - ce ce [ 0 0 0 0 0 0 0 ] 1.05 ; - beta beta [ 0 0 0 0 0 0 0 ] 0.01 ; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/oneEqEddyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/compressible/defaults/oneEqEddyCoeffs.def deleted file mode 100644 index 323c226506..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/oneEqEddyCoeffs.def +++ /dev/null @@ -1,5 +0,0 @@ -default -{ - ck ck [ 0 0 0 0 0 0 0 ] 0.094 ; - ce ce [ 0 0 0 0 0 0 0 ] 1.048 ; -}; diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/wallFunctionCoeffs.def b/etc/apps/FoamX/entries/LESmodels/compressible/defaults/wallFunctionCoeffs.def deleted file mode 100644 index d29187899c..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/defaults/wallFunctionCoeffs.def +++ /dev/null @@ -1,4 +0,0 @@ -default -{ - E E [ 0 0 0 0 0 0 0 ] 9.0 ; -}; diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/dynOneEqEddyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/compressible/dynOneEqEddyCoeffs.cfg deleted file mode 100644 index 4ce3b71bd0..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/dynOneEqEddyCoeffs.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dynOneEqEddyCoeffs -{ - type dictionary; - description "Standard anisochoric dynamic 1-equation eddy model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "../LESfilters.cfg"; - } - - include "defaults/dynOneEqEddyCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/lowReOneEqEddyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/compressible/lowReOneEqEddyCoeffs.cfg deleted file mode 100644 index 329548fd63..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/lowReOneEqEddyCoeffs.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -lowReOneEqEddyCoeffs -{ - type dictionary; - description "Standard anisochoric low-Re 1-equation eddy model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/beta.cfg"; - } - - include "defaults/lowReOneEqEddyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/oneEqEddyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/compressible/oneEqEddyCoeffs.cfg deleted file mode 100644 index 8bd77ef8d2..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/oneEqEddyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -oneEqEddyCoeffs -{ - type dictionary; - description "Standard anisochoric 1-equation eddy model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - } - - include "defaults/oneEqEddyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/compressible/wallFunctionCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/compressible/wallFunctionCoeffs.cfg deleted file mode 100644 index f6c1802cfc..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/compressible/wallFunctionCoeffs.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -wallFunctionCoeffs -{ - type dictionary; - description "Wall function coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/E.cfg"; - } - - include "defaults/wallFunctionCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/DeardorffDiffStressCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/DeardorffDiffStressCoeffs.cfg deleted file mode 100644 index 7079738aaa..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/DeardorffDiffStressCoeffs.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DeardorffDiffStressCoeffs -{ - type dictionary; - description "Standard isochoric Deardorff differential stress model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cm.cfg"; - } - - include "defaults/DeardorffDiffStressCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/LESmodel.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/LESmodel.cfg deleted file mode 100644 index 944d8183e2..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/LESmodel.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LESmodel -{ - type model; - description "Isochoric LES model selection"; - default oneEqEddy; - valueList - ( - laminar - oneEqEddy - dynOneEqEddy - locDynOneEqEddy - Smagorinsky - Smagorinsky2 - spectEddyVisc - dynSmagorinsky - mixedSmagorinsky - dynMixedSmagorinsky - LRRDiffStress - DeardorffDiffStress - SpalartAllmaras - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/LRRDiffStressCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/LRRDiffStressCoeffs.cfg deleted file mode 100644 index d7aa737ed4..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/LRRDiffStressCoeffs.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LRRDiffStressCoeffs -{ - type dictionary; - description "Standard isochoric Launder-Reese-Rodi differential stress model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/c1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/c2.cfg"; - } - - include "defaults/LRRDiffStressCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/Smagorinsky2Coeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/Smagorinsky2Coeffs.cfg deleted file mode 100644 index 9b7eb23023..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/Smagorinsky2Coeffs.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Smagorinsky2Coeffs -{ - type dictionary; - description "Standard isochoric 3D Smagorinsky model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cD2.cfg"; - } - - include "defaults/Smagorinsky2Coeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/SmagorinskyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/SmagorinskyCoeffs.cfg deleted file mode 100644 index f100b0f086..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/SmagorinskyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SmagorinskyCoeffs -{ - type dictionary; - description "Standard isochoric Smagorinsky model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - } - - include "defaults/SmagorinskyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/SpalartAllmarasCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/SpalartAllmarasCoeffs.cfg deleted file mode 100644 index 397c544a61..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/SpalartAllmarasCoeffs.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SpalartAllmarasCoeffs -{ - type dictionary; - description "Standard isochoric Spalart-Allmaras model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaNut.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cb1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cb2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cw2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cw3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cv1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cv2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/CDES.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - } - - include "defaults/SpalartAllmarasCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/DeardorffDiffStressCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/DeardorffDiffStressCoeffs.def deleted file mode 100644 index 27528ef43a..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/DeardorffDiffStressCoeffs.def +++ /dev/null @@ -1,8 +0,0 @@ -default -{ - - ce ce [ 0 0 0 0 0 0 0 ] 1.05; - ck ck [ 0 0 0 0 0 0 0 ] 0.09; - cm cm [ 0 0 0 0 0 0 0 ] 4.13; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/LRRDiffStressCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/LRRDiffStressCoeffs.def deleted file mode 100644 index 05bf0a8fa0..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/LRRDiffStressCoeffs.def +++ /dev/null @@ -1,9 +0,0 @@ -default -{ - - ce ce [ 0 0 0 0 0 0 0 ] 1.05; - ck ck [ 0 0 0 0 0 0 0 ] 0.09; - c1 c1 [ 0 0 0 0 0 0 0 ] 1.8; - c2 c2 [ 0 0 0 0 0 0 0 ] 0.6; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/Smagorinsky2Coeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/Smagorinsky2Coeffs.def deleted file mode 100644 index 4c92b73a84..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/Smagorinsky2Coeffs.def +++ /dev/null @@ -1,8 +0,0 @@ -default -{ - - ce ce [ 0 0 0 0 0 0 0 ] 1.05; - ck ck [ 0 0 0 0 0 0 0 ] 0.07; - cD2 cD2 [ 0 1 0 0 0 0 0 ] 0.02; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SmagorinskyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SmagorinskyCoeffs.def deleted file mode 100644 index b89680613a..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SmagorinskyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [0 0 0 0 0 0 0] 1.05; - ck ck [0 0 0 0 0 0 0] 0.07; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SpalartAllmarasCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SpalartAllmarasCoeffs.def deleted file mode 100644 index 66a245894f..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/SpalartAllmarasCoeffs.def +++ /dev/null @@ -1,12 +0,0 @@ -default -{ - alphaNut alphaNut [ 0 0 0 0 0 0 0 ] 1.5; - Cb1 Cb1 [ 0 0 0 0 0 0 0 ] 0.1355; - Cb2 Cb2 [ 0 0 0 0 0 0 0 ] 0.622; - Cw2 Cw2 [ 0 0 0 0 0 0 0 ] 0.3; - Cw3 Cw3 [ 0 0 0 0 0 0 0 ] 2; - Cv1 Cv1 [ 0 0 0 0 0 0 0 ] 7.1; - Cv2 Cv2 [ 0 0 0 0 0 0 0 ] 5.0; - CDES CDES [ 0 0 0 0 0 0 0 ] 0.65; - ck ck [ 0 0 0 0 0 0 0 ] 0.07; -}; diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynMixedSmagorinskyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynMixedSmagorinskyCoeffs.def deleted file mode 100644 index d41f708372..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynMixedSmagorinskyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [0 0 0 0 0 0 0] 1.05; - filter simple; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynOneEqEddyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynOneEqEddyCoeffs.def deleted file mode 100644 index d41f708372..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynOneEqEddyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [0 0 0 0 0 0 0] 1.05; - filter simple; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynSmagorinskyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynSmagorinskyCoeffs.def deleted file mode 100644 index d41f708372..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/dynSmagorinskyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [0 0 0 0 0 0 0] 1.05; - filter simple; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/locDynOneEqEddyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/locDynOneEqEddyCoeffs.def deleted file mode 100644 index d41f708372..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/locDynOneEqEddyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [0 0 0 0 0 0 0] 1.05; - filter simple; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/mixedSmagorinskyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/mixedSmagorinskyCoeffs.def deleted file mode 100644 index fb645a3073..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/mixedSmagorinskyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [ 0 0 0 0 0 0 0 ] 1.05 ; - ck ck [ 0 0 0 0 0 0 0 ] 0.07 ; - filter simple; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/oneEqEddyCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/oneEqEddyCoeffs.def deleted file mode 100644 index 6b335cf759..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/oneEqEddyCoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - - ce ce [ 0 0 0 0 0 0 0 ] 1.05 ; - ck ck [ 0 0 0 0 0 0 0 ] 0.07 ; - -}; diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/scaleSimilarityCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/scaleSimilarityCoeffs.def deleted file mode 100644 index ca7b293142..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/scaleSimilarityCoeffs.def +++ /dev/null @@ -1,6 +0,0 @@ -default -{ - - filterType simpleFilter; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/spectEddyViscCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/spectEddyViscCoeffs.def deleted file mode 100644 index 5d670a1c35..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/spectEddyViscCoeffs.def +++ /dev/null @@ -1,11 +0,0 @@ -default -{ - - ce ce [ 0 0 0 0 0 0 0 ] 1.05 ; - cB cB [ 0 0 0 0 0 0 0 ] 8.22 ; - cK1 cK1 [ 0 0 0 0 0 0 0 ] 0.83 ; - cK2 cK2 [ 0 0 0 0 0 0 0 ] 1.03 ; - cK3 cK3 [ 0 0 0 0 0 0 0 ] 4.75 ; - cK4 cK4 [ 0 0 0 0 0 0 0 ] 2.55 ; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/wallFunctionCoeffs.def b/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/wallFunctionCoeffs.def deleted file mode 100644 index d29187899c..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/defaults/wallFunctionCoeffs.def +++ /dev/null @@ -1,4 +0,0 @@ -default -{ - E E [ 0 0 0 0 0 0 0 ] 9.0 ; -}; diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/dynMixedSmagorinskyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/dynMixedSmagorinskyCoeffs.cfg deleted file mode 100644 index 5c93b62ef8..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/dynMixedSmagorinskyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dynMixedSmagorinskyCoeffs -{ - type dictionary; - description "Standard isochoric dynamic mixed Smagorinsky model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "../LESfilters.cfg"; - } - - include "defaults/dynMixedSmagorinskyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/dynOneEqEddyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/dynOneEqEddyCoeffs.cfg deleted file mode 100644 index 96c694aae6..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/dynOneEqEddyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dynOneEqEddyCoeffs -{ - type dictionary; - description "Standard isochoric dynamic 1-equation eddy model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "../LESfilters.cfg"; - } - - include "defaults/dynOneEqEddyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/dynSmagorinskyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/dynSmagorinskyCoeffs.cfg deleted file mode 100644 index dd0acf14c7..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/dynSmagorinskyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dynSmagorinskyCoeffs -{ - type dictionary; - description "Standard isochoric dynamic Smagorinsky model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "../LESfilters.cfg"; - } - - include "defaults/dynSmagorinskyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/locDynOneEqEddyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/locDynOneEqEddyCoeffs.cfg deleted file mode 100644 index de5a1110cf..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/locDynOneEqEddyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -locDynOneEqEddyCoeffs -{ - type dictionary; - description "Standard isochoric local dynamic 1-equation eddy model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "../LESfilters.cfg"; - } - - include "defaults/locDynOneEqEddyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/mixedSmagorinskyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/mixedSmagorinskyCoeffs.cfg deleted file mode 100644 index be4a834025..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/mixedSmagorinskyCoeffs.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mixedSmagorinskyCoeffs -{ - type dictionary; - description "Standard isochoric mixed Smagorinsky model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "../LESfilters.cfg"; - } - - include "defaults/mixedSmagorinskyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/oneEqEddyCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/oneEqEddyCoeffs.cfg deleted file mode 100644 index a60dc7f4b5..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/oneEqEddyCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -oneEqEddyCoeffs -{ - type dictionary; - description "Standard isochoric 1-equation eddy model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ck.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - } - - include "defaults/oneEqEddyCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/scaleSimilarityCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/scaleSimilarityCoeffs.cfg deleted file mode 100644 index 2d616a0cd1..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/scaleSimilarityCoeffs.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scaleSimilarityCoeffs -{ - type dictionary; - description "Standard isochoric scale similarity model coefficients"; - entries - { - include "../LESfilters.cfg"; - } - - include "defaults/scaleSimilarityCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/spectEddyViscCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/spectEddyViscCoeffs.cfg deleted file mode 100644 index b540e91e79..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/spectEddyViscCoeffs.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -spectEddyViscCoeffs -{ - type dictionary; - description "Standard isochoric spectral eddy viscosity model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/ce.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cB.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cK1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cK2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cK3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/cK4.cfg"; - } - - include "defaults/spectEddyViscCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/incompressible/wallFunctionCoeffs.cfg b/etc/apps/FoamX/entries/LESmodels/incompressible/wallFunctionCoeffs.cfg deleted file mode 100644 index f6c1802cfc..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/incompressible/wallFunctionCoeffs.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -wallFunctionCoeffs -{ - type dictionary; - description "Wall function coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/E.cfg"; - } - - include "defaults/wallFunctionCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/LESmodels/kappa.cfg b/etc/apps/FoamX/entries/LESmodels/kappa.cfg deleted file mode 100644 index 703cb063be..0000000000 --- a/etc/apps/FoamX/entries/LESmodels/kappa.cfg +++ /dev/null @@ -1,37 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kappa -{ - type compound; - description "kappa"; - entries - { - name - { - type word; - editable 0; - default kappa; - } - - dimensions - { - type dimensionSet; - editable 0; - - } - - value - { - type scalar; - default 0.4187; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/BinghamPlastic.cfg b/etc/apps/FoamX/entries/Switch/BinghamPlastic.cfg deleted file mode 100644 index 0d94619aa1..0000000000 --- a/etc/apps/FoamX/entries/Switch/BinghamPlastic.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -BinghamPlastic -{ - type SwitchOnOff; - description "BinghamPlastic?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/addCellNeighbours.cfg b/etc/apps/FoamX/entries/Switch/addCellNeighbours.cfg deleted file mode 100644 index a54272a13d..0000000000 --- a/etc/apps/FoamX/entries/Switch/addCellNeighbours.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -addCellNeighbours -{ - type Switch; - description "addCellNeighbours?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default no; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/anisotropic.cfg b/etc/apps/FoamX/entries/Switch/anisotropic.cfg deleted file mode 100644 index c135aa4cde..0000000000 --- a/etc/apps/FoamX/entries/Switch/anisotropic.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -anisotropic -{ - type Switch; - description "anisotropic?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/compactNormalStress.cfg b/etc/apps/FoamX/entries/Switch/compactNormalStress.cfg deleted file mode 100644 index efb5196cd2..0000000000 --- a/etc/apps/FoamX/entries/Switch/compactNormalStress.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -compactNormalStress -{ - type Switch; - description "Compact normal stress laplacian?"; - default yes; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/correctAlpha.cfg b/etc/apps/FoamX/entries/Switch/correctAlpha.cfg deleted file mode 100644 index e6ca6d514f..0000000000 --- a/etc/apps/FoamX/entries/Switch/correctAlpha.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -correctAlpha -{ - type Switch; - description "correct alpha in the PISO loop?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default no; - optional 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/createSwitch b/etc/apps/FoamX/entries/Switch/createSwitch deleted file mode 100644 index 494f81f3a2..0000000000 --- a/etc/apps/FoamX/entries/Switch/createSwitch +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/csh - -if ( $#argv != 2 ) then - echo "Usage: createSwitch " - exit 1 -endif - -if !( $1 == "Switch" | $1 == "SwitchOnOff" ) then - echo "$1 must be Switch or SwitchOnOff" - exit 1 -endif - -set file = $2.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $2 >> $file -echo '{' >> $file -echo ' type '$1';' >> $file -echo ' description "'$2'?";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/Switch.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/Switch/geometricCut.cfg b/etc/apps/FoamX/entries/Switch/geometricCut.cfg deleted file mode 100644 index 31f3bb74bf..0000000000 --- a/etc/apps/FoamX/entries/Switch/geometricCut.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -geometricCut -{ - type Switch; - description "geometricCut?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/ignite.cfg b/etc/apps/FoamX/entries/Switch/ignite.cfg deleted file mode 100644 index 1af13dce18..0000000000 --- a/etc/apps/FoamX/entries/Switch/ignite.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ignite -{ - type Switch; - description "ignite?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/layeredMesh.cfg b/etc/apps/FoamX/entries/Switch/layeredMesh.cfg deleted file mode 100644 index 4ea682884a..0000000000 --- a/etc/apps/FoamX/entries/Switch/layeredMesh.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -layeredMesh -{ - type Switch; - description "layeredMesh?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/mappingPlane.cfg b/etc/apps/FoamX/entries/Switch/mappingPlane.cfg deleted file mode 100644 index ff2b2bc8f7..0000000000 --- a/etc/apps/FoamX/entries/Switch/mappingPlane.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mappingPlane -{ - type Switch; - description "mappingPlane?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/momentumPredictor.cfg b/etc/apps/FoamX/entries/Switch/momentumPredictor.cfg deleted file mode 100644 index d1df4821cc..0000000000 --- a/etc/apps/FoamX/entries/Switch/momentumPredictor.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -momentumPredictor -{ - type Switch; - description "momentumPredictor?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default yes; - optional 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/planeStress.cfg b/etc/apps/FoamX/entries/Switch/planeStress.cfg deleted file mode 100644 index 62ac0c07b3..0000000000 --- a/etc/apps/FoamX/entries/Switch/planeStress.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -planeStress -{ - type Switch; - description "Is the problem plane stress (otherwise plane strain)"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default yes; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/problemD.cfg b/etc/apps/FoamX/entries/Switch/problemD.cfg deleted file mode 100644 index 25cf6e5b7d..0000000000 --- a/etc/apps/FoamX/entries/Switch/problemD.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -problemD -{ - type word; - description "Problem dimension (2D/3D)"; - iconURL "/FoamX/icons/small/maths/problemD.gif"; - default 2; - valueList - ( - 2 - 3 - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/thermalStress.cfg b/etc/apps/FoamX/entries/Switch/thermalStress.cfg deleted file mode 100644 index 80f61c2cd8..0000000000 --- a/etc/apps/FoamX/entries/Switch/thermalStress.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -thermalStress -{ - type Switch; - description "Shall we solve for energy?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default no; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/turbulence.cfg b/etc/apps/FoamX/entries/Switch/turbulence.cfg deleted file mode 100644 index b5d36a996f..0000000000 --- a/etc/apps/FoamX/entries/Switch/turbulence.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -turbulence -{ - type SwitchOnOff; - description "Do you wish to calculate turbulence?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default on; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/twoDMotion.cfg b/etc/apps/FoamX/entries/Switch/twoDMotion.cfg deleted file mode 100644 index a986f78068..0000000000 --- a/etc/apps/FoamX/entries/Switch/twoDMotion.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -twoDMotion -{ - type Switch; - description "twoDMotion?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/useHexTopology.cfg b/etc/apps/FoamX/entries/Switch/useHexTopology.cfg deleted file mode 100644 index e28451f2bf..0000000000 --- a/etc/apps/FoamX/entries/Switch/useHexTopology.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -useHexTopology -{ - type Switch; - description "useHexTopology?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/vanDriest.cfg b/etc/apps/FoamX/entries/Switch/vanDriest.cfg deleted file mode 100644 index ccfced77ba..0000000000 --- a/etc/apps/FoamX/entries/Switch/vanDriest.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanDriest -{ - type SwitchOnOff; - description "vanDriest?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - default off; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/Switch/writeMesh.cfg b/etc/apps/FoamX/entries/Switch/writeMesh.cfg deleted file mode 100644 index baac71228b..0000000000 --- a/etc/apps/FoamX/entries/Switch/writeMesh.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -writeMesh -{ - type Switch; - description "writeMesh?"; - iconURL "/FoamX/icons/small/maths/Switch.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/allowConcaveFaces.cfg b/etc/apps/FoamX/entries/arguments/allowConcaveFaces.cfg deleted file mode 100644 index bb5994c745..0000000000 --- a/etc/apps/FoamX/entries/arguments/allowConcaveFaces.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -allowConcaveFaces -{ - type selection; - displayName "[allowConcaveFaces]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-allowConcaveFaces"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/ascii.cfg b/etc/apps/FoamX/entries/arguments/ascii.cfg deleted file mode 100644 index a16b4b2e26..0000000000 --- a/etc/apps/FoamX/entries/arguments/ascii.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ascii -{ - type selection; - displayName "[ascii]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-ascii"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/cell.cfg b/etc/apps/FoamX/entries/arguments/cell.cfg deleted file mode 100644 index 906ef1da7b..0000000000 --- a/etc/apps/FoamX/entries/arguments/cell.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cell -{ - type selection; - displayName "[cell]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - cell - { - type string; - default "-cell"; - editable 0; - } - - cellI - { - type label; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/cellDist.cfg b/etc/apps/FoamX/entries/arguments/cellDist.cfg deleted file mode 100644 index 24b92cdecd..0000000000 --- a/etc/apps/FoamX/entries/arguments/cellDist.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cellDist -{ - type selection; - displayName "[cellDist]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-cellDist"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/cellSet.cfg b/etc/apps/FoamX/entries/arguments/cellSet.cfg deleted file mode 100644 index 782f0fa8c2..0000000000 --- a/etc/apps/FoamX/entries/arguments/cellSet.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cellSet -{ - type selection; - displayName "[cellSet]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - cellSet - { - type string; - default "-cellSet"; - editable 0; - } - - setName - { - type word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/consistent.cfg b/etc/apps/FoamX/entries/arguments/consistent.cfg deleted file mode 100644 index c3f5171a53..0000000000 --- a/etc/apps/FoamX/entries/arguments/consistent.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -consistent -{ - type selection; - displayName "[consistent]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-consistent"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/constant.cfg b/etc/apps/FoamX/entries/arguments/constant.cfg deleted file mode 100644 index 140252d4ac..0000000000 --- a/etc/apps/FoamX/entries/arguments/constant.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -constant -{ - type selection; - displayName "[constant]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-constant"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/controlFile.cfg b/etc/apps/FoamX/entries/arguments/controlFile.cfg deleted file mode 100644 index bd70cd89f6..0000000000 --- a/etc/apps/FoamX/entries/arguments/controlFile.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -controlFile -{ - type string; - displayName ""; - description "Full path of control file with input parameters"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/dataFile.cfg b/etc/apps/FoamX/entries/arguments/dataFile.cfg deleted file mode 100644 index 53ab3e9b04..0000000000 --- a/etc/apps/FoamX/entries/arguments/dataFile.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dataFile -{ - type string; - displayName ""; - description "Full path of data file to be converted"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/dict.cfg b/etc/apps/FoamX/entries/arguments/dict.cfg deleted file mode 100644 index 3c6d5d794b..0000000000 --- a/etc/apps/FoamX/entries/arguments/dict.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dict -{ - type selection; - displayName "[dict]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-dict"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/dictionary.cfg b/etc/apps/FoamX/entries/arguments/dictionary.cfg deleted file mode 100644 index 9f2e91a345..0000000000 --- a/etc/apps/FoamX/entries/arguments/dictionary.cfg +++ /dev/null @@ -1,103 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dictionary -{ - type selection; - displayName "[dictionary]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - dictionary - { - type string; - default "-dictionary"; - editable 0; - } - - dictionaryName - { - type word; - default "system/controlDict"; - } - - keywordsOrEntry - { - type selection; - displayName "keywordsOrEntry"; - entries - { - keywords - { - type selection; - displayName "[keywords]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-keywords"; - editable 0; - } - } - } - - entry - { - type selection; - displayName "[entry]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - entryOption - { - type string; - default "-entry"; - editable 0; - } - - entryValue - { - type word; - } - } - } - } - } - } - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/edgeLength.cfg b/etc/apps/FoamX/entries/arguments/edgeLength.cfg deleted file mode 100644 index 3492f2f865..0000000000 --- a/etc/apps/FoamX/entries/arguments/edgeLength.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -edgeLength -{ - type scalar0Inf; - displayName ""; - description "Edge length tolerance (m) for collapse operation"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/face.cfg b/etc/apps/FoamX/entries/arguments/face.cfg deleted file mode 100644 index 24980348f4..0000000000 --- a/etc/apps/FoamX/entries/arguments/face.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -face -{ - type selection; - displayName "[face]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - face - { - type string; - default "-face"; - editable 0; - } - - faceI - { - type label; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/faceSet.cfg b/etc/apps/FoamX/entries/arguments/faceSet.cfg deleted file mode 100644 index 37b03fccf7..0000000000 --- a/etc/apps/FoamX/entries/arguments/faceSet.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -faceSet -{ - type selection; - displayName "[faceSet]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - faceSet - { - type string; - default "-faceSet"; - editable 0; - } - - setName - { - type word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/featureAngle.cfg b/etc/apps/FoamX/entries/arguments/featureAngle.cfg deleted file mode 100644 index 68698c1d83..0000000000 --- a/etc/apps/FoamX/entries/arguments/featureAngle.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -featureAngle -{ - type angle0180; - displayName ""; - description "Feature-angle"; - default 45; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/fields.cfg b/etc/apps/FoamX/entries/arguments/fields.cfg deleted file mode 100644 index 99bbfb6ff5..0000000000 --- a/etc/apps/FoamX/entries/arguments/fields.cfg +++ /dev/null @@ -1,41 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fields -{ - type selection; - displayName "[fields]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - fields - { - type string; - default "-fields"; - editable 0; - } - - fieldsList - { - type list; - elementType word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/fieldsOnly.cfg b/etc/apps/FoamX/entries/arguments/fieldsOnly.cfg deleted file mode 100644 index d0bed6847e..0000000000 --- a/etc/apps/FoamX/entries/arguments/fieldsOnly.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fieldsOnly -{ - type selection; - displayName "[fields]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-fields"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/file.cfg b/etc/apps/FoamX/entries/arguments/file.cfg deleted file mode 100644 index b17fa540e7..0000000000 --- a/etc/apps/FoamX/entries/arguments/file.cfg +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fileOption -{ - type selection; - displayName "[file]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - kivaFile - { - type string; - default "-file"; - editable 0; - } - - fileName - { - type string; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/hex.cfg b/etc/apps/FoamX/entries/arguments/hex.cfg deleted file mode 100644 index 71b9b039ba..0000000000 --- a/etc/apps/FoamX/entries/arguments/hex.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -hex -{ - type selection; - displayName "[hex]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-hex"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/inputFile.cfg b/etc/apps/FoamX/entries/arguments/inputFile.cfg deleted file mode 100644 index 2683a7874f..0000000000 --- a/etc/apps/FoamX/entries/arguments/inputFile.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -inputFile -{ - type selection; - displayName "[inputFile]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - inputFile - { - type string; - default "-inputFile"; - editable 0; - } - - fileName - { - type word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/invertHex.cfg b/etc/apps/FoamX/entries/arguments/invertHex.cfg deleted file mode 100644 index 13b1c48ff4..0000000000 --- a/etc/apps/FoamX/entries/arguments/invertHex.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -invertHex -{ - type selection; - displayName "[invertHex]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-invertHex"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/invertPrism.cfg b/etc/apps/FoamX/entries/arguments/invertPrism.cfg deleted file mode 100644 index 5c631a8bf9..0000000000 --- a/etc/apps/FoamX/entries/arguments/invertPrism.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -invertPrism -{ - type selection; - displayName "[invertPrism]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-invertPrism"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/kivaVersion.cfg b/etc/apps/FoamX/entries/arguments/kivaVersion.cfg deleted file mode 100644 index f1331698dd..0000000000 --- a/etc/apps/FoamX/entries/arguments/kivaVersion.cfg +++ /dev/null @@ -1,48 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -version -{ - type selection; - displayName "[version]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - version - { - type string; - default "-version"; - editable 0; - } - - versionName - { - type string; - default "kiva3v"; - valueList - ( - "kiva3v" - "kiva3" - ); - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/latestTime.cfg b/etc/apps/FoamX/entries/arguments/latestTime.cfg deleted file mode 100644 index 71d91bfe48..0000000000 --- a/etc/apps/FoamX/entries/arguments/latestTime.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -latestTime -{ - type selection; - displayName "[latestTime]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-latestTime"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/masterPatch.cfg b/etc/apps/FoamX/entries/arguments/masterPatch.cfg deleted file mode 100644 index 8ef3247413..0000000000 --- a/etc/apps/FoamX/entries/arguments/masterPatch.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -masterPatch -{ - type word; - description "Name of master patch to be stitched"; -} diff --git a/etc/apps/FoamX/entries/arguments/mergeAngle.cfg b/etc/apps/FoamX/entries/arguments/mergeAngle.cfg deleted file mode 100644 index 8e7c9c3fe4..0000000000 --- a/etc/apps/FoamX/entries/arguments/mergeAngle.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mergeAngle -{ - type scalar0Inf; - displayName ""; - description "Merge angle (degrees) "; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/mesh.cfg b/etc/apps/FoamX/entries/arguments/mesh.cfg deleted file mode 100644 index 7c7822f02e..0000000000 --- a/etc/apps/FoamX/entries/arguments/mesh.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mesh -{ - type selection; - displayName "[mesh]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - mesh - { - type string; - default "-mesh"; - editable 0; - } - - meshName - { - type word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/meshFile.cfg b/etc/apps/FoamX/entries/arguments/meshFile.cfg deleted file mode 100644 index 99f4c5cd26..0000000000 --- a/etc/apps/FoamX/entries/arguments/meshFile.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -meshFile -{ - type string; - displayName ""; - description "Full path of mesh file to be converted"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/meshFilePrefix.cfg b/etc/apps/FoamX/entries/arguments/meshFilePrefix.cfg deleted file mode 100644 index 6f2129b7e0..0000000000 --- a/etc/apps/FoamX/entries/arguments/meshFilePrefix.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -meshFilePrefix -{ - type string; - displayName ""; - description "Full path of mesh files without file extension"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/minAngle.cfg b/etc/apps/FoamX/entries/arguments/minAngle.cfg deleted file mode 100644 index 5c5504aaf1..0000000000 --- a/etc/apps/FoamX/entries/arguments/minAngle.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -minAngle -{ - type scalar0Inf; - displayName ""; - description "Min angle (degrees)"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/minArea.cfg b/etc/apps/FoamX/entries/arguments/minArea.cfg deleted file mode 100644 index c3ae355610..0000000000 --- a/etc/apps/FoamX/entries/arguments/minArea.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -minArea -{ - type scalar0Inf; - displayName ""; - description "Min area (degrees)"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/nearCellValue.cfg b/etc/apps/FoamX/entries/arguments/nearCellValue.cfg deleted file mode 100644 index e85b0e2f74..0000000000 --- a/etc/apps/FoamX/entries/arguments/nearCellValue.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nearCellValue -{ - type selection; - displayName "[nearCellValue]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-nearCellValue"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/network.cfg b/etc/apps/FoamX/entries/arguments/network.cfg deleted file mode 100644 index 41d0ffebd0..0000000000 --- a/etc/apps/FoamX/entries/arguments/network.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -network -{ - type string; - displayName ""; - description "Post-processor network file"; - default "postFoam"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/noBlank.cfg b/etc/apps/FoamX/entries/arguments/noBlank.cfg deleted file mode 100644 index f44b2bd97a..0000000000 --- a/etc/apps/FoamX/entries/arguments/noBlank.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -noBlank -{ - type selection; - displayName "[noBlank]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-noBlank"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/noCoords.cfg b/etc/apps/FoamX/entries/arguments/noCoords.cfg deleted file mode 100644 index 766b28be02..0000000000 --- a/etc/apps/FoamX/entries/arguments/noCoords.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -noCoords -{ - type selection; - displayName "[noCoords]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-noCoords"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/noFaceFile.cfg b/etc/apps/FoamX/entries/arguments/noFaceFile.cfg deleted file mode 100644 index a3b7942a73..0000000000 --- a/etc/apps/FoamX/entries/arguments/noFaceFile.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -noFaceFile -{ - type selection; - displayName "[noFaceFile]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-noFaceFile"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/noInternal.cfg b/etc/apps/FoamX/entries/arguments/noInternal.cfg deleted file mode 100644 index 8175e7f551..0000000000 --- a/etc/apps/FoamX/entries/arguments/noInternal.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -noInternal -{ - type selection; - displayName "[noInternal]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-noInternal"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/noWall.cfg b/etc/apps/FoamX/entries/arguments/noWall.cfg deleted file mode 100644 index 172c21821b..0000000000 --- a/etc/apps/FoamX/entries/arguments/noWall.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -noWall -{ - type selection; - displayName "[noWall]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-noWall"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/outputFile.cfg b/etc/apps/FoamX/entries/arguments/outputFile.cfg deleted file mode 100644 index 732ec5be76..0000000000 --- a/etc/apps/FoamX/entries/arguments/outputFile.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -outputFile -{ - type selection; - displayName "[outputFile]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - outputFile - { - type string; - default "-outputFile"; - editable 0; - } - - fileName - { - type word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/parallelSource.cfg b/etc/apps/FoamX/entries/arguments/parallelSource.cfg deleted file mode 100644 index 3521409694..0000000000 --- a/etc/apps/FoamX/entries/arguments/parallelSource.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -parallelSource -{ - type selection; - displayName "[parallelSource]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-parallelSource"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/parallelTarget.cfg b/etc/apps/FoamX/entries/arguments/parallelTarget.cfg deleted file mode 100644 index b4b51e24ef..0000000000 --- a/etc/apps/FoamX/entries/arguments/parallelTarget.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -parallelTarget -{ - type selection; - displayName "[parallelTarget]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-parallelTarget"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/partial.cfg b/etc/apps/FoamX/entries/arguments/partial.cfg deleted file mode 100644 index cc7570ebd6..0000000000 --- a/etc/apps/FoamX/entries/arguments/partial.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -partial -{ - type selection; - displayName "[partial]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-partial"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/patch.cfg b/etc/apps/FoamX/entries/arguments/patch.cfg deleted file mode 100644 index b07c9ca1fc..0000000000 --- a/etc/apps/FoamX/entries/arguments/patch.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patch -{ - type selection; - displayName "[patch]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - patch - { - type string; - default "-patch"; - editable 0; - } - - patchName - { - type word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/patchFaces.cfg b/etc/apps/FoamX/entries/arguments/patchFaces.cfg deleted file mode 100644 index e1fd55239f..0000000000 --- a/etc/apps/FoamX/entries/arguments/patchFaces.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patchFaces -{ - type selection; - displayName "[patchFaces]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-patchFaces"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/patches.cfg b/etc/apps/FoamX/entries/arguments/patches.cfg deleted file mode 100644 index 7a11664d89..0000000000 --- a/etc/apps/FoamX/entries/arguments/patches.cfg +++ /dev/null @@ -1,41 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patches -{ - type selection; - displayName "[patches]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - patches - { - type string; - default "-patches"; - editable 0; - } - - patchList - { - type list; - elementType word; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/perfect.cfg b/etc/apps/FoamX/entries/arguments/perfect.cfg deleted file mode 100644 index 7bacd900cd..0000000000 --- a/etc/apps/FoamX/entries/arguments/perfect.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -perfect -{ - type selection; - displayName "[perfect]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-perfect"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/point.cfg b/etc/apps/FoamX/entries/arguments/point.cfg deleted file mode 100644 index 0b779f0b14..0000000000 --- a/etc/apps/FoamX/entries/arguments/point.cfg +++ /dev/null @@ -1,40 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -point -{ - type selection; - displayName "[point]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - point - { - type string; - default "-point"; - editable 0; - } - - pointI - { - type label; - } - } - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/readLevel.cfg b/etc/apps/FoamX/entries/arguments/readLevel.cfg deleted file mode 100644 index 294c24554a..0000000000 --- a/etc/apps/FoamX/entries/arguments/readLevel.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -readLevel -{ - type selection; - displayName "[readLevel]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-readLevel"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/rootAndCase.cfg b/etc/apps/FoamX/entries/arguments/rootAndCase.cfg deleted file mode 100644 index 0d3cd19151..0000000000 --- a/etc/apps/FoamX/entries/arguments/rootAndCase.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rootCase -{ - type rootAndCase; - displayName ""; - description "Case directory with complete path"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/rotate.cfg b/etc/apps/FoamX/entries/arguments/rotate.cfg deleted file mode 100644 index c008367dae..0000000000 --- a/etc/apps/FoamX/entries/arguments/rotate.cfg +++ /dev/null @@ -1,49 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rotate -{ - type selection; - displayName "[rotate]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - rotate - { - type string; - default "-rotate"; - editable 0; - } - - n1 - { - type vector; - default (1 0 0); - } - - n2 - { - type vector; - default (0 1 0); - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/rotationVectors.cfg b/etc/apps/FoamX/entries/arguments/rotationVectors.cfg deleted file mode 100644 index 444a1a8a99..0000000000 --- a/etc/apps/FoamX/entries/arguments/rotationVectors.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rotationVectors -{ - type compound; - displayName " "; - description "Rotation vectors"; - entries - { - n1 - { - type vector; - default (1 0 0); - } - - n2 - { - type vector; - default (0 1 0); - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/scale.cfg b/etc/apps/FoamX/entries/arguments/scale.cfg deleted file mode 100644 index a45198d16a..0000000000 --- a/etc/apps/FoamX/entries/arguments/scale.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scale -{ - type selection; - displayName "[scale]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - scale - { - type string; - default "-scale"; - editable 0; - } - - scaleFactor - { - type scalar0Inf; - default 1; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/scalingFactor.cfg b/etc/apps/FoamX/entries/arguments/scalingFactor.cfg deleted file mode 100644 index 2a659f5b15..0000000000 --- a/etc/apps/FoamX/entries/arguments/scalingFactor.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scalingFactor -{ - type scalar; - displayName ""; - description "Scaling factor used for the deformation"; - default 1.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/shapeMesh.cfg b/etc/apps/FoamX/entries/arguments/shapeMesh.cfg deleted file mode 100644 index 6bb3a46f4a..0000000000 --- a/etc/apps/FoamX/entries/arguments/shapeMesh.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -shapeMesh -{ - type selection; - displayName "[shapeMesh]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-shapeMesh"; - editable 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/singleBlock.cfg b/etc/apps/FoamX/entries/arguments/singleBlock.cfg deleted file mode 100644 index b71cde0946..0000000000 --- a/etc/apps/FoamX/entries/arguments/singleBlock.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -singleBlock -{ - type selection; - displayName "[singleBlock]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-singleBlock"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/slavePatch.cfg b/etc/apps/FoamX/entries/arguments/slavePatch.cfg deleted file mode 100644 index 27684a485a..0000000000 --- a/etc/apps/FoamX/entries/arguments/slavePatch.cfg +++ /dev/null @@ -1,13 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -slavePatch -{ - type word; - description "Name of slave patch to be stitched"; -} diff --git a/etc/apps/FoamX/entries/arguments/sourceCase.cfg b/etc/apps/FoamX/entries/arguments/sourceCase.cfg deleted file mode 100644 index afe222f1d9..0000000000 --- a/etc/apps/FoamX/entries/arguments/sourceCase.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sourceCase -{ - type string; - displayName ""; - description "Name of case directory from which data is read"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/sourceRoot.cfg b/etc/apps/FoamX/entries/arguments/sourceRoot.cfg deleted file mode 100644 index 5d49543907..0000000000 --- a/etc/apps/FoamX/entries/arguments/sourceRoot.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sourceRoot -{ - type string; - displayName ""; - description "Path to case directory from which data is read"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/sourceRootAndCase.cfg b/etc/apps/FoamX/entries/arguments/sourceRootAndCase.cfg deleted file mode 100644 index d9a7e0dbcb..0000000000 --- a/etc/apps/FoamX/entries/arguments/sourceRootAndCase.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sourceRootCase -{ - type compound; - displayName ""; - description "Case directory with complete path from which data is read"; - - entries - { - sourceOption - { - type string; - default "-source"; - editable 0; - } - - sourceCasePath - { - type string; - default "sourceCasePath"; - editable 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/startAt0.cfg b/etc/apps/FoamX/entries/arguments/startAt0.cfg deleted file mode 100644 index b1b3def6bb..0000000000 --- a/etc/apps/FoamX/entries/arguments/startAt0.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -startAt0 -{ - type selection; - displayName "[startAt0]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-startAt0"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/surfaceFields.cfg b/etc/apps/FoamX/entries/arguments/surfaceFields.cfg deleted file mode 100644 index 92b9b70f4d..0000000000 --- a/etc/apps/FoamX/entries/arguments/surfaceFields.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -surfaceFields -{ - type selection; - displayName "[surfaceFields]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-surfaceFields"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/time.cfg b/etc/apps/FoamX/entries/arguments/time.cfg deleted file mode 100644 index 457970d3e7..0000000000 --- a/etc/apps/FoamX/entries/arguments/time.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -timeOption -{ - type selection; - displayName "[time]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - timeOption - { - type string; - default "-time"; - editable 0; - } - - timeValue - { - type scalar; - default 0; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/times.cfg b/etc/apps/FoamX/entries/arguments/times.cfg deleted file mode 100644 index 6e36f4e38b..0000000000 --- a/etc/apps/FoamX/entries/arguments/times.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -times -{ - type selection; - displayName "[times]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type string; - default "-times"; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/arguments/translate.cfg b/etc/apps/FoamX/entries/arguments/translate.cfg deleted file mode 100644 index 3caee9e909..0000000000 --- a/etc/apps/FoamX/entries/arguments/translate.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -translate -{ - type selection; - displayName "[translate]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - translate - { - type string; - default "-translate"; - editable 0; - } - - translateBy - { - type vector; - default (0 0 0); - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/vectorScale.cfg b/etc/apps/FoamX/entries/arguments/vectorScale.cfg deleted file mode 100644 index f4a7cd1729..0000000000 --- a/etc/apps/FoamX/entries/arguments/vectorScale.cfg +++ /dev/null @@ -1,43 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vectorScale -{ - type selection; - displayName "[scale]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - vectorScale - { - type string; - default "-scale"; - editable 0; - } - - vectorScaleFactor - { - type vector; - default (1 1 1); - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/arguments/zHeadMin.cfg b/etc/apps/FoamX/entries/arguments/zHeadMin.cfg deleted file mode 100644 index b996568605..0000000000 --- a/etc/apps/FoamX/entries/arguments/zHeadMin.cfg +++ /dev/null @@ -1,42 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -zHeadMin -{ - type selection; - displayName "[zHeadMin]"; - entries - { - off - { - type compound; - entries {} - } - - on - { - type compound; - entries - { - zHeadMin - { - type string; - default "-zHeadMin"; - editable 0; - } - - zHeadMinFactor - { - type scalar0Inf; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/A.cfg b/etc/apps/FoamX/entries/dimensionedScalar/A.cfg deleted file mode 100644 index 3a9157f837..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/A.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -A -{ - type dimensionedScalar; - description "A"; - iconURL "/FoamX/icons/small/maths/A.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/A1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/A1.cfg deleted file mode 100644 index c7215344bf..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/A1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -A1 -{ - type dimensionedScalar; - description "A1"; - iconURL "/FoamX/icons/small/maths/A1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/A2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/A2.cfg deleted file mode 100644 index 78f571ebe9..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/A2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -A2 -{ - type dimensionedScalar; - description "A2"; - iconURL "/FoamX/icons/small/maths/A2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Aepsilon.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Aepsilon.cfg deleted file mode 100644 index ea0df0f54d..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Aepsilon.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Aepsilon -{ - type dimensionedScalar; - description "Aepsilon"; - iconURL "/FoamX/icons/small/maths/Aepsilon.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Am.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Am.cfg deleted file mode 100644 index 15ea4cc4b5..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Am.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Am -{ - type dimensionedScalar; - description "Am"; - iconURL "/FoamX/icons/small/maths/Am.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Amu.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Amu.cfg deleted file mode 100644 index a5882c73d0..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Amu.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Amu -{ - type dimensionedScalar; - description "Amu"; - iconURL "/FoamX/icons/small/maths/Amu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Aplus.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Aplus.cfg deleted file mode 100644 index baf82c5695..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Aplus.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Aplus -{ - type dimensionedScalar; - description "Aplus"; - iconURL "/FoamX/icons/small/maths/Aplus.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/B.cfg b/etc/apps/FoamX/entries/dimensionedScalar/B.cfg deleted file mode 100644 index b0ce4eae6e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/B.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - type dimensionedScalar; - description "B"; - iconURL "/FoamX/icons/small/maths/B.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/B2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/B2.cfg deleted file mode 100644 index a2e6273ab4..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/B2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B2 -{ - type dimensionedScalar; - description "B2"; - iconURL "/FoamX/icons/small/maths/B2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Bm.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Bm.cfg deleted file mode 100644 index 272a6a0e81..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Bm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Bm -{ - type dimensionedScalar; - description "Bm"; - iconURL "/FoamX/icons/small/maths/Bm.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/C.cfg b/etc/apps/FoamX/entries/dimensionedScalar/C.cfg deleted file mode 100644 index 698d066550..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/C.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -C -{ - type dimensionedScalar; - description "C"; - iconURL "/FoamX/icons/small/maths/C.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/C1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/C1.cfg deleted file mode 100644 index ab50c2efb0..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/C1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -C1 -{ - type dimensionedScalar; - description "C1"; - iconURL "/FoamX/icons/small/maths/C1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/C1Ref.cfg b/etc/apps/FoamX/entries/dimensionedScalar/C1Ref.cfg deleted file mode 100644 index c0d7664b7e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/C1Ref.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -C1Ref -{ - type dimensionedScalar; - description "C1Ref"; - iconURL "/FoamX/icons/small/maths/C1Ref.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/C2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/C2.cfg deleted file mode 100644 index cfbf79457e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/C2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -C2 -{ - type dimensionedScalar; - description "C2"; - iconURL "/FoamX/icons/small/maths/C2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/C2Ref.cfg b/etc/apps/FoamX/entries/dimensionedScalar/C2Ref.cfg deleted file mode 100644 index 6e4ff12c66..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/C2Ref.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -C2Ref -{ - type dimensionedScalar; - description "C2Ref"; - iconURL "/FoamX/icons/small/maths/C2Ref.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/C3.cfg b/etc/apps/FoamX/entries/dimensionedScalar/C3.cfg deleted file mode 100644 index 1629fc8180..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/C3.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -C3 -{ - type dimensionedScalar; - description "C3"; - iconURL "/FoamX/icons/small/maths/C3.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/CDES.cfg b/etc/apps/FoamX/entries/dimensionedScalar/CDES.cfg deleted file mode 100644 index a1a698690a..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/CDES.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -CDES -{ - type dimensionedScalar; - description "CDES"; - iconURL "/FoamX/icons/small/maths/CDES.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cb1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cb1.cfg deleted file mode 100644 index 847eb3166b..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cb1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cb1 -{ - type dimensionedScalar; - description "Cb1"; - iconURL "/FoamX/icons/small/maths/Cb1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cb2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cb2.cfg deleted file mode 100644 index cb004f10a2..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cb2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cb2 -{ - type dimensionedScalar; - description "Cb2"; - iconURL "/FoamX/icons/small/maths/Cb2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cdelta.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cdelta.cfg deleted file mode 100644 index 2f398024ad..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cdelta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cdelta -{ - type dimensionedScalar; - description "Cdelta"; - iconURL "/FoamX/icons/small/maths/Cdelta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Ceps.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Ceps.cfg deleted file mode 100644 index c3aecb61be..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Ceps.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ceps -{ - type dimensionedScalar; - description "Ceps"; - iconURL "/FoamX/icons/small/maths/Ceps.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cl.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cl.cfg deleted file mode 100644 index 5a345b7394..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cl.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cl -{ - type dimensionedScalar; - description "Cl"; - iconURL "/FoamX/icons/small/maths/Cl.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Clg1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Clg1.cfg deleted file mode 100644 index e13d461f22..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Clg1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Clg1 -{ - type dimensionedScalar; - description "Clg1"; - iconURL "/FoamX/icons/small/maths/Clg1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Clg2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Clg2.cfg deleted file mode 100644 index a87219df5f..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Clg2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Clg2 -{ - type dimensionedScalar; - description "Clg2"; - iconURL "/FoamX/icons/small/maths/Clg2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Clrr1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Clrr1.cfg deleted file mode 100644 index 3a2486997f..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Clrr1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Clrr1 -{ - type dimensionedScalar; - description "Clrr1"; - iconURL "/FoamX/icons/small/maths/Clrr1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Clrr2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Clrr2.cfg deleted file mode 100644 index df88da0cbe..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Clrr2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Clrr2 -{ - type dimensionedScalar; - description "Clrr2"; - iconURL "/FoamX/icons/small/maths/Clrr2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cmu.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cmu.cfg deleted file mode 100644 index 29eece9f05..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cmu.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cmu -{ - type dimensionedScalar; - description "Cmu"; - iconURL "/FoamX/icons/small/maths/Cmu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cs.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cs.cfg deleted file mode 100644 index 132cee65f0..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cs.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cs -{ - type dimensionedScalar; - description "Cs"; - iconURL "/FoamX/icons/small/maths/Cs.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Ct.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Ct.cfg deleted file mode 100644 index cbaaef0112..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Ct.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ct -{ - type dimensionedScalar; - description "Ct"; - iconURL "/FoamX/icons/small/maths/Ct.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Ctau1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Ctau1.cfg deleted file mode 100644 index 5f007cda68..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Ctau1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ctau1 -{ - type dimensionedScalar; - description "Ctau1"; - iconURL "/FoamX/icons/small/maths/Ctau1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Ctau2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Ctau2.cfg deleted file mode 100644 index 7a29b9d8a7..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Ctau2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ctau2 -{ - type dimensionedScalar; - description "Ctau2"; - iconURL "/FoamX/icons/small/maths/Ctau2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Ctau3.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Ctau3.cfg deleted file mode 100644 index c183daf1f6..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Ctau3.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ctau3 -{ - type dimensionedScalar; - description "Ctau3"; - iconURL "/FoamX/icons/small/maths/Ctau3.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cv.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cv.cfg deleted file mode 100644 index 2ae3a8153b..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cv.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cv -{ - type dimensionedScalar; - description "Cv"; - iconURL "/FoamX/icons/small/maths/Cv.gif"; - default Cv [0 2 -2 -1 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cv1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cv1.cfg deleted file mode 100644 index f8b58d3183..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cv1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cv1 -{ - type dimensionedScalar; - description "Cv1"; - iconURL "/FoamX/icons/small/maths/Cv1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cv2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cv2.cfg deleted file mode 100644 index 1a93ac422f..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cv2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cv2 -{ - type dimensionedScalar; - description "Cv2"; - iconURL "/FoamX/icons/small/maths/Cv2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cvm.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cvm.cfg deleted file mode 100644 index 41a2e4e341..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cvm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cvm -{ - type dimensionedScalar; - description "Cvm"; - iconURL "/FoamX/icons/small/maths/Cvm.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cw1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cw1.cfg deleted file mode 100644 index 7de016429c..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cw1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cw1 -{ - type dimensionedScalar; - description "Cw1"; - iconURL "/FoamX/icons/small/maths/Cw1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cw2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cw2.cfg deleted file mode 100644 index 2ecd2dca14..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cw2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cw2 -{ - type dimensionedScalar; - description "Cw2"; - iconURL "/FoamX/icons/small/maths/Cw2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Cw3.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Cw3.cfg deleted file mode 100644 index f054cd2fe2..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Cw3.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Cw3 -{ - type dimensionedScalar; - description "Cw3"; - iconURL "/FoamX/icons/small/maths/Cw3.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/D.cfg b/etc/apps/FoamX/entries/dimensionedScalar/D.cfg deleted file mode 100644 index c47cc8bd18..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/D.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -D -{ - type dimensionedScalar; - description "D"; - iconURL "/FoamX/icons/small/maths/D.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/DT.cfg b/etc/apps/FoamX/entries/dimensionedScalar/DT.cfg deleted file mode 100644 index d77c2ac2ba..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/DT.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DT -{ - type dimensionedScalar; - description "DT"; - iconURL "/FoamX/icons/small/maths/DT.gif"; - default DT [0 2 -1 0 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/E.cfg b/etc/apps/FoamX/entries/dimensionedScalar/E.cfg deleted file mode 100644 index 874a55beb5..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/E.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -E -{ - type dimensionedScalar; - description "E"; - iconURL "/FoamX/icons/small/maths/E.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Kappa.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Kappa.cfg deleted file mode 100644 index 093d968732..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Kappa.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Kappa -{ - type dimensionedScalar; - description "Kappa"; - iconURL "/FoamX/icons/small/maths/Kappa.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/R.cfg b/etc/apps/FoamX/entries/dimensionedScalar/R.cfg deleted file mode 100644 index 755984406e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/R.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -R -{ - type dimensionedScalar; - description "R"; - iconURL "/FoamX/icons/small/maths/R.gif"; - default R [0 2 -2 -1 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/Su.cfg b/etc/apps/FoamX/entries/dimensionedScalar/Su.cfg deleted file mode 100644 index 5147fd5ca1..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/Su.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Su -{ - type dimensionedScalar; - description "Su"; - iconURL "/FoamX/icons/small/maths/Su.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/W.cfg b/etc/apps/FoamX/entries/dimensionedScalar/W.cfg deleted file mode 100644 index 294bae9d1b..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/W.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -W -{ - type dimensionedScalar; - description "W"; - iconURL "/FoamX/icons/small/maths/W.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/XiCoef.cfg b/etc/apps/FoamX/entries/dimensionedScalar/XiCoef.cfg deleted file mode 100644 index c9979ca1a0..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/XiCoef.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -XiCoef -{ - type dimensionedScalar; - description "XiCoef"; - iconURL "/FoamX/icons/small/maths/XiCoef.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/XiShapeCoef.cfg b/etc/apps/FoamX/entries/dimensionedScalar/XiShapeCoef.cfg deleted file mode 100644 index 983f4bcbab..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/XiShapeCoef.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -XiShapeCoef -{ - type dimensionedScalar; - description "XiShapeCoef"; - iconURL "/FoamX/icons/small/maths/XiShapeCoef.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/a.cfg b/etc/apps/FoamX/entries/dimensionedScalar/a.cfg deleted file mode 100644 index 22e4a69386..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/a.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -a -{ - type dimensionedScalar; - description "a"; - iconURL "/FoamX/icons/small/maths/a.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/a1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/a1.cfg deleted file mode 100644 index 52db440c3d..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/a1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -a1 -{ - type dimensionedScalar; - description "a1"; - iconURL "/FoamX/icons/small/maths/a1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alpha.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alpha.cfg deleted file mode 100644 index fd7e4ec4fe..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alpha.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alpha -{ - type dimensionedScalar; - description "alpha"; - iconURL "/FoamX/icons/small/maths/alpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaEps.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaEps.cfg deleted file mode 100644 index 79c4544cf7..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaEps.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaEps -{ - type dimensionedScalar; - description "alphaEps"; - iconURL "/FoamX/icons/small/maths/alphaEps.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaK1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaK1.cfg deleted file mode 100644 index 0e846894e6..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaK1.cfg +++ /dev/null @@ -1,6 +0,0 @@ -alphaK1 -{ - type dimensionedScalar; - description "alphaK1"; - iconURL "/FoamX/icons/small/maths/alphaK1.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaK2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaK2.cfg deleted file mode 100644 index 9608cfd6d9..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaK2.cfg +++ /dev/null @@ -1,6 +0,0 @@ -alphaK2 -{ - type dimensionedScalar; - description "alphaK2"; - iconURL "/FoamX/icons/small/maths/alphaK2.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaKsi.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaKsi.cfg deleted file mode 100644 index 9ac6f48614..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaKsi.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaKsi -{ - type dimensionedScalar; - description "alphaKsi"; - iconURL "/FoamX/icons/small/maths/alphaKsi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaMin.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaMin.cfg deleted file mode 100644 index d36d73d015..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaMin.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaMin -{ - type dimensionedScalar; - description "alphaMin"; - iconURL "/FoamX/icons/small/maths/alphaMin.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaNut.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaNut.cfg deleted file mode 100644 index c9decdedca..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaNut.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaNut -{ - type dimensionedScalar; - description "alphaNut"; - iconURL "/FoamX/icons/small/maths/alphaNut.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaOmega1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaOmega1.cfg deleted file mode 100644 index e512e5c993..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaOmega1.cfg +++ /dev/null @@ -1,6 +0,0 @@ -alphaOmega1 -{ - type dimensionedScalar; - description "alphaOmega1"; - iconURL "/FoamX/icons/small/maths/alphaOmega1.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaOmega2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaOmega2.cfg deleted file mode 100644 index 5b7308ef81..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaOmega2.cfg +++ /dev/null @@ -1,6 +0,0 @@ -alphaOmega2 -{ - type dimensionedScalar; - description "alphaOmega2"; - iconURL "/FoamX/icons/small/maths/alphaOmega2.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaR.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaR.cfg deleted file mode 100644 index a4883f5be5..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaR.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaR -{ - type dimensionedScalar; - description "alphaR"; - iconURL "/FoamX/icons/small/maths/alphaR.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphaZeta.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphaZeta.cfg deleted file mode 100644 index 57da732c93..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphaZeta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphaZeta -{ - type dimensionedScalar; - description "alphaZeta"; - iconURL "/FoamX/icons/small/maths/alphaZeta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphah.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphah.cfg deleted file mode 100644 index 5fd36e65dc..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphah.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphah -{ - type dimensionedScalar; - description "alphah"; - iconURL "/FoamX/icons/small/maths/alphah.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/alphak.cfg b/etc/apps/FoamX/entries/dimensionedScalar/alphak.cfg deleted file mode 100644 index d351831f9e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/alphak.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alphak -{ - type dimensionedScalar; - description "alphak"; - iconURL "/FoamX/icons/small/maths/alphak.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/beta.cfg b/etc/apps/FoamX/entries/dimensionedScalar/beta.cfg deleted file mode 100644 index 59ec082e10..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/beta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -beta -{ - type dimensionedScalar; - description "beta"; - iconURL "/FoamX/icons/small/maths/beta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/beta1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/beta1.cfg deleted file mode 100644 index 65e7a9bf10..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/beta1.cfg +++ /dev/null @@ -1,6 +0,0 @@ -beta1 -{ - type dimensionedScalar; - description "beta1"; - iconURL "/FoamX/icons/small/maths/beta1.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/beta2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/beta2.cfg deleted file mode 100644 index bbbfb4dd87..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/beta2.cfg +++ /dev/null @@ -1,6 +0,0 @@ -beta2 -{ - type dimensionedScalar; - description "beta2"; - iconURL "/FoamX/icons/small/maths/beta2.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/betaStar.cfg b/etc/apps/FoamX/entries/dimensionedScalar/betaStar.cfg deleted file mode 100644 index cd754240c4..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/betaStar.cfg +++ /dev/null @@ -1,6 +0,0 @@ -betaStar -{ - type dimensionedScalar; - description "betaStar"; - iconURL "/FoamX/icons/small/maths/betaStar.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/bore.cfg b/etc/apps/FoamX/entries/dimensionedScalar/bore.cfg deleted file mode 100644 index 4efa1b6196..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/bore.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -bore -{ - type dimensionedScalar; - description "bore"; - iconURL "/FoamX/icons/small/maths/bore.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/c1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/c1.cfg deleted file mode 100644 index 04c5e29ff2..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/c1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -c1 -{ - type dimensionedScalar; - description "c1"; - iconURL "/FoamX/icons/small/maths/c1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/c2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/c2.cfg deleted file mode 100644 index 0ca2127f55..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/c2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -c2 -{ - type dimensionedScalar; - description "c2"; - iconURL "/FoamX/icons/small/maths/c2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cB.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cB.cfg deleted file mode 100644 index 0808083b5d..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cB.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cB -{ - type dimensionedScalar; - description "cB"; - iconURL "/FoamX/icons/small/maths/cB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cD.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cD.cfg deleted file mode 100644 index 7e2c175658..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cD.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cD -{ - type dimensionedScalar; - description "cD"; - iconURL "/FoamX/icons/small/maths/cD.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cD2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cD2.cfg deleted file mode 100644 index ac1e73d0ae..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cD2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cD2 -{ - type dimensionedScalar; - description "cD2"; - iconURL "/FoamX/icons/small/maths/cD2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cI.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cI.cfg deleted file mode 100644 index c71ec28c22..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cI.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cI -{ - type dimensionedScalar; - description "cI"; - iconURL "/FoamX/icons/small/maths/cI.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cK1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cK1.cfg deleted file mode 100644 index d08ec4eb4c..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cK1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cK1 -{ - type dimensionedScalar; - description "cK1"; - iconURL "/FoamX/icons/small/maths/cK1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cK2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cK2.cfg deleted file mode 100644 index c4e4a67d94..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cK2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cK2 -{ - type dimensionedScalar; - description "cK2"; - iconURL "/FoamX/icons/small/maths/cK2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cK3.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cK3.cfg deleted file mode 100644 index 64cb6bd891..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cK3.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cK3 -{ - type dimensionedScalar; - description "cK3"; - iconURL "/FoamX/icons/small/maths/cK3.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cK4.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cK4.cfg deleted file mode 100644 index 0d404aef6e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cK4.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cK4 -{ - type dimensionedScalar; - description "cK4"; - iconURL "/FoamX/icons/small/maths/cK4.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/ce.cfg b/etc/apps/FoamX/entries/dimensionedScalar/ce.cfg deleted file mode 100644 index 6971b6c979..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/ce.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ce -{ - type dimensionedScalar; - description "ce"; - iconURL "/FoamX/icons/small/maths/ce.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/ck.cfg b/etc/apps/FoamX/entries/dimensionedScalar/ck.cfg deleted file mode 100644 index 9ee40af8de..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/ck.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ck -{ - type dimensionedScalar; - description "ck"; - iconURL "/FoamX/icons/small/maths/ck.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/clearance.cfg b/etc/apps/FoamX/entries/dimensionedScalar/clearance.cfg deleted file mode 100644 index fbe4358bd1..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/clearance.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -clearance -{ - type dimensionedScalar; - description "clearance"; - iconURL "/FoamX/icons/small/maths/clearance.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/cm.cfg b/etc/apps/FoamX/entries/dimensionedScalar/cm.cfg deleted file mode 100644 index 8fb300340c..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/cm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cm -{ - type dimensionedScalar; - description "cm"; - iconURL "/FoamX/icons/small/maths/cm.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/conRodLength.cfg b/etc/apps/FoamX/entries/dimensionedScalar/conRodLength.cfg deleted file mode 100644 index b9eea57dc1..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/conRodLength.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -conRodLength -{ - type dimensionedScalar; - description "conRodLength"; - iconURL "/FoamX/icons/small/maths/conRodLength.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/createDimensionedScalar b/etc/apps/FoamX/entries/dimensionedScalar/createDimensionedScalar deleted file mode 100644 index 437cfc73ad..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/createDimensionedScalar +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createDimensionedScalar " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type dimensionedScalar;' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/dimensionedScalar/da.cfg b/etc/apps/FoamX/entries/dimensionedScalar/da.cfg deleted file mode 100644 index 1e529c03f7..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/da.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -da -{ - type dimensionedScalar; - description "da"; - iconURL "/FoamX/icons/small/maths/da.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/db.cfg b/etc/apps/FoamX/entries/dimensionedScalar/db.cfg deleted file mode 100644 index cfb472a69b..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/db.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -db -{ - type dimensionedScalar; - description "db"; - iconURL "/FoamX/icons/small/maths/db.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/e.cfg b/etc/apps/FoamX/entries/dimensionedScalar/e.cfg deleted file mode 100644 index 0e6814a95b..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/e.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -e -{ - type dimensionedScalar; - description "e"; - iconURL "/FoamX/icons/small/maths/e.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/epsilon0.cfg b/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/epsilon0.cfg deleted file mode 100644 index 4de895b4d3..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/epsilon0.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -epsilon0 -{ - type dimensionedScalar; - description "epsilon0"; - iconURL "/FoamX/icons/small/maths/epsilon0.gif"; - default epsilon0 [-1 -3 4 0 0 2 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/k.cfg b/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/k.cfg deleted file mode 100644 index bd9c5ecc5b..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/k.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -k -{ - type dimensionedScalar; - description "k"; - iconURL "/FoamX/icons/small/maths/k.gif"; - default k [-1 0 2 0 0 1 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/mu.cfg b/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/mu.cfg deleted file mode 100644 index 096283f852..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/mu.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mu -{ - type dimensionedScalar; - description "mu"; - iconURL "/FoamX/icons/small/maths/mu.gif"; - default mu [1 1 -2 0 0 -2 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/sigma.cfg b/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/sigma.cfg deleted file mode 100644 index a364ad4a94..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/electromagnetics/sigma.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sigma -{ - type dimensionedScalar; - description "sigma"; - iconURL "/FoamX/icons/small/maths/sigma.gif"; - default sigma [-1 -3 3 0 0 2 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/equivalenceRatio.cfg b/etc/apps/FoamX/entries/dimensionedScalar/equivalenceRatio.cfg deleted file mode 100644 index 1895be2316..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/equivalenceRatio.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -equivalenceRatio -{ - type dimensionedScalar; - description "equivalenceRatio"; - iconURL "/FoamX/icons/small/maths/ratio.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/eta.cfg b/etc/apps/FoamX/entries/dimensionedScalar/eta.cfg deleted file mode 100644 index 770a01df07..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/eta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -eta -{ - type dimensionedScalar; - description "eta"; - iconURL "/FoamX/icons/small/maths/eta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/eta0.cfg b/etc/apps/FoamX/entries/dimensionedScalar/eta0.cfg deleted file mode 100644 index db31b3d0a3..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/eta0.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -eta0 -{ - type dimensionedScalar; - description "eta0"; - iconURL "/FoamX/icons/small/maths/eta0.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/f.cfg b/etc/apps/FoamX/entries/dimensionedScalar/f.cfg deleted file mode 100644 index 9e45640a0a..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/f.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -f -{ - type dimensionedScalar; - description "f"; - iconURL "/FoamX/icons/small/maths/f.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/gamma.cfg b/etc/apps/FoamX/entries/dimensionedScalar/gamma.cfg deleted file mode 100644 index 8bce26325a..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/gamma.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gamma -{ - type dimensionedScalar; - description "gamma"; - iconURL "/FoamX/icons/small/maths/gamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/gamma1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/gamma1.cfg deleted file mode 100644 index b38946a2bc..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/gamma1.cfg +++ /dev/null @@ -1,6 +0,0 @@ -gamma1 -{ - type dimensionedScalar; - description "gamma1"; - iconURL "/FoamX/icons/small/maths/gamma1.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/gamma2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/gamma2.cfg deleted file mode 100644 index 22a6bed129..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/gamma2.cfg +++ /dev/null @@ -1,6 +0,0 @@ -gamma2 -{ - type dimensionedScalar; - description "gamma2"; - iconURL "/FoamX/icons/small/maths/gamma2.gif"; -} diff --git a/etc/apps/FoamX/entries/dimensionedScalar/k.cfg b/etc/apps/FoamX/entries/dimensionedScalar/k.cfg deleted file mode 100644 index ccd384a9a8..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/k.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -k -{ - type dimensionedScalar; - description "k"; - iconURL "/FoamX/icons/small/maths/k.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/kappa.cfg b/etc/apps/FoamX/entries/dimensionedScalar/kappa.cfg deleted file mode 100644 index b85c05c87f..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/kappa.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kappa -{ - type dimensionedScalar; - description "kappa"; - iconURL "/FoamX/icons/small/maths/kappa.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/m.cfg b/etc/apps/FoamX/entries/dimensionedScalar/m.cfg deleted file mode 100644 index 6d98a9b00c..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/m.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -m -{ - type dimensionedScalar; - description "m"; - iconURL "/FoamX/icons/small/maths/m.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/mgbsCoef.cfg b/etc/apps/FoamX/entries/dimensionedScalar/mgbsCoef.cfg deleted file mode 100644 index f6c2fd6db0..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/mgbsCoef.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mgbsCoef -{ - type dimensionedScalar; - description "mgbsCoef"; - iconURL "/FoamX/icons/small/maths/mgbsCoef.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/mu.cfg b/etc/apps/FoamX/entries/dimensionedScalar/mu.cfg deleted file mode 100644 index 3e3aaf11a9..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/mu.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mu -{ - type dimensionedScalar; - description "mu"; - iconURL "/FoamX/icons/small/maths/mu.gif"; - default mu [1 -1 -1 0 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/mu1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/mu1.cfg deleted file mode 100644 index 78a75bf81e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/mu1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mu1 -{ - type dimensionedScalar; - description "mu1"; - iconURL "/FoamX/icons/small/maths/mu1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/mu2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/mu2.cfg deleted file mode 100644 index 3c7f583842..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/mu2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mu2 -{ - type dimensionedScalar; - description "mu2"; - iconURL "/FoamX/icons/small/maths/mu2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/muc.cfg b/etc/apps/FoamX/entries/dimensionedScalar/muc.cfg deleted file mode 100644 index 66400a92c4..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/muc.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -muc -{ - type dimensionedScalar; - description "muc"; - iconURL "/FoamX/icons/small/maths/muc.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/n.cfg b/etc/apps/FoamX/entries/dimensionedScalar/n.cfg deleted file mode 100644 index c6afc71b0f..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/n.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -n -{ - type dimensionedScalar; - description "n"; - iconURL "/FoamX/icons/small/maths/n.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/nu.cfg b/etc/apps/FoamX/entries/dimensionedScalar/nu.cfg deleted file mode 100644 index 60a6bafa94..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/nu.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nu -{ - type dimensionedScalar; - description "nu"; - iconURL "/FoamX/icons/small/maths/nu.gif"; - default nu [0 2 -1 0 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/nu0.cfg b/etc/apps/FoamX/entries/dimensionedScalar/nu0.cfg deleted file mode 100644 index 577d33bb29..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/nu0.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nu0 -{ - type dimensionedScalar; - description "nu0"; - iconURL "/FoamX/icons/small/maths/nu0.gif"; - default nu0 [0 2 -1 0 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/nuInf.cfg b/etc/apps/FoamX/entries/dimensionedScalar/nuInf.cfg deleted file mode 100644 index 5b92e6fb2d..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/nuInf.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nuInf -{ - type dimensionedScalar; - description "nuInf"; - iconURL "/FoamX/icons/small/maths/nuInf.gif"; - default nuInf [0 2 -1 0 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/nua.cfg b/etc/apps/FoamX/entries/dimensionedScalar/nua.cfg deleted file mode 100644 index ef9d25b50e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/nua.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nua -{ - type dimensionedScalar; - description "nua"; - iconURL "/FoamX/icons/small/maths/nua.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/nub.cfg b/etc/apps/FoamX/entries/dimensionedScalar/nub.cfg deleted file mode 100644 index 17a85e3bea..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/nub.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nub -{ - type dimensionedScalar; - description "nub"; - iconURL "/FoamX/icons/small/maths/nub.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/p0.cfg b/etc/apps/FoamX/entries/dimensionedScalar/p0.cfg deleted file mode 100644 index bbc0759568..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/p0.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p0 -{ - type dimensionedScalar; - description "p0"; - iconURL "/FoamX/icons/small/maths/p0.gif"; - default p0 [ 1 -1 -2 0 0 0 0 ] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/phim.cfg b/etc/apps/FoamX/entries/dimensionedScalar/phim.cfg deleted file mode 100644 index 21a80b1349..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/phim.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -phim -{ - type dimensionedScalar; - description "phim"; - iconURL "/FoamX/icons/small/maths/phim.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityCoeff.cfg b/etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityCoeff.cfg deleted file mode 100644 index ac9631b3b4..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityCoeff.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -plasticViscosityCoeff -{ - type dimensionedScalar; - description "plasticViscosityCoeff"; - iconURL "/FoamX/icons/small/maths/plasticViscosityCoeff.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityExponent.cfg b/etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityExponent.cfg deleted file mode 100644 index 451d6a810c..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/plasticViscosityExponent.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -plasticViscosityExponent -{ - type dimensionedScalar; - description "plasticViscosityExponent"; - iconURL "/FoamX/icons/small/maths/plasticViscosityExponent.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/psi.cfg b/etc/apps/FoamX/entries/dimensionedScalar/psi.cfg deleted file mode 100644 index abdbf5a640..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/psi.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -psi -{ - type dimensionedScalar; - description "psi"; - iconURL "/FoamX/icons/small/maths/psi.gif"; - default psi [ 0 -2 2 0 0 0 0 ] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/r.cfg b/etc/apps/FoamX/entries/dimensionedScalar/r.cfg deleted file mode 100644 index 6a987c5bb2..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/r.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -r -{ - type dimensionedScalar; - description "r"; - iconURL "/FoamX/icons/small/maths/r.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rho.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rho.cfg deleted file mode 100644 index 77801cf774..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rho.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho -{ - type dimensionedScalar; - description "rho"; - iconURL "/FoamX/icons/small/maths/rho.gif"; - default rho [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rho0.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rho0.cfg deleted file mode 100644 index dfbadb4635..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rho0.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho0 -{ - type dimensionedScalar; - description "rho0"; - iconURL "/FoamX/icons/small/maths/rho0.gif"; - default rho0 [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rho1.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rho1.cfg deleted file mode 100644 index 5dd3854695..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rho1.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho1 -{ - type dimensionedScalar; - description "rho1"; - iconURL "/FoamX/icons/small/maths/rho1.gif"; - default rho1 [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rho2.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rho2.cfg deleted file mode 100644 index 804d94c5df..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rho2.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho2 -{ - type dimensionedScalar; - description "rho2"; - iconURL "/FoamX/icons/small/maths/rho2.gif"; - default rho [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rhoa.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rhoa.cfg deleted file mode 100644 index 1c5c4c3df5..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rhoa.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rhoa -{ - type dimensionedScalar; - description "rhoa"; - iconURL "/FoamX/icons/small/maths/rhoa.gif"; - default rho [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rhob.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rhob.cfg deleted file mode 100644 index bbe2f7dca4..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rhob.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rhob -{ - type dimensionedScalar; - description "rhob"; - iconURL "/FoamX/icons/small/maths/rhob.gif"; - default rho [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rhoc.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rhoc.cfg deleted file mode 100644 index 90c6b80772..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rhoc.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rhoc -{ - type dimensionedScalar; - description "rhoc"; - iconURL "/FoamX/icons/small/maths/rhoc.gif"; - default rhoc [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rhod.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rhod.cfg deleted file mode 100644 index 7b1166b7f5..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rhod.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rhod -{ - type dimensionedScalar; - description "rhod"; - iconURL "/FoamX/icons/small/maths/rhod.gif"; - default rhod [1 -3 0 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/rpm.cfg b/etc/apps/FoamX/entries/dimensionedScalar/rpm.cfg deleted file mode 100644 index 052d1079ae..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/rpm.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rpm -{ - type dimensionedScalar; - description "rpm"; - iconURL "/FoamX/icons/small/maths/rpm.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/s.cfg b/etc/apps/FoamX/entries/dimensionedScalar/s.cfg deleted file mode 100644 index 266564a0c4..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/s.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -s -{ - type dimensionedScalar; - description "s"; - iconURL "/FoamX/icons/small/maths/s.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/sigma.cfg b/etc/apps/FoamX/entries/dimensionedScalar/sigma.cfg deleted file mode 100644 index 492a27214b..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/sigma.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sigma -{ - type dimensionedScalar; - description "sigma"; - iconURL "/FoamX/icons/small/maths/sigma.gif"; - default sigma [1 0 -2 0 0 0 0] 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/sigmaExt.cfg b/etc/apps/FoamX/entries/dimensionedScalar/sigmaExt.cfg deleted file mode 100644 index 82aff811c3..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/sigmaExt.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -sigmaExt -{ - type dimensionedScalar; - description "sigmaExt"; - iconURL "/FoamX/icons/small/maths/sigmaExt.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/stoichiometricAirFuelMassRatio.cfg b/etc/apps/FoamX/entries/dimensionedScalar/stoichiometricAirFuelMassRatio.cfg deleted file mode 100644 index d2893f84ea..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/stoichiometricAirFuelMassRatio.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -stoichiometricAirFuelMassRatio -{ - type dimensionedScalar; - description "stoichiometricAirFuelMassRatio"; - iconURL "/FoamX/icons/small/maths/alpha.gif"; - options - { - value - { - minValue 0; - maxValue 10000; - } - } - default stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/stress/C.cfg b/etc/apps/FoamX/entries/dimensionedScalar/stress/C.cfg deleted file mode 100644 index 3a6f36c640..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/stress/C.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -C -{ - type dimensionedScalar; - description "C"; - iconURL "/FoamX/icons/small/maths/C.gif"; - default C [0 2 -2 -1 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/stress/E.cfg b/etc/apps/FoamX/entries/dimensionedScalar/stress/E.cfg deleted file mode 100644 index 1080af407a..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/stress/E.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -E -{ - type dimensionedScalar; - description "E"; - iconURL "/FoamX/icons/small/maths/E.gif"; - default E [1 -1 -2 0 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/stress/alpha.cfg b/etc/apps/FoamX/entries/dimensionedScalar/stress/alpha.cfg deleted file mode 100644 index 3b23aa2073..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/stress/alpha.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alpha -{ - type dimensionedScalar; - description "alpha"; - iconURL "/FoamX/icons/small/maths/alpha.gif"; - default alpha [0 0 0 -1 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/stress/k.cfg b/etc/apps/FoamX/entries/dimensionedScalar/stress/k.cfg deleted file mode 100644 index 99ed33a7ab..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/stress/k.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -k -{ - type dimensionedScalar; - description "k"; - iconURL "/FoamX/icons/small/maths/k.gif"; - default k [1 1 -3 -1 0 0 0] 0.0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/stress/nu.cfg b/etc/apps/FoamX/entries/dimensionedScalar/stress/nu.cfg deleted file mode 100644 index 25f71f7a4c..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/stress/nu.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nu -{ - type dimensionedScalar; - description "nu"; - iconURL "/FoamX/icons/small/maths/nu.gif"; - default nu [0 0 0 0 0 0 0] 0.3; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/strike.cfg b/etc/apps/FoamX/entries/dimensionedScalar/strike.cfg deleted file mode 100644 index 793916bebb..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/strike.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -strike -{ - type dimensionedScalar; - description "strike"; - iconURL "/FoamX/icons/small/maths/strike.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/stroke.cfg b/etc/apps/FoamX/entries/dimensionedScalar/stroke.cfg deleted file mode 100644 index e1c0997768..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/stroke.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -stroke -{ - type dimensionedScalar; - description "stroke"; - iconURL "/FoamX/icons/small/maths/stroke.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/theta0.cfg b/etc/apps/FoamX/entries/dimensionedScalar/theta0.cfg deleted file mode 100644 index 0800b64ddc..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/theta0.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -theta0 -{ - type dimensionedScalar; - description "theta0"; - iconURL "/FoamX/icons/small/maths/theta0.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/thetaA.cfg b/etc/apps/FoamX/entries/dimensionedScalar/thetaA.cfg deleted file mode 100644 index 36aa9be93e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/thetaA.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -thetaA -{ - type dimensionedScalar; - description "thetaA"; - iconURL "/FoamX/icons/small/maths/thetaA.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/thetaR.cfg b/etc/apps/FoamX/entries/dimensionedScalar/thetaR.cfg deleted file mode 100644 index 00928b211e..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/thetaR.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -thetaR -{ - type dimensionedScalar; - description "thetaR"; - iconURL "/FoamX/icons/small/maths/thetaR.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/uPrimeCoef.cfg b/etc/apps/FoamX/entries/dimensionedScalar/uPrimeCoef.cfg deleted file mode 100644 index f11138b182..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/uPrimeCoef.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -uPrimeCoef -{ - type dimensionedScalar; - description "uPrimeCoef"; - iconURL "/FoamX/icons/small/maths/uPrimeCoef.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/uTheta.cfg b/etc/apps/FoamX/entries/dimensionedScalar/uTheta.cfg deleted file mode 100644 index 02de2869ed..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/uTheta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -uTheta -{ - type dimensionedScalar; - description "uTheta"; - iconURL "/FoamX/icons/small/maths/uTheta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/xi.cfg b/etc/apps/FoamX/entries/dimensionedScalar/xi.cfg deleted file mode 100644 index 84f729696a..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/xi.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -xi -{ - type dimensionedScalar; - description "xi"; - iconURL "/FoamX/icons/small/maths/xi.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/yieldStressCoeff.cfg b/etc/apps/FoamX/entries/dimensionedScalar/yieldStressCoeff.cfg deleted file mode 100644 index ab56322ccc..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/yieldStressCoeff.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -yieldStressCoeff -{ - type dimensionedScalar; - description "yieldStressCoeff"; - iconURL "/FoamX/icons/small/maths/yieldStressCoeff.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/yieldStressExponent.cfg b/etc/apps/FoamX/entries/dimensionedScalar/yieldStressExponent.cfg deleted file mode 100644 index 050361b28d..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/yieldStressExponent.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -yieldStressExponent -{ - type dimensionedScalar; - description "yieldStressExponent"; - iconURL "/FoamX/icons/small/maths/yieldStressExponent.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedScalar/yieldStressOffset.cfg b/etc/apps/FoamX/entries/dimensionedScalar/yieldStressOffset.cfg deleted file mode 100644 index 4e0ecc1507..0000000000 --- a/etc/apps/FoamX/entries/dimensionedScalar/yieldStressOffset.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -yieldStressOffset -{ - type dimensionedScalar; - description "yieldStressOffset"; - iconURL "/FoamX/icons/small/maths/yieldStressOffset.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedVector/Ubar.cfg b/etc/apps/FoamX/entries/dimensionedVector/Ubar.cfg deleted file mode 100644 index bbe8d6732a..0000000000 --- a/etc/apps/FoamX/entries/dimensionedVector/Ubar.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ubar -{ - type dimensionedVector; - description "Ubar"; - iconURL "/FoamX/icons/small/maths/Ubar.gif"; - default Ubar [0 1 -1 0 0 0 0] (0 0 0); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedVector/V0.cfg b/etc/apps/FoamX/entries/dimensionedVector/V0.cfg deleted file mode 100644 index 13c7b9a434..0000000000 --- a/etc/apps/FoamX/entries/dimensionedVector/V0.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -V0 -{ - type dimensionedVector; - description "V0"; - iconURL "/FoamX/icons/small/maths/V0.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/dimensionedVector/createDimensionedVector b/etc/apps/FoamX/entries/dimensionedVector/createDimensionedVector deleted file mode 100644 index e2fac290fb..0000000000 --- a/etc/apps/FoamX/entries/dimensionedVector/createDimensionedVector +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createDimensionedVector " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type dimensionedVector;' >> $file -echo ' displayName "'$1'";' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/dimensionedVector/g.cfg b/etc/apps/FoamX/entries/dimensionedVector/g.cfg deleted file mode 100644 index 95b579a52f..0000000000 --- a/etc/apps/FoamX/entries/dimensionedVector/g.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -g -{ - type dimensionedVector; - description "g"; - iconURL "/FoamX/icons/small/maths/g.gif"; - default g [0 1 -2 0 0 0 0] (0 0 0); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/engineMesh/engineMesh.cfg b/etc/apps/FoamX/entries/engineMesh/engineMesh.cfg deleted file mode 100644 index 133fda9d16..0000000000 --- a/etc/apps/FoamX/entries/engineMesh/engineMesh.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -engineMesh -{ - type model; - description "Engine mesh selection"; - default layered; - valueList - ( - static - layered - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/fieldValues/fieldValue.cfg b/etc/apps/FoamX/entries/fieldValues/fieldValue.cfg deleted file mode 100644 index a852305a26..0000000000 --- a/etc/apps/FoamX/entries/fieldValues/fieldValue.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fieldValue -{ - type selection; - description "field value"; - entries - { - include "volScalarFieldValue.cfg"; - include "volVectorFieldValue.cfg"; - include "volTensorFieldValue.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/fieldValues/fieldValues.cfg b/etc/apps/FoamX/entries/fieldValues/fieldValues.cfg deleted file mode 100644 index e6e2ef0092..0000000000 --- a/etc/apps/FoamX/entries/fieldValues/fieldValues.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fieldValues -{ - type list; - description "list of field values"; - elementType - { - include "fieldValue.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/fieldValues/volScalarFieldValue.cfg b/etc/apps/FoamX/entries/fieldValues/volScalarFieldValue.cfg deleted file mode 100644 index 7f8c9eb342..0000000000 --- a/etc/apps/FoamX/entries/fieldValues/volScalarFieldValue.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -volScalarFieldValue -{ - type compound; - entries - { - fieldName - { - type word; - } - - value - { - type scalar; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/fieldValues/volTensorFieldValue.cfg b/etc/apps/FoamX/entries/fieldValues/volTensorFieldValue.cfg deleted file mode 100644 index 949b511f59..0000000000 --- a/etc/apps/FoamX/entries/fieldValues/volTensorFieldValue.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -volTensorFieldValue -{ - type compound; - entries - { - fieldName - { - type word; - } - - value - { - type tensor; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/fieldValues/volVectorFieldValue.cfg b/etc/apps/FoamX/entries/fieldValues/volVectorFieldValue.cfg deleted file mode 100644 index e6b38f6679..0000000000 --- a/etc/apps/FoamX/entries/fieldValues/volVectorFieldValue.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -volVectorFieldValue -{ - type compound; - entries - { - fieldName - { - type word; - } - - value - { - type vector; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Bdynamic.cfg b/etc/apps/FoamX/entries/geometricFields/Bdynamic.cfg deleted file mode 100644 index c8184cfd54..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Bdynamic.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - description "Dynamic SGS stress"; - fieldType tensor; - iconURL "/FoamX/icons/small/maths/B.gif"; - geometryType vol; - dimensions [1 -1 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Bkinematic.cfg b/etc/apps/FoamX/entries/geometricFields/Bkinematic.cfg deleted file mode 100644 index 62924c519b..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Bkinematic.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - description "Kinematic SGS stress"; - fieldType tensor; - iconURL "/FoamX/icons/small/maths/B.gif"; - geometryType vol; - dimensions [0 2 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Bsgs.cfg b/etc/apps/FoamX/entries/geometricFields/Bsgs.cfg deleted file mode 100644 index 56eb3229a6..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Bsgs.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - description "SGS stress"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/B.gif"; - geometryType vol; - dimensions [1 -1 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Rdynamic.cfg b/etc/apps/FoamX/entries/geometricFields/Rdynamic.cfg deleted file mode 100644 index 432fd5ad1c..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Rdynamic.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -R -{ - description "Dynamic Reynolds stress tensor (for RSTMs)"; - fieldType tensor; - iconURL "/FoamX/icons/small/maths/R.gif"; - geometryType vol; - dimensions [1 -1 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Rkinematic.cfg b/etc/apps/FoamX/entries/geometricFields/Rkinematic.cfg deleted file mode 100644 index 9d4c24bab4..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Rkinematic.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -R -{ - description "Kinematic Reynolds stress tensor (for RSTMs)"; - fieldType tensor; - iconURL "/FoamX/icons/small/maths/R.gif"; - geometryType vol; - dimensions [0 2 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Su.cfg b/etc/apps/FoamX/entries/geometricFields/Su.cfg deleted file mode 100644 index 5d492b7b9b..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Su.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Su -{ - description "Flame Speed"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/Su.gif"; - geometryType vol; - dimensions [0 1 -1 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/T.cfg b/etc/apps/FoamX/entries/geometricFields/T.cfg deleted file mode 100644 index c7db167ad8..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/T.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -T -{ - description "Temperature Field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/T.gif"; - geometryType vol; - dimensions [ 0 0 0 1 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Tdimless.cfg b/etc/apps/FoamX/entries/geometricFields/Tdimless.cfg deleted file mode 100644 index a14e826d9d..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Tdimless.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -T -{ - description "Temperature Field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/T.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Tu.cfg b/etc/apps/FoamX/entries/geometricFields/Tu.cfg deleted file mode 100644 index 2f115356b3..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Tu.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Tu -{ - description "Unburnt mixture temperature field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/Tu.gif"; - geometryType vol; - dimensions [ 0 0 0 1 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/U.cfg b/etc/apps/FoamX/entries/geometricFields/U.cfg deleted file mode 100644 index 1987a13255..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/U.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -U -{ - description "Velocity Field"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/U.gif"; - geometryType vol; - dimensions [0 1 -1 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Ua.cfg b/etc/apps/FoamX/entries/geometricFields/Ua.cfg deleted file mode 100644 index 31ed41bac2..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Ua.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ua -{ - description "Velocity Field"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/Ua.gif"; - geometryType vol; - dimensions [0 1 -1 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Ub.cfg b/etc/apps/FoamX/entries/geometricFields/Ub.cfg deleted file mode 100644 index 124997ba4b..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Ub.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ub -{ - description "Velocity Field"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/Ub.gif"; - geometryType vol; - dimensions [0 1 -1 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Vfinancial.cfg b/etc/apps/FoamX/entries/geometricFields/Vfinancial.cfg deleted file mode 100644 index ea5b3e7065..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Vfinancial.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -V -{ - description "Value"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/V.gif"; - geometryType vol; - dimensions [ 0 1 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/Xi.cfg b/etc/apps/FoamX/entries/geometricFields/Xi.cfg deleted file mode 100644 index 7952e40368..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/Xi.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Xi -{ - description "Xi field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/Xi.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/alpha.cfg b/etc/apps/FoamX/entries/geometricFields/alpha.cfg deleted file mode 100644 index a89d3a5515..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/alpha.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alpha -{ - description "Discrete phase fraction"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/alpha.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/b.cfg b/etc/apps/FoamX/entries/geometricFields/b.cfg deleted file mode 100644 index 188bfd4bc8..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/b.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -b -{ - description "b field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/b.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/displacement.cfg b/etc/apps/FoamX/entries/geometricFields/displacement.cfg deleted file mode 100644 index 1be2e4d4ae..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/displacement.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -D -{ - description "Displacement Field"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/D.gif"; - geometryType vol; - dimensions [0 1 0 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/electromagnetics/B.cfg b/etc/apps/FoamX/entries/geometricFields/electromagnetics/B.cfg deleted file mode 100644 index df64d95f6e..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/electromagnetics/B.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - description "Magnetic flux density field"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/B.gif"; - geometryType vol; - dimensions [1 0 -2 0 0 -1 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/electromagnetics/pB.cfg b/etc/apps/FoamX/entries/geometricFields/electromagnetics/pB.cfg deleted file mode 100644 index 344470a491..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/electromagnetics/pB.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pB -{ - description "Ficticious magnetic pressure field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/pB.gif"; - geometryType vol; - dimensions [1 1 -3 0 0 -1 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/epsilon.cfg b/etc/apps/FoamX/entries/geometricFields/epsilon.cfg deleted file mode 100644 index 03b124fde7..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/epsilon.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -epsilon -{ - description "Dissipation Rate Field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/epsilon.gif"; - geometryType vol; - dimensions [ 0 2 -3 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/ft.cfg b/etc/apps/FoamX/entries/geometricFields/ft.cfg deleted file mode 100644 index 70ad6bc07f..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/ft.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ft -{ - description "Fuel mass fraction field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/ft.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/fu.cfg b/etc/apps/FoamX/entries/geometricFields/fu.cfg deleted file mode 100644 index 99b22852af..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/fu.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fu -{ - description "Unburnt fuel mass fraction field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/fu.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/gamma.cfg b/etc/apps/FoamX/entries/geometricFields/gamma.cfg deleted file mode 100644 index 0beba4bc37..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/gamma.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gamma -{ - description "Volume fraction field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/gamma.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/k.cfg b/etc/apps/FoamX/entries/geometricFields/k.cfg deleted file mode 100644 index f1dc9f444b..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/k.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -k -{ - description "Turbulent Kinetic Energy Field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/k.gif"; - geometryType vol; - dimensions [ 0 2 -2 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/motionU.cfg b/etc/apps/FoamX/entries/geometricFields/motionU.cfg deleted file mode 100644 index 2f43e05514..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/motionU.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -motionU -{ - description "Geometry motion velocity"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/U.gif"; - geometryType point; - dimensions [0 1 -1 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/muSgs.cfg b/etc/apps/FoamX/entries/geometricFields/muSgs.cfg deleted file mode 100644 index 61f56ef48b..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/muSgs.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -muSgs -{ - description "Sub-grid scale dynamic viscosity"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/muSgs.gif"; - geometryType vol; - dimensions [ 1 -1 -1 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/muTilda.cfg b/etc/apps/FoamX/entries/geometricFields/muTilda.cfg deleted file mode 100644 index cf2ba24192..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/muTilda.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -muTilda -{ - description "**** dynamic viscosity "; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/muTilda.gif"; - geometryType vol; - dimensions [1 -1 -1 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/nuSgs.cfg b/etc/apps/FoamX/entries/geometricFields/nuSgs.cfg deleted file mode 100644 index 3aac6ad474..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/nuSgs.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nuSgs -{ - description "Sub-grid scale kinematic viscosity"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/nuSgs.gif"; - geometryType vol; - dimensions [ 0 2 -1 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/nuTilda.cfg b/etc/apps/FoamX/entries/geometricFields/nuTilda.cfg deleted file mode 100644 index 4cd4d9e1f2..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/nuTilda.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nuTilda -{ - description "**** kinematic viscosity (for Spalart Allmaras turbulence model)"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/nuTilda.gif"; - geometryType vol; - dimensions [ 0 2 -1 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/pDynamic.cfg b/etc/apps/FoamX/entries/geometricFields/pDynamic.cfg deleted file mode 100644 index c4107872f4..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/pDynamic.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - description "DYNAMIC pressure field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/p.gif"; - geometryType vol; - dimensions [1 -1 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/pKinematic.cfg b/etc/apps/FoamX/entries/geometricFields/pKinematic.cfg deleted file mode 100644 index f9bf3a438c..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/pKinematic.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - description "KINEMATIC pressure field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/p.gif"; - geometryType vol; - dimensions [0 2 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/pd.cfg b/etc/apps/FoamX/entries/geometricFields/pd.cfg deleted file mode 100644 index 3889ee2378..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/pd.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pd -{ - description "DYNAMIC pressure field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/pd.gif"; - geometryType vol; - dimensions [1 -1 -2 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/phiEP.cfg b/etc/apps/FoamX/entries/geometricFields/phiEP.cfg deleted file mode 100644 index 2f4435d3f0..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/phiEP.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -phi -{ - description "Electric potential"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/phi.gif"; - geometryType vol; - dimensions [ 1 2 -3 0 0 -1 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/pointU.cfg b/etc/apps/FoamX/entries/geometricFields/pointU.cfg deleted file mode 100644 index 6dc83bcbd9..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/pointU.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pointU -{ - description "Motion Velocity Field"; - fieldType vector; - iconURL "/FoamX/icons/small/maths/U.gif"; - geometryType point; - dimensions [0 1 -1 0 0 0 0]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/rXi.cfg b/etc/apps/FoamX/entries/geometricFields/rXi.cfg deleted file mode 100644 index faaf8dd1d5..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/rXi.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rXi -{ - description "rXi field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/rXi.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/rhoCD.cfg b/etc/apps/FoamX/entries/geometricFields/rhoCD.cfg deleted file mode 100644 index c55e05ae7e..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/rhoCD.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho -{ - description "Charge density"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/rho.gif"; - geometryType vol; - dimensions [ 0 -3 1 0 0 1 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/geometricFields/theta.cfg b/etc/apps/FoamX/entries/geometricFields/theta.cfg deleted file mode 100644 index ef05b8fd73..0000000000 --- a/etc/apps/FoamX/entries/geometricFields/theta.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -theta -{ - description "Transported scalar field"; - fieldType scalar; - iconURL "/FoamX/icons/small/maths/theta.gif"; - geometryType vol; - dimensions [ 0 0 0 0 0 0 0 ]; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/Gamma.cfg b/etc/apps/FoamX/entries/interpolations/Gamma.cfg deleted file mode 100644 index 0335378db2..0000000000 --- a/etc/apps/FoamX/entries/interpolations/Gamma.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Gamma -{ - type compound; - description "Gamma interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/Gamma01.cfg b/etc/apps/FoamX/entries/interpolations/Gamma01.cfg deleted file mode 100644 index 66c760c11a..0000000000 --- a/etc/apps/FoamX/entries/interpolations/Gamma01.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Gamma01 -{ - type compound; - description "Gamma01 interpolation scheme for scalars bounded 0-1"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/GammaV.cfg b/etc/apps/FoamX/entries/interpolations/GammaV.cfg deleted file mode 100644 index 31de216bdd..0000000000 --- a/etc/apps/FoamX/entries/interpolations/GammaV.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -GammaV -{ - type compound; - description "GammaV (Gamma for vectors) interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/MUSCL.cfg b/etc/apps/FoamX/entries/interpolations/MUSCL.cfg deleted file mode 100644 index 8b6b6be46a..0000000000 --- a/etc/apps/FoamX/entries/interpolations/MUSCL.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -MUSCL -{ - type compound; - description "van Leer MUSCL interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/MUSCL01.cfg b/etc/apps/FoamX/entries/interpolations/MUSCL01.cfg deleted file mode 100644 index 3de5779d25..0000000000 --- a/etc/apps/FoamX/entries/interpolations/MUSCL01.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -MUSCL01 -{ - type compound; - description "MUSCL01 interpolation scheme for scalars bounded 0-1"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/Phi.cfg b/etc/apps/FoamX/entries/interpolations/Phi.cfg deleted file mode 100644 index 5726a69ce5..0000000000 --- a/etc/apps/FoamX/entries/interpolations/Phi.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Phi -{ - type compound; - description "Phi interpolation scheme for velocity"; - entries - { - coefficient - { - type scalar01; - default 1.0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/QUICK.cfg b/etc/apps/FoamX/entries/interpolations/QUICK.cfg deleted file mode 100644 index f41867ccca..0000000000 --- a/etc/apps/FoamX/entries/interpolations/QUICK.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -QUICK -{ - type compound; - description "Quadratic upwind interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/SFCD.cfg b/etc/apps/FoamX/entries/interpolations/SFCD.cfg deleted file mode 100644 index 9b6083674f..0000000000 --- a/etc/apps/FoamX/entries/interpolations/SFCD.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SFCD -{ - type compound; - description "Self-filtered central differencing scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/SFCDV.cfg b/etc/apps/FoamX/entries/interpolations/SFCDV.cfg deleted file mode 100644 index 5e3028d84a..0000000000 --- a/etc/apps/FoamX/entries/interpolations/SFCDV.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SFCDV -{ - type compound; - description "SFCDV (SFCD for vectors) interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/SuperBee.cfg b/etc/apps/FoamX/entries/interpolations/SuperBee.cfg deleted file mode 100644 index c6a80a04cd..0000000000 --- a/etc/apps/FoamX/entries/interpolations/SuperBee.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SuperBee -{ - type compound; - description "SuperBee interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/SuperBee01.cfg b/etc/apps/FoamX/entries/interpolations/SuperBee01.cfg deleted file mode 100644 index 0c8703d90a..0000000000 --- a/etc/apps/FoamX/entries/interpolations/SuperBee01.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SuperBee01 -{ - type compound; - description "SuperBee01 interpolation scheme for scalars bounded 0-1"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/UMIST.cfg b/etc/apps/FoamX/entries/interpolations/UMIST.cfg deleted file mode 100644 index 8d60d5bedc..0000000000 --- a/etc/apps/FoamX/entries/interpolations/UMIST.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -UMIST -{ - type compound; - description "UMIST interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/blended.cfg b/etc/apps/FoamX/entries/interpolations/blended.cfg deleted file mode 100644 index 57b9b16f0f..0000000000 --- a/etc/apps/FoamX/entries/interpolations/blended.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -blended -{ - type compound; - description "Blended upwind (=0) and linear (=1) interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 0.5; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/Gamma.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/Gamma.cfg deleted file mode 100644 index fa8ec5f6e7..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/Gamma.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Gamma -{ - type Gamma; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/Gamma01.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/Gamma01.cfg deleted file mode 100644 index deb1a0e6c5..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/Gamma01.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Gamma01 -{ - type Gamma01; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/GammaV.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/GammaV.cfg deleted file mode 100644 index 86f7274d38..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/GammaV.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -GammaV -{ - type GammaV; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/MUSCL.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/MUSCL.cfg deleted file mode 100644 index 6db7cf32cf..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/MUSCL.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -MUSCL -{ - type MUSCL; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/MUSCL01.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/MUSCL01.cfg deleted file mode 100644 index 930d989b54..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/MUSCL01.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -MUSCL01 -{ - type MUSCL01; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/Phi.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/Phi.cfg deleted file mode 100644 index c558f04437..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/Phi.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Phi -{ - type Phi; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/QUICK.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/QUICK.cfg deleted file mode 100644 index 96b6ffbde3..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/QUICK.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -QUICK -{ - type QUICK; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/SFCD.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/SFCD.cfg deleted file mode 100644 index aa98e23e89..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/SFCD.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SFCD -{ - type SFCD; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/SFCDV.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/SFCDV.cfg deleted file mode 100644 index 7d54ae18de..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/SFCDV.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SFCDV -{ - type SFCDV; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/SuperBee.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/SuperBee.cfg deleted file mode 100644 index 1d09efd14c..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/SuperBee.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SuperBee -{ - type SuperBee; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/SuperBee01.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/SuperBee01.cfg deleted file mode 100644 index d243667ab3..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/SuperBee01.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SuperBee01 -{ - type SuperBee01; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/UMIST.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/UMIST.cfg deleted file mode 100644 index 8654915556..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/UMIST.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -UMIST -{ - type UMIST; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/blended.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/blended.cfg deleted file mode 100644 index ff5c6a0e2c..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/blended.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -blended -{ - type blended; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/createAllInterpolationByPhi b/etc/apps/FoamX/entries/interpolations/byPhi/createAllInterpolationByPhi deleted file mode 100755 index 3efbd8d051..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/createAllInterpolationByPhi +++ /dev/null @@ -1,36 +0,0 @@ -./createInterpolationByPhi blended -./createInterpolationByPhi downwind -./createInterpolationByPhi Gamma01 -./createInterpolationByPhi Gamma -./createInterpolationByPhi GammaV -./createInterpolationByPhi limitedCubic01 -./createInterpolationByPhi limitedCubic -./createInterpolationByPhi limitedGamma -./createInterpolationByPhi limitedLimitedCubic -./createInterpolationByPhi limitedLimitedLinear -./createInterpolationByPhi limitedLinear -./createInterpolationByPhi limitedLinear01 -./createInterpolationByPhi limitedMUSCL -./createInterpolationByPhi limitedSuperBee -./createInterpolationByPhi limitedVanLeer -./createInterpolationByPhi linearUpwind -./createInterpolationByPhi filteredLinear -./createInterpolationByPhi filteredLinear2 -./createInterpolationByPhi filteredLinear2V -./createInterpolationByPhi MUSCL01 -./createInterpolationByPhi MUSCL -./createInterpolationByPhi Phi -./createInterpolationByPhi QUICK -./createInterpolationByPhi SFCD -./createInterpolationByPhi skewLinear -./createInterpolationByPhi SuperBee01 -./createInterpolationByPhi SuperBee -./createInterpolationByPhi UMIST -./createInterpolationByPhi upwind -./createInterpolationByPhi vanLeer01 -./createInterpolationByPhi vanLeer -./createInterpolationByPhi interfaceCompression -./createInterpolationByPhi limitedCubicV -./createInterpolationByPhi limitedLinearV -./createInterpolationByPhi SFCDV -./createInterpolationByPhi vanLeerV diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/createInterpolationByPhi b/etc/apps/FoamX/entries/interpolations/byPhi/createInterpolationByPhi deleted file mode 100755 index 91e279a1ac..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/createInterpolationByPhi +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -writeFile () { -cat <" - exit 1 -fi - -file=$1.cfg -if [ -e $file ] ; then - echo "Removing existing file $file" - rm $file -fi - -echo "Creating file $file" -writeFile $1 > $file diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/downwind.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/downwind.cfg deleted file mode 100644 index e8d07b4e56..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/downwind.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -downwind -{ - type downwind; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear.cfg deleted file mode 100644 index d4bbfe75e0..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -filteredLinear -{ - type filteredLinear; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2.cfg deleted file mode 100644 index b3dd4d308d..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -filteredLinear2 -{ - type filteredLinear2; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2V.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2V.cfg deleted file mode 100644 index b7abb1b870..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/filteredLinear2V.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -filteredLinear2V -{ - type filteredLinear2V; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/gammaCompression.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/gammaCompression.cfg deleted file mode 100644 index dff7166cb1..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/gammaCompression.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gammaCompression -{ - type gammaCompression; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/interfaceCompression.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/interfaceCompression.cfg deleted file mode 100644 index 63f8840a63..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/interfaceCompression.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interfaceCompression -{ - type interfaceCompression; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic.cfg deleted file mode 100644 index 8e5bcf29ad..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedCubic -{ - type limitedCubic; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic01.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic01.cfg deleted file mode 100644 index f07f579906..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubic01.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedCubic01 -{ - type limitedCubic01; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubicV.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubicV.cfg deleted file mode 100644 index 0b2cabaace..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedCubicV.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedCubicV -{ - type limitedCubicV; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedGamma.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedGamma.cfg deleted file mode 100644 index fb63708e38..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedGamma.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedGamma -{ - type limitedGamma; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedCubic.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedCubic.cfg deleted file mode 100644 index bab01ebb40..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedCubic.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLimitedCubic -{ - type limitedLimitedCubic; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedLinear.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedLinear.cfg deleted file mode 100644 index 5444480659..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLimitedLinear.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLimitedLinear -{ - type limitedLimitedLinear; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear.cfg deleted file mode 100644 index df27e6c822..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLinear -{ - type limitedLinear; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear01.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear01.cfg deleted file mode 100644 index 6a2038f664..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinear01.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLinear01 -{ - type limitedLinear01; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinearV.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinearV.cfg deleted file mode 100644 index 0be4b27a5e..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedLinearV.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLinearV -{ - type limitedLinearV; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedMUSCL.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedMUSCL.cfg deleted file mode 100644 index bf0c1421c4..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedMUSCL.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedMUSCL -{ - type limitedMUSCL; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedSuperBee.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedSuperBee.cfg deleted file mode 100644 index 518bd33e82..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedSuperBee.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedSuperBee -{ - type limitedSuperBee; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/limitedVanLeer.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/limitedVanLeer.cfg deleted file mode 100644 index 6fc721e13e..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/limitedVanLeer.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedVanLeer -{ - type limitedVanLeer; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/linearUpwind.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/linearUpwind.cfg deleted file mode 100644 index fa0fb98e31..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/linearUpwind.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -linearUpwind -{ - type linearUpwind; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/skewLinear.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/skewLinear.cfg deleted file mode 100644 index 7bf441aa31..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/skewLinear.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -skewLinear -{ - type skewLinear; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/upwind.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/upwind.cfg deleted file mode 100644 index 8eade52dcf..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/upwind.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -upwind -{ - type upwind; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/vanLeer.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/vanLeer.cfg deleted file mode 100644 index 6c7738fd10..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/vanLeer.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanLeer -{ - type vanLeer; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/vanLeer01.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/vanLeer01.cfg deleted file mode 100644 index d11230d630..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/vanLeer01.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanLeer01 -{ - type vanLeer01; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/byPhi/vanLeerV.cfg b/etc/apps/FoamX/entries/interpolations/byPhi/vanLeerV.cfg deleted file mode 100644 index ed38c0057d..0000000000 --- a/etc/apps/FoamX/entries/interpolations/byPhi/vanLeerV.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4.1 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanLeerV -{ - type vanLeerV; - entries - { - interpolateField - { - type word; - default phi; - editable 0; - } - } -} diff --git a/etc/apps/FoamX/entries/interpolations/cubic.cfg b/etc/apps/FoamX/entries/interpolations/cubic.cfg deleted file mode 100644 index e096ba6f14..0000000000 --- a/etc/apps/FoamX/entries/interpolations/cubic.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cubic -{ - type compound; - description "Fourth order interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/cubicCorrection.cfg b/etc/apps/FoamX/entries/interpolations/cubicCorrection.cfg deleted file mode 100644 index 03d20ff709..0000000000 --- a/etc/apps/FoamX/entries/interpolations/cubicCorrection.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cubicCorrection -{ - type compound; - description "Cubic-correction interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/downwind.cfg b/etc/apps/FoamX/entries/interpolations/downwind.cfg deleted file mode 100644 index f470b0fe89..0000000000 --- a/etc/apps/FoamX/entries/interpolations/downwind.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -downwind -{ - type compound; - description "Downwind interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/filteredLinear.cfg b/etc/apps/FoamX/entries/interpolations/filteredLinear.cfg deleted file mode 100644 index 7652917872..0000000000 --- a/etc/apps/FoamX/entries/interpolations/filteredLinear.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -filteredLinear -{ - type compound; - description "Filtered linear interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/filteredLinear2.cfg b/etc/apps/FoamX/entries/interpolations/filteredLinear2.cfg deleted file mode 100644 index 232c2980ed..0000000000 --- a/etc/apps/FoamX/entries/interpolations/filteredLinear2.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -filteredLinear2 -{ - type compound; - description "Filtered-linear-2 interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 0.2; - } - allowedUnboundedness - { - type scalar01; - default 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/filteredLinear2V.cfg b/etc/apps/FoamX/entries/interpolations/filteredLinear2V.cfg deleted file mode 100644 index 9228c6a9c5..0000000000 --- a/etc/apps/FoamX/entries/interpolations/filteredLinear2V.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -filteredLinear2V -{ - type compound; - description "Filtered-linear-2-V (filteredLinear2 for vectors) interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 0.2; - } - allowedUnboundedness - { - type scalar01; - default 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/harmonic.cfg b/etc/apps/FoamX/entries/interpolations/harmonic.cfg deleted file mode 100644 index d75d4a84cf..0000000000 --- a/etc/apps/FoamX/entries/interpolations/harmonic.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -harmonic -{ - type compound; - description "Harmonic interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/interfaceCompression.cfg b/etc/apps/FoamX/entries/interpolations/interfaceCompression.cfg deleted file mode 100644 index d76ead45a6..0000000000 --- a/etc/apps/FoamX/entries/interpolations/interfaceCompression.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -interfaceCompression -{ - type compound; - description "interfaceCompression interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/inverseLinear.cfg b/etc/apps/FoamX/entries/interpolations/inverseLinear.cfg deleted file mode 100644 index 3ec9883db3..0000000000 --- a/etc/apps/FoamX/entries/interpolations/inverseLinear.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -inversLinear -{ - type compound; - description "InversLinear interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedCubic.cfg b/etc/apps/FoamX/entries/interpolations/limitedCubic.cfg deleted file mode 100644 index d6cb09bb16..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedCubic.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedCubic -{ - type compound; - description "limitedCubic interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedCubic01.cfg b/etc/apps/FoamX/entries/interpolations/limitedCubic01.cfg deleted file mode 100644 index 5afe79e42d..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedCubic01.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedCubic01 -{ - type compound; - description "limitedCubic01 interpolation scheme for scalars bounded 0-1"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedCubicV.cfg b/etc/apps/FoamX/entries/interpolations/limitedCubicV.cfg deleted file mode 100644 index 2ca9faa9d8..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedCubicV.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedCubicV -{ - type compound; - description "limitedCubicV (limitedCubic for vectors) interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedGamma.cfg b/etc/apps/FoamX/entries/interpolations/limitedGamma.cfg deleted file mode 100644 index 3d0e5f8ec9..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedGamma.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedGamma -{ - type compound; - description "limitedGamma interpolation scheme"; - entries - { - coefficient - { - type scalar01; - description "Blending coefficient (1 = TVD)"; - default 1; - } - - lowerBound - { - type scalar; - description "Lower bound"; - default 0; - } - - upperBound - { - type scalar; - description "Upper bound"; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedLimitedCubic.cfg b/etc/apps/FoamX/entries/interpolations/limitedLimitedCubic.cfg deleted file mode 100644 index f3fcf86065..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedLimitedCubic.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLimitedCubic -{ - type compound; - description "limitedLimitedCubic interpolation scheme"; - entries - { - coefficient - { - type scalar01; - description "Blending coefficient"; - default 1; - } - - lowerBound - { - type scalar; - description "Lower bound"; - default 0; - } - - upperBound - { - type scalar; - description "Upper bound"; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedLimitedLinear.cfg b/etc/apps/FoamX/entries/interpolations/limitedLimitedLinear.cfg deleted file mode 100644 index 8d72a93fe8..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedLimitedLinear.cfg +++ /dev/null @@ -1,38 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLimitedLinear -{ - type compound; - description "limitedLimitedLinear interpolation scheme"; - entries - { - coefficient - { - type scalar01; - description "Blending coefficient"; - default 1; - } - - lowerBound - { - type scalar; - description "Lower bound"; - default 0; - } - - upperBound - { - type scalar; - description "Upper bound"; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedLinear.cfg b/etc/apps/FoamX/entries/interpolations/limitedLinear.cfg deleted file mode 100644 index 0ddee16aea..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedLinear.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLinear -{ - type compound; - description "limitedLinear interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedLinear01.cfg b/etc/apps/FoamX/entries/interpolations/limitedLinear01.cfg deleted file mode 100644 index c362349d09..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedLinear01.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLinear01 -{ - type compound; - description "limitedLinear01 interpolation scheme for scalars bounded 0-1"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedLinearV.cfg b/etc/apps/FoamX/entries/interpolations/limitedLinearV.cfg deleted file mode 100644 index 03441b06ba..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedLinearV.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedLinearV -{ - type compound; - description "limitedLinearV (limitedLinear for vectors) interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedMUSCL.cfg b/etc/apps/FoamX/entries/interpolations/limitedMUSCL.cfg deleted file mode 100644 index 6da76391dc..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedMUSCL.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedMUSCL -{ - type compound; - description "limitedMUSCL interpolation scheme"; - entries - { - lowerBound - { - type scalar; - description "Lower bound"; - default 0; - } - - upperBound - { - type scalar; - description "Upper bound"; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedSuperBee.cfg b/etc/apps/FoamX/entries/interpolations/limitedSuperBee.cfg deleted file mode 100644 index 88f88055a8..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedSuperBee.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedSuperBee -{ - type compound; - description "limitedSuperBee interpolation scheme"; - entries - { - coefficient - { - type scalar01; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/limitedVanLeer.cfg b/etc/apps/FoamX/entries/interpolations/limitedVanLeer.cfg deleted file mode 100644 index 8e603dd785..0000000000 --- a/etc/apps/FoamX/entries/interpolations/limitedVanLeer.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limitedVanLeer -{ - type compound; - description "limitedVanLeer interpolation scheme"; - entries - { - lowerBound - { - type scalar; - description "Lower bound"; - default 0; - } - - upperBound - { - type scalar; - description "Upper bound"; - default 1; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/linear.cfg b/etc/apps/FoamX/entries/interpolations/linear.cfg deleted file mode 100644 index c8358607af..0000000000 --- a/etc/apps/FoamX/entries/interpolations/linear.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -linear -{ - type compound; - description "Linear interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/linearUpwind.cfg b/etc/apps/FoamX/entries/interpolations/linearUpwind.cfg deleted file mode 100644 index 13247471ec..0000000000 --- a/etc/apps/FoamX/entries/interpolations/linearUpwind.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -linearUpwind -{ - type compound; - description "Linear upwind interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/midPoint.cfg b/etc/apps/FoamX/entries/interpolations/midPoint.cfg deleted file mode 100644 index ac214fd5db..0000000000 --- a/etc/apps/FoamX/entries/interpolations/midPoint.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -midPoint -{ - type compound; - description "MidPoint interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/skewLinear.cfg b/etc/apps/FoamX/entries/interpolations/skewLinear.cfg deleted file mode 100644 index 41de19cbc1..0000000000 --- a/etc/apps/FoamX/entries/interpolations/skewLinear.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -skewLinear -{ - type compound; - description "Linear interpolation scheme with skewness correction"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/unselected.cfg b/etc/apps/FoamX/entries/interpolations/unselected.cfg deleted file mode 100644 index a065418847..0000000000 --- a/etc/apps/FoamX/entries/interpolations/unselected.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -<> -{ - type compound; - description "Select interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/upwind.cfg b/etc/apps/FoamX/entries/interpolations/upwind.cfg deleted file mode 100644 index c248594b59..0000000000 --- a/etc/apps/FoamX/entries/interpolations/upwind.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -upwind -{ - type compound; - description "Upwind interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/vanLeer.cfg b/etc/apps/FoamX/entries/interpolations/vanLeer.cfg deleted file mode 100644 index 1ec0d1e8b0..0000000000 --- a/etc/apps/FoamX/entries/interpolations/vanLeer.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanLeer -{ - type compound; - description "van Leer interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/vanLeer01.cfg b/etc/apps/FoamX/entries/interpolations/vanLeer01.cfg deleted file mode 100644 index 5646a94951..0000000000 --- a/etc/apps/FoamX/entries/interpolations/vanLeer01.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanLeer01 -{ - type compound; - description "vanLeer01 interpolation scheme for scalars bounded 0-1"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/vanLeerV.cfg b/etc/apps/FoamX/entries/interpolations/vanLeerV.cfg deleted file mode 100644 index efaf8a645a..0000000000 --- a/etc/apps/FoamX/entries/interpolations/vanLeerV.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vanLeerV -{ - type compound; - description "vanLeerV (vanLeer for vectors) interpolation scheme"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/interpolations/weighted.cfg b/etc/apps/FoamX/entries/interpolations/weighted.cfg deleted file mode 100644 index 75cacca815..0000000000 --- a/etc/apps/FoamX/entries/interpolations/weighted.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -weighted -{ - type compound; - description "weighted interpolation scheme"; - entries - { - value - { - type word; - description "Name of weights surfaceScalarField"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/Nx.cfg b/etc/apps/FoamX/entries/label/Nx.cfg deleted file mode 100644 index c5fb87762d..0000000000 --- a/etc/apps/FoamX/entries/label/Nx.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Nx -{ - type label; - description "Nx"; - iconURL "/FoamX/icons/small/maths/Nx.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/Ny.cfg b/etc/apps/FoamX/entries/label/Ny.cfg deleted file mode 100644 index d8b39c0d62..0000000000 --- a/etc/apps/FoamX/entries/label/Ny.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ny -{ - type label; - description "Ny"; - iconURL "/FoamX/icons/small/maths/Ny.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/Nz.cfg b/etc/apps/FoamX/entries/label/Nz.cfg deleted file mode 100644 index f9e820214e..0000000000 --- a/etc/apps/FoamX/entries/label/Nz.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Nz -{ - type label; - description "Nz"; - iconURL "/FoamX/icons/small/maths/Nz.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/createLabel b/etc/apps/FoamX/entries/label/createLabel deleted file mode 100644 index 9c92fc749c..0000000000 --- a/etc/apps/FoamX/entries/label/createLabel +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createLabel " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type label;' >> $file -echo ' displayName "'$1'";' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/label/dirPatchID.cfg b/etc/apps/FoamX/entries/label/dirPatchID.cfg deleted file mode 100644 index e26c081043..0000000000 --- a/etc/apps/FoamX/entries/label/dirPatchID.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dirPatchID -{ - type label; - displayName "dirPatchID"; - description "dirPatchID"; - iconURL "/FoamX/icons/small/maths/dirPatchID.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/gradPatchID.cfg b/etc/apps/FoamX/entries/label/gradPatchID.cfg deleted file mode 100644 index bd73ffa473..0000000000 --- a/etc/apps/FoamX/entries/label/gradPatchID.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gradPatchID -{ - type label; - displayName "gradPatchID"; - description "gradPatchID"; - iconURL "/FoamX/icons/small/maths/gradPatchID.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nAlphaCorr.cfg b/etc/apps/FoamX/entries/label/nAlphaCorr.cfg deleted file mode 100644 index e5917734da..0000000000 --- a/etc/apps/FoamX/entries/label/nAlphaCorr.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nAlphaCorr -{ - type label; - description "Number of alpha equation correctors"; - iconURL "/FoamX/icons/small/maths/nCorrectors.gif"; - helpURL "fvSolution.html"; - minValue 0; - maxValue 4; - default 2; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nBcorrectors.cfg b/etc/apps/FoamX/entries/label/nBcorrectors.cfg deleted file mode 100644 index 0049463e97..0000000000 --- a/etc/apps/FoamX/entries/label/nBcorrectors.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nBcorrectors -{ - type label; - description "Number of PISO correctors on magnetic flux equation"; - iconURL "/FoamX/icons/small/maths/nCorrectors.gif"; - helpURL "controlDict.html"; - minValue 0; - maxValue 4; - default 2; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nCorrectors.cfg b/etc/apps/FoamX/entries/label/nCorrectors.cfg deleted file mode 100644 index ca95530b63..0000000000 --- a/etc/apps/FoamX/entries/label/nCorrectors.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nCorrectors -{ - type label; - description "Number of PISO correctors"; - iconURL "/FoamX/icons/small/maths/nCorrectors.gif"; - helpURL "fvSolution.html"; - minValue 0; - maxValue 10; - default 2; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nGammaCorr.cfg b/etc/apps/FoamX/entries/label/nGammaCorr.cfg deleted file mode 100644 index e8414fd98c..0000000000 --- a/etc/apps/FoamX/entries/label/nGammaCorr.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nGammaCorr -{ - type label; - description "Number of gamma correctors"; - iconURL "/FoamX/icons/small/maths/nGammaCorr.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nGammaSubCycles.cfg b/etc/apps/FoamX/entries/label/nGammaSubCycles.cfg deleted file mode 100644 index d6384b247a..0000000000 --- a/etc/apps/FoamX/entries/label/nGammaSubCycles.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nGammaSubCycles -{ - type label; - description "Number of subcycles per timestep in the gamma eqn"; - iconURL "/FoamX/icons/small/maths/nGammaSubCycles.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nGammaSubCyclesFixed.cfg b/etc/apps/FoamX/entries/label/nGammaSubCyclesFixed.cfg deleted file mode 100644 index c9017246c9..0000000000 --- a/etc/apps/FoamX/entries/label/nGammaSubCyclesFixed.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nGammaSubCycles -{ - type label; - editable 0; - default 1; - description "Number of subcycles per timestep in the gamma eqn"; - iconURL "/FoamX/icons/small/maths/nGammaSubCycles.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nNonOrthogonalCorrectors.cfg b/etc/apps/FoamX/entries/label/nNonOrthogonalCorrectors.cfg deleted file mode 100644 index c8669b9e79..0000000000 --- a/etc/apps/FoamX/entries/label/nNonOrthogonalCorrectors.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nNonOrthogonalCorrectors -{ - type label; - description "Number of non-orthogonal correctors"; - iconURL "/FoamX/icons/small/maths/nNonOrthogonalCorrectors.gif"; - helpURL "fvSolution.html"; - minValue 0; - maxValue 20; - default 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/label/nOuterIterations.cfg b/etc/apps/FoamX/entries/label/nOuterIterations.cfg deleted file mode 100644 index 5acd49ed62..0000000000 --- a/etc/apps/FoamX/entries/label/nOuterIterations.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nCorrectors -{ - type label; - description "Outer iterations"; - iconURL "/FoamX/icons/small/maths/nCorrectors.gif"; - helpURL "controlDict.html"; - minValue 0; - maxValue 100; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/U.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/U.cfg deleted file mode 100644 index 3315f59c20..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/U.cfg +++ /dev/null @@ -1 +0,0 @@ -supersonicFreestream supersonicFreestream; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/p.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/p.cfg deleted file mode 100644 index c4f49c0202..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/p.cfg +++ /dev/null @@ -1,3 +0,0 @@ -supersonicInlet fixedValue; -pressureTransmissiveOutlet waveTransmissive; -supersonicFreestream zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/patches.cfg deleted file mode 100644 index 78365ba831..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/sonic/patches.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -supersonicInlet -{ - description "Supersonic free stream boundary condition"; - parentType inlet; -} - -pressureTransmissiveOutlet -{ - description "Pressure transmissive outlet boundary condition"; - parentType inletOutlet; -} - -supersonicFreestream -{ - description "Supersonic free stream boundary condition"; - parentType inletOutlet; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/B.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/B.cfg deleted file mode 100644 index 158246900a..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/B.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/R.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/R.cfg deleted file mode 100644 index 158246900a..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/R.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/U.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/U.cfg deleted file mode 100644 index 0d21b868d7..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/U.cfg +++ /dev/null @@ -1,8 +0,0 @@ -slip slip; -wall fixedValue; -inlet fixedValue; -pressureInlet pressureInletVelocity; -outlet zeroGradient; -fixedVelocityOutlet fixedValue; -inletOutlet inletOutlet; -atmosphere pressureInletOutletVelocity; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/Y.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/Y.cfg deleted file mode 100644 index 158246900a..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/Y.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/alpha.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/alpha.cfg deleted file mode 100644 index 158246900a..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/alpha.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/B.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/B.cfg deleted file mode 100644 index 0f52f7e6cb..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/B.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall fixedValue; -movingWall fixedValue; -inlet zeroGradient; -outlet zeroGradient; -inletOutlet zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/pB.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/pB.cfg deleted file mode 100644 index f006378c51..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/electromagnetics/pB.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet fixedValue; -inletOutlet fixedValue; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/epsilon.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/epsilon.cfg deleted file mode 100644 index 158246900a..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/epsilon.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/gamma.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/gamma.cfg deleted file mode 100644 index 158246900a..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/gamma.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/k.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/k.cfg deleted file mode 100644 index 09082007e1..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/k.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall fixedValue; -movingWall fixedValue; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/U.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/U.cfg deleted file mode 100644 index cb06c279ac..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/U.cfg +++ /dev/null @@ -1 +0,0 @@ -movingWall movingWallVelocity; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/patches.cfg deleted file mode 100644 index 393bf65b32..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/meshMotion/patches.cfg +++ /dev/null @@ -1,5 +0,0 @@ -movingWall -{ - description "Moving-wall boundary condition"; - parentType wall; -} diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/motionU.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/motionU.cfg deleted file mode 100644 index 43446ef650..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/motionU.cfg +++ /dev/null @@ -1,8 +0,0 @@ -slip slip; -wall fixedValue; -movingWall fixedValue; -inlet fixedValue; -pressureInlet fixedValue; -outlet fixedValue; -inletOutlet fixedValue; -atmosphere fixedValue; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/muSgs.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/muSgs.cfg deleted file mode 100644 index cf66c4cdf2..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/muSgs.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet zeroGradient; -outlet zeroGradient; -inletOutlet zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/muTilda.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/muTilda.cfg deleted file mode 100644 index 09082007e1..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/muTilda.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall fixedValue; -movingWall fixedValue; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuSgs.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuSgs.cfg deleted file mode 100644 index cf66c4cdf2..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuSgs.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet zeroGradient; -outlet zeroGradient; -inletOutlet zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuTilda.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuTilda.cfg deleted file mode 100644 index 09082007e1..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/nuTilda.cfg +++ /dev/null @@ -1,6 +0,0 @@ -slip slip; -wall fixedValue; -movingWall fixedValue; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/p.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/p.cfg deleted file mode 100644 index 4e729d5d47..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/p.cfg +++ /dev/null @@ -1,11 +0,0 @@ -slip slip; -wall zeroGradient; -inlet zeroGradient; -pressureInlet fixedValue; -outlet fixedValue; -inletOutlet fixedValue; -extrapolatedOutlet zeroGradient; -extrapolatedInletOutlet zeroGradient; -fixedVelocityOutlet zeroGradient; -atmosphere totalPressure; -freestream zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/patches.cfg deleted file mode 100644 index 02f4fd2ff1..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/patches.cfg +++ /dev/null @@ -1,83 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -slip -{ - description "Slip"; -} - -wall -{ - description "Wall boundary condition"; - patchType wall; -} - -inlet -{ - description "Inlet"; -} - -pressureInlet -{ - description "Pressure-inlet"; - parentType inlet; -} - -outlet -{ - description "Outlet"; -} - -inletOutlet -{ - description "Outlet with the posibility of reverse flow"; -} - -pressureOutlet -{ - description "Fixed-pressure outlet"; - parentType outlet; -} - -pressureInletOutlet -{ - description "Fixed-pressure outlet with the posibility of reverse flow"; - parentType inletOutlet; -} - -extrapolatedOutlet -{ - description "Extrapolated outlet"; - parentType outlet; -} - -fixedVelocityOutlet -{ - description "Fixed velocity outlet"; - parentType outlet; -} - -extrapolatedInletOutlet -{ - description "Extrapolated outlet with the posibility of reverse flow"; - parentType inletOutlet; -} - -atmosphere -{ - description "Atmosphere"; - parentType inletOutlet; -} - -freestream -{ - description "Freestream"; - parentType inletOutlet; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/pd.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/pd.cfg deleted file mode 100644 index 4e729d5d47..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/pd.cfg +++ /dev/null @@ -1,11 +0,0 @@ -slip slip; -wall zeroGradient; -inlet zeroGradient; -pressureInlet fixedValue; -outlet fixedValue; -inletOutlet fixedValue; -extrapolatedOutlet zeroGradient; -extrapolatedInletOutlet zeroGradient; -fixedVelocityOutlet zeroGradient; -atmosphere totalPressure; -freestream zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/T.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/T.cfg deleted file mode 100644 index 3d30fec43f..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/T.cfg +++ /dev/null @@ -1,8 +0,0 @@ -slip slip; -wall zeroGradient; -movingWall zeroGradient; -inlet fixedValue; -outlet zeroGradient; -inletOutlet inletOutlet; -adiabaticWall zeroGradient; -fixedTemperatureWall fixedValue; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/U.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/U.cfg deleted file mode 100644 index b6ce14de8c..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/U.cfg +++ /dev/null @@ -1,2 +0,0 @@ -adiabaticMovingWall movingWallVelocity; -fixedTemperatureMovingWall movingWallVelocity; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/patches.cfg deleted file mode 100644 index 976cf4e1de..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/meshMotion/patches.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -adiabaticMovingWall -{ - description "Adiabatic wall boundary condition"; - parentType adiabaticWall; -} - -fixedTemperatureMovingWall -{ - description "Fixed temperature wall boundary condition"; - parentType fixedTemperatureWall; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/patches.cfg deleted file mode 100644 index 048981ee94..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/standard/thermal/patches.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -adiabaticWall -{ - description "Adiabatic wall boundary condition"; - parentType wall; -} - -fixedTemperatureWall -{ - description "Fixed temperature wall boundary condition"; - parentType wall; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/B.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/B.cfg deleted file mode 100644 index df1e4c7323..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/B.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/R.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/R.cfg deleted file mode 100644 index df1e4c7323..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/R.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg deleted file mode 100644 index df1e4c7323..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/epsilon.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/k.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/k.cfg deleted file mode 100644 index df1e4c7323..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/k.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/U.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/U.cfg deleted file mode 100644 index 8f1b12d4f4..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/U.cfg +++ /dev/null @@ -1 +0,0 @@ -movingWallFunctions movingWallVelocity; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/patches.cfg deleted file mode 100644 index d6e9faac15..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/meshMotion/patches.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -movingWallFunctions -{ - description "Moving-wall boundary condition"; - parentType wallFunctions; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muSgs.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muSgs.cfg deleted file mode 100644 index c9575d17f9..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muSgs.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions nuSgsWallFunction; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muTilda.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muTilda.cfg deleted file mode 100644 index df1e4c7323..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/muTilda.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg deleted file mode 100644 index c9575d17f9..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuSgs.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions nuSgsWallFunction; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg deleted file mode 100644 index df1e4c7323..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/nuTilda.cfg +++ /dev/null @@ -1 +0,0 @@ -wallFunctions zeroGradient; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/patches.cfg deleted file mode 100644 index b6a32da1a2..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/patches.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -wallFunctions -{ - description "Wall-functions boundary condition"; - parentType wall; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg deleted file mode 100644 index e4ec6ee3bf..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/T.cfg +++ /dev/null @@ -1,2 +0,0 @@ -adiabaticWallFunctions zeroGradient; -fixedTemperatureWallFunctions fixedValue; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/U.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/U.cfg deleted file mode 100644 index 3aed6a8213..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/U.cfg +++ /dev/null @@ -1,2 +0,0 @@ -adiabaticMovingWallFunctions movingWallVelocity; -fixedTemperatureMovingWallFunctions movingWallVelocity; diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/patches.cfg deleted file mode 100644 index 48a3f8e096..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/meshMotion/patches.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -adiabaticMovingWallFunctions -{ - description "Adiabatic wall functions boundary condition"; - parentType adiabaticWallFunctions; -} - -fixedTemperatureMovingWallFunctions -{ - description "Fixed temperature wall functions boundary condition"; - parentType fixedTemperatureWallFunctions; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg b/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg deleted file mode 100644 index 8be018aff4..0000000000 --- a/etc/apps/FoamX/entries/patchPhysicalTypes/wallFunctions/thermal/patches.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -adiabaticWallFunctions -{ - description "Adiabatic wall functions boundary condition"; - parentType wallFunctions; -} - -fixedTemperatureWallFunctions -{ - description "Fixed temperature wall functions boundary condition"; - parentType wallFunctions; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/ref/pRef.cfg b/etc/apps/FoamX/entries/ref/pRef.cfg deleted file mode 100644 index fc6f268b8b..0000000000 --- a/etc/apps/FoamX/entries/ref/pRef.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pRefCell -{ - type label; - description "Pressure reference cell"; - optional 1; - default 0; -} - -pRefValue -{ - type scalar; - description "Pressure reference value"; - optional 1; - default 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/ref/pdRef.cfg b/etc/apps/FoamX/entries/ref/pdRef.cfg deleted file mode 100644 index 1992c66f34..0000000000 --- a/etc/apps/FoamX/entries/ref/pdRef.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pdRefCell -{ - type label; - description "Dynamic pressure reference cell"; - optional 1; - default 0; -} - -pdRefValue -{ - type scalar; - description "Dynamic pressure reference value"; - optional 1; - default 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/removeDisplayName b/etc/apps/FoamX/entries/removeDisplayName deleted file mode 100644 index 9a0966269a..0000000000 --- a/etc/apps/FoamX/entries/removeDisplayName +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -sed '/displayName/ d' $1 > temp.$$ -mv temp.$$ $1 \ No newline at end of file diff --git a/etc/apps/FoamX/entries/scalar/cGamma.cfg b/etc/apps/FoamX/entries/scalar/cGamma.cfg deleted file mode 100644 index 5799ec17b2..0000000000 --- a/etc/apps/FoamX/entries/scalar/cGamma.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cGamma -{ - type scalar; - description "Interface compression factor (0.0 = no comp; 1.0 = conservative; >1 super compressed)"; - iconURL "/FoamX/icons/small/maths/cGamma.gif"; - minValue 0; - maxValue 2; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar/convertToMeters.cfg b/etc/apps/FoamX/entries/scalar/convertToMeters.cfg deleted file mode 100644 index df98fc5fc7..0000000000 --- a/etc/apps/FoamX/entries/scalar/convertToMeters.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -convertToMeters -{ - type scalar; - description "convertToMeters"; - iconURL "/FoamX/icons/small/maths/convertToMeters.gif"; - default 1; - minValue 1e-12; - maxValue 1e+12; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar/createScalar b/etc/apps/FoamX/entries/scalar/createScalar deleted file mode 100644 index bc4c695b81..0000000000 --- a/etc/apps/FoamX/entries/scalar/createScalar +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createScalar " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type scalar;' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/scalar/delta.cfg b/etc/apps/FoamX/entries/scalar/delta.cfg deleted file mode 100644 index 04f7da5e4a..0000000000 --- a/etc/apps/FoamX/entries/scalar/delta.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -delta -{ - type scalar; - description "delta"; - iconURL "/FoamX/icons/small/maths/delta.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar/max.cfg b/etc/apps/FoamX/entries/scalar/max.cfg deleted file mode 100644 index 55ed43d707..0000000000 --- a/etc/apps/FoamX/entries/scalar/max.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -max -{ - type scalar; - description "max"; - iconURL "/FoamX/icons/small/maths/max.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar/maxDeltaRatio.cfg b/etc/apps/FoamX/entries/scalar/maxDeltaRatio.cfg deleted file mode 100644 index 003ea9462d..0000000000 --- a/etc/apps/FoamX/entries/scalar/maxDeltaRatio.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -maxDeltaRatio -{ - type scalar; - description "maxDeltaRatio"; - iconURL "/FoamX/icons/small/maths/maxDeltaRatio.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar/min.cfg b/etc/apps/FoamX/entries/scalar/min.cfg deleted file mode 100644 index 89f2a1618a..0000000000 --- a/etc/apps/FoamX/entries/scalar/min.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -min -{ - type scalar; - description "min"; - iconURL "/FoamX/icons/small/maths/min.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/Alpha.cfg b/etc/apps/FoamX/entries/scalar01/Alpha.cfg deleted file mode 100644 index 41a885c1b2..0000000000 --- a/etc/apps/FoamX/entries/scalar01/Alpha.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Alpha -{ - type scalar01; - description "Alpha"; - iconURL "/FoamX/icons/small/maths/Alpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/B.cfg b/etc/apps/FoamX/entries/scalar01/B.cfg deleted file mode 100644 index 989217bfe6..0000000000 --- a/etc/apps/FoamX/entries/scalar01/B.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -B -{ - type scalar01; - description "B"; - iconURL "/FoamX/icons/small/maths/vecB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/D.cfg b/etc/apps/FoamX/entries/scalar01/D.cfg deleted file mode 100644 index 6632fcf63f..0000000000 --- a/etc/apps/FoamX/entries/scalar01/D.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -D -{ - type scalar01; - description "D"; - iconURL "/FoamX/icons/small/maths/D.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/R.cfg b/etc/apps/FoamX/entries/scalar01/R.cfg deleted file mode 100644 index 6d25f78cb0..0000000000 --- a/etc/apps/FoamX/entries/scalar01/R.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -R -{ - type scalar01; - description "R"; - iconURL "/FoamX/icons/small/maths/R.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/T.cfg b/etc/apps/FoamX/entries/scalar01/T.cfg deleted file mode 100644 index d8160dfa89..0000000000 --- a/etc/apps/FoamX/entries/scalar01/T.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -T -{ - type scalar01; - description "T"; - iconURL "/FoamX/icons/small/maths/T.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/TimeStep.cfg b/etc/apps/FoamX/entries/scalar01/TimeStep.cfg deleted file mode 100644 index e56af788d0..0000000000 --- a/etc/apps/FoamX/entries/scalar01/TimeStep.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -TimeStep -{ - type scalar01; - description "TimeStep"; - iconURL "/FoamX/icons/small/maths/deltaT.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/U.cfg b/etc/apps/FoamX/entries/scalar01/U.cfg deleted file mode 100644 index 25673c17e6..0000000000 --- a/etc/apps/FoamX/entries/scalar01/U.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -U -{ - type scalar01; - description "U"; - iconURL "/FoamX/icons/small/maths/U.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/Ua.cfg b/etc/apps/FoamX/entries/scalar01/Ua.cfg deleted file mode 100644 index ab0fd1cbf0..0000000000 --- a/etc/apps/FoamX/entries/scalar01/Ua.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ua -{ - type scalar01; - description "Ua"; - iconURL "/FoamX/icons/small/maths/Ua.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/Ub.cfg b/etc/apps/FoamX/entries/scalar01/Ub.cfg deleted file mode 100644 index 36893a81ae..0000000000 --- a/etc/apps/FoamX/entries/scalar01/Ub.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Ub -{ - type scalar01; - description "Ub"; - iconURL "/FoamX/icons/small/maths/Ub.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/X.cfg b/etc/apps/FoamX/entries/scalar01/X.cfg deleted file mode 100644 index ee7a5ea215..0000000000 --- a/etc/apps/FoamX/entries/scalar01/X.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -X -{ - type scalar01; - description "X"; - iconURL "/FoamX/icons/small/maths/X.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/alpha.cfg b/etc/apps/FoamX/entries/scalar01/alpha.cfg deleted file mode 100644 index 9946048169..0000000000 --- a/etc/apps/FoamX/entries/scalar01/alpha.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -alpha -{ - type scalar01; - description "alpha"; - iconURL "/FoamX/icons/small/maths/alpha.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/contactUnderrelaxation.cfg b/etc/apps/FoamX/entries/scalar01/contactUnderrelaxation.cfg deleted file mode 100644 index 08714f0347..0000000000 --- a/etc/apps/FoamX/entries/scalar01/contactUnderrelaxation.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -contactUnderrelaxation -{ - type scalar01; - displayName "contactUnderrelaxation"; - description "contactUnderrelaxation"; - iconURL "/FoamX/icons/small/maths/contactUnderrelaxation.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/createScalar01 b/etc/apps/FoamX/entries/scalar01/createScalar01 deleted file mode 100644 index 5162bf25dd..0000000000 --- a/etc/apps/FoamX/entries/scalar01/createScalar01 +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createScalar01 " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type scalar01;' >> $file -echo ' displayName "'$1'";' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/scalar01/e.cfg b/etc/apps/FoamX/entries/scalar01/e.cfg deleted file mode 100644 index 0c02dd4147..0000000000 --- a/etc/apps/FoamX/entries/scalar01/e.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -e -{ - type scalar01; - description "e"; - iconURL "/FoamX/icons/small/maths/e.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/epsilon.cfg b/etc/apps/FoamX/entries/scalar01/epsilon.cfg deleted file mode 100644 index 706412b2c0..0000000000 --- a/etc/apps/FoamX/entries/scalar01/epsilon.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -epsilon -{ - type scalar01; - description "epsilon"; - iconURL "/FoamX/icons/small/maths/epsilon.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/ft.cfg b/etc/apps/FoamX/entries/scalar01/ft.cfg deleted file mode 100644 index d54ec3bb84..0000000000 --- a/etc/apps/FoamX/entries/scalar01/ft.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ft -{ - type scalar01; - description "ft"; - iconURL "/FoamX/icons/small/maths/ft.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/fu.cfg b/etc/apps/FoamX/entries/scalar01/fu.cfg deleted file mode 100644 index 1e84af1dcb..0000000000 --- a/etc/apps/FoamX/entries/scalar01/fu.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fu -{ - type scalar01; - description "fu"; - iconURL "/FoamX/icons/small/maths/fu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/gamma.cfg b/etc/apps/FoamX/entries/scalar01/gamma.cfg deleted file mode 100644 index e595255441..0000000000 --- a/etc/apps/FoamX/entries/scalar01/gamma.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gamma -{ - type scalar01; - description "gamma"; - iconURL "/FoamX/icons/small/maths/gamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/gammaSmooth.cfg b/etc/apps/FoamX/entries/scalar01/gammaSmooth.cfg deleted file mode 100644 index c600ae3a52..0000000000 --- a/etc/apps/FoamX/entries/scalar01/gammaSmooth.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -gammaSmooth -{ - type scalar01; - description "gammaSmooth"; - iconURL "/FoamX/icons/small/maths/gamma.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/h.cfg b/etc/apps/FoamX/entries/scalar01/h.cfg deleted file mode 100644 index cca55697d9..0000000000 --- a/etc/apps/FoamX/entries/scalar01/h.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -h -{ - type scalar01; - description "h"; - iconURL "/FoamX/icons/small/maths/h.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/hu.cfg b/etc/apps/FoamX/entries/scalar01/hu.cfg deleted file mode 100644 index 7023e6a38a..0000000000 --- a/etc/apps/FoamX/entries/scalar01/hu.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -hu -{ - type scalar01; - description "hu"; - iconURL "/FoamX/icons/small/maths/hu.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/k.cfg b/etc/apps/FoamX/entries/scalar01/k.cfg deleted file mode 100644 index bd5e65ba2e..0000000000 --- a/etc/apps/FoamX/entries/scalar01/k.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -k -{ - type scalar01; - description "k"; - iconURL "/FoamX/icons/small/maths/k.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/nuTilda.cfg b/etc/apps/FoamX/entries/scalar01/nuTilda.cfg deleted file mode 100644 index eae5ed8414..0000000000 --- a/etc/apps/FoamX/entries/scalar01/nuTilda.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nuTilda -{ - type scalar01; - displayName "nuTilda"; - description "nuTilda"; - iconURL "/FoamX/icons/small/maths/nuTilda.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/p.cfg b/etc/apps/FoamX/entries/scalar01/p.cfg deleted file mode 100644 index 81203f23f2..0000000000 --- a/etc/apps/FoamX/entries/scalar01/p.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -p -{ - type scalar01; - description "p"; - iconURL "/FoamX/icons/small/maths/p.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/pB.cfg b/etc/apps/FoamX/entries/scalar01/pB.cfg deleted file mode 100644 index d256655009..0000000000 --- a/etc/apps/FoamX/entries/scalar01/pB.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pB -{ - type scalar01; - description "pB"; - iconURL "/FoamX/icons/small/maths/pB.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/pcorr.cfg b/etc/apps/FoamX/entries/scalar01/pcorr.cfg deleted file mode 100644 index a712e2defe..0000000000 --- a/etc/apps/FoamX/entries/scalar01/pcorr.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pcorr -{ - type scalar01; - description "pcorr"; - iconURL "/FoamX/icons/small/maths/pcorr.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/pd.cfg b/etc/apps/FoamX/entries/scalar01/pd.cfg deleted file mode 100644 index 9866d7a583..0000000000 --- a/etc/apps/FoamX/entries/scalar01/pd.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -pd -{ - type scalar01; - description "pd"; - iconURL "/FoamX/icons/small/maths/pd.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/rho.cfg b/etc/apps/FoamX/entries/scalar01/rho.cfg deleted file mode 100644 index 8225bf49b0..0000000000 --- a/etc/apps/FoamX/entries/scalar01/rho.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rho -{ - type scalar01; - description "rho"; - iconURL "/FoamX/icons/small/maths/rho.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/rhoS.cfg b/etc/apps/FoamX/entries/scalar01/rhoS.cfg deleted file mode 100644 index 714232cbf2..0000000000 --- a/etc/apps/FoamX/entries/scalar01/rhoS.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rhoS -{ - type scalar01; - description "rhoS"; - iconURL "/FoamX/icons/small/maths/rhoS.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/stress.cfg b/etc/apps/FoamX/entries/scalar01/stress.cfg deleted file mode 100644 index c557a7ed63..0000000000 --- a/etc/apps/FoamX/entries/scalar01/stress.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -stress -{ - type scalar01; - description "stress"; - iconURL "/FoamX/icons/small/maths/stress.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar01/touchTolerance.cfg b/etc/apps/FoamX/entries/scalar01/touchTolerance.cfg deleted file mode 100644 index d191346682..0000000000 --- a/etc/apps/FoamX/entries/scalar01/touchTolerance.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -touchTolerance -{ - type scalar01; - displayName "touchTolerance"; - description "touchTolerance"; - iconURL "/FoamX/icons/small/maths/touchTolerance.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/createScalar0Inf b/etc/apps/FoamX/entries/scalar0Inf/createScalar0Inf deleted file mode 100644 index 31ffd01dc7..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/createScalar0Inf +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createScalar0Inf " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type scalar0Inf;' >> $file -echo ' displayName "'$1'";' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/scalar0Inf/deltaCoeff.cfg b/etc/apps/FoamX/entries/scalar0Inf/deltaCoeff.cfg deleted file mode 100644 index 9ebf3c9f67..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/deltaCoeff.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -deltaCoeff -{ - type scalar0Inf; - displayName "deltaCoeff"; - description "deltaCoeff"; - iconURL "/FoamX/icons/small/maths/deltaCoeff.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/rpm.cfg b/etc/apps/FoamX/entries/scalar0Inf/rpm.cfg deleted file mode 100644 index 4871eaa908..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/rpm.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rpm -{ - type scalar0Inf; - displayName "rpm"; - description "rpm"; - iconURL "/FoamX/icons/small/maths/rpm.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/xMax.cfg b/etc/apps/FoamX/entries/scalar0Inf/xMax.cfg deleted file mode 100644 index 0be9916864..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/xMax.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -xMax -{ - type scalar0Inf; - description "xMax"; - iconURL "/FoamX/icons/small/maths/xMax.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/xMin.cfg b/etc/apps/FoamX/entries/scalar0Inf/xMin.cfg deleted file mode 100644 index dc0af183a3..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/xMin.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -xMin -{ - type scalar0Inf; - description "xMin"; - iconURL "/FoamX/icons/small/maths/xMin.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/yMax.cfg b/etc/apps/FoamX/entries/scalar0Inf/yMax.cfg deleted file mode 100644 index 2b5dd0e38f..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/yMax.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -yMax -{ - type scalar0Inf; - description "yMax"; - iconURL "/FoamX/icons/small/maths/yMax.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/yMin.cfg b/etc/apps/FoamX/entries/scalar0Inf/yMin.cfg deleted file mode 100644 index da11bec68f..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/yMin.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -yMin -{ - type scalar0Inf; - description "yMin"; - iconURL "/FoamX/icons/small/maths/yMin.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/zMax.cfg b/etc/apps/FoamX/entries/scalar0Inf/zMax.cfg deleted file mode 100644 index 07dc5d22d0..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/zMax.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -zMax -{ - type scalar0Inf; - description "zMax"; - iconURL "/FoamX/icons/small/maths/zMax.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/scalar0Inf/zMin.cfg b/etc/apps/FoamX/entries/scalar0Inf/zMin.cfg deleted file mode 100644 index 2c3bd38c56..0000000000 --- a/etc/apps/FoamX/entries/scalar0Inf/zMin.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -zMin -{ - type scalar0Inf; - description "zMin"; - iconURL "/FoamX/icons/small/maths/zMin.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/snGradSchemes/bounded.cfg b/etc/apps/FoamX/entries/snGradSchemes/bounded.cfg deleted file mode 100644 index 979f06e446..0000000000 --- a/etc/apps/FoamX/entries/snGradSchemes/bounded.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -bounded -{ - type compound; - description "Bounded interpolation for scalar fields"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/snGradSchemes/corrected.cfg b/etc/apps/FoamX/entries/snGradSchemes/corrected.cfg deleted file mode 100644 index b5c363defc..0000000000 --- a/etc/apps/FoamX/entries/snGradSchemes/corrected.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -corrected -{ - type compound; - description "Surface normal gradient interpolation with non-orthogonal correction"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/snGradSchemes/fourth.cfg b/etc/apps/FoamX/entries/snGradSchemes/fourth.cfg deleted file mode 100644 index cd11c7ae03..0000000000 --- a/etc/apps/FoamX/entries/snGradSchemes/fourth.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -fourth -{ - type compound; - description "Fourth order surface normal gradient interpolation"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/snGradSchemes/limited.cfg b/etc/apps/FoamX/entries/snGradSchemes/limited.cfg deleted file mode 100644 index 01ce5b1983..0000000000 --- a/etc/apps/FoamX/entries/snGradSchemes/limited.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -limited -{ - type compound; - description "Surface normal gradient interpolation, limited between uncorrected (=0) and corrected (=1)"; - entries - { - value - { - type scalar01; - default 0.5; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/snGradSchemes/uncorrected.cfg b/etc/apps/FoamX/entries/snGradSchemes/uncorrected.cfg deleted file mode 100644 index 3050f37b01..0000000000 --- a/etc/apps/FoamX/entries/snGradSchemes/uncorrected.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -uncorrected -{ - type compound; - description "Surface normal gradient interpolation with no non-orthogonal correction"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/BDCG.cfg b/etc/apps/FoamX/entries/solvers/BDCG.cfg deleted file mode 100644 index cf92f8541c..0000000000 --- a/etc/apps/FoamX/entries/solvers/BDCG.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -BDCG -{ - description "Biconjugate gradient solver with diagonal preconditioning"; - type compound; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/BICCG.cfg b/etc/apps/FoamX/entries/solvers/BICCG.cfg deleted file mode 100644 index b75baa422b..0000000000 --- a/etc/apps/FoamX/entries/solvers/BICCG.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -BICCG -{ - description "Biconjugate gradient solver with incomplete-Cholesky preconditioning"; - type compound; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/DCG.cfg b/etc/apps/FoamX/entries/solvers/DCG.cfg deleted file mode 100644 index 3dba1763c9..0000000000 --- a/etc/apps/FoamX/entries/solvers/DCG.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DCG -{ - description "Conjugate gradient solver with diagonal preconditioning"; - type compound; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/DIC.cfg b/etc/apps/FoamX/entries/solvers/DIC.cfg deleted file mode 100644 index 2709250285..0000000000 --- a/etc/apps/FoamX/entries/solvers/DIC.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DIC -{ - type compound; - description "DIC preconditioner"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/DILU.cfg b/etc/apps/FoamX/entries/solvers/DILU.cfg deleted file mode 100644 index 0c148823cf..0000000000 --- a/etc/apps/FoamX/entries/solvers/DILU.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -DILU -{ - type compound; - description "DILU preconditioner"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/FDIC.cfg b/etc/apps/FoamX/entries/solvers/FDIC.cfg deleted file mode 100644 index ac903c3a21..0000000000 --- a/etc/apps/FoamX/entries/solvers/FDIC.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -FDIC -{ - type compound; - description "FDIC preconditioner"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/GAMG.cfg b/etc/apps/FoamX/entries/solvers/GAMG.cfg deleted file mode 100644 index fad408a553..0000000000 --- a/etc/apps/FoamX/entries/solvers/GAMG.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -GAMG -{ - type dictionary; - description "GAMG solver"; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - include "smoother.cfg"; - include "nCellsInCoarsestLevel.cfg"; - include "mergeLevels.cfg"; - include "agglomerator.cfg"; - include "cacheAgglomeration.cfg"; - include "nPreSweeps.cfg"; - include "nPostSweeps.cfg"; - include "nFinestSweeps.cfg"; - include "scaleCorrection.cfg"; - include "directSolveCoarsest.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/GAMGsymm.cfg b/etc/apps/FoamX/entries/solvers/GAMGsymm.cfg deleted file mode 100644 index 531513c713..0000000000 --- a/etc/apps/FoamX/entries/solvers/GAMGsymm.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -GAMG -{ - type dictionary; - description "GAMG solver"; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - include "smootherSymm.cfg"; - include "nCellsInCoarsestLevel.cfg"; - include "mergeLevels.cfg"; - include "agglomeratorSymm.cfg"; - include "cacheAgglomeration.cfg"; - include "nPreSweeps.cfg"; - include "nPostSweeps.cfg"; - include "nFinestSweeps.cfg"; - include "scaleCorrection.cfg"; - include "directSolveCoarsest.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/GaussSeidel.cfg b/etc/apps/FoamX/entries/solvers/GaussSeidel.cfg deleted file mode 100644 index c08b06ad30..0000000000 --- a/etc/apps/FoamX/entries/solvers/GaussSeidel.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -GaussSeidel -{ - description "Gauss-Seidel solver"; - type compound; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - include "nSweeps.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/ICCG.cfg b/etc/apps/FoamX/entries/solvers/ICCG.cfg deleted file mode 100644 index 99c2f13155..0000000000 --- a/etc/apps/FoamX/entries/solvers/ICCG.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -ICCG -{ - description "Conjugate gradient solver with incomplete-Cholesky preconditioning"; - type compound; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/PBiCG.cfg b/etc/apps/FoamX/entries/solvers/PBiCG.cfg deleted file mode 100644 index 284e05df64..0000000000 --- a/etc/apps/FoamX/entries/solvers/PBiCG.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -PBiCG -{ - type dictionary; - description "PBiCG solver"; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - include "preconditioner.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/PCG.cfg b/etc/apps/FoamX/entries/solvers/PCG.cfg deleted file mode 100644 index 426fe6de05..0000000000 --- a/etc/apps/FoamX/entries/solvers/PCG.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -PCG -{ - type dictionary; - description "PCG solver"; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - include "preconditionerSymm.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/agglomerator.cfg b/etc/apps/FoamX/entries/solvers/agglomerator.cfg deleted file mode 100644 index 467a339857..0000000000 --- a/etc/apps/FoamX/entries/solvers/agglomerator.cfg +++ /dev/null @@ -1,20 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -agglomerator -{ - type word; - description "Type of agglomeration"; - default faceAreaPair; - valueList - ( - faceAreaPair - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/agglomeratorSymm.cfg b/etc/apps/FoamX/entries/solvers/agglomeratorSymm.cfg deleted file mode 100644 index ef4345b07d..0000000000 --- a/etc/apps/FoamX/entries/solvers/agglomeratorSymm.cfg +++ /dev/null @@ -1,21 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -agglomerator -{ - type word; - description "Type of agglomeration"; - default faceAreaPair; - valueList - ( - faceAreaPair - algebraicPair - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/cacheAgglomeration.cfg b/etc/apps/FoamX/entries/solvers/cacheAgglomeration.cfg deleted file mode 100644 index a5354b0736..0000000000 --- a/etc/apps/FoamX/entries/solvers/cacheAgglomeration.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cacheAgglomeration -{ - type SwitchOnOff; - description "Cache the agglomeration?"; - default off; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/diagonal.cfg b/etc/apps/FoamX/entries/solvers/diagonal.cfg deleted file mode 100644 index 1312681f10..0000000000 --- a/etc/apps/FoamX/entries/solvers/diagonal.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -diagonal -{ - type compound; - description "Diagonal preconditioner"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/directSolveCoarsest.cfg b/etc/apps/FoamX/entries/solvers/directSolveCoarsest.cfg deleted file mode 100644 index 2467e66c3a..0000000000 --- a/etc/apps/FoamX/entries/solvers/directSolveCoarsest.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -directSolveCoarsest -{ - type Switch; - description "Direct-solve the coarsest matrix?"; - default no; - optional 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/mergeLevels.cfg b/etc/apps/FoamX/entries/solvers/mergeLevels.cfg deleted file mode 100644 index c5577da647..0000000000 --- a/etc/apps/FoamX/entries/solvers/mergeLevels.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -mergeLevels -{ - type label; - description "Make coarsening more rapid by merging groups of levels"; - default 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/nCells.cfg b/etc/apps/FoamX/entries/solvers/nCells.cfg deleted file mode 100644 index 61cb0bc0e2..0000000000 --- a/etc/apps/FoamX/entries/solvers/nCells.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nCells -{ - type label; - description "Number of cells at the lowest miltigrid level"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/nCellsInCoarsestLevel.cfg b/etc/apps/FoamX/entries/solvers/nCellsInCoarsestLevel.cfg deleted file mode 100644 index 2835dbe013..0000000000 --- a/etc/apps/FoamX/entries/solvers/nCellsInCoarsestLevel.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nCellsInCoarsestLevel -{ - type label; - description "Number of cells at the coarsest level"; - default 20; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/nFinestSweeps.cfg b/etc/apps/FoamX/entries/solvers/nFinestSweeps.cfg deleted file mode 100644 index 28711b110a..0000000000 --- a/etc/apps/FoamX/entries/solvers/nFinestSweeps.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nFinestSweeps -{ - type label; - description "Number of sweeps at finest level"; - default 2; - optional 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/nPostSweeps.cfg b/etc/apps/FoamX/entries/solvers/nPostSweeps.cfg deleted file mode 100644 index dde5bf57bf..0000000000 --- a/etc/apps/FoamX/entries/solvers/nPostSweeps.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nPostSweeps -{ - type label; - description "Number of post-sweeps"; - default 2; - optional 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/nPreSweeps.cfg b/etc/apps/FoamX/entries/solvers/nPreSweeps.cfg deleted file mode 100644 index 9e0b54e125..0000000000 --- a/etc/apps/FoamX/entries/solvers/nPreSweeps.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nPreSweeps -{ - type label; - description "Number of pre-sweeps"; - default 0; - optional 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/nSweeps.cfg b/etc/apps/FoamX/entries/solvers/nSweeps.cfg deleted file mode 100644 index bbaa5b7bee..0000000000 --- a/etc/apps/FoamX/entries/solvers/nSweeps.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -nSweeps -{ - type label; - description "Number of sweeps before residual is recalculated"; - default 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/none.cfg b/etc/apps/FoamX/entries/solvers/none.cfg deleted file mode 100644 index ead44c678e..0000000000 --- a/etc/apps/FoamX/entries/solvers/none.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -none -{ - type compound; - description "No preconditioner"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/preconditioner.cfg b/etc/apps/FoamX/entries/solvers/preconditioner.cfg deleted file mode 100644 index f604d5228b..0000000000 --- a/etc/apps/FoamX/entries/solvers/preconditioner.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -preconditioner -{ - type selection; - description "Type of preconditioner"; - entries - { - include "DILU.cfg"; - include "diagonal.cfg"; - include "none.cfg"; - include "GAMG.cfg"; - }; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/preconditionerSymm.cfg b/etc/apps/FoamX/entries/solvers/preconditionerSymm.cfg deleted file mode 100644 index 87af3b6e1e..0000000000 --- a/etc/apps/FoamX/entries/solvers/preconditionerSymm.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -preconditioner -{ - type selection; - description "Type of preconditioner"; - entries - { - include "DIC.cfg"; - include "diagonal.cfg"; - include "FDIC.cfg"; - include "none.cfg"; - include "GAMGsymm.cfg"; - }; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/relTol.cfg b/etc/apps/FoamX/entries/solvers/relTol.cfg deleted file mode 100644 index f88b9cd6df..0000000000 --- a/etc/apps/FoamX/entries/solvers/relTol.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -relTol -{ - type scalar01; - description "Stops solving when final residual < relTol*initial residual"; - default 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/scaleCorrection.cfg b/etc/apps/FoamX/entries/solvers/scaleCorrection.cfg deleted file mode 100644 index d7b6ef6e6d..0000000000 --- a/etc/apps/FoamX/entries/solvers/scaleCorrection.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scaleCorrection -{ - type Switch; - description "Scale the corrections?"; - default yes; - optional 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/smoothSolver.cfg b/etc/apps/FoamX/entries/solvers/smoothSolver.cfg deleted file mode 100644 index 25d69ac253..0000000000 --- a/etc/apps/FoamX/entries/solvers/smoothSolver.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -smoothSolver -{ - type dictionary; - description "Smooth solver"; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - include "smoother.cfg"; - include "nSweeps.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/smoothSolverSymm.cfg b/etc/apps/FoamX/entries/solvers/smoothSolverSymm.cfg deleted file mode 100644 index 0ead0e7ecb..0000000000 --- a/etc/apps/FoamX/entries/solvers/smoothSolverSymm.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -smoothSolver -{ - type dictionary; - description "Smooth solver"; - entries - { - include "tolerance.cfg"; - include "relTol.cfg"; - include "smootherSymm.cfg"; - include "nSweeps.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/smoother.cfg b/etc/apps/FoamX/entries/solvers/smoother.cfg deleted file mode 100644 index 60e3ddd3c7..0000000000 --- a/etc/apps/FoamX/entries/solvers/smoother.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -smoother -{ - type word; - description "Type of smoother"; - default GaussSeidel; - valueList - ( - GaussSeidel - DILU - DILUGaussSeidel - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/smootherSymm.cfg b/etc/apps/FoamX/entries/solvers/smootherSymm.cfg deleted file mode 100644 index 0f1d519036..0000000000 --- a/etc/apps/FoamX/entries/solvers/smootherSymm.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -smoother -{ - type word; - description "Type of smoother"; - default GaussSeidel; - valueList - ( - GaussSeidel - DIC - DICGaussSeidel - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/solvers/tolerance.cfg b/etc/apps/FoamX/entries/solvers/tolerance.cfg deleted file mode 100644 index 959140e505..0000000000 --- a/etc/apps/FoamX/entries/solvers/tolerance.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -tolerance -{ - type scalar01; - description "Stops solving when initial residual < tolerance"; - default 1e-06; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/LRRCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/compressible/LRRCoeffs.cfg deleted file mode 100644 index 11979dc3cb..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/LRRCoeffs.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LRRCoeffs -{ - type dictionary; - description "Launder-Reece-Rodi RSTM with wall functions model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clrr1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clrr2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cs.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ceps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphah.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaR.cfg"; - } - - include "defaults/LRRCoeffs.def"; -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderGibsonRSTMCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderGibsonRSTMCoeffs.cfg deleted file mode 100644 index 840c13ceea..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderGibsonRSTMCoeffs.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LaunderGibsonRSTMCoeffs -{ - type dictionary; - description "Launder-Gibson RSTM with wall reflection and wall functions model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clg1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clg2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1Ref.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2Ref.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cs.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ceps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphah.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaR.cfg"; - } - - include "defaults/LaunderGibsonRSTMCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderSharmaKECoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderSharmaKECoeffs.cfg deleted file mode 100644 index f91dffe0f1..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/LaunderSharmaKECoeffs.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LaunderSharmaKECoeffs -{ - type dictionary; - description "Launder-Sharma low Reynolds number k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphah.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/LaunderSharmaKECoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/RNGkEpsilonCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/compressible/RNGkEpsilonCoeffs.cfg deleted file mode 100644 index 99f4006586..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/RNGkEpsilonCoeffs.cfg +++ /dev/null @@ -1,31 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -RNGkEpsilonCoeffs -{ - type dictionary; - description "RNG k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphah.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/eta0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/beta.cfg"; - } - - include "defaults/RNGkEpsilonCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LRRCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LRRCoeffs.def deleted file mode 100644 index a676c0f263..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LRRCoeffs.def +++ /dev/null @@ -1,14 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - Clrr1 Clrr1 [ 0 0 0 0 0 0 0 ] 1.8 ; - Clrr2 Clrr2 [ 0 0 0 0 0 0 0 ] 0.6 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - Cs Cs [ 0 0 0 0 0 0 0 ] 0.25 ; - Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - alphaR alphaR [ 0 0 0 0 0 0 0 ] 1.22 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LamBremhorstKECoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LamBremhorstKECoeffs.def deleted file mode 100644 index 1bfcea2dea..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LamBremhorstKECoeffs.def +++ /dev/null @@ -1,10 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderGibsonRSTMCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderGibsonRSTMCoeffs.def deleted file mode 100644 index 5151d78b73..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderGibsonRSTMCoeffs.def +++ /dev/null @@ -1,16 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - Clg1 Clg1 [ 0 0 0 0 0 0 0 ] 1.8 ; - Clg2 Clg2 [ 0 0 0 0 0 0 0 ] 0.6 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - C1Ref C1Ref [ 0 0 0 0 0 0 0 ] 0.5 ; - C2Ref C2Ref [ 0 0 0 0 0 0 0 ] 0.3 ; - Cs Cs [ 0 0 0 0 0 0 0 ] 0.25 ; - Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - alphaR alphaR [ 0 0 0 0 0 0 0 ] 1.22 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderSharmaKECoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderSharmaKECoeffs.def deleted file mode 100644 index c1574e7cbe..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LaunderSharmaKECoeffs.def +++ /dev/null @@ -1,10 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKECoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKECoeffs.def deleted file mode 100644 index c42ff6445b..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKECoeffs.def +++ /dev/null @@ -1,15 +0,0 @@ -default -{ - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - A1 A1 [ 0 0 0 0 0 0 0 ] 1.25 ; - A2 A2 [ 0 0 0 0 0 0 0 ] 1000 ; - Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4 ; - Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13 ; - Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2 ; - alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKELowReCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKELowReCoeffs.def deleted file mode 100644 index d45dc3a612..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienCubicKELowReCoeffs.def +++ /dev/null @@ -1,20 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - A1 A1 [ 0 0 0 0 0 0 0 ] 1.25 ; - A2 A2 [ 0 0 0 0 0 0 0 ] 1000 ; - Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4 ; - Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13 ; - Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2 ; - alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9 ; - Kappa Kappa [ 0 0 0 0 0 0 0 ] 0.4187 ; - Am Am [ 0 0 0 0 0 0 0 ] 0.016 ; - Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263 ; - Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienLeschzinerLowReCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienLeschzinerLowReCoeffs.def deleted file mode 100644 index 0176831861..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/LienLeschzinerLowReCoeffs.def +++ /dev/null @@ -1,14 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - Kappa Kappa [ 0 0 0 0 0 0 0 ] 0.4187 ; - Am Am [ 0 0 0 0 0 0 0 ] 0.016 ; - Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263 ; - Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/NonlinearKEShihCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/NonlinearKEShihCoeffs.def deleted file mode 100644 index 950559ac95..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/NonlinearKEShihCoeffs.def +++ /dev/null @@ -1,16 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76932 ; - A1 A1 [ 0 0 0 0 0 0 0 ] 1.25 ; - A2 A2 [ 0 0 0 0 0 0 0 ] 1000 ; - Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4 ; - Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13 ; - Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2 ; - alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9 ; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/QZetaCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/QZetaCoeffs.def deleted file mode 100644 index bbf8e32ec6..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/QZetaCoeffs.def +++ /dev/null @@ -1,12 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - anisotropic no; -}; - diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/RNGkEpsilonCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/RNGkEpsilonCoeffs.def deleted file mode 100644 index 5ae1c433fe..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/RNGkEpsilonCoeffs.def +++ /dev/null @@ -1,12 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.0845 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.42 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.68 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphaK [ 0 0 0 0 0 0 0 ] 1.39 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 1.39 ; - eta0 eta0 [ 0 0 0 0 0 0 0 ] 4.38 ; - beta beta [ 0 0 0 0 0 0 0 ] 0.012 ; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/kEpsilonCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/kEpsilonCoeffs.def deleted file mode 100644 index 8c63942d17..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/kEpsilonCoeffs.def +++ /dev/null @@ -1,12 +0,0 @@ -default -{ - - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] -0.33 ; - alphah alphah [ 0 0 0 0 0 0 0 ] 1 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/wallFunctionCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/wallFunctionCoeffs.def deleted file mode 100644 index b4dad1b0de..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/defaults/wallFunctionCoeffs.def +++ /dev/null @@ -1,5 +0,0 @@ -default -{ - kappa kappa [ 0 0 0 0 0 0 0 ] 0.4187 ; - E E [ 0 0 0 0 0 0 0 ] 9 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/kEpsilonCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/compressible/kEpsilonCoeffs.cfg deleted file mode 100644 index 1caa273fe1..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/kEpsilonCoeffs.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kEpsilonCoeffs -{ - type dictionary; - description "Standard k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphah.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/kEpsilonCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/turbulenceModel.cfg b/etc/apps/FoamX/entries/turbulenceModels/compressible/turbulenceModel.cfg deleted file mode 100644 index 0b8cfa324e..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/turbulenceModel.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -turbulenceModel -{ - type model; - description "Turbulence model selection"; - default kEpsilon; - valueList - ( - laminar - kEpsilon - RNGkEpsilon - LaunderSharmaKE - LRR - LaunderGibsonRSTM - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/compressible/wallFunctionCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/compressible/wallFunctionCoeffs.cfg deleted file mode 100644 index 3359419075..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/compressible/wallFunctionCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -wallFunctionCoeffs -{ - type dictionary; - description "Wall function coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/kappa.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/E.cfg"; - } - - include "defaults/wallFunctionCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LRRCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/LRRCoeffs.cfg deleted file mode 100644 index 46da8fe096..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LRRCoeffs.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LRRCoeffs -{ - type dictionary; - description "Launder-Reece-Rodi RSTM with wall functions model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clrr1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clrr2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cs.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ceps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/LRRCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LamBremhorstKECoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/LamBremhorstKECoeffs.cfg deleted file mode 100644 index a75e99d9d1..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LamBremhorstKECoeffs.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LamBremhorstKECoeffs -{ - type dictionary; - description "Lam-Bremhorst low Reynolds number k-Epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/LamBremhorstKECoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderGibsonRSTMCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderGibsonRSTMCoeffs.cfg deleted file mode 100644 index 7fbe01a581..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderGibsonRSTMCoeffs.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LaunderGibsonRSTMCoeffs -{ - type dictionary; - description "Launder-Gibson RSTM with wall reflection and wall functions model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clg1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Clg2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1Ref.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2Ref.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cs.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ceps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaR.cfg"; - } - - include "defaults/LaunderGibsonRSTMCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderSharmaKECoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderSharmaKECoeffs.cfg deleted file mode 100644 index ef43cf0291..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LaunderSharmaKECoeffs.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LaunderSharmaKECoeffs -{ - type dictionary; - description "Launder-Sharma low Reynolds number k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/LaunderSharmaKECoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKECoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKECoeffs.cfg deleted file mode 100644 index 01374fc7c2..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKECoeffs.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LienCubicKECoeffs -{ - type dictionary; - description "Lien non-Linear cubic k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/A1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/A2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaKsi.cfg"; - } - - include "defaults/LienCubicKECoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKELowReCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKELowReCoeffs.cfg deleted file mode 100644 index b5096ed880..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienCubicKELowReCoeffs.cfg +++ /dev/null @@ -1,36 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LienCubicKELowReCoeffs -{ - type dictionary; - description "Lien-Leschziner low Reynolds number cubic k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/A1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/A2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaKsi.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Am.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Aepsilon.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Amu.cfg"; - } - - include "defaults/LienCubicKELowReCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienLeschzinerLowReCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienLeschzinerLowReCoeffs.cfg deleted file mode 100644 index 490b971d2b..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/LienLeschzinerLowReCoeffs.cfg +++ /dev/null @@ -1,30 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -LienLeschzinerLowReCoeffs -{ - type dictionary; - description "Lien-Leschziner low Reynolds number cubic k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Am.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Aepsilon.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Amu.cfg"; - } - - include "defaults/LienLeschzinerLowReCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/NonlinearKEShihCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/NonlinearKEShihCoeffs.cfg deleted file mode 100644 index b3f3674379..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/NonlinearKEShihCoeffs.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -NonlinearKEShihCoeffs -{ - type dictionary; - description "Shih non-Linear k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/A1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/A2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Ctau3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaKsi.cfg"; - } - - include "defaults/NonlinearKEShihCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/QZetaCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/QZetaCoeffs.cfg deleted file mode 100644 index 8bdd3cdf41..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/QZetaCoeffs.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -QZetaCoeffs -{ - type dictionary; - description "Gibson's q-zeta low Reynolds number k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaZeta.cfg"; - include "$FOAMX_CONFIG/entries/Switch/anisotropic.cfg"; - } - - include "defaults/QZetaCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/RNGkEpsilonCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/RNGkEpsilonCoeffs.cfg deleted file mode 100644 index 3d0edae370..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/RNGkEpsilonCoeffs.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -RNGkEpsilonCoeffs -{ - type dictionary; - description "RNG k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/eta0.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/beta.cfg"; - } - - include "defaults/RNGkEpsilonCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/SpalartAllmarasCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/SpalartAllmarasCoeffs.cfg deleted file mode 100644 index b294cbe27d..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/SpalartAllmarasCoeffs.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -SpalartAllmarasCoeffs -{ - type dictionary; - description "Standard Spalart-Allmaras model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaNut.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cb1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cb2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cw2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cw3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cv1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cv2.cfg"; - } - - include "defaults/SpalartAllmarasCoeffs.def"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LRRCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LRRCoeffs.def deleted file mode 100644 index 63680f988b..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LRRCoeffs.def +++ /dev/null @@ -1,11 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - Clrr1 Clrr1 [ 0 0 0 0 0 0 0 ] 1.8 ; - Clrr2 Clrr2 [ 0 0 0 0 0 0 0 ] 0.6 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - Cs Cs [ 0 0 0 0 0 0 0 ] 0.25 ; - Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LamBremhorstKECoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LamBremhorstKECoeffs.def deleted file mode 100644 index df6b9a0a90..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LamBremhorstKECoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderGibsonRSTMCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderGibsonRSTMCoeffs.def deleted file mode 100644 index 163944e444..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderGibsonRSTMCoeffs.def +++ /dev/null @@ -1,14 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - Clg1 Clg1 [ 0 0 0 0 0 0 0 ] 1.8 ; - Clg2 Clg2 [ 0 0 0 0 0 0 0 ] 0.6 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C1Ref C1Ref [ 0 0 0 0 0 0 0 ] 0.5 ; - C2Ref C2Ref [ 0 0 0 0 0 0 0 ] 0.3 ; - Cs Cs [ 0 0 0 0 0 0 0 ] 0.25 ; - Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - alphaR alphaR [ 0 0 0 0 0 0 0 ] 1.22 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderSharmaKECoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderSharmaKECoeffs.def deleted file mode 100644 index df6b9a0a90..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LaunderSharmaKECoeffs.def +++ /dev/null @@ -1,7 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKECoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKECoeffs.def deleted file mode 100644 index 1d3c3b14d2..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKECoeffs.def +++ /dev/null @@ -1,13 +0,0 @@ -default -{ - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - A1 A1 [ 0 0 0 0 0 0 0 ] 1.25 ; - A2 A2 [ 0 0 0 0 0 0 0 ] 1000 ; - Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4 ; - Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13 ; - Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2 ; - alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKELowReCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKELowReCoeffs.def deleted file mode 100644 index 966b94f04d..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienCubicKELowReCoeffs.def +++ /dev/null @@ -1,17 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - A1 A1 [ 0 0 0 0 0 0 0 ] 1.25 ; - A2 A2 [ 0 0 0 0 0 0 0 ] 1000 ; - Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4 ; - Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13 ; - Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2 ; - alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9 ; - Am Am [ 0 0 0 0 0 0 0 ] 0.016 ; - Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263 ; - Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienLeschzinerLowReCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienLeschzinerLowReCoeffs.def deleted file mode 100644 index be108d10ca..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/LienLeschzinerLowReCoeffs.def +++ /dev/null @@ -1,11 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - Am Am [ 0 0 0 0 0 0 0 ] 0.016 ; - Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263 ; - Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/NonlinearKEShihCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/NonlinearKEShihCoeffs.def deleted file mode 100644 index ad0ad99f30..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/NonlinearKEShihCoeffs.def +++ /dev/null @@ -1,14 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76932 ; - A1 A1 [ 0 0 0 0 0 0 0 ] 1.25 ; - A2 A2 [ 0 0 0 0 0 0 0 ] 1000 ; - Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4 ; - Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13 ; - Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2 ; - alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9 ; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/QZetaCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/QZetaCoeffs.def deleted file mode 100644 index bb8da12160..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/QZetaCoeffs.def +++ /dev/null @@ -1,9 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphaZeta alphaZeta [ 0 0 0 0 0 0 0 ] 0.76923 ; - anisotropic no; -}; - diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/RNGkEpsilonCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/RNGkEpsilonCoeffs.def deleted file mode 100644 index 427c547013..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/RNGkEpsilonCoeffs.def +++ /dev/null @@ -1,10 +0,0 @@ -default -{ - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.0845 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.42 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.68 ; - alphak alphaK [ 0 0 0 0 0 0 0 ] 1.39 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 1.39 ; - eta0 eta0 [ 0 0 0 0 0 0 0 ] 4.38 ; - beta beta [ 0 0 0 0 0 0 0 ] 0.012 ; -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/SpalartAllmarasCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/SpalartAllmarasCoeffs.def deleted file mode 100644 index 79b469d8a8..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/SpalartAllmarasCoeffs.def +++ /dev/null @@ -1,10 +0,0 @@ -default -{ - alphaNut alphaNut [0 0 0 0 0 0 0] 1.5; - Cb1 Cb1 [0 0 0 0 0 0 0] 0.1355; - Cb2 Cb2 [0 0 0 0 0 0 0] 0.622; - Cw2 Cw2 [0 0 0 0 0 0 0] 0.3; - Cw3 Cw3 [0 0 0 0 0 0 0] 2.0; - Cv1 Cv1 [0 0 0 0 0 0 0] 7.1; - Cv2 Cv2 [0 0 0 0 0 0 0] 5.0; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffs.def deleted file mode 100644 index 3ceac6dab7..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffs.def +++ /dev/null @@ -1,9 +0,0 @@ -default -{ - - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithAlphak.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithAlphak.def deleted file mode 100644 index 23eaa33f8b..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithAlphak.def +++ /dev/null @@ -1,10 +0,0 @@ -default -{ - - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - alphak alphak [ 0 0 0 0 0 0 0 ] 1.0 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithC3.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithC3.def deleted file mode 100644 index 92f05ecd83..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kEpsilonCoeffsWithC3.def +++ /dev/null @@ -1,11 +0,0 @@ -default -{ - - Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09 ; - C1 C1 [ 0 0 0 0 0 0 0 ] 1.44 ; - C2 C2 [ 0 0 0 0 0 0 0 ] 1.92 ; - C3 C3 [ 0 0 0 0 0 0 0 ] 0.85; - alphak alphak [ 0 0 0 0 0 0 0 ] 1 ; - alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923 ; - -}; \ No newline at end of file diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kOmegaSSTCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kOmegaSSTCoeffs.def deleted file mode 100644 index e03b9ed434..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/kOmegaSSTCoeffs.def +++ /dev/null @@ -1,15 +0,0 @@ -default -{ - alphaK1 alphaK1 [0 0 0 0 0 0 0] 0.85034; - alphaK2 alphaK1 [0 0 0 0 0 0 0] 1.0; - alphaOmega1 alphaOmega1 [0 0 0 0 0 0 0] 0.5; - alphaOmega2 alphaOmega2 [0 0 0 0 0 0 0] 0.85616; - gamma1 gamma1 [0 0 0 0 0 0 0] 0.5532; - gamma2 gamma2 [0 0 0 0 0 0 0] 0.4403; - beta1 beta1 [0 0 0 0 0 0 0] 0.0750; - beta2 beta2 [0 0 0 0 0 0 0] 0.0828; - betaStar betaStar [0 0 0 0 0 0 0] 0.09; - a1 a1 [0 0 0 0 0 0 0] 0.31; - c1 c1 [0 0 0 0 0 0 0] 10; - Cmu Cmu [0 0 0 0 0 0 0] 0.09; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/wallFunctionCoeffs.def b/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/wallFunctionCoeffs.def deleted file mode 100644 index b4dad1b0de..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/defaults/wallFunctionCoeffs.def +++ /dev/null @@ -1,5 +0,0 @@ -default -{ - kappa kappa [ 0 0 0 0 0 0 0 ] 0.4187 ; - E E [ 0 0 0 0 0 0 0 ] 9 ; -}; diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffs.cfg deleted file mode 100644 index c0c6994dd7..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffs.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kEpsilonCoeffs -{ - type dictionary; - description "Standard k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/kEpsilonCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithAlphak.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithAlphak.cfg deleted file mode 100644 index 8eac38bebc..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithAlphak.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kEpsilonCoeffs -{ - type dictionary; - description "Standard k-epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/kEpsilonCoeffsWithAlphak.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithC3.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithC3.cfg deleted file mode 100644 index f9b43b33d2..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kEpsilonCoeffsWithC3.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kEpsilonCoeffs -{ - type dictionary; - description "Standard k-Epsilon model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/C3.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphak.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaEps.cfg"; - } - - include "defaults/kEpsilonCoeffsWithC3.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kOmegaSSTCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/kOmegaSSTCoeffs.cfg deleted file mode 100644 index 82c81a2b93..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/kOmegaSSTCoeffs.cfg +++ /dev/null @@ -1,34 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -kOmegaSSTCoeffs -{ - type dictionary; - description "k-omega SST model coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaK1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaK2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaOmega1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/alphaOmega2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/gamma1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/gamma2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/beta1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/beta2.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/betaStar.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/a1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/c1.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/Cmu.cfg"; - } - - include "defaults/kOmegaSSTCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/turbulenceModel.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/turbulenceModel.cfg deleted file mode 100644 index d885ee6a6a..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/turbulenceModel.cfg +++ /dev/null @@ -1,33 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -turbulenceModel -{ - type model; - description "Turbulence model selection"; - default kEpsilon; - valueList - ( - laminar - kEpsilon - RNGkEpsilon - NonlinearKEShih - LienCubicKE - QZeta - LaunderSharmaKE - LamBremhorstKE - LienCubicKELowRe - LienLeschzinerLowRe - LRR - LaunderGibsonRSTM - SpalartAllmaras - kOmegaSST - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg b/etc/apps/FoamX/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg deleted file mode 100644 index 3359419075..0000000000 --- a/etc/apps/FoamX/entries/turbulenceModels/incompressible/wallFunctionCoeffs.cfg +++ /dev/null @@ -1,24 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -wallFunctionCoeffs -{ - type dictionary; - description "Wall function coefficients"; - entries - { - include "$FOAMX_CONFIG/entries/dimensionedScalar/kappa.cfg"; - include "$FOAMX_CONFIG/entries/dimensionedScalar/E.cfg"; - } - - include "defaults/wallFunctionCoeffs.def"; -} - - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/basePoint.cfg b/etc/apps/FoamX/entries/vector/basePoint.cfg deleted file mode 100644 index f2cc5164c5..0000000000 --- a/etc/apps/FoamX/entries/vector/basePoint.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -basePoint -{ - type vector; - description "basePoint"; - iconURL "/FoamX/icons/small/maths/basePoint.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/createVector b/etc/apps/FoamX/entries/vector/createVector deleted file mode 100644 index 5f076f8819..0000000000 --- a/etc/apps/FoamX/entries/vector/createVector +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/csh - -if ( $#argv != 1 ) then - echo "Usage: createVector " - exit 1 -endif - -set file = $1.cfg -if ( -e $file ) then - echo "Removing existing file $file" - rm $file -endif - -echo "Creating file $file" -touch $file -echo $1 >> $file -echo '{' >> $file -echo ' type vector;' >> $file -echo ' description "'$1'";' >> $file -echo ' iconURL "/FoamX/icons/small/maths/'$1'.gif";' >> $file -echo '}' >> $file - diff --git a/etc/apps/FoamX/entries/vector/direction.cfg b/etc/apps/FoamX/entries/vector/direction.cfg deleted file mode 100644 index 12f592f552..0000000000 --- a/etc/apps/FoamX/entries/vector/direction.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -direction -{ - type vector; - description "Direction in global coordinate system"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/location.cfg b/etc/apps/FoamX/entries/vector/location.cfg deleted file mode 100644 index 4ded1600d2..0000000000 --- a/etc/apps/FoamX/entries/vector/location.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -location -{ - type vector; - description "Position in global coordinate system"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/max.cfg b/etc/apps/FoamX/entries/vector/max.cfg deleted file mode 100644 index 3a02364698..0000000000 --- a/etc/apps/FoamX/entries/vector/max.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -max -{ - type vector; - description "max"; - iconURL "/FoamX/icons/small/maths/max.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/min.cfg b/etc/apps/FoamX/entries/vector/min.cfg deleted file mode 100644 index d36ff54dda..0000000000 --- a/etc/apps/FoamX/entries/vector/min.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -min -{ - type vector; - description "min"; - iconURL "/FoamX/icons/small/maths/min.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/motionPlaneNormal.cfg b/etc/apps/FoamX/entries/vector/motionPlaneNormal.cfg deleted file mode 100644 index 6fea2f96e9..0000000000 --- a/etc/apps/FoamX/entries/vector/motionPlaneNormal.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -motionPlaneNormal -{ - type vector; - description "motionPlaneNormal"; - iconURL "/FoamX/icons/small/maths/normal.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/normalVector.cfg b/etc/apps/FoamX/entries/vector/normalVector.cfg deleted file mode 100644 index 14c88633bb..0000000000 --- a/etc/apps/FoamX/entries/vector/normalVector.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -normalVector -{ - type vector; - description "normalVector"; - iconURL "/FoamX/icons/small/maths/normalVector.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/position.cfg b/etc/apps/FoamX/entries/vector/position.cfg deleted file mode 100644 index 51984a9f2f..0000000000 --- a/etc/apps/FoamX/entries/vector/position.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -position -{ - type vector; - description "Position in global coordinate system"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/tan1.cfg b/etc/apps/FoamX/entries/vector/tan1.cfg deleted file mode 100644 index 2cf403cc78..0000000000 --- a/etc/apps/FoamX/entries/vector/tan1.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -tan1 -{ - type vector; - description "tan1"; - iconURL "/FoamX/icons/small/maths/tan1.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/entries/vector/tan2.cfg b/etc/apps/FoamX/entries/vector/tan2.cfg deleted file mode 100644 index 891b29416c..0000000000 --- a/etc/apps/FoamX/entries/vector/tan2.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -tan2 -{ - type vector; - description "tan2"; - iconURL "/FoamX/icons/small/maths/tan2.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/Switch.cfg b/etc/apps/FoamX/types/Switch.cfg deleted file mode 100644 index 29c889712a..0000000000 --- a/etc/apps/FoamX/types/Switch.cfg +++ /dev/null @@ -1,32 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -Switch -{ - type word; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - valueList - ( - yes - no - ); -} - -SwitchOnOff -{ - type word; - iconURL "/FoamX/icons/small/maths/Switch.gif"; - valueList - ( - on - off - ); -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/angle0180.cfg b/etc/apps/FoamX/types/angle0180.cfg deleted file mode 100644 index ddcd1aaf06..0000000000 --- a/etc/apps/FoamX/types/angle0180.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -angle0180 -{ - type scalar; - minValue 0; - maxValue 180; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/boolean.cfg b/etc/apps/FoamX/types/boolean.cfg deleted file mode 100644 index c360b3ed18..0000000000 --- a/etc/apps/FoamX/types/boolean.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -boolean -{ - description "Boolean"; - type boolean; - minValue 0; - maxValue 1; - valueList - ( - 0 - 1 - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/debugSwitch.cfg b/etc/apps/FoamX/types/debugSwitch.cfg deleted file mode 100644 index 3b17a08e6a..0000000000 --- a/etc/apps/FoamX/types/debugSwitch.cfg +++ /dev/null @@ -1,17 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -debugSwitch -{ - description "debugSwitch"; - type label; - optional 1; - default 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/dimensionedScalar.cfg b/etc/apps/FoamX/types/dimensionedScalar.cfg deleted file mode 100644 index 04b4843b4e..0000000000 --- a/etc/apps/FoamX/types/dimensionedScalar.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dimensionedScalar -{ - type compound; - description "Dimensioned Scalar"; - entries - { - name - { - type word; - editable 0; - } - - dimensions - { - type dimensionSet; - editable 0; - - } - - value - { - type scalar; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/dimensionedVector.cfg b/etc/apps/FoamX/types/dimensionedVector.cfg deleted file mode 100644 index f71a66f822..0000000000 --- a/etc/apps/FoamX/types/dimensionedVector.cfg +++ /dev/null @@ -1,35 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -dimensionedVector -{ - type compound; - description "Dimensioned Vector"; - entries - { - name - { - type word; - editable 0; - } - - dimensions - { - type dimensionSet; - editable 0; - - } - - value - { - type vector; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/fields.cfg b/etc/apps/FoamX/types/fields.cfg deleted file mode 100644 index 13622e4d5e..0000000000 --- a/etc/apps/FoamX/types/fields.cfg +++ /dev/null @@ -1,75 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scalarField -{ - displayName "scalarField"; - description "Scalar Field"; - type selection; - entries - { - uniform - { - type scalar; - description "Uniform field selected"; - } - - nonuniform - { - type list; - elementType scalar; - description "Non-uniform field selected"; - } - } -} - -vectorField -{ - displayName "vectorField"; - description "Vector Field"; - type selection; - entries - { - uniform - { - type vector; - description "Uniform field selected"; - } - - nonuniform - { - type list; - elementType vector; - description "Non-uniform field selected"; - } - } -} - -tensorField -{ - displayName "tensorField"; - description "Tensor Field"; - type selection; - entries - { - uniform - { - type tensor; - description "Uniform field selected"; - } - - nonuniform - { - type list; - elementType tensor; - description "Non-uniform field selected"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/functionObjects/probe.cfg b/etc/apps/FoamX/types/functionObjects/probe.cfg deleted file mode 100644 index df4dbe4581..0000000000 --- a/etc/apps/FoamX/types/functionObjects/probe.cfg +++ /dev/null @@ -1,56 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -probe -{ - type compound; - entries - { - name - { - type word; - description "Name of probe"; - } - - dict - { - type dictionary; - entries - { - type - { - type word; - default probes; - editable 0; - } - - functionObjectLibs - { - type list; - elementType string; - default ("libsampling.so"); - } - - probeLocations - { - type list; - elementType vector; - } - - fields - { - type list; - description "List of fields to be sampled"; - elementType word; - } - } - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/geometries.cfg b/etc/apps/FoamX/types/geometries.cfg deleted file mode 100644 index 20a4b272cb..0000000000 --- a/etc/apps/FoamX/types/geometries.cfg +++ /dev/null @@ -1,28 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Geometry type definitions. - -vol -{ - displayName "vol"; - description "Finite volume cells"; -} - -surface -{ - displayName "surface"; - description "Finite volume faces"; -} - -point -{ - displayName "point"; - description "Vertices"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/model.cfg b/etc/apps/FoamX/types/model.cfg deleted file mode 100644 index 21c6298949..0000000000 --- a/etc/apps/FoamX/types/model.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -model -{ - type word; - description "Model"; - iconURL "/FoamX/icons/small/maths/Model.gif"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/patchField.cfg b/etc/apps/FoamX/types/patchField.cfg deleted file mode 100644 index d792a80d13..0000000000 --- a/etc/apps/FoamX/types/patchField.cfg +++ /dev/null @@ -1,26 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -patchField -{ - displayName "Patch Field"; - description "Patch Field"; - type dictionary; - entries - { - type - { - type word; - default patchField; - editable 0; - visible 0; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/patchFields.cfg b/etc/apps/FoamX/types/patchFields.cfg deleted file mode 100644 index 2cceb8d0a2..0000000000 --- a/etc/apps/FoamX/types/patchFields.cfg +++ /dev/null @@ -1,14 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -include "patchFields/geometric.cfg"; -include "patchFields/basic.cfg"; -include "patchFields/cfd.cfg"; -include "patchFields/meshMotion.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/patchFields/basic.cfg b/etc/apps/FoamX/types/patchFields/basic.cfg deleted file mode 100644 index 0f88fc443b..0000000000 --- a/etc/apps/FoamX/types/patchFields/basic.cfg +++ /dev/null @@ -1,219 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - - -fixedValue -{ - displayName "fixedValue"; - description "Fixed Value"; - type patchField; - options - { - type - { - default fixedValue; - } - } - - entries - { - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -fixedGradient -{ - displayName "fixedGradient"; - description "Fixed Gradient"; - type patchField; - options - { - type - { - default fixedGradient; - } - } - - entries - { - gradient - { - type field; - displayName "gradient"; - description "Field Gradient"; - } - } -} - -zeroGradient -{ - displayName "zeroGradient"; - description "Zero Gradient"; - type patchField; - options - { - type - { - default zeroGradient; - } - } -} - -calculated -{ - displayName "calculated"; - description "Calculated"; - type patchField; - options - { - type - { - default calculated; - } - } -} - -mixed -{ - displayName "mixed"; - description "Mixed"; - - type patchField; - options - { - type - { - default mixed; - } - } - - entries - { - refValue - { - type field; - displayName "refValue"; - description "Reference value field"; - } - refGradient - { - type field; - displayName "refGradient"; - description "Reference gradient field"; - } - valueFraction - { - type scalarField; - displayName "valueFraction"; - description "Value fraction"; - } - } -} - -directionMixed -{ - displayName "directionMixed"; - description "Direction Mixed"; - type patchField; - options - { - type - { - default directionMixed; - } - } - - entries - { - refValue - { - type field; - displayName "refValue"; - description "Reference value field"; - } - refGradient - { - type field; - displayName "refGradient"; - description "Reference gradient field"; - } - valueFraction - { - type scalarField; - displayName "valueFraction"; - description "Value fraction"; - } - } -} - -expDirectionMixed -{ - displayName "expDirectionMixed"; - description "Explicit Direction Mixed"; - type patchField; - options - { - type - { - default expDirectionMixed; - } - } - - entries - { - refValue - { - type field; - displayName "refValue"; - description "Reference value field"; - } - refGradient - { - type field; - displayName "refGradient"; - description "Reference gradient field"; - } - valueFraction - { - type scalarField; - displayName "valueFraction"; - description "Value fraction"; - } - } -} - -surfaceNormalFixedValue -{ - displayName "surfaceNormalFixedValue"; - description "Fixed Value"; - type patchField; - options - { - type - { - default surfaceNormalFixedValue; - } - } - - entries - { - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/patchFields/cfd.cfg b/etc/apps/FoamX/types/patchFields/cfd.cfg deleted file mode 100644 index 53b3d66352..0000000000 --- a/etc/apps/FoamX/types/patchFields/cfd.cfg +++ /dev/null @@ -1,755 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -inletOutlet -{ - displayName "inletOutlet"; - description "Inlet, switching to outlet if flow is outwards"; - type patchField; - options - { - type - { - default inletOutlet; - } - } - - entries - { - inletValue - { - type field; - displayName "inletValue"; - description "Specified inlet value"; - } - - value - { - type field; - displayName "value"; - description "Actual value at inlet/outlet"; - optional 1; - } - } -} - -outletInlet -{ - displayName "outletInlet"; - description "Outlet, switching to inlet if the flow is inwards"; - type patchField; - options - { - type - { - default outletInlet; - } - } - - entries - { - outletValue - { - type field; - displayName "outletValue"; - description "Specified outlet value"; - } - - value - { - type field; - displayName "value"; - description "Actual value at outlet/inlet"; - optional 1; - } - - } -} - -fluxCorrectedVelocity -{ - displayName "fluxCorrectedVelocity"; - description "Flux Corrected Velocity"; - type patchField; - options - { - type - { - default fluxCorrectedVelocity; - } - } -} - -pressureInletVelocity -{ - displayName "pressureInletVelocity"; - description "Pressure Inlet Velocity"; - type patchField; - options - { - type - { - default pressureInletVelocity; - } - } - - entries - { - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -pressureDirectedInletVelocity -{ - displayName "pressureDirectedInletVelocity"; - description "Pressure Directed Inlet Velocity"; - type patchField; - options - { - type - { - default pressureDirectedInletVelocity; - } - } - - entries - { - inletDirection - { - type vector; - displayName "inletDirection"; - description "Inlet Direction"; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -pressureInletOutletVelocity -{ - displayName "pressureInletOutletVelocity"; - description "Pressure Inlet Outlet Velocity"; - type patchField; - options - { - type - { - default pressureInletOutletVelocity; - } - } - - entries - { - phi - { - type word; - displayName "phi"; - description "Flux field name"; - default phi; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -pressureDirectedInletOutletVelocity -{ - displayName "pressureDirectedInletOutletVelocity"; - description "Pressure Directed Inlet Outlet Velocity"; - type patchField; - options - { - type - { - default pressureDirectedInletOutletVelocity; - } - } - - entries - { - inletDirection - { - type vector; - displayName "inletDirection"; - description "Inlet Direction"; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -waveTransmissive -{ - displayName "waveTransmissive"; - description "Wave Transmissive"; - type patchField; - options - { - type - { - default waveTransmissive; - } - } - - entries - { - field - { - type word; - displayName "field"; - description "Transmitted field"; - default p; - } - - phi - { - type word; - displayName "phi"; - description "Flux field name"; - default phi; - } - - rho - { - type word; - displayName "rho"; - description "Mass density field name"; - default rho; - } - - psi - { - type word; - displayName "psi"; - description "Compressibility field name"; - default psi; - } - - gamma - { - type scalar; - displayName "gamma"; - description "Ratio of specific heats"; - default 1.4; - } - - fieldInf - { - type scalar; - displayName "fieldInf"; - description "Field Infinity"; - } - - lInf - { - type scalar; - displayName "lInf"; - description "Geometry length scale"; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -supersonicFreestream -{ - displayName "supersonicFreestream"; - description "Supersonic Freestream"; - type patchField; - options - { - type - { - default supersonicFreestream; - } - } - - entries - { - pInf - { - type scalar; - displayName "pInf"; - description "Pressure at infinity"; - } - TInf - { - type scalar; - displayName "TInf"; - description "Temperature at infinity"; - } - UInf - { - type vector; - displayName "UInf"; - description "Velocity at infinity"; - } - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -totalPressure -{ - displayName "totalPressure"; - description "Total Pressure"; - type patchField; - options - { - type - { - default totalPressure; - } - } - - entries - { - p0 - { - type field; - displayName "p0"; - description "Reference pressure"; - } - - U - { - type word; - default U; - editable 0; - } - - phi - { - type word; - default phi; - editable 0; - } - - rho - { - type word; - default none; - editable 0; - } - - psi - { - type word; - default none; - editable 0; - } - - gamma - { - type scalar; - default 1.0; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -totalPressureVariableDensity -{ - displayName "totalPressure"; - description "Total Pressure"; - type patchField; - options - { - type - { - default totalPressure; - } - } - - entries - { - p0 - { - type field; - displayName "p0"; - description "Reference pressure"; - } - - U - { - type word; - default U; - editable 0; - } - - phi - { - type word; - default phi; - editable 0; - } - - rho - { - type word; - default rho; - editable 0; - } - - psi - { - type word; - default none; - editable 0; - } - - gamma - { - type scalar; - default 1.0; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -totalPressureCompressible -{ - displayName "totalPressure"; - description "Total Pressure"; - type patchField; - options - { - type - { - default totalPressure; - } - } - - entries - { - p0 - { - type field; - displayName "p0"; - description "Reference pressure"; - } - - U - { - type word; - default U; - editable 0; - } - - phi - { - type word; - default phi; - editable 0; - } - - rho - { - type word; - default none; - editable 0; - } - - psi - { - type word; - default psi; - editable 0; - } - - gamma - { - type scalar; - default 1.4; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -turbulentInlet -{ - displayName "turbulentInlet"; - description "Turbulent Inlet"; - type patchField; - options - { - type - { - default turbulentInlet; - } - } - - entries - { - referenceField - { - type field; - displayName "referenceField"; - description "Reference Field"; - } - fluctuationScale - { - type vector; - displayName "fluctuationScale"; - description "Fluctuation Scale"; - } - } -} - -slip -{ - displayName "slip"; - description "Slip boundary"; - type patchField; - options - { - type - { - default slip; - } - } -} - -fixedFluxBuoyantPressure -{ - displayName "fixedFluxBuoyantPressure"; - description "Wall Buoyant Pressure"; - type patchField; - options - { - type - { - default fixedFluxBuoyantPressure; - } - } - - entries - { - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -nuSgsWallFunction -{ - displayName "nuSgsWallFunction"; - description "Wall functions for SGS viscosity for LES"; - type patchField; - options - { - type - { - default nuSgsWallFunction; - } - } - - entries - { - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -gammaContactAngle -{ - displayName "gammaContactAngle"; - description "Contact at wall"; - type patchField; - options - { - type - { - default gammaContactAngle; - } - } - - entries - { - theta0 - { - type scalar; - displayName "theta0"; - description "Static contact angle"; - default 70; - } - uTheta - { - type scalar; - displayName "uTheta"; - description "Velocity scaling function for dynamic contact angle (=0 for static contact)"; - default 0; - } - thetaA - { - type scalar; - displayName "thetaA"; - description "Leading edge dynamic contact angle"; - default 70; - } - thetaR - { - type scalar; - displayName "thetaR"; - description "Trailing edge dynamic contact angle"; - default 70; - } - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -inkJetVelocity -{ - displayName "inkJetVelocity"; - description "Velocity of ink jet"; - type patchField; - options - { - type - { - default inkJetVelocity; - } - } - - entries - { - UBar - { - type vector; - displayName "UBar"; - description "Mean velocity"; - } - - UPrime - { - type vector; - displayName "UPrime"; - description "Velocity amplitude"; - } - - frequency - { - type scalar; - displayName "frequency"; - description "Frequency of oscillation"; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -inkJetPressure -{ - displayName "inkJetPressure"; - description "Pressure of ink jet"; - type patchField; - options - { - type - { - default inkJetPressure; - } - } - - entries - { - pBar - { - type scalar; - displayName "pBar"; - description "Mean pressure"; - } - - pPrime - { - type scalar; - displayName "pPrime"; - description "Pressure amplitude"; - } - - frequency - { - type scalar; - displayName "frequency"; - description "Frequency of oscillation"; - } - - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/patchFields/geometric.cfg b/etc/apps/FoamX/types/patchFields/geometric.cfg deleted file mode 100644 index 0ed30b411e..0000000000 --- a/etc/apps/FoamX/types/patchFields/geometric.cfg +++ /dev/null @@ -1,79 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -symmetryPlane -{ - displayName "symmetryPlane"; - description "Symmetry Plane"; - type patchField; - options - { - type - { - default symmetryPlane; - } - } -} - -empty -{ - displayName "empty"; - description "Empty"; - type patchField; - options - { - type - { - default empty; - } - } -} - -wedge -{ - displayName "wedge"; - description "Wedge"; - type patchField; - options - { - type - { - default wedge; - } - } -} - -cyclic -{ - displayName "cyclic"; - description "Cyclic"; - type patchField; - options - { - type - { - default cyclic; - } - } -} - -processor -{ - displayName "processor"; - description "Processor"; - type patchField; - options - { - type - { - default processor; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/patchFields/meshMotion.cfg b/etc/apps/FoamX/types/patchFields/meshMotion.cfg deleted file mode 100644 index 3a39674168..0000000000 --- a/etc/apps/FoamX/types/patchFields/meshMotion.cfg +++ /dev/null @@ -1,86 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - - -motionZeroGradient -{ - displayName "motionZeroGradient"; - description "Motion Zero Gradient"; - type patchField; - options - { - type - { - default motionZeroGradient; - } - } -} - -motionFixedValue -{ - displayName "motionFixedValue"; - description "Motion Fixed Value"; - type patchField; - options - { - type - { - default motionFixedValue; - } - } - - entries - { - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -movingWallVelocity -{ - displayName "movingWallVelocity"; - description "Moving Wall Velocity"; - type patchField; - options - { - type - { - default movingWallVelocity; - } - } - - entries - { - value - { - type field; - displayName "value"; - description "Field Value"; - } - } -} - -motionSlip -{ - displayName "motionSlip"; - description "Motion Slip"; - type patchField; - options - { - type - { - default motionSlip; - } - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/patches.cfg b/etc/apps/FoamX/types/patches.cfg deleted file mode 100644 index 32396dabba..0000000000 --- a/etc/apps/FoamX/types/patches.cfg +++ /dev/null @@ -1,53 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Patch type definitions. - -patch -{ - displayName "patch"; - description "Generic patch type"; -} - -wall -{ - displayName "wall"; - description "Wall patch type"; -} - -symmetryPlane -{ - displayName "symmetryPlane"; - description "Symmetry plane patch type"; -} - -empty -{ - displayName "empty"; - description "Empty patch type"; -} - -wedge -{ - displayName "wedge"; - description "Wedge patch type"; -} - -cyclic -{ - displayName "cyclic"; - description "Cyclic patch type"; -} - -processor -{ - displayName "processor"; - description "Processor patch type"; -} - - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/rootCaseArguments.cfg b/etc/apps/FoamX/types/rootCaseArguments.cfg deleted file mode 100644 index 236fae1dc0..0000000000 --- a/etc/apps/FoamX/types/rootCaseArguments.cfg +++ /dev/null @@ -1,19 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rootCaseArguments -{ - type compound; - optional 1; - entries - { - include "$FOAMX_CONFIG/entries/arguments/rootAndCase.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/rootCaseTimeArguments.cfg b/etc/apps/FoamX/types/rootCaseTimeArguments.cfg deleted file mode 100644 index 6e7ea884d1..0000000000 --- a/etc/apps/FoamX/types/rootCaseTimeArguments.cfg +++ /dev/null @@ -1,22 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -rootCaseTimeArguments -{ - type compound; - optional 1; - entries - { - include "$FOAMX_CONFIG/entries/arguments/rootAndCase.cfg"; - include "$FOAMX_CONFIG/entries/arguments/constant.cfg"; - include "$FOAMX_CONFIG/entries/arguments/latestTime.cfg"; - include "$FOAMX_CONFIG/entries/arguments/time.cfg"; - } -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/scalar.cfg b/etc/apps/FoamX/types/scalar.cfg deleted file mode 100644 index cffc3d81cc..0000000000 --- a/etc/apps/FoamX/types/scalar.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scalar -{ - type scalar; - description "Scalar"; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/scalar01.cfg b/etc/apps/FoamX/types/scalar01.cfg deleted file mode 100644 index 57f817f716..0000000000 --- a/etc/apps/FoamX/types/scalar01.cfg +++ /dev/null @@ -1,16 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scalar01 -{ - type scalar; - minValue 0; - maxValue 1; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/scalar0Inf.cfg b/etc/apps/FoamX/types/scalar0Inf.cfg deleted file mode 100644 index dafc260aa8..0000000000 --- a/etc/apps/FoamX/types/scalar0Inf.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -scalar0Inf -{ - type scalar; - minValue 0; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/shape.cfg b/etc/apps/FoamX/types/shape.cfg deleted file mode 100644 index 7d697422d4..0000000000 --- a/etc/apps/FoamX/types/shape.cfg +++ /dev/null @@ -1,25 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -shape -{ - type word; - default hex; - valueList - ( - hex - wedge - prism - pyr - tet - tetWedge - splitHex - ); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/stringList.cfg b/etc/apps/FoamX/types/stringList.cfg deleted file mode 100644 index 11a5583465..0000000000 --- a/etc/apps/FoamX/types/stringList.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -stringList -{ - type list; - elementType string; -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/tensor.cfg b/etc/apps/FoamX/types/tensor.cfg deleted file mode 100644 index cae14ead18..0000000000 --- a/etc/apps/FoamX/types/tensor.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -tensor -{ - description "Tensor"; - type fixedList; - elementType scalar; - numElements 9; - elementLabels (xx xy xz yx yy yz zx zy zz); -} - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/types.cfg b/etc/apps/FoamX/types/types.cfg deleted file mode 100644 index 00f41b0d0e..0000000000 --- a/etc/apps/FoamX/types/types.cfg +++ /dev/null @@ -1,29 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// Foam type Definitions. - -include "scalar.cfg"; -include "scalar01.cfg"; -include "scalar0Inf.cfg"; -include "angle0180.cfg"; -include "vector.cfg"; -include "tensor.cfg"; -include "fields.cfg"; -include "boolean.cfg"; -include "Switch.cfg"; -include "debugSwitch.cfg"; -include "model.cfg"; -include "stringList.cfg"; -include "dimensionedScalar.cfg"; -include "dimensionedVector.cfg"; -include "patchField.cfg"; -include "rootCaseArguments.cfg"; -include "rootCaseTimeArguments.cfg"; -include "shape.cfg"; - -// ************************************************************************* // diff --git a/etc/apps/FoamX/types/vector.cfg b/etc/apps/FoamX/types/vector.cfg deleted file mode 100644 index 9e59cca754..0000000000 --- a/etc/apps/FoamX/types/vector.cfg +++ /dev/null @@ -1,18 +0,0 @@ -/*---------------------------------------------------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -vector -{ - description "Vector"; - type fixedList; - elementType scalar; - numElements 3; - elementLabels (x y z); -} - -// ************************************************************************* // diff --git a/etc/controlDict b/etc/controlDict index 1028f63547..120831b12f 100644 --- a/etc/controlDict +++ b/etc/controlDict @@ -840,7 +840,6 @@ InfoSwitches { writePrecision 6; writeJobInfo 0; - FoamXwriteComments 0; } OptimisationSwitches @@ -853,7 +852,7 @@ OptimisationSwitches DimensionedConstants { - // SI units + // SI units //- Universal gas constant [J/(kmol K)] R 8314.51; diff --git a/etc/settings.csh b/etc/settings.csh index 2b28e4660b..e1e8a5cd95 100644 --- a/etc/settings.csh +++ b/etc/settings.csh @@ -127,37 +127,6 @@ if ($?WM_COMPILER_BIN) then endif -# MICO -# ~~~~ -setenv MICO_VERSION 2.3.12 -setenv MICO_PATH $thirdParty/mico-$MICO_VERSION -setenv MICO_ARCH_PATH $MICO_PATH/platforms/$WM_OPTIONS -set path=($MICO_ARCH_PATH/bin $path) - - -# FoamX -# ~~~~~ -setenv FOAMX_PATH $FOAM_UTILITIES/preProcessing/FoamX -# -# need csh equivalent for this? -# for FOAMX_CONFIG in \ -# $HOME/.$WM_PROJECT/$WM_PROJECT_VERSION/apps/FoamX \ -# $HOME/.$WM_PROJECT/apps/FoamX \ -# $WM_PROJECT_INST_DIR/site/$WM_PROJECT_VERSION/apps/FoamX \ -# $WM_PROJECT_INST_DIR/site/apps/FoamX \ -# $WM_PROJECT_DIR/etc/apps/FoamX \ -# ; -# do -# [ -d $FOAMX_CONFIG ] && break -# done -# export FOAMX_CONFIG -# -setenv FOAMX_CONFIG $HOME/.$WM_PROJECT-$WM_PROJECT_VERSION/apps/FoamX -if ( ! -d $FOAMX_CONFIG ) then - setenv FOAMX_CONFIG $WM_PROJECT_DIR/etc/apps/FoamX -endif - - # Communications library # ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/etc/settings.sh b/etc/settings.sh index 48335c1c20..9522d4755f 100644 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -140,31 +140,6 @@ fi thirdParty=$WM_PROJECT_INST_DIR/ThirdParty -# MICO -# ~~~~ -export MICO_VERSION=2.3.12 -export MICO_PATH=$thirdParty/mico-$MICO_VERSION -export MICO_ARCH_PATH=$MICO_PATH/platforms/$WM_OPTIONS -export PATH=$MICO_ARCH_PATH/bin:$PATH - - -# FoamX -# ~~~~~ -export FOAMX_PATH=$FOAM_UTILITIES/preProcessing/FoamX -# perhaps we can cut down a bit here -for FOAMX_CONFIG in \ - $HOME/.$WM_PROJECT/$WM_PROJECT_VERSION/apps/FoamX \ - $HOME/.$WM_PROJECT/apps/FoamX \ - $WM_PROJECT_INST_DIR/site/$WM_PROJECT_VERSION/apps/FoamX \ - $WM_PROJECT_INST_DIR/site/apps/FoamX \ - $WM_PROJECT_DIR/etc/apps/FoamX \ - ; -do - [ -d $FOAMX_CONFIG ] && break -done -export FOAMX_CONFIG - - # Communications library # ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/src/OpenFOAM/fields/Fields/Field/Field.C b/src/OpenFOAM/fields/Fields/Field/Field.C index 154426f8a4..015a443ba3 100644 --- a/src/OpenFOAM/fields/Fields/Field/Field.C +++ b/src/OpenFOAM/fields/Fields/Field/Field.C @@ -251,7 +251,7 @@ Field::Field dict ) << "expected keyword 'uniform' or 'nonuniform', " "assuming deprecated Field format from " - "FoamX version 2.0." << endl; + "Foam version 2.0." << endl; this->setSize(s); @@ -313,7 +313,7 @@ void Field::map label mapI = mapAddressing[i]; if (mapI >= 0) - { + { f[i] = mapF[mapI]; } }