~ubuntu-branches/debian/jessie/yade/jessie

« back to all changes in this revision

Viewing changes to pkg/lbm/LBMlink.hpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2014-08-04 19:34:58 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140804193458-cw8qhnujxe9wzi15
Tags: 1.11.0-1
* [a0600ae] Imported Upstream version 1.11.0
* [a3055e0] Do not use parallel build on kfreebsd-amd64 and s390x.
* [f86b405] Remove applied patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
class LBMlink: public Serializable{
16
16
    public:
17
 
        void ReinitDynamicalProperties();
18
 
        virtual ~LBMlink();
 
17
        void ReinitDynamicalProperties() {
 
18
                sid=-1; fid=-1;
 
19
                idx_sigma_i=-1; isBd=false;
 
20
                VbMid=Vector3r::Zero();
 
21
                DistMid=Vector3r::Zero();
 
22
                ct=0.;
 
23
                return;
 
24
                };
 
25
        virtual ~LBMlink() {};
19
26
 
20
27
    YADE_CLASS_BASE_DOC_ATTRS_CTOR(LBMlink,Serializable,
21
28
        "Link class for Lattice Boltzmann Method ",