Wildmeshing Toolkit
|
#include <AMIPSOptimizationSmoothingPeriodic.hpp>
Classes | |
class | WMTKAMIPSProblem |
Private Member Functions | |
void | create_solver () |
Private Attributes | |
std::shared_ptr< polysolve::nonlinear::Solver > | m_solver |
Mesh & | m_periodic_mesh |
Mesh & | m_position_mesh |
const attribute::MeshAttributeHandle & | m_coordinate_handle |
polysolve::json | m_linear_solver_params |
polysolve::json | m_nonlinear_solver_params |
function::AMIPS | m_amips |
Additional Inherited Members | |
Protected Member Functions inherited from wmtk::operations::AttributesUpdate | |
virtual std::vector< simplex::Simplex > | unmodified_primitives (const simplex::Simplex &simplex) const override |
Returns all simplices that will be potentially affected by the operation. More... | |
Protected Member Functions inherited from wmtk::operations::Operation | |
virtual bool | before (const simplex::Simplex &simplex) const |
virtual bool | after (const std::vector< simplex::Simplex > &unmods, const std::vector< simplex::Simplex > &mods) const |
void | apply_attribute_transfer (const std::vector< simplex::Simplex > &direct_mods) |
Protected Attributes inherited from wmtk::operations::Operation | |
std::function< double(const simplex::Simplex &)> | m_priority = nullptr |
invariants::InvariantCollection | m_invariants |
std::vector< std::shared_ptr< const operations::AttributeTransferStrategyBase > > | m_attr_transfer_strategies |
Definition at line 19 of file AMIPSOptimizationSmoothingPeriodic.hpp.
wmtk::operations::AMIPSOptimizationSmoothingPeriodic::AMIPSOptimizationSmoothingPeriodic | ( | Mesh & | periodic_mesh, |
Mesh & | position_mesh, | ||
const attribute::MeshAttributeHandle & | coords | ||
) |
Definition at line 231 of file AMIPSOptimizationSmoothingPeriodic.cpp.
References create_solver(), m_linear_solver_params, and m_nonlinear_solver_params.
|
private |
Definition at line 253 of file AMIPSOptimizationSmoothingPeriodic.cpp.
References m_linear_solver_params, m_nonlinear_solver_params, m_solver, and wmtk::opt_logger().
Referenced by AMIPSOptimizationSmoothingPeriodic(), set_linear_solver_params(), and set_nonlinear_solver_params().
|
overridevirtual |
returns an empty vector in case of failure
Reimplemented from wmtk::operations::AttributesUpdate.
Definition at line 263 of file AMIPSOptimizationSmoothingPeriodic.cpp.
References wmtk::abs(), wmtk::attribute::MeshAttributeHandle::as(), wmtk::simplex::cofaces_single_dimension_simplices(), wmtk::Mesh::create_accessor(), wmtk::attribute::MeshAttributeHandle::dimension(), wmtk::Edge, wmtk::simplex::utils::SimplexComparisons::equal(), wmtk::operations::AttributesUpdate::execute(), wmtk::simplex::faces_single_dimension(), wmtk::Mesh::get_child_meshes(), wmtk::operations::AMIPSOptimizationSmoothingPeriodic::WMTKAMIPSProblem< S >::initial_value(), wmtk::autogen::edge_mesh::is_ccw(), wmtk::operations::AMIPSOptimizationSmoothingPeriodic::WMTKAMIPSProblem< S >::is_step_valid(), m_coordinate_handle, m_periodic_mesh, m_position_mesh, m_solver, wmtk::Mesh::map_to_child(), wmtk::Mesh::map_to_parent(), wmtk::operations::Operation::mesh(), wmtk::Tetrahedron, wmtk::simplex::Simplex::tuple(), wmtk::Vertex, and wmtk::simplex::vertices().
|
inline |
Definition at line 33 of file AMIPSOptimizationSmoothingPeriodic.hpp.
References m_linear_solver_params.
|
inline |
Definition at line 34 of file AMIPSOptimizationSmoothingPeriodic.hpp.
References m_nonlinear_solver_params.
|
inline |
Definition at line 37 of file AMIPSOptimizationSmoothingPeriodic.hpp.
References create_solver(), and m_linear_solver_params.
|
inline |
Definition at line 43 of file AMIPSOptimizationSmoothingPeriodic.hpp.
References create_solver(), and m_nonlinear_solver_params.
|
private |
Definition at line 58 of file AMIPSOptimizationSmoothingPeriodic.hpp.
|
private |
Definition at line 53 of file AMIPSOptimizationSmoothingPeriodic.hpp.
Referenced by execute().
|
private |
Definition at line 55 of file AMIPSOptimizationSmoothingPeriodic.hpp.
Referenced by AMIPSOptimizationSmoothingPeriodic(), create_solver(), linear_solver_params(), and set_linear_solver_params().
|
private |
Definition at line 56 of file AMIPSOptimizationSmoothingPeriodic.hpp.
Referenced by AMIPSOptimizationSmoothingPeriodic(), create_solver(), nonlinear_solver_params(), and set_nonlinear_solver_params().
|
private |
Definition at line 51 of file AMIPSOptimizationSmoothingPeriodic.hpp.
Referenced by execute().
|
private |
Definition at line 52 of file AMIPSOptimizationSmoothingPeriodic.hpp.
Referenced by execute().
|
private |
Definition at line 50 of file AMIPSOptimizationSmoothingPeriodic.hpp.
Referenced by create_solver(), and execute().