Reorganise of file naming

This commit is contained in:
Peter Boyle committed 2015-06-03 12:47:05 +01:00
1 parent 6cb38dc5dc
commit f9b070d64d
75 files changed
+85 -231

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
# additional include paths necessary to compile the C++ library # additional include paths necessary to compile the C++ library
AM_CXXFLAGS = -I$(top_srcdir)/ AM_CXXFLAGS = -I$(top_srcdir)/
SUBDIRS = lib tests benchmarks SUBDIRS = lib tests benchmarks
filelist: $(SUBDIRS)
Vendored
+2 -2
View File
@@ -3064,7 +3064,7 @@ fi
ac_config_headers="$ac_config_headers lib/Grid_config.h" ac_config_headers="$ac_config_headers lib/GridConfig.h"
# Check whether --enable-silent-rules was given. # Check whether --enable-silent-rules was given.
if test "${enable_silent_rules+set}" = set; then : if test "${enable_silent_rules+set}" = set; then :
@@ -5814,7 +5814,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
for ac_config_target in $ac_config_targets for ac_config_target in $ac_config_targets
do do
case $ac_config_target in case $ac_config_target in
"lib/Grid_config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/Grid_config.h" ;; "lib/GridConfig.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/GridConfig.h" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"docs/doxy.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxy.cfg" ;; "docs/doxy.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxy.cfg" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+1 -1
View File
@@ -11,7 +11,7 @@ AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(subdir-objects) AM_INIT_AUTOMAKE(subdir-objects)
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([lib/Grid.h]) AC_CONFIG_SRCDIR([lib/Grid.h])
AC_CONFIG_HEADERS([lib/Grid_config.h]) AC_CONFIG_HEADERS([lib/GridConfig.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_MSG_NOTICE([ AC_MSG_NOTICE([
File renamed without changes.
File renamed without changes.
+8
View File
@@ -0,0 +1,8 @@
#ifndef GRID_CARTESIAN_H
#define GRID_CARTESIAN_H
#include <cartesian/Cartesian_base.h>
#include <cartesian/Cartesian_full.h>
#include <cartesian/Cartesian_red_black.h>
#endif
@@ -1,6 +1,6 @@
#ifndef GRID_COMMUNICATOR_H #ifndef GRID_COMMUNICATOR_H
#define GRID_COMMUNICATOR_H #define GRID_COMMUNICATOR_H
#include <communicator/Grid_communicator_base.h> #include <communicator/Communicator_base.h>
#endif #endif
+2 -2
View File
@@ -141,7 +141,7 @@ namespace Grid {
} }
} }
#include <lattice/Grid_lattice_comparison.h> #include <lattice/Lattice_comparison.h>
#include <lattice/Grid_lattice_where.h> #include <lattice/Lattice_where.h>
#endif #endif
+3 -3
View File
@@ -1,13 +1,13 @@
#ifndef _GRID_CSHIFT_H_ #ifndef _GRID_CSHIFT_H_
#define _GRID_CSHIFT_H_ #define _GRID_CSHIFT_H_
#include <cshift/Grid_cshift_common.h> #include <cshift/Cshift_common.h>
#ifdef GRID_COMMS_NONE #ifdef GRID_COMMS_NONE
#include <cshift/Grid_cshift_none.h> #include <cshift/Cshift_none.h>
#endif #endif
#ifdef GRID_COMMS_MPI #ifdef GRID_COMMS_MPI
#include <cshift/Grid_cshift_mpi.h> #include <cshift/Cshift_mpi.h>
#endif #endif
#endif #endif
+13 -13
View File
@@ -33,7 +33,7 @@
#define strong_inline __attribute__((always_inline)) inline #define strong_inline __attribute__((always_inline)) inline
#include <Grid_config.h> #include <GridConfig.h>
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
// Tunable header includes // Tunable header includes
@@ -46,22 +46,22 @@
#include <malloc.h> #include <malloc.h>
#endif #endif
#include <Grid_aligned_allocator.h> #include <AlignedAllocator.h>
#include <Grid_simd.h> #include <Simd.h>
#include <Grid_threads.h> #include <Threads.h>
#include <Grid_cartesian.h> // subdir aggregate #include <Communicator.h> // subdir aggregate
#include <Grid_math.h> // subdir aggregate #include <Cartesian.h> // subdir aggregate
#include <Grid_lattice.h> // subdir aggregate #include <Tensors.h> // subdir aggregate
#include <Grid_comparison.h> #include <Lattice.h> // subdir aggregate
#include <Grid_cshift.h> // subdir aggregate #include <Comparison.h>
#include <Grid_stencil.h> // subdir aggregate #include <Cshift.h> // subdir aggregate
#include <Stencil.h> // subdir aggregate
#include <Grid_algorithms.h>// subdir aggregate #include <Algorithms.h>// subdir aggregate
#include <qcd/QCD.h> #include <qcd/QCD.h>
#include <parallelIO/GridNerscIO.h> #include <parallelIO/NerscIO.h>
namespace Grid { namespace Grid {
File renamed without changes.
+1 -1
View File
@@ -1,4 +1,4 @@
/* lib/Grid_config.h.in. Generated from configure.ac by autoheader. */ /* lib/GridConfig.h.in. Generated from configure.ac by autoheader. */
/* AVX */ /* AVX */
#undef AVX1 #undef AVX1
File renamed without changes.
-8
View File
@@ -1,8 +0,0 @@
#ifndef GRID_CARTESIAN_H
#define GRID_CARTESIAN_H
#include <cartesian/Grid_cartesian_base.h>
#include <cartesian/Grid_cartesian_full.h>
#include <cartesian/Grid_cartesian_red_black.h>
#endif
-16
View File
@@ -1,16 +0,0 @@
#ifndef GRID_MATH_H
#define GRID_MATH_H
#include <math/Grid_math_traits.h>
#include <math/Grid_math_tensors.h>
#include <math/Grid_math_arith.h>
#include <math/Grid_math_inner.h>
#include <math/Grid_math_outer.h>
#include <math/Grid_math_transpose.h>
#include <math/Grid_math_trace.h>
#include <math/Grid_math_peek.h>
#include <math/Grid_math_poke.h>
#include <math/Grid_math_reality.h>
#endif
+1 -1
View File
@@ -1,6 +1,6 @@
#ifndef GRID_LATTICE_H #ifndef GRID_LATTICE_H
#define GRID_LATTICE_H #define GRID_LATTICE_H
#include <lattice/Grid_lattice_base.h> #include <lattice/Lattice_base.h>
#endif #endif
+10 -103
View File
@@ -3,119 +3,26 @@ AM_CXXFLAGS = -I$(top_srcdir)/
extra_sources= extra_sources=
if BUILD_COMMS_MPI if BUILD_COMMS_MPI
extra_sources+=communicator/Grid_communicator_mpi.cc extra_sources+=communicator/Communicator_mpi.cc
endif endif
if BUILD_COMMS_NONE if BUILD_COMMS_NONE
extra_sources+=communicator/Grid_communicator_none.cc extra_sources+=communicator/Communicator_none.cc
endif endif
# #
# Libraries # Libraries
# #
lib_LIBRARIES = libGrid.a
libGrid_a_SOURCES = \
Grid_init.cc \
stencil/Grid_lebesgue.cc \
stencil/Grid_stencil_common.cc \
algorithms/approx/Zolotarev.cc \
algorithms/approx/Remez.cc \
qcd/SpaceTimeGrid.cc\
qcd/Dirac.cc\
qcd/action/fermion/WilsonKernels.cc\
qcd/action/fermion/WilsonKernelsHand.cc\
qcd/action/fermion/WilsonFermion.cc\
qcd/action/fermion/WilsonFermion5D.cc\
qcd/action/fermion/CayleyFermion5D.cc \
qcd/action/fermion/ContinuedFractionFermion5D.cc \
$(extra_sources)
# qcd/action/fermion/PartialFractionFermion5D.cc \ include Make.inc
lib_LIBRARIES = libGrid.a
libGrid_a_SOURCES = $(CCFILES) $(extra_sources)
# qcd/action/fermion/PartialFractionFermion5D.cc\ \
# #
# Include files # Include files
# #
nobase_include_HEADERS=\ nobase_include_HEADERS=$(HFILES)
./algorithms/approx/bigfloat.h\
./algorithms/approx/bigfloat_double.h\
./algorithms/approx/Chebyshev.h\
./algorithms/approx/Remez.h\
./algorithms/approx/Zolotarev.h\
./algorithms/iterative/ConjugateGradient.h\
./algorithms/iterative/NormalEquations.h\
./algorithms/iterative/SchurRedBlack.h\
./algorithms/LinearOperator.h\
./algorithms/SparseMatrix.h\
./cartesian/Grid_cartesian_base.h\
./cartesian/Grid_cartesian_full.h\
./cartesian/Grid_cartesian_red_black.h\
./communicator/Grid_communicator_base.h\
./cshift/Grid_cshift_common.h\
./cshift/Grid_cshift_mpi.h\
./cshift/Grid_cshift_none.h\
./Grid.h\
./Grid_algorithms.h\
./Grid_aligned_allocator.h\
./Grid_cartesian.h\
./Grid_communicator.h\
./Grid_comparison.h\
./Grid_config.h\
./Grid_cshift.h\
./Grid_extract.h\
./Grid_lattice.h\
./Grid_math.h\
./Grid_simd.h\
./Grid_stencil.h\
./Grid_threads.h\
./lattice/Grid_lattice_arith.h\
./lattice/Grid_lattice_base.h\
./lattice/Grid_lattice_comparison.h\
./lattice/Grid_lattice_conformable.h\
./lattice/Grid_lattice_coordinate.h\
./lattice/Grid_lattice_ET.h\
./lattice/Grid_lattice_local.h\
./lattice/Grid_lattice_overload.h\
./lattice/Grid_lattice_peekpoke.h\
./lattice/Grid_lattice_reality.h\
./lattice/Grid_lattice_reduction.h\
./lattice/Grid_lattice_rng.h\
./lattice/Grid_lattice_trace.h\
./lattice/Grid_lattice_transfer.h\
./lattice/Grid_lattice_transpose.h\
./lattice/Grid_lattice_where.h\
./math/Grid_math_arith.h\
./math/Grid_math_arith_add.h\
./math/Grid_math_arith_mac.h\
./math/Grid_math_arith_mul.h\
./math/Grid_math_arith_scalar.h\
./math/Grid_math_arith_sub.h\
./math/Grid_math_inner.h\
./math/Grid_math_outer.h\
./math/Grid_math_peek.h\
./math/Grid_math_poke.h\
./math/Grid_math_reality.h\
./math/Grid_math_tensors.h\
./math/Grid_math_trace.h\
./math/Grid_math_traits.h\
./math/Grid_math_transpose.h\
./parallelIO/GridNerscIO.h\
./qcd/action/Actions.h\
./qcd/action/fermion/FermionOperator.h\
./qcd/action/fermion/WilsonCompressor.h\
./qcd/action/fermion/WilsonKernels.h\
./qcd/action/fermion/WilsonFermion.h\
./qcd/action/fermion/WilsonFermion5D.h\
./qcd/Dirac.h\
./qcd/QCD.h\
./qcd/TwoSpinor.h\
./simd/Grid_avx.h\
./simd/Grid_avx512.h\
./simd/Grid_qpx.h\
./simd/Grid_sse4.h\
./simd/Grid_vector_types.h\
./simd/Old/Grid_vComplexD.h\
./simd/Old/Grid_vComplexF.h\
./simd/Old/Grid_vInteger.h\
./simd/Old/Grid_vRealD.h\
./simd/Old/Grid_vRealF.h\
./stencil/Grid_lebesgue.h
View File
File renamed without changes.
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRID_STENCIL_H #ifndef GRID_STENCIL_H
#define GRID_STENCIL_H #define GRID_STENCIL_H
#include <stencil/Grid_lebesgue.h> // subdir aggregate #include <stencil/Lebesgue.h> // subdir aggregate
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
// Must not lose sight that goal is to be able to construct really efficient // Must not lose sight that goal is to be able to construct really efficient
+16
View File
@@ -0,0 +1,16 @@
#ifndef GRID_MATH_H
#define GRID_MATH_H
#include <tensors/Tensor_traits.h>
#include <tensors/Tensor_class.h>
#include <tensors/Tensor_arith.h>
#include <tensors/Tensor_inner.h>
#include <tensors/Tensor_outer.h>
#include <tensors/Tensor_transpose.h>
#include <tensors/Tensor_trace.h>
#include <tensors/Tensor_peek.h>
#include <tensors/Tensor_poke.h>
#include <tensors/Tensor_reality.h>
#include <tensors/Tensor_extract_merge.h>
#endif
File renamed without changes.
@@ -2,7 +2,6 @@
#define GRID_CARTESIAN_BASE_H #define GRID_CARTESIAN_BASE_H
#include <Grid.h> #include <Grid.h>
#include <Grid_communicator.h>
namespace Grid{ namespace Grid{
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -283,24 +283,23 @@ PARALLEL_FOR_LOOP
#include <lattice/Grid_lattice_conformable.h> #include <lattice/Lattice_conformable.h>
#define GRID_LATTICE_EXPRESSION_TEMPLATES #define GRID_LATTICE_EXPRESSION_TEMPLATES
#ifdef GRID_LATTICE_EXPRESSION_TEMPLATES #ifdef GRID_LATTICE_EXPRESSION_TEMPLATES
#include <lattice/Grid_lattice_ET.h> #include <lattice/Lattice_ET.h>
#else #else
#include <lattice/Grid_lattice_overload.h> #include <lattice/Lattice_overload.h>
#endif #endif
#include <lattice/Grid_lattice_arith.h> #include <lattice/Lattice_arith.h>
#include <lattice/Grid_lattice_trace.h> #include <lattice/Lattice_trace.h>
#include <lattice/Grid_lattice_transpose.h> #include <lattice/Lattice_transpose.h>
#include <lattice/Grid_lattice_local.h> #include <lattice/Lattice_local.h>
#include <lattice/Grid_lattice_reduction.h> #include <lattice/Lattice_reduction.h>
#include <lattice/Grid_lattice_peekpoke.h> #include <lattice/Lattice_peekpoke.h>
#include <lattice/Grid_lattice_reality.h> #include <lattice/Lattice_reality.h>
#include <Grid_extract.h> #include <lattice/Lattice_coordinate.h>
#include <lattice/Grid_lattice_coordinate.h> #include <lattice/Lattice_rng.h>
#include <lattice/Grid_lattice_rng.h> #include <lattice/Lattice_transfer.h>
#include <lattice/Grid_lattice_transfer.h>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
-11
View File
@@ -1,11 +0,0 @@
#ifndef GRID_MATH_ARITH_H
#define GRID_MATH_ARITH_H
#include <math/Grid_math_arith_add.h>
#include <math/Grid_math_arith_sub.h>
#include <math/Grid_math_arith_mac.h>
#include <math/Grid_math_arith_mul.h>
#include <math/Grid_math_arith_scalar.h>
#endif
File renamed without changes.
@@ -1,47 +1 @@
#ifndef GRID_QCD_PARTIAL_FRACTION_H
#define GRID_QCD_PARTIAL_FRACTION_H
namespace Grid {
namespace QCD {
class PartialFractionFermion5D : public WilsonFermion5D
{
public:
// override multiply
virtual RealD M (const LatticeFermion &in, LatticeFermion &out);
virtual RealD Mdag (const LatticeFermion &in, LatticeFermion &out);
// half checkerboard operaions
virtual void Meooe (const LatticeFermion &in, LatticeFermion &out);
virtual void MeooeDag (const LatticeFermion &in, LatticeFermion &out);
virtual void Mooee (const LatticeFermion &in, LatticeFermion &out);
virtual void MooeeDag (const LatticeFermion &in, LatticeFermion &out);
virtual void MooeeInv (const LatticeFermion &in, LatticeFermion &out);
virtual void MooeeInvDag (const LatticeFermion &in, LatticeFermion &out);
private:
zolotarev_data *zdata;
// Part frac
double R=(1+this->mass)/(1-this->mass);
std::vector<double> p;
std::vector<double> q;
// Constructors
PartialFractionFermion5D(LatticeGaugeField &_Umu,
GridCartesian &FiveDimGrid,
GridRedBlackCartesian &FiveDimRedBlackGrid,
GridCartesian &FourDimGrid,
GridRedBlackCartesian &FourDimRedBlackGrid,
RealD _mass,RealD M5);
};
}
}
#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
+11
View File
@@ -0,0 +1,11 @@
#ifndef GRID_MATH_ARITH_H
#define GRID_MATH_ARITH_H
#include <tensors/Tensor_arith_add.h>
#include <tensors/Tensor_arith_sub.h>
#include <tensors/Tensor_arith_mac.h>
#include <tensors/Tensor_arith_mul.h>
#include <tensors/Tensor_arith_scalar.h>
#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
-1
View File
@@ -1,5 +1,4 @@
#include <Grid.h> #include <Grid.h>
#include <parallelIO/GridNerscIO.h>
using namespace Grid; using namespace Grid;
using namespace Grid::QCD; using namespace Grid::QCD;
-1
View File
@@ -1,5 +1,4 @@
#include <Grid.h> #include <Grid.h>
#include <parallelIO/GridNerscIO.h>
using namespace Grid; using namespace Grid;
using namespace Grid::QCD; using namespace Grid::QCD;
-1
View File
@@ -1,5 +1,4 @@
#include <Grid.h> #include <Grid.h>
#include <parallelIO/GridNerscIO.h>
using namespace std; using namespace std;
using namespace Grid; using namespace Grid;
-1
View File
@@ -1,5 +1,4 @@
#include <Grid.h> #include <Grid.h>
#include <parallelIO/GridNerscIO.h>
using namespace std; using namespace std;
using namespace Grid; using namespace Grid;
-1
View File
@@ -1,5 +1,4 @@
#include <Grid.h> #include <Grid.h>
#include <parallelIO/GridNerscIO.h>
using namespace std; using namespace std;
using namespace Grid; using namespace Grid;
-1
View File
@@ -1,5 +1,4 @@
#include <Grid.h> #include <Grid.h>
#include <parallelIO/GridNerscIO.h>
using namespace std; using namespace std;
using namespace Grid; using namespace Grid;
-1
View File
@@ -1,5 +1,4 @@
#include <Grid.h> #include <Grid.h>
#include <parallelIO/GridNerscIO.h>
using namespace std; using namespace std;
using namespace Grid; using namespace Grid;