PolyFEM
Loading...
Searching...
No Matches
ActiveSelectionUtils.cpp File Reference
#include <polyfem/optimization/var2sims/ActiveSelectionUtils.hpp>
#include <polyfem/varforms/diff/DifferentiableVarForm.hpp>
#include <Eigen/Core>
#include <vector>
#include <string>
#include <memory>
#include <cassert>
#include <unordered_set>
#include <spdlog/fmt/fmt.h>
#include <polyfem/assembler/GenericProblem.hpp>
Include dependency graph for ActiveSelectionUtils.cpp:

Go to the source code of this file.

Namespaces

namespace  polyfem
 
namespace  polyfem::solver
 

Functions

bool polyfem::solver::is_active_geom_nodes_valid (const Eigen::VectorXi &active_geom_nodes, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, std::string &reason)
 Validate active geometry nodes selection given varforms.
 
bool polyfem::solver::is_active_dims_valid (const Eigen::VectorXi &active_dimensions, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, std::string &reason)
 Validate active dimensions selection given varforms.
 
bool polyfem::solver::is_active_dofs_valid (const Eigen::VectorXi &active_dofs, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, std::string &reason)
 Validate active solution space dofs selection given varforms.
 
bool polyfem::solver::is_active_time_slices_valid (const Eigen::VectorXi &active_time_slices, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, std::string &reason)
 Validate active time slices selection given varforms.
 
bool polyfem::solver::is_active_dirichlet_boundary_ids_valid (const Eigen::VectorXi &active_boundary_ids, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, std::string &reason)
 Validate active Dirichlet boundary ids selection given varforms.
 
bool polyfem::solver::is_active_dirichlet_node_valid (const Eigen::VectorXi &active_dirichlet_nodes, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, std::string &reason)
 Validate active Dirichlet node ids selection given varforms.
 
bool polyfem::solver::is_active_pressure_boundary_ids_valid (const Eigen::VectorXi &active_boundary_ids, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, std::string &reason)
 Validate active pressure boundary ids selection given varforms.