This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Christoph Pohl <christoph.pohl1[at]mailbox[dot]tu-dresden[dot]de> | |
pkgname=PyMbs-hg | |
pkgver=0.2.2.r1752 | |
pkgrel=1 | |
pkgdesc="A Python tool to model multibody systems" | |
arch=('i686' 'x86_64') | |
url="http://www.bitbucket.org/pymbs/pymbs" | |
license=('LGPL') | |
depends=('python2-numpy' 'python2-scipy' 'python2-matplotlib' 'vtk' 'python2-pyqt4' 'python2-h5py' ) | |
makedepends=('cmake' 'mercurial') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
import os | |
from mutagen import File | |
from mutagen.flac import FLAC, VCFLACDict | |
from mutagen.mp3 import MP3 | |
from mutagen.apev2 import APEv2 | |
from mutagen.m4a import M4A | |
from mutagen.oggvorbis import OggVorbis | |
import matplotlib.pyplot as plt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alignment top_right | |
background yes | |
border_margin 5 | |
border_width 5 | |
color0 555555 # | |
color1 FCAF3E # zolty | |
color2 2a2a2a # braz | |
color3 a82553 # rozowy f71f84 | |
color4 5e1014 # bordowy | |
color5 64574e # braz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <map> | |
#include <boost/any.hpp> | |
enum class eInput { | |
ONE, TWO, THREE | |
}; | |
// are a string, a double and an int | |
enum class eOutput { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <functional> | |
class ConstitutiveLaw {}; | |
class ElementBase | |
{ | |
public: | |
ElementBase(ConstitutiveLaw* law) : mLaw(law) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <iostream> | |
#include <cmath> | |
#include <eigen3/Eigen/Core> | |
class Cell; | |
// base class for "operations": hessians, gradients, etc. | |
template <typename ReturnType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <algorithm> | |
#include <vector> | |
#include <boost/iterator/indirect_iterator.hpp> | |
namespace NuTo | |
{ | |
namespace Groups | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_unit_test(TriangulateIPCellsTest | |
mechanics/integrationtypes/IntegrationTypeBase.cpp | |
mechanics/integrationtypes/IntegrationTypeEnum.cpp | |
mechanics/integrationtypes/IntegrationType2D3NGauss3Ip.cpp | |
mechanics/integrationtypes/IntegrationType2D4NGauss1Ip.cpp | |
mechanics/integrationtypes/IntegrationType2D4NGauss4Ip.cpp | |
mechanics/integrationtypes/IntegrationType2D4NGauss9Ip.cpp) | |
target_link_libraries(TriangulateIPCellsTest -lgmp -lCGAL) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/iterator/iterator_facade.hpp> | |
#include <eigen3/Eigen/Core> | |
#include <iostream> | |
#include <tuple> | |
#include <vector> | |
using Entry = std::pair<Eigen::VectorXd, Eigen::VectorXi>; | |
class EntryIterator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cassert> | |
#include <boost/fusion/sequence.hpp> | |
#include <boost/fusion/include/sequence.hpp> | |
#include <boost/fusion/include/make_vector.hpp> | |
#include <boost/fusion/include/transform.hpp> | |
#include <boost/fusion/include/accumulate.hpp> | |
namespace fusion = boost::fusion; |
OlderNewer