← Back to team overview

yade-dev team mailing list archive

Re: [Bug 544857] [NEW] Some classes still don't register with YADE_CLASS_BASE_DOC_* macros

 

Hi vaclav and others,

I managed to fix some of the classes below (those linked to capillarity in a
first step). It is almost done but I have a problem when I want to declare a
vector of int (see currentIndex in capillaryParameters):

declared previously like this:

int  currentIndexes [4];
with initialization in the constructor like this
    currentIndexes[0]=0;
    currentIndexes[1]=0;
    currentIndexes[2]=0;
    currentIndexes[3]=0;

I tried

((int,currentIndexes [4],(0.,0.,0.,0.),"Used for faster interpolation
(stores previous positions in tables)")

but it didnot work, obviously...

I have another problem with protected declarations (see any of the recorder
where the function postProcessAttributes(bool deserializing) is used). When
I leave the declaration as it was previously:

protected :
        virtual void postProcessAttributes(bool deserializing);

I get

/home/sch50p/YADE-bzr/yade/pkg/dem/Engine/PartialEngine/CapillaryRecorder.cpp:28:
error: 'virtual void CapillaryRecorder::postProcessAttributes(bool)' is
protected
/home/sch50p/YADE-bzr/build-bzr2099/include/yade-bzr2099/yade/lib-serialization/Serializable.hpp:217:
error: within this context
In file included from
/home/sch50p/YADE-bzr/build-bzr2099/include/yade-bzr2099/yade/core/Engine.hpp:13,

                 from
/home/sch50p/YADE-bzr/build-bzr2099/include/yade-bzr2099/yade/core/PartialEngine.hpp:11,
                 from
/home/sch50p/YADE-bzr/yade/pkg/common/Engine/PartialEngine/ForceEngine.hpp:6,
                 from
/home/sch50p/YADE-bzr/yade/pkg/common/Engine/PartialEngine/ForceEngine.cpp:5,
                 from /home/sch50p/YADE-bzr/build-bzr2099/plugins7.cpp:1:



Sorry to bother you since it is mainly due to my lack of C++ knowledge, but
if you have any idea, I could therefore update the classes.

Thanks a lot in advance

  Luc

2010/3/23 Václav Šmilauer <eudoxos@xxxxxxxx>

> Public bug reported:
>
> In r2095 specifically:
>
> CapillaryPressureEngine
> CapillaryRecorder
> CapillaryStressRecorder
> CohesiveFrictionalContactInteraction
> CohesiveFrictionalContactLaw
> CohesiveFrictionalMat
> CohesiveFrictionalRelationships
> CohesiveTriaxialTest
> ContactStressRecorder
> HydraulicForceEngine
> SimpleElasticRelationshipsWater
> SimpleViscoelasticPhys
> TriaxialStateRecorder
> TriaxialTest
> TriaxialTestWater
>
> People responsible for those classes, please fix them.
>
> ** Affects: yade
>     Importance: High
>         Status: New
>
> ** Changed in: yade
>   Importance: Undecided => High
>
> ** Changed in: yade
>    Milestone: None => 0.30-0
>
> --
> Some classes still don't register with YADE_CLASS_BASE_DOC_* macros
> https://bugs.launchpad.net/bugs/544857
> You received this bug notification because you are a member of Yade
> developers, which is subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> In r2095 specifically:
>
> CapillaryPressureEngine
> CapillaryRecorder
> CapillaryStressRecorder
> CohesiveFrictionalContactInteraction
> CohesiveFrictionalContactLaw
> CohesiveFrictionalMat
> CohesiveFrictionalRelationships
> CohesiveTriaxialTest
> ContactStressRecorder
> HydraulicForceEngine
> SimpleElasticRelationshipsWater
> SimpleViscoelasticPhys
> TriaxialStateRecorder
> TriaxialTest
> TriaxialTestWater
>
> People responsible for those classes, please fix them.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References