Skip to content
Snippets Groups Projects
  1. Apr 06, 2016
  2. Apr 04, 2016
  3. Apr 03, 2016
    • Henry Weller's avatar
      applications/test/rigidBodyDynamics/pendulum: Very simple test/demonstration... · 4344a732
      Henry Weller authored
      applications/test/rigidBodyDynamics/pendulum: Very simple test/demonstration of the rigidBodyDynamics library
      
          Simple swinging pendulum simulation with 1-DoF.  The motion is integrated
          using a symplectic method for just over 2-periods.
      4344a732
    • Henry Weller's avatar
      UList: Rationalize assignment (shallow-copy vs deep-copy) · 6e573ad7
      Henry Weller authored
          //- Disallow default shallow-copy assignment
          //
          //  Assignment of UList<T> may need to be either shallow (copy pointer)
          //  or deep (copy elements) depending on context or the particular type
          //  of list derived from UList and it is confusing and prone to error
          //  for the default assignment to be either.  The solution is to
          //  disallow default assignment and provide separate 'shallowCopy' and
          //  'deepCopy' member functions.
          void operator=(const UList<T>&) = delete;
      
          //- Copy the pointer held by the given UList.
          inline void shallowCopy(const UList<T>&);
      
          //- Copy elements of the given UList.
          void deepCopy(const UList<T>&);
      6e573ad7
  4. Apr 02, 2016
    • Henry Weller's avatar
    • Henry Weller's avatar
      Pstream: optimisation of data exchange · 88bd9123
      Henry Weller authored
      Contributed by Mattijs Janssens.
      
      1. Any non-blocking data exchange needs to know in advance the sizes to
         receive so it can size the buffer.  For "halo" exchanges this is not
         a problem since the sizes are known in advance but or all other data
         exchanges these sizes need to be exchanged in advance.
      
         This was previously done by having all processors send the sizes of data to
         send to the master and send it back such that all processors
         - had the same information
         - all could work out who was sending what to where and hence what needed to
           be received.
      
         This is now changed such that we only send the size to the
         destination processor (instead of to all as previously). This means
         that
         - the list of sizes to send is now of size nProcs v.s. nProcs*nProcs before
         - we cut out the route to the master and back by using a native MPI
           call
      
         It causes a small change to the API of exchange and PstreamBuffers -
         they now return the sizes of the local buffers only (a labelList) and
         not the sizes of the buffers on all processors (labelListList)
      
      2. Reversing the order of the way in which the sending is done when
         scattering information from the master processor to the other
         processors. This is done in a tree like fashion. Each processor has a
         set of processors to receive from/ send to. When receiving it will
         first receive from the processors with the least amount of
         sub-processors (i.e. the ones which return first). When sending it
         needs to do the opposite: start sending to the processor with the
         most amount of sub-tree since this is the critical path.
      88bd9123
  5. Mar 24, 2016
  6. Mar 23, 2016
  7. Mar 22, 2016
  8. Mar 20, 2016
  9. Mar 17, 2016
  10. Mar 15, 2016
  11. Mar 14, 2016
  12. Mar 08, 2016
  13. Mar 07, 2016
  14. Mar 06, 2016
  15. Mar 04, 2016
    • Henry Weller's avatar
      messageStream: Added DebugInfo and DebugInFunction: · 9a8a1c83
      Henry Weller authored
      DebugInfo:
          Report an information message using Foam::Info if the local debug
          switch is true
      
      DebugInFunction:
          Report an information message using Foam::Info for FUNCTION_NAME in
          file __FILE__ at line __LINE__ if the local debug switch is true
      9a8a1c83
  16. Mar 01, 2016
  17. Feb 29, 2016
  18. Feb 26, 2016
  19. Feb 24, 2016
  20. Feb 22, 2016