On Nov 1, 2012, at 5:20 PM, Roy Stogner <royst...@ices.utexas.edu> wrote:

> 
> On Thu, 1 Nov 2012, Derek Gaston wrote:
> 
>> On Thu, Nov 1, 2012 at 3:10 PM, Roy Stogner <royst...@ices.utexas.edu> wrote:
>>      I'd like to see the compile error if it's not too much trouble, though.
>> 
>> /Users/gastdr/projects/herd_trunk/devel/moose/src/utils/GatherNearbyElements.C:616:
>>  error: no matching function for call to ‘receive(const unsigned int&,
>> std::vector<libMesh::Node::PackedNode, 
>> std::allocator<libMesh::Node::PackedNode> >&, libMesh::Parallel::DataType&, 
>> libMesh::Parallel::MessageTag&)’
> 
> Yup, I missed shim functions for receive-with-a-DataType-arg.  Both
> the shim functions and the DataType argument versions are going to be
> deprecated eventually, but that's no reason to break everyone's stuff
> right now.

Roy - I'd like to have a default constructor for the MessageTag so I can create 
a vector of them.  I have a use case where I need a number of tags, and this is 
the easiest way to store them so I can then loop through the tags and receive 
from any source but in a predictable order on the content.

I was thinking a static MessageTag::invalid_tag = 
std::numeric_limits<int>::min() or something like that, but wasn't sure where 
to initialize it with this being header-only now.  What's your thought, and 
would you mind adding a default constructor for this class?

-Ben



------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to