CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Merge two PtrLists to one

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By Neka
  • 1 Post By alexeym
  • 1 Post By Neka
  • 1 Post By Neka
  • 1 Post By alexeym
  • 1 Post By Neka

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 20, 2015, 12:56
Default Merge two PtrLists to one
  #1
Member
 
Alexander Nekris
Join Date: Feb 2015
Location: France
Posts: 32
Rep Power: 11
Neka is on a distinguished road
Hello all,

I wonder if it is possible in OpenFOAM to merge two PtrLists to one single list.
I have two pointer lists and each PtrList points to a composition of specie concentration fields:

PtrList<volScalarField>& Y1 = composition1.Y();
PtrList<volScalarField>& Y2 = composition2.Y();

I would like to combine Y1 and Y2 to a single PtrList e.g. Y.

Does anybody know how to do it?

Thanks in adwance!

Regards,
Alex
Zhiheng Wang likes this.
Neka is offline   Reply With Quote

 

Tags
ptrlist


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
merge two connectors v_herw Pointwise & Gridgen 1 August 28, 2014 09:14
[ICEM] Two boxes connected by a cylinder, blocks merge where I don't want them to merge. Polarbear ANSYS Meshing & Geometry 4 April 30, 2014 15:21
[ICEM] Problem when I try to merge hexa & prism pipolaki ANSYS Meshing & Geometry 7 December 4, 2012 08:44
[ICEM] Merge mesh - non manifold vertices BrolY ANSYS Meshing & Geometry 4 October 30, 2010 22:07
about merge mesh lian Main CFD Forum 3 February 29, 2008 10:47


All times are GMT -4. The time now is 20:28.