Skip to content

Prepare for Thomas code

Felipe BORDEU requested to merge ThomasIntegration into master

Hello, this is my last MR :

Please merge this MR first:

https://git.cloud.safran/safransa/safrantech/muscat/muscat/-/merge_requests/324

FYI: @d572703

These are the changes to integrate correctly the code of Thomas.

There is a MR for Muscat Also :

Proper implementation of the nullspace with mass matrix P0->P1

remove generater file from git comit QOL

New metric (no merge)

(Advect) switch to binary reader/writer

(Meshdist) switch to binary writer

Fix typo

Fix normalization done twice, level-set advect was 1 meter instead of 1 mesh unit

Patch, this will be overwritting when merging to more recent branches

Temp Monitoring with custom logger (from transfer on server, NO MERGE)

Should not have output file in git

Modify export to stl to choose the domain that are kept, "tagToKeep" and add support for 2D (surface is exported to stl)

Vectorize gradient on triangle. (To clean up on merge)

Switch metric to an object method (WIP no merge)

Modify Remesh of MDV to pass multiple remesh without failing

Cleanup interface before remesh

Add user domain to mdv

Work On ParametricDesignVariables.py

On/Off zone by level-set

add ExportExtraFields to CreateOptimProblemTopoGenericMDV

Merge Felipe implementation with mine - kept code from both POC

(ComposedCriteria.py)

(OpenPisco.py) More general

Work on ConceptionField

More generic actions

add missing include in init

work oni ComposedCriteria WIP

RenameTag support for nTags

Point as elements BREAK EVERTHING

Work on multiDV

Advance MLS + remove hard coded interface tags

Constraints for MDV

Transfer support

Add view instead of ref to prevent data corruption

Functionnal multimaterial optimization (but not resilient may fail after some amount of iteration)

Add support for custom user boundary

Add .mmg2d to deleted files

Update MultiDVS for multiLS

Generate state pickle for quick reload

Add UserVariableSupport

Naive implementation of scissor mesh, WIP

Add parametric variable WIP

Remeshing with imprint geometry

Imprint geometry

Add multi-type variable support to optimization core

Add OffZoneFromInternals Tag to allow for moving offzones

Add custom user zone from MDV

Add ref to global scope when a variable is part of a MDV

Remove ref to global object, not a good idea

Priority snapping for nodes of existing boundary

Vector rectangle

prioritize by default constraints

WIP for remeshing fails

Allow for multiple remesh try

Output for MLS

Support MDV without MLS

Add getter for number of internal variables

Change multiLS

NullSpace update to get closer to F.P. implementation.

[BUG] Failed when tag generated by MLS existed also on the outside of the remeshed area

Remove hard coded metric

Add generated .mp4 debug file to ignore

Add weights to criteria usable by the AlgoBase

Switch to colored graph merges to create manifold edges for geometric treament before mmg call

Cleanup, remove small elements per contour

Modify snapping --> switch to bruteforce with |grad| as criteria

Code cleanup, rename old to legacy

Remove for loop over elements saves 1s for 100k elements

Add alpha for constraints speed of convergence, fit more closely to F.P implementation, add gradient scaling

Kwargs for regulariation, different regularization for objective and constraints

Add regularization kwargs

Bad scaling repair ?

WIP working on MLS + geom

Add snapping order, wip

Switch to pinv to avoid failing cases

BugFix, erronous field in MLS mode for design boundaries

Misc changes to support only 2LS

Add clean double nodes otherwise mmg splits the mesh on boundary where it is merged

Edited by Felipe BORDEU

Merge request reports