Skip to content
Snippets Groups Projects

Master

Closed Nebel, Lisa Julia requested to merge lnebel/dune-gfe:master into master
1 file
+ 0
15
Compare changes
  • Side-by-side
  • Inline
+ 0
15
@@ -42,14 +42,10 @@
#include <dune/gfe/rigidbodymotion.hh>
#include <dune/gfe/localgeodesicfeadolcstiffness.hh>
// #include <dune/gfe/cosseratenergystiffness.hh>
#include <dune/gfe/cosseratvtkwriter.hh>
//#include <dune/gfe/cosseratvtkreader.hh>
//#include <dune/gfe/vtkreader.hh>
#include <dune/gfe/geodesicfeassembler.hh>
#include <dune/gfe/riemanniantrsolver.hh>
#include <dune/gfe/vertexnormals.hh>
//#include <dune/gfe/embeddedglobalgfefunction.hh>
#include <dune/gfe/surfacecosseratenergy.hh>
#include <dune/gfe/sumcosseratenergy.hh>
@@ -64,13 +60,8 @@ const int dim = WORLD_DIM;
const int order = 1;
//differentiation method
#ifdef CODIPACK
typedef double ValueType;
typedef codi::RealReverseGen<codi::RealForward, codi::RealForward> GradientValueType;
#else
typedef adouble ValueType;
typedef adouble GradientValueType;
#endif
using namespace Dune;
@@ -115,12 +106,6 @@ struct VolumeLoad
int main (int argc, char *argv[]) try
{
#ifdef CODIPACK
std::cout << "Using CodiPack" << std::endl;
#else
std::cout << "Using ADOL-C" << std::endl;
#endif
// initialize MPI, finalize is done automatically on exit
Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv);
Loading