v0.15.5
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
ObjectiveFunctionData.cpp File Reference

Implementation of Python-integrated objective function interface. More...

#include <boost/python.hpp>
#include <boost/python/def.hpp>
#include <boost/python/numpy.hpp>
#include <MoFEM.hpp>
#include <ObjectiveFunctionData.hpp>

Go to the source code of this file.

Classes

struct  ShapeOptimization::ObjectiveFunctionDataImpl
 Implementation of ObjectiveFunctionData interface using Python integration. More...
 

Namespaces

namespace  ShapeOptimization
 

Functions

boost::shared_ptr< ObjectiveFunctionDataShapeOptimization::create_python_objective_function (std::string py_file)
 Factory function to create Python-integrated objective function interface.
 

Variables

constexpr int ShapeOptimization::SPACE_DIM
 Space dimension of problem (2D or 3D), set at compile time.
 

Detailed Description

Implementation of Python-integrated objective function interface.

Implements Python-C++ bridge for objective function evaluation using Boost.Python and NumPy for topology optimization

Definition in file ObjectiveFunctionData.cpp.