1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-28 10:17:08 +01:00

GLobal edit for QCD namespace removal & NAMESPACE macros

This commit is contained in:
paboyle
2018-01-15 09:37:58 +00:00
parent ca6bdd7302
commit d74c21a386
175 changed files with 245 additions and 261 deletions

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)

View File

@@ -30,7 +30,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
GRID_SERIALIZABLE_ENUM(myenum, undef, red, 1, blue, 2, green, 3);

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
class funcPlus {
public:

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main(int argc, char ** argv) {
Grid_init(&argc, &argv);

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
/* For Metropolis */

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
/* For Metropolis */

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
#define POWER10

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
#define POWER10

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -32,7 +32,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
//typedef GparityDomainWallFermionD GparityDiracOp;
//typedef DomainWallFermionD StandardDiracOp;

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -42,7 +42,7 @@ directory
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main(int argc, char** argv) {
Grid_init(&argc, &argv);

View File

@@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
/*
Grid_main.cc(232): error: no suitable user-defined conversion from

View File

@@ -32,7 +32,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
#include <Grid/Grid.h>
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -30,7 +30,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -30,7 +30,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class d>
struct scal {

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
RealD InverseApproximation(RealD x){
return 1.0/x;

View File

@@ -38,7 +38,7 @@ Author: David Murphy <dmurphy@phys.columbia.edu>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
// Parameters for test
const std::vector<int> grid_dim = { 8, 8, 8, 8 };

View File

@@ -38,7 +38,7 @@ Author: David Murphy <dmurphy@phys.columbia.edu>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
typedef GparityWilsonImplR FermionImplPolicy;
typedef GparityDomainWallEOFAFermionR FermionAction;

View File

@@ -38,7 +38,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
// Parameters for test
const std::vector<int> grid_dim = { 8, 8, 8, 8 };

View File

@@ -38,7 +38,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
typedef GparityWilsonImplR FermionImplPolicy;
typedef GparityMobiusEOFAFermionR FermionAction;

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
// parameters for test
const std::vector<int> grid_dim = { 8, 8, 8, 8 };

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
typedef typename GparityDomainWallFermionR::FermionField FermionField;

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
// parameters for test
const std::vector<int> grid_dim = { 8, 8, 8, 8 };

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
typedef typename GparityDomainWallFermionR::FermionField FermionField;

View File

@@ -37,7 +37,7 @@ int main(int argc,char **argv)
#if 0
#include <simd/Intel512wilson.h>
using namespace Grid;
using namespace Grid::QCD;
;
void ZmulF(void *ptr1,void *ptr2,void *ptr3);
void Zmul(void *ptr1,void *ptr2,void *ptr3);

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class vobj>
class LinearOperator {

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char** argv)
{

View File

@@ -29,7 +29,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
typedef GparityWilsonImplR FermionImplPolicy;
typedef GparityDomainWallEOFAFermionR FermionAction;

View File

@@ -29,7 +29,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;

View File

@@ -29,7 +29,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;

View File

@@ -29,7 +29,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;

View File

@@ -29,7 +29,7 @@ Author: Azusa Yamaguchi <ayamaguc@staffmail.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
#define parallel_for PARALLEL_FOR_LOOP for

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char** argv)
{

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
typedef GparityWilsonImplR FermionImplPolicy;
typedef GparityMobiusEOFAFermionR FermionAction;

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;

View File

@@ -29,7 +29,7 @@ Author: Azusa Yamaguchi <ayamaguc@staffmail.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;

View File

@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -119,4 +119,4 @@ int main(int argc, char *argv[])
Grid_finalize();
return EXIT_SUCCESS;
}
}

View File

@@ -147,4 +147,4 @@ int main(int argc, char *argv[])
Grid_finalize();
return EXIT_SUCCESS;
}
}

View File

@@ -112,4 +112,4 @@ int main(int argc, char *argv[])
return EXIT_SUCCESS;
}

View File

@@ -86,4 +86,4 @@ int main(int argc, char *argv[])
Grid_finalize();
return EXIT_SUCCESS;
}
}

View File

@@ -33,7 +33,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -34,7 +34,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -73,7 +73,7 @@ namespace Grid{
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -79,7 +79,7 @@ namespace Grid{
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -30,7 +30,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -32,7 +32,7 @@
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -44,7 +44,7 @@ typedef Grid::XmlReader Serialiser;
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);

View File

@@ -30,7 +30,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -30,7 +30,7 @@ Author: Azusa Yamaguchi <ayamaguc@staffmail.ed.ac.uk>
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -31,7 +31,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -29,7 +29,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -42,7 +42,7 @@ class ScalarActionParameters : Serializable {
}
using namespace Grid;
using namespace Grid::QCD;
;
template <class Impl>
class MagMeas : public HmcObservable<typename Impl::Field> {

View File

@@ -33,7 +33,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
// Here change the allowed (higher) representations
typedef Representations< FundamentalRepresentation, AdjointRepresentation > TheRepresentations;

View File

@@ -32,7 +32,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -32,7 +32,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
GridLogLayout();

View File

@@ -36,7 +36,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
// Here change the allowed (higher) representations
typedef Representations< FundamentalRepresentation, AdjointRepresentation , TwoIndexSymmetricRepresentation> TheRepresentations;

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -32,7 +32,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

View File

@@ -31,7 +31,7 @@ directory
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
// Here change the allowed (higher) representations
typedef Representations< FundamentalRepresentation, TwoIndexSymmetricRepresentation > TheRepresentations;

View File

@@ -31,7 +31,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
template<class Field> class DumbOperator : public LinearOperatorBase<Field> {
public:

View File

@@ -30,7 +30,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
;
int main (int argc, char ** argv)
{

View File

@@ -31,7 +31,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
int main(int argc, char **argv) {
using namespace Grid;
using namespace Grid::QCD;
;
Grid_init(&argc, &argv);
int threads = GridThread::GetThreads();

Some files were not shown because too many files have changed in this diff Show More