Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement uom%simplify #14

Open
szaghi opened this issue Sep 5, 2016 · 0 comments
Open

Implement uom%simplify #14

szaghi opened this issue Sep 5, 2016 · 0 comments
Assignees

Comments

@szaghi
Copy link
Owner

szaghi commented Sep 5, 2016

Implement a methid to simplify uom references, e.g.

type(uom) :: u1
type(uom) :: u2

u1 = uom('m.s-1.kg.m-2')
u2 = u1%simplify()
print*, u2%stringify()
! Output
! m-1.s.1.kg
@szaghi szaghi self-assigned this Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant