What's the failure message? In any case, a more modern alternative is to create an assembly class of your own & you can put whatever you want in there. See for example pp.104-124, https://github.com/libMesh/libmesh/wiki/documents/presentations/2013/prace_shortcourse_2013.pdf
-Ben On Nov 6, 2013, at 7:40 AM, yuanwucai <[email protected]> wrote: > Hello, everyone! > I find that all values passed into EquationSystem.Parameters are <Real> or > <int> in the examples. If I want to pass a vector into the Parameters, > something like: > equation_system.parameters.set<std::vector<int> > = my_vector; > It fails. > So Parameters don't support vectors or arrays? > > > > > Cai Yuanwu 蔡园武 > Dept. of Engineering Mechanics, > Dalian University of Technology, > Dalian 116024, China > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
