Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base #276

Merged
merged 55 commits into from
Nov 9, 2019
Merged

Base #276

merged 55 commits into from
Nov 9, 2019

Commits on Apr 19, 2019

  1. Configuration menu
    Copy the full SHA
    a1d733d View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2019

  1. Configuration menu
    Copy the full SHA
    096d7ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b1db2e View commit details
    Browse the repository at this point in the history
  3. Formatting

    RudolfWeeber committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    c0d84dd View commit details
    Browse the repository at this point in the history
  4. Testsuite: Typo

    RudolfWeeber committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    c2d1134 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2019

  1. Cleanup samples

    Remove unused imports/variables/functions, fix mistakes, simplify
    expressions, replace some magic numbers by expressions, replace
    sys.stdout() by print(), remove commented code.
    jngrad committed Oct 20, 2019
    Configuration menu
    Copy the full SHA
    790b439 View commit details
    Browse the repository at this point in the history
  2. Use argparse

    jngrad committed Oct 20, 2019
    Configuration menu
    Copy the full SHA
    69c70cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d32b6df View commit details
    Browse the repository at this point in the history
  4. Use a class

    jngrad committed Oct 20, 2019
    Configuration menu
    Copy the full SHA
    cdfc2ff View commit details
    Browse the repository at this point in the history
  5. Formatting

    jngrad committed Oct 20, 2019
    Configuration menu
    Copy the full SHA
    e51a668 View commit details
    Browse the repository at this point in the history
  6. Document samples

    jngrad committed Oct 20, 2019
    Configuration menu
    Copy the full SHA
    69c7602 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c4c219e View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. Formatting

    jngrad committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    02beeec View commit details
    Browse the repository at this point in the history
  2. Cleanup samples

    More cleanup and apply code review feedback: remove max_num_cells,
    revert espressomd.System and box_l changes, use str.format().
    jngrad committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    32b5723 View commit details
    Browse the repository at this point in the history
  3. Minimize energy with steepest descent

    Replace all occurrences of custom force_cap-based warmup code by
    the steepest descent algorithm. Initialize the thermostat after
    steepest descent. Don't print LJ interaction parameters again
    after minimization.
    jngrad committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    23d39c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

  1. Remove Tcl-specific code

    Remove code writing out (sometimes incomplete) Tcl files. Write out
    observables in tab-separated values files suitable for np.loadtxt()
    and xmgrace plotting. Remove clutter from print() statements.
    jngrad committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    590a1e3 View commit details
    Browse the repository at this point in the history
  2. Fix typos

    jngrad committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    843683e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60e0456 View commit details
    Browse the repository at this point in the history
  4. Fix duplicate explicit target name

    End links with a double underscore to make anonymous references and
    avoid overshadowing explicit references (here the title reference).
    jngrad committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    4c1fe20 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2019

  1. Configuration menu
    Copy the full SHA
    9f3a9bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1e1925 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7e8024 View commit details
    Browse the repository at this point in the history
  4. Formatting

    fweik committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    73f76a1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    621aaab View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. testsuite: Fixed engine_lb test return code

            core/testsuite: engine_lb test fix from christophlohrmann
    fweik committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    dc9202d View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2019

  1. Merge #3277

    3277: Removed ENGINE shear torque calculation r=RudolfWeeber a=fweik
    
    @RudolfWeeber @christophlohrmann is this what you had in mind?
    If so the simplification is quite significant because all of the custom
    communication code for ENGINE can be removed. Also the LB coupling
    should now work in parallel.
    
    Description of changes:
     - Removed ENGINE shear torque calculation
     - Moved swimmer parameters into ParticleProperties
     - Removed custom communiication code for ENGINE
     - Adaped docs
    
    
    Co-authored-by: Florian Weik <[email protected]>
    bors[bot] and fweik authored Oct 28, 2019
    Configuration menu
    Copy the full SHA
    1da2dc8 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2019

  1. Configuration menu
    Copy the full SHA
    b6fb237 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2019

  1. Typos

    jngrad committed Oct 30, 2019
    Configuration menu
    Copy the full SHA
    5df68df View commit details
    Browse the repository at this point in the history
  2. Merge #3282

    3282: utils: Re-add uniform test + docstring r=jngrad a=fweik
    
    Description of changes:
     - The Utils::uniform test was moved to  the correct place and
       readded to the build system.
     - Docstring
    
    
    Co-authored-by: Florian Weik <[email protected]>
    bors[bot] and fweik authored Oct 30, 2019
    Configuration menu
    Copy the full SHA
    e900255 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c5dda54 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2019

  1. More typos

    jngrad committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    0dd8095 View commit details
    Browse the repository at this point in the history
  2. LB Boundary force: fix unit conversion and tests

    Reference solutions for forces on shear planes and for stokes drag need dynamic viscosity, but LB uses kinetmatic viscosity.
    This switches the tests to dynamic viscosity and removes a 1/rho from the unit conversion in the script interface.
    Also, a force balance test is added, which does not depend on the density.
    RudolfWeeber committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    3e2ee99 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88730c8 View commit details
    Browse the repository at this point in the history
  4. Merge #3267

    3267: Upgrade samples r=RudolfWeeber a=jngrad
    
    Fixes #2089
    
    Description of changes:
    - remove unused variables/imports/functions and some of the commented out code
    - remove Tcl-specific code, replace manual warmup by steepest descent
    - use `argparse` to process user input and document the parameters, stop printing features
    - improve docstrings and use them to generate an always up-to-date sample list in the docs
    
    
    Co-authored-by: Jean-Noël Grad <[email protected]>
    Co-authored-by: RudolfWeeber <[email protected]>
    jngrad and RudolfWeeber authored Oct 31, 2019
    Configuration menu
    Copy the full SHA
    8aeb3c0 View commit details
    Browse the repository at this point in the history
  5. Merge #3287

    3287: LB Boundary force: fix unit conversion and tests r=fweik a=RudolfWeeber
    
    Reference solutions for forces on shear planes and for stokes drag need dynamic viscosity, but LB uses kinetmatic viscosity.
    This switches the tests to dynamic viscosity and removes a 1/rho from the unit conversion in the script interface.
    Also, a force balance test is added, which does not depend on the density.
    
    Fixes #
    
    Description of changes:
     - 
    
    
    PR Checklist
    ------------
     - [ ] Tests?
       - [ ] Interface
       - [ ] Core 
     - [ ] Docs?
    
    
    Co-authored-by: Rudolf Weeber <[email protected]>
    bors[bot] and RudolfWeeber authored Oct 31, 2019
    Configuration menu
    Copy the full SHA
    cf00e2e View commit details
    Browse the repository at this point in the history
  6. core: Simplify particle removal

    fweik committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    a2bb7e1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ed172d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ceba82c View commit details
    Browse the repository at this point in the history
  9. Apply suggestions from code review

    switch conditionals as suggested by JNGrad
    
    Co-Authored-By: Jean-Noël Grad <[email protected]>
    christophlohrmann and jngrad authored Oct 31, 2019
    Configuration menu
    Copy the full SHA
    9a7fc45 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    da67087 View commit details
    Browse the repository at this point in the history
  11. Merge #3288 #3290

    3288: core: Simplify particle removal r=RudolfWeeber a=fweik
    
    Fixes #3286.
    
    Description of changes:
     - Simplify particle removal by doing one linear pass over all particles
       instead using index
    
    
    3290: fix writevtk() bug where types=all was ignored r=jngrad a=christophlohrmann
    
    Description of changes:
     - fixed bug where the argument ``types='all'`` was ignored by ``system.part.writevtk()`` 
    
    
    PR Checklist
    ------------
     - [ ] Tests?
       - [ ] Interface
       - [ ] Core 
     - [ ] Docs?
    
    
    Co-authored-by: Florian Weik <[email protected]>
    Co-authored-by: Christoph Lohrmann <[email protected]>
    Co-authored-by: christophlohrmann <[email protected]>
    4 people authored Oct 31, 2019
    Configuration menu
    Copy the full SHA
    e8f4035 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. Configuration menu
    Copy the full SHA
    0e6faea View commit details
    Browse the repository at this point in the history
  2. Merge #2748

    2748: Additional LB test cases r=fweik a=RudolfWeeber
    
    * Buyancy force on a sphere in a box of fluid under gravity
    * Momentum conservation in a fluid with an external volume force applied and a particle with an oposite force applied
    
    @KaiSzuttor @mkuron Could you please take a look at the
    lb_buoyancy_force test? It only passes, when the fluid density is set to 1.
    On the other hand, the lb_shear and lb_stokes_sphere tests check boundary forces which do not (and should not) depend on the density. They pass when run with different densities.
    Also, the application of an external volume force is tested in lb.py in test_a_ext_force...
    Furthermore, to the lb_momentum_conservation.py test checks the balance between forces applied to the lb and those applied to a particle.
    
    
    
    Co-authored-by: Rudolf Weeber <[email protected]>
    Co-authored-by: Florian Weik <[email protected]>
    3 people authored Nov 1, 2019
    Configuration menu
    Copy the full SHA
    30b25a2 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2019

  1. Configuration menu
    Copy the full SHA
    2959eec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5192f35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61d49e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    324deed View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ffc3c58 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    54eb0bb View commit details
    Browse the repository at this point in the history
  7. utils: memcpy_archive: Improved cooperation with boost.serialization,…

    … removed special overload for boost::optional
    fweik committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    344d8de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9aec365 View commit details
    Browse the repository at this point in the history
  9. Use && instead of test -a

    POSIX does not specify test for > 4 arguments:
    https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
    hirschsn committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    0684d17 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3574e20 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8ee1686 View commit details
    Browse the repository at this point in the history
  12. Merge #3291 #3292

    3291: Factor out and test memcpy serialization r=RudolfWeeber a=fweik
    
    Description of changes:
     - This splits off the memcpy serialization used in the ghost communication and adds unit test
       for it.
     - Added customization point to opt-in to memcpy serialization for types that are not [TriviallyCopyable](https://en.cppreference.com/w/cpp/named_req/TriviallyCopyable), but serializes
     to a bounded size, like `boost::optional`. This is so we can use `optional` and `variant` in `ParticleProperties`, which is planned.
    
    
    3292: Pypresso: Remove "test -a" and quote $@ r=jngrad a=hirschsn
    
    Description of changes:
     - Remove `test -a` since calls to test with more than 4 arguments are unspecified: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
     - Quote `$@` to avoid splitting $@. Currently `./pypresso --gdb "test me.py"` will fail because tries to find the file `test`. Quoting avoids this.
    
    
    PR Checklist
    ------------
     - [ ] Tests?
       - [ ] Interface
       - [ ] Core 
     - [ ] Docs?
    
    
    Co-authored-by: Florian Weik <[email protected]>
    Co-authored-by: Steffen Hirschmann <[email protected]>
    3 people authored Nov 4, 2019
    Configuration menu
    Copy the full SHA
    c5a79dd View commit details
    Browse the repository at this point in the history