Kirk, Benjamin (JSC-EG311) wrote:
> You are projecting a function called 'exact_value' but modifying a function 
> called 'exact_solution'??
>
> -Ben
>
>
>
>   
So should I do something else in the 'exact_value' function? I have 
introduced the string n_i in the exact_value, and let  the 'n2' be the 
unknown_name parameter in project_solution. I have tried many methods to 
convey the 'n2' to 'unknown_name' parameter without success, this is the 
only one being able to pass the compiling. so do you mind tell me some 
details about setting the 'unknown_name' parameter? Thanks!

Liang

Number exact_value (const Point& p,
                         const Parameters& parameters,
                         const std::string&,
                         const std::string& *n_i*)
{
  return exact_solution(p(0), p(1), parameters.get<Real> ("time")
                             *,"n2"*);
}



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to