In order for the AnalyticFunction method to work the function must be
defined using the vector method as shown below.
void initial_conductivity(DenseVector& output, const Point& p,
const Real t = 0){
const double pi = boost::math::constants::pi();
output(0) = 1 + exp(-t) * sin(pi*p(0)) * sin(pi*
Program works if I use a wrapper function instead of AnalyticFunction,
perhaps I am not using it correctly or there is a bug. The code that works
is below, the AnalyticFunction stuff that, at least as I understand, should
also work is commented out.
If anyone has any information on why this proble
Do I have the concept correct for storing nodal data, storing it as a
solution to a system?
On Wed, Jun 6, 2012 at 3:49 PM, John Peterson wrote:
> On Wed, Jun 6, 2012 at 12:28 PM, Andrew E Slaughter
> wrote:
> > I searched through the mailings lists and found some discussion that
> > explains t
On Wed, Jun 6, 2012 at 12:28 PM, Andrew E Slaughter
wrote:
> I searched through the mailings lists and found some discussion that
> explains that nodal and element data should be stored in an ExplicitSystem,
> but could not find any example or explanation to how it should be done.
>
> So, I am wor
I searched through the mailings lists and found some discussion that
explains that nodal and element data should be stored in an ExplicitSystem,
but could not find any example or explanation to how it should be done.
So, I am working on a test program, but run into a problem when projecting
a "sol