1. 12 May, 2011 2 commits
  2. 11 May, 2011 2 commits
  3. 06 May, 2011 1 commit
  4. 04 May, 2011 5 commits
  5. 03 May, 2011 1 commit
    • fumagalli's avatar
      Bug fix: change · 948b0baa
      fumagalli authored
      const flag_Type UPDATE_PHI(UPDATE_ONLY_PHI);
      
      to
      
      const flag_Type UPDATE_PHI(UPDATE_ONLY_PHI
                                 |UPDATE_ONLY_CELL_NODES);
      948b0baa
  6. 21 Apr, 2011 1 commit
  7. 20 Apr, 2011 2 commits
  8. 19 Apr, 2011 3 commits
    • uvilla's avatar
      BugFix / Cleaning abs VS fabs · 2c360654
      uvilla authored
      This commit aims to fix a subtle bug in the call to the function abs().
      
      According to the include header (cmath or cstdlib) the function
      int abs(int) has an overloaded function double abs(double) (in cmath) or not.
      
      As a result, if the wrong header is included (i.e. if cstdlib is included instead of cmath)
      then a down cast from double to int may happen when abs(x) is called,
      introducing a bug.
      
      A clean solution, implemeted in this commit is to always use:
      int std::abs(int) when working with integers
      double std::fabs(double) when working with doubles.
      2c360654
    • fumagalli's avatar
      Merge branch 'master' into hdf5MatrixExport · 4cfefd71
      fumagalli authored
      4cfefd71
    • Cristiano Malossi's avatar
      Merge branch 'MovingMeshBugFix' · 5b737a87
      Cristiano Malossi authored
      5b737a87
  9. 11 Apr, 2011 1 commit
  10. 09 Apr, 2011 3 commits
  11. 08 Apr, 2011 4 commits
  12. 07 Apr, 2011 5 commits
  13. 06 Apr, 2011 1 commit
  14. 30 Mar, 2011 1 commit
  15. 29 Mar, 2011 1 commit
  16. 28 Mar, 2011 1 commit
  17. 25 Mar, 2011 3 commits
  18. 23 Mar, 2011 3 commits
    • Cristiano Malossi's avatar
      Removing the setters for young and poisson. · 222e0434
      Cristiano Malossi authored
      These quantites should not be read from the data file at this
      time otherwise they may overwrite the modifications performed in the
      data container, which has been already filled.
      222e0434
    • Cristiano Malossi's avatar
      Temporary fix on the material flags. · 75cd89aa
      Cristiano Malossi authored
      Until Paolo Tricerri finishes his development on the structural solver
      I commit a temporary fix to restore the full functionality for the
      case of 1 single material. In particular:
       - A new boolean variable M_materialsFlagSet has been introduced. It
      is set to false if the string "material_flag" is not provided in the
      data file, while it is true in the other case.
       - If a material flag is provided, the data container works as before.
       - If no material flag is provided, the data container store the Young
      modulus and the Poisson in ID = 1. The getters use the
      M_materialFlagSet variable to understand if they have to provide the
      quantities for the user provided material or if they should return the
      values stored in ID = 1.
       
       This approach is compatible with old code (no changes have been done
      in the testsuite), but it allows more flexibility (especially for the
      Multiscale framework).
      
      Additional minor changes to the class:
      * The variables M_factor, M_verbose, M_order, and M_solidType were
      wrongly setted due to missing "section" in the getpot string;
      * Inlined some setters and getters;
      * Some cleaning and renaming;
      75cd89aa
    • Cristiano Malossi's avatar
      e91eed96