1. 30 Jul, 2020 1 commit
  2. 13 Jan, 2020 1 commit
    • Mark Olesen's avatar
      ENH: regIOobject store() now also registers the object · b0072bfa
      Mark Olesen authored
      - previously the store() method just set the ownedByRegistry flag.
        Now ensure that it is indeed registered first.
      
      - support register/store of tmp<> items.
        The tmp parameter is not cleared, but changed from PTR to CREF
        to allow further use.
      
        The implicit registration allows code simplification using the
        GeometricField::New factory method, for example.
      
        Old Code
        ========
            volScalarField* ptr = new volScalarField
            (
                IOobject
                (
                    fieldName,
                    mesh.time().timeName(),
                    mesh,
                    IOobject::NO_READ,
                    IOobject::NO_WRITE,
                    true  // Register
                ),
                mesh,
                dimless,
                zeroGradientFvPatchField<scalar>::typeName
            );
            ptr->store();
      
        New Code
        ========
            auto tptr = volScalarField::New
            (
                fieldName,
                mesh,
                dimless,
                zeroGradientFvPatchField<scalar>::typeName
            );
            regIOobject::store(tptr);
      
        or even
            regIOobject::store
            (
                volScalarField::New
                (
                    fieldName,
                    mesh,
                    dimless,
                    zeroGradientFvPatchField<scalar>::typeName
                )
            );
      b0072bfa
  3. 20 Nov, 2019 1 commit
  4. 31 Oct, 2019 1 commit
  5. 03 Jun, 2019 1 commit
  6. 06 Feb, 2019 1 commit
  7. 08 Nov, 2018 1 commit
  8. 25 Jan, 2016 1 commit
    • mattijs's avatar
      ENH: glboal file handling: initial commit · e4240592
      mattijs authored
      Moved file path handling to regIOobject and made it type specific so
      now every object can have its own rules. Examples:
      - faceZones are now processor local (and don't search up anymore)
      - timeStampMaster is now no longer hardcoded inside IOdictionary
        (e.g. uniformDimensionedFields support it as well)
      - the distributedTriSurfaceMesh is properly processor-local; no need
        for fileModificationChecking manipulation.
      e4240592
  9. 08 Nov, 2015 1 commit
  10. 14 Aug, 2011 1 commit
  11. 19 Jan, 2011 1 commit
  12. 14 Jan, 2011 1 commit
  13. 07 Jan, 2011 1 commit
  14. 05 Jan, 2011 2 commits
  15. 28 Jul, 2010 1 commit
  16. 02 Jun, 2010 1 commit
  17. 29 Mar, 2010 1 commit
  18. 14 Jul, 2009 1 commit
  19. 10 Mar, 2009 1 commit
  20. 25 Feb, 2009 1 commit
  21. 31 Dec, 2008 1 commit
  22. 25 Jun, 2008 2 commits
  23. 15 Apr, 2008 1 commit