I don't believe I attached the patch in the previous email...

David Knezevic wrote:
The attached patch did the job for me. As well as the changes to EigenSystem, I had to add #include "parameter_vector.h" in sensitivity_data.h?





Roy Stogner wrote:
On Thu, 29 Oct 2009, David Knezevic wrote:

Roy, I'm guessing you don't have SLEPc enabled? :) On updating to 3518 I
got the compilation errors below.

No, I didn't.  Some of the needed bugfixes look straightforward, so
I'm committing something that will hopefully get you started.

Meanwhile I'll see about setting up a local slepc install; I've got
another refactor coming up and I'll try to make sure this doesn't
happen again.
---
Roy

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel



Index: include/solvers/eigen_system.h
===================================================================
--- include/solvers/eigen_system.h      (revision 3518)
+++ include/solvers/eigen_system.h      (working copy)
@@ -110,7 +110,7 @@
    *
    * FIXME - eigensystem sensitivity solutions are not yet implemented.
    */
-  virtual void sensitivity_solve (const ParameterVector parameters);
+  virtual void sensitivity_solve (const ParameterVector& parameters);
 
   /**
    * FIXME - eigensystem sensitivities are not yet implemented.
Index: include/solvers/sensitivity_data.h
===================================================================
--- include/solvers/sensitivity_data.h  (revision 3518)
+++ include/solvers/sensitivity_data.h  (working copy)
@@ -30,6 +30,7 @@
 
 // Local Includes -----------------------------------
 #include "libmesh_common.h"
+#include "parameter_vector.h"
 
   /**
    * Data structure for holding completed parameter sensitivity
Index: src/solvers/eigen_system.C
===================================================================
--- src/solvers/eigen_system.C  (revision 3518)
+++ src/solvers/eigen_system.C  (working copy)
@@ -33,6 +33,8 @@
 #include "eigen_solver.h"
 #include "dof_map.h"
 #include "mesh.h"
+#include "qoi_set.h"
+#include "sensitivity_data.h"
 
 
 // ------------------------------------------------------------
@@ -224,14 +226,14 @@
   libmesh_not_implemented();
 }
 
-void EigenSystem::adjoint_solve (const QoiSet&)
+void EigenSystem::adjoint_solve (const QoISet&)
 {
   libmesh_not_implemented();
 }
 
 void EigenSystem::adjoint_qoi_parameter_sensitivity
   (const QoISet&,
-   const ParameterVector&
+   const ParameterVector&,
    SensitivityData&)
 {
   libmesh_not_implemented();
@@ -239,7 +241,7 @@
 
 void EigenSystem::forward_qoi_parameter_sensitivity
   (const QoISet&,
-   const ParameterVector&
+   const ParameterVector&,
    SensitivityData&)
 {
   libmesh_not_implemented();
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to