Re: [Yade-users] [Question #355381]: ID Bodies Plot

2016-08-21 Thread Luis Barbosa
Question #355381 on Yade changed:
https://answers.launchpad.net/yade/+question/355381

Status: Answered => Solved

Luis Barbosa confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #355386]: Can not instal Yadedaily on Ubuntu 16.04

2016-08-21 Thread Anton Gladky
Question #355386 on Yade changed:
https://answers.launchpad.net/yade/+question/355386

Status: Open => Answered

Anton Gladky proposed the following answer:
You are using "xenial" distribution already, not "trusty".
You need to replace the corresponding distribution name in 
/etc/apt/sources.lists

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #355386]: Can not instal Yadedaily on Ubuntu 16.04

2016-08-21 Thread Seti
Question #355386 on Yade changed:
https://answers.launchpad.net/yade/+question/355386

Seti posted a new comment:
FYI:

sudo apt-get update
Hit:1 http://au.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease 
Hit:3 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease   
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease  
Ign:5 http://www.yade-dem.org/packages trusty/ InRelease 
Ign:6 http://ppa.launchpad.net/yade-users/external/ubuntu xenial InRelease
Hit:7 http://www.yade-dem.org/packages trusty/ Release
Ign:8 http://ppa.launchpad.net/yade-users/external/ubuntu xenial Release
Ign:10 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
Packages
Ign:11 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main i386 
Packages
Ign:12 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main all 
Packages
Ign:13 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en_AU
Ign:14 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en
Ign:15 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main DEP-11 
64x64 Icons
Ign:10 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
Packages
Ign:11 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main i386 
Packages
Ign:12 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main all 
Packages
Ign:13 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en_AU
Ign:14 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en
Ign:15 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main DEP-11 
64x64 Icons
Ign:10 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
Packages
Ign:11 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main i386 
Packages
Ign:12 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main all 
Packages
Ign:13 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en_AU
Ign:14 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en
Ign:15 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main DEP-11 
64x64 Icons
Ign:10 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
Packages
Ign:11 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main i386 
Packages
Ign:12 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main all 
Packages
Ign:13 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en_AU
Ign:14 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en
Ign:15 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main DEP-11 
64x64 Icons
Ign:10 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
Packages
Ign:11 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main i386 
Packages
Ign:12 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main all 
Packages
Ign:13 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en_AU
Ign:14 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en
Ign:15 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main DEP-11 
64x64 Icons
Err:10 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
Packages
  404  Not Found
Ign:11 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main i386 
Packages
Ign:12 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main all 
Packages
Ign:13 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en_AU
Ign:14 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main 
Translation-en
Ign:15 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main amd64 
DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/yade-users/external/ubuntu xenial/main DEP-11 
64x64 Icons
Reading package lists... Done
W: Target Packages (Packages) is configured multiple times in 
/etc/apt/sources.list:55 and /etc/apt/sources.list:56
W: Target Translations (en_AU) is configured multiple times in 
/etc/apt/sources.list:55 and /etc/apt/sources.list:56
W: Target Translations (en) is configured multiple times in 
/etc/apt/sources.list:55 and /etc/apt/sources.list:56
W: Target Packages (Packages) is configured multiple times in 
/etc/apt/sources.list:55 and /etc/apt/sources.list:57
W: Target Translations (en_AU) is configured 

Re: [Yade-users] [Question #355386]: Can not instal Yadedaily on Ubuntu 16.04

2016-08-21 Thread Seti
Question #355386 on Yade changed:
https://answers.launchpad.net/yade/+question/355386

Description changed to:
Hi all,

Since I have updated the Ubuntu on my PC the yadedaily  does not work either. I 
have tried to install it again, which I faced to below error , would you please 
advise? Thanks 
###
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 yadedaily : Depends: libyadedaily (= 2016.06a-20-d4840e5~trusty-1) but it is 
not going to be installed
 Depends: python-yadedaily (= 2016.06a-20-d4840e5~trusty-1)
E: Unable to correct problems, you have held broken packages
###

Regards, Seti

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #355386]: Can not instal Yadedaily on Ubuntu 16.04

2016-08-21 Thread Seti
Question #355386 on Yade changed:
https://answers.launchpad.net/yade/+question/355386

Summary changed to:
Can not instal Yadedaily on  Ubuntu 16.04

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #355381]: ID Bodies Plot

2016-08-21 Thread Jan Stránský
Question #355381 on Yade changed:
https://answers.launchpad.net/yade/+question/355381

Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Luis,
geom.facetBox creates several facets, so it is not a single body and
therefore you cannot plot its position..
you can sum the forces from all bodies and define position somehow based on
position of individual facets (e.g. average or weighted average o positions
of individual facets)


f = sum(O.forces.f(id)[2] for id in p2)
z1 = sum(O.bodies[id].pos[2] for id in p2) / len(p2)


is that what you meant?

cheers
Jan


2016-08-21 4:32 GMT+02:00 Luis Barbosa :

> New question #355381 on Yade:
> https://answers.launchpad.net/yade/+question/355381
>
> Hi,
>
> I am defining a plane with name p2:
> p2=O.bodies.append(utils.geom.facetBox((0,0,r),(0.01,-0.01,
> r),wallMask=32))
>
> I am using the id to plot, but it is not convenient to identify in each
> simulation.
> plot.addData(z1=O.bodies[id].state.pos[2],F=O.forces.f(id)[2])
>
> Is there a way to plot the position and forces of this body p2 using a
> ids=p2?
>
> Tks,
> Luis
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> ___
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #355386]: Can not use Yadedaily

2016-08-21 Thread Seti
New question #355386 on Yade:
https://answers.launchpad.net/yade/+question/355386

Hi all,

Since I have updated the Ubuntu on my PC the yadedaily  does not work either. I 
have tried to instil it again, which I faced to below error , would you please 
advise? Thanks 
###
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 yadedaily : Depends: libyadedaily (= 2016.06a-20-d4840e5~trusty-1) but it is 
not going to be installed
 Depends: python-yadedaily (= 2016.06a-20-d4840e5~trusty-1)
E: Unable to correct problems, you have held broken packages
###

Regards, Seti

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp