GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Categories
  • Newsletter
  • Submit
  • Login
  • Awesome C++
  • Scientific Computing

This view

  • Original page
  • New address

GeezerVison is showing cpp.libhunt.com — Dimwits Alternatives - C++ Scientific Computing | LibHunt

  • Subscribe
  • Submit
  • Categories
  • About
  • Login

Dimwits

A compact C++ header-only library providing compile-time dimensional analysis and unit awareness

njoy logo
Source Code    Changelog
Suggest Changes
Take the C++ Developer Survey - About 6 minutes on the tools, libraries and AI you use with C++. You get the results by email. Take the survey »
Popularity
1.5
Stable
Activity
0.0
Stable
Stars 10
Watchers 8
Forks 1
Last Commit about 4 years ago

Description

...or DIMensional analysis With unITS is a C++14 library for compile-time dimensional analysis and unit awareness.

Programming language: C++
License: GNU General Public License v3.0 or later
Tags: Scientific Computing     Header Only     Dimensional Analysis     C++14    

Dimwits alternatives and similar libraries

Based on the "Scientific Computing" category.
Alternatively, view Dimwits alternatives based on common mentions on social networks and blogs.

  • Torch

    9.2 0.0 Dimwits VS Torch
    http://torch.ch
    torch logo
  • FFTW

    7.6 6.4 L4 Dimwits VS FFTW
    DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)
    FFTW logo
  • SaaSHub - Software Alternatives and Reviews

    SaaSHub helps you find the best software and product alternatives
    Promo www.saashub.com
    SaaSHub Logo
  • Trilinos

    6.8 9.9 Dimwits VS Trilinos
    Primary repository for the Trilinos Project
    trilinos logo
  • Kratos Multiphysics

    6.2 9.9 Dimwits VS Kratos Multiphysics
    Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
    KratosMultiphysics logo
  • preCICE

    5.7 8.6 Dimwits VS preCICE
    A coupling library and ecosystem for partitioned multi-physics and multi-scale simulations, including surface and volume coupling.
    precice logo
  • GSL

    5.0 4.5 L3 Dimwits VS GSL
    GNU Scientific Library with CMake build support and AMPL bindings
    ampl logo
  • HELICS

    3.2 8.0 Dimwits VS HELICS
    Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS)
    GMLC-TDC logo
  • perf-cpp

    3.0 9.1 Dimwits VS perf-cpp
    Lightweight recording and sampling of performance counters for specific code segments directly from your C++ application.
    jmuehlig logo
  • Units

    3.0 7.4 Dimwits VS Units
    A run-time C++ library for working with units of measurement and conversions between them and with string representations of units and measurements
    llnl logo
  • suanPan

    2.5 9.1 Dimwits VS suanPan
    🧮 An Open Source, Parallel and Heterogeneous Finite Element Analysis Framework
    TLCFEM logo
  • itpp

    2.3 0.0 Dimwits VS itpp
    IT++ library mirror/fork. C++ library of mathematical, signal processing and communication classes and functions.
    nvmd logo
  • d-SEAMS

    1.9 9.8 Dimwits VS d-SEAMS
    C++ engine for d-SEAMS. Reads molecular dynamics trajectories and identifies ice and clathrates with CHILL+, topological cages, primitive rings and Steinhardt order parameters. Ships the C API and the seams CLI.
    d-SEAMS logo
  • Blitz++

    1.4 0.0 L2 Dimwits VS Blitz++
    Git mirror of Blitz++ at http://sourceforge.net/projects/blitz/
    syntheticpp logo

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.

Do you think we are missing an alternative of Dimwits or a related project?

Add another 'Scientific Computing' Library

Popular Comparisons

  • Dimwits
    vs
    GSL
  • Dimwits
    vs
    FFTW
  • Dimwits
    vs
    Hopscotch map
  • Dimwits
    vs
    Blitz++
  • Dimwits
    vs
    Torch

README

Dimwits

...or DIMensional analysis With unITS is a C++14 library for compile-time dimensional analysis and unit awareness.

Minimal Example

#include <iostream>
#include "dimwits.hpp"

using namespace dimwits;

int main(){

/* quantities play nicely with auto */
auto myVelocity = 1.0 * meter / second;
std::cout << "The speed is: " << myVelocity << std::endl;

/* quantities are constexpr friendly */
constexpr Quantity< Inch > myLength = 1.0 * meter;
std::cout << "1 meter in inches is: " << myLength << std::endl;

/* quantities of the same dimensionality can be implicitly converted
 * (conversions are also constexpr friendly) */
constexpr Quantity< Foot > otherLength = myLength;
std::cout << "1 meter in feet is: " << otherLength << std::endl;

/* si-prefixes can be specified on either side of the assignment */
Quantity< Kilo<Gram> > myMass = 1.0 * mega(tonne);
std::cout << "1 megatonne in kilograms is: " << myMass << std::endl;

/* NIST values for common physical constants are provided */
std::cout << "The speed of light is: " << constant::lightSpeed << std::endl;

}

This example has the following output:

The speed is:  1 s^-1 m
1 meter in inches is:  39.3701 in
1 meter in feet is:  3.28084 ft
1 megatonne in kilograms is:  1e+09 kg
The speed of light is:  2.99792e+08 s^-1 m

Do not miss the trending, libraries, news and articles with our weekly report.

Awesome C++ is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
Spin The Wheel Of Names for a cryptographically secure random name picker.
Schedule a when to meet poll.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.