7 template <
class WMTKMesh>
24 using MatrixNd = Eigen::Matrix<double, Super::DIM, Super::DIM>;
29 const Eigen::MatrixXd &obstacle_vals,
61 template <
typename Cand
idates>
63 const Candidates &candidates,
64 const ipc::CollisionMesh &collision_mesh,
65 const Eigen::MatrixXd &
V,
66 const double dhat)
const;
main class that contains the polyfem solver and all its state
const Eigen::MatrixXd & obstacle_displacements() const
Get a reference to the collision obstacles' displacements.
const double current_time
Current time.
const double starting_energy
Starting energy.
const State & state
Reference to the simulation state.
const json args
Copy of remesh args.
bool split_edge_before(const Tuple &t) override
std::unordered_map< size_t, double > compute_edge_sizings() const
SizingFieldRemesher< WMTKMesh > This
SizingFieldRemesher(const State &state, const Eigen::MatrixXd &obstacle_displacements, const Eigen::MatrixXd &obstacle_vals, const double current_time, const double starting_energy)
typename Super::Tuple Tuple
SparseSizingField compute_contact_sizing_field_from_candidates(const Candidates &candidates, const ipc::CollisionMesh &collision_mesh, const Eigen::MatrixXd &V, const double dhat) const
void collapse_edges() override
typename Super::VectorNd VectorNd
virtual ~SizingFieldRemesher()
Eigen::Matrix< double, Super::DIM, Super::DIM > MatrixNd
SparseSizingField smooth_contact_sizing_field(const SparseSizingField &sizing_field) const
SparseSizingField compute_contact_sizing_field() const
typename Super::Operations Operations
bool collapse_edge_after(const Tuple &t) override
static SparseSizingField combine_sizing_fields(const SparseSizingField &field1, const SparseSizingField &field2)
std::unordered_map< size_t, MatrixNd > SparseSizingField
SparseSizingField compute_elasticity_sizing_field() const
void split_edges() override
std::vector< std::pair< std::string, Tuple > > Operations
wmtk::ExecutePass< WildRemesher, EXECUTION_POLICY > executor
typename WMTKMesh::Tuple Tuple
wmtk::AttributeCollection< VertexAttributes > vertex_attrs
Eigen::Matrix< double, DIM, 1 > VectorNd
WildTetRemesher::Tuple Tuple
SizingFieldRemesher< wmtk::TetMesh > SizingFieldTetRemesher
SizingFieldRemesher< wmtk::TriMesh > SizingFieldTriRemesher