Sven Voigt

Results 5 comments of Sven Voigt

**materials-informatics** *abbreviation*- **matics** (matin is already claimed by our group website)

Yes, I will implement this.

Our shape functions are in [pymks/fmks/func.py](https://github.com/materialsinnovation/pymks/blob/master/pymks/fmks/func.py#L457). You can use `dist_mesh(shape)

This is also the case for any custom defined classes. ```python from pydantic import BaseModel class UserDefined: pass class Test(BaseModel): name: str other: UserDefined=None class Config: arbitrary_types_allowed: True json_encoders =...

Thanks for the catch. Any idea why changing UserDefined to ```python class UserDefined(BaseModel): x: int=None ``` Causes it to serialize as json (as BaseModel does) rather than the custom defined...