Changeset 06aedc for src/LinearAlgebra


Ignore:
Timestamp:
Apr 6, 2011, 1:50:30 PM (14 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
a9c556
Parents:
9b410d
git-author:
Frederik Heber <heber@…> (03/14/11 10:41:50)
git-committer:
Frederik Heber <heber@…> (04/06/11 13:50:30)
Message:

libMolecuilderLinearAlgebra is now a self-contained library fit for external use.

Location:
src/LinearAlgebra
Files:
12 edited
1 moved

Legend:

Unmodified
Added
Removed
  • src/LinearAlgebra/BoxVector.cpp

    r9b410d r06aedc  
    1616
    1717#include "LinearAlgebra/BoxVector.hpp"
     18#include "LinearAlgebra/defs.hpp"
    1819#include "LinearAlgebra/Vector.hpp"
    1920
  • src/LinearAlgebra/LinearSystemOfEquations.cpp

    r9b410d r06aedc  
    2020#include "CodePatterns/MemDebug.hpp"
    2121
    22 #include "Helpers/defs.hpp"
     22#include "CodePatterns/Assert.hpp"
     23#include "CodePatterns/logger.hpp"
     24#include "LinearAlgebra/defs.hpp"
    2325#include "LinearAlgebra/LinearSystemOfEquations.hpp"
    2426#include "LinearAlgebra/MatrixContent.hpp"
    2527#include "LinearAlgebra/VectorContent.hpp"
    26 #include "CodePatterns/Assert.hpp"
    27 #include "CodePatterns/logger.hpp"
    2828#include "LinearAlgebra/Vector.hpp"
    2929
  • src/LinearAlgebra/Makefile.am

    r9b410d r06aedc  
    3030  defs.hpp \
    3131  Eigenspace.hpp \
     32  fast_functions.hpp \
    3233  leastsquaremin.hpp \
    3334  Line.hpp \
     
    6970## library file (.so).  The library ABI version is defined in configure.ac, so
    7071## that all version information is kept in one place.
    71 libMolecuilderLinearAlgebra_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
     72libMolecuilderLinearAlgebra_la_LDFLAGS = -version-info $(LINEARALGEBRA_SO_VERSION)
    7273
    7374## The generated configuration header is installed in its own subdirectory of
     
    8283## configuration header file is generated at configure time and should not be
    8384## shipped with the source tarball.
    84 #libMolecuilderLinearAlgebra_libincludedir = $(libdir)/MoleCuilder/include
    85 #nodist_libMolecuilderLinearAlgebra_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
     85#libMolecuilderLinearAlgebra_libincludedir = $(libdir)/LinearAlgebra/include
     86#nodist_libMolecuilderLinearAlgebra_libinclude_HEADERS = $(top_builddir)/libLinearAlgebra_config.h
    8687
    8788## Install the generated pkg-config file (.pc) into the expected location for
     
    8990## pkg-config files are also used for architecture-independent data packages,
    9091## in which case the correct install location would be $(datadir)/pkgconfig.
    91 #pkgconfigdir = $(libdir)/pkgconfig
    92 #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
     92pkgconfigdir = $(libdir)/pkgconfig
     93pkgconfig_DATA = $(top_builddir)/LinearAlgebra.pc $(top_builddir)/LinearAlgebra-debug.pc
    9394
    9495unity.cpp:
  • src/LinearAlgebra/MatrixContent.cpp

    r9b410d r06aedc  
    1616#include "CodePatterns/Assert.hpp"
    1717#include "Exceptions/NotInvertibleException.hpp"
    18 #include "Helpers/defs.hpp"
    19 #include "Helpers/fast_functions.hpp"
    2018#include "LinearAlgebra/defs.hpp"
     19#include "LinearAlgebra/fast_functions.hpp"
    2120#include "LinearAlgebra/MatrixContent.hpp"
    2221#include "LinearAlgebra/RealSpaceMatrix.hpp"
  • src/LinearAlgebra/RealSpaceMatrix.cpp

    r9b410d r06aedc  
    2222#include "Exceptions/NotInvertibleException.hpp"
    2323#include "CodePatterns/Assert.hpp"
    24 #include "Helpers/defs.hpp"
    25 #include "Helpers/fast_functions.hpp"
    2624#include "LinearAlgebra/defs.hpp"
     25#include "LinearAlgebra/fast_functions.hpp"
    2726#include "LinearAlgebra/MatrixContent.hpp"
    2827#include "LinearAlgebra/RealSpaceMatrix.hpp"
  • src/LinearAlgebra/RealSpaceMatrix.hpp

    r9b410d r06aedc  
    1616
    1717#include <iosfwd>
    18 #include "Helpers/defs.hpp"
     18
     19#include "LinearAlgebra/defs.hpp"
     20
    1921
    2022/**
  • src/LinearAlgebra/Vector.cpp

    r9b410d r06aedc  
    2222#include "CodePatterns/Verbose.hpp"
    2323#include "Exceptions/MathException.hpp"
    24 #include "Helpers/defs.hpp"
    25 #include "Helpers/fast_functions.hpp"
    2624#include "LinearAlgebra/defs.hpp"
     25#include "LinearAlgebra/fast_functions.hpp"
    2726#include "LinearAlgebra/Vector.hpp"
    2827#include "LinearAlgebra/VectorContent.hpp"
     
    3029#include <cmath>
    3130#include <iostream>
     31#include <cmath>
    3232#include <gsl/gsl_blas.h>
    3333#include <gsl/gsl_vector.h>
  • src/LinearAlgebra/Vector.hpp

    r9b410d r06aedc  
    1616#include <vector>
    1717
    18 #include "Helpers/defs.hpp"
     18#include "LinearAlgebra/defs.hpp"
    1919#include "LinearAlgebra/Space.hpp"
    2020
  • src/LinearAlgebra/defs.hpp

    r9b410d r06aedc  
    11/*
    22 * defs.hpp
     3 *
     4 * Constant definitons and enumerations.
    35 *
    46 *  Created on: Mar 14, 2011
     
    68 */
    79
    8 #ifndef LINEAR_ALGEBRA_DEFS_HPP_
    9 #define LINEAR_ALGEBRA_DEFS_HPP_
     10#ifndef LINEARALGEBRA_DEFS_HPP_
     11#define LINEARALGEBRA_DEFS_HPP_
    1012
    1113// include config.h
     
    1820#define LINALG_MYEPSILON numeric_limits<double>::epsilon()*100.
    1921
    20 #endif /* LINEAR_ALGEBRA_DEFS_HPP_ */
     22enum { NDIM = 3 };   //!< number of spatial dimensions
     23
     24#endif /* LINEARALGEBRA_DEFS_HPP_ */
  • src/LinearAlgebra/leastsquaremin.cpp

    r9b410d r06aedc  
    2222#include <iostream>
    2323
     24#include "LinearAlgebra/defs.hpp"
    2425#include "LinearAlgebra/leastsquaremin.hpp"
    2526#include "LinearAlgebra/Vector.hpp"
  • src/LinearAlgebra/unittests/MatrixUnitTest.cpp

    r9b410d r06aedc  
    2626
    2727#include "MatrixUnitTest.hpp"
     28
     29#include "Exceptions/NotInvertibleException.hpp"
    2830#include "LinearAlgebra/defs.hpp"
    2931#include "LinearAlgebra/RealSpaceMatrix.hpp"
    3032#include "LinearAlgebra/Vector.hpp"
    31 #include "Exceptions/NotInvertibleException.hpp"
    3233
    3334#ifdef HAVE_TESTRUNNER
  • src/LinearAlgebra/vector_ops.cpp

    r9b410d r06aedc  
    2222#include "Exceptions/LinearDependenceException.hpp"
    2323#include "Exceptions/SkewException.hpp"
    24 #include "Helpers/fast_functions.hpp"
    2524#include "CodePatterns/Info.hpp"
    2625#include "CodePatterns/Log.hpp"
    2726#include "CodePatterns/Verbose.hpp"
     27#include "LinearAlgebra/defs.hpp"
     28#include "LinearAlgebra/fast_functions.hpp"
    2829#include "LinearAlgebra/leastsquaremin.hpp"
    2930#include "LinearAlgebra/Plane.hpp"
Note: See TracChangeset for help on using the changeset viewer.