Tim Atherton

Results 11 issues of Tim Atherton

**Describe the bug** Calling the warning method on the Error class (rather than on an instance) segfaults. **To Reproduce** Run the following code: `Error.warning("Hello")` **Expected behavior** Error should raise the...

bug

Calculation of hessians is now parallelized, and properly supports dependencies. Implementations for LineCurvatureSq and LineTorsionSq with testing.

**Describe the bug** When refining a 3D mesh that has multiple grades present, elements in grades 1 and 2 may not be generated consistently. **To Reproduce** Import the attached mesh...

bug

**Describe the bug** Classes that don't provide index and setindex should raise errors if you try to index them. **To Reproduce** // check index class A { } var b...

bug

This PR adds initial support for typing and multiple dispatch to Morpho. You can define multiple implementations of the same function: ```` fn f(List x) { .. } fn f(String...

This PR makes adjustments to the Error class to support calling throw and warning on the class without instantiation, e.g. `Error.warning("Foo")` Includes two tests of the fixed functionality. Fixes #252.

Makes the Cauchy Green strain tensor: C = (F G - 1)/2 where: * F is the gram matrix in the deformed frame. * G is the INVERSE of the...

**Describe the bug** The import keyword appears to be looking relative to the CWD, rather than the file path of the current file. **To Reproduce** The following folder structure and...

bug

This PR implements type checking in morpho. Declare a variable with a restricted type as follows: Int a = 5 The morpho compiler will now ensure that anything assigned to...

Corrects an error in System.setworkingfolder that incorrectly reported an error. Two tests have been added to ensure this isn't broken as it also breaks morphopm. Fixes #306