Commit 10958ec9 authored by gbalduzz's avatar gbalduzz
Browse files

Pulled bilayer validation test.

parent 58133bf0
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -20,13 +20,7 @@ namespace ctaux {
// dca::phys::solver::ctaux::

std::vector<HS_vertex_move_type> HS_vertex_move_domain::initialize_elements() {
  static std::vector<HS_vertex_move_type> v(0);

  v.push_back(ANNIHILATION);
  v.push_back(STATIC);
  v.push_back(CREATION);

  return v;
  return std::vector<HS_vertex_move_type>{ANNIHILATION, STATIC, CREATION};
}

int HS_vertex_move_domain::to_coordinate(element_type vertex_move) {
@@ -48,7 +42,7 @@ int HS_vertex_move_domain::to_coordinate(element_type vertex_move) {
  }
}

}  // ctaux
}  // solver
}  // phys
}  // dca
}  // namespace ctaux
}  // namespace solver
}  // namespace phys
}  // namespace dca
+1 −2
Original line number Diff line number Diff line
@@ -7,5 +7,4 @@ add_subdirectory(phys/lattice_mapping)
add_subdirectory(math/statistical_testing)
add_subdirectory(nfft)
add_subdirectory(parallel/mpi_concurrency)
add_subdirectory(statistical_tests/real_materials)
add_subdirectory(statistical_tests/square_lattice)
add_subdirectory(statistical_tests)
+3 −0
Original line number Diff line number Diff line
add_subdirectory(bilayer_lattice)
add_subdirectory(real_materials)
add_subdirectory(square_lattice)
+16 −0
Original line number Diff line number Diff line
################################################################################
# test/integration/cluster-solver/square_lattice/
# CMakeLists.txt
################################################################################
set(TEST_INCLUDES ${DCA_INCLUDE_DIRS};${PROJECT_SOURCE_DIR})
set(TEST_LIBS     ${DCA_LIBS};statistical_testing)

dca_add_gtest(ctaux_bilayer_validation_stattest
        STOCHASTIC
        # Run with more ranks for better error detection.
        MPI MPI_NUMPROC 32
        INCLUDE_DIRS ${TEST_INCLUDES}
        LIBS     ${TEST_LIBS}
        )

+75 −0
Original line number Diff line number Diff line
{
  "output" : {
    "dump-cluster-Greens-functions" : true
  },
  "physics": {
    "beta"                      :  1.,
    "chemical-potential"        : 0.
  },

  "bilayer-Hubbard-model":
  {
    "t"       : 1.,
    "U"       : 2.,
    "V" : 2,
    "V-prime" : 2
  },

  "domains": {
    "real-space-grids": {
      "cluster": [[2, 0],
        [0, 1]]
    },

    "imaginary-time": {
      "sp-time-intervals": 512
    },

    "imaginary-frequency": {
      "sp-fermionic-frequencies": 512
    }
  },

  "CT-AUX" : {
    "expansion-parameter-K": 1.,
    "initial-configuration-size": 10,
    "max-submatrix-size": 16
  },

  "CT-INT" :
  {
    "use-submatrix" : true,
    "max-submatrix-size": 4,
    "initial-configuration-size": 5,
    "alpha-dd-pos" : 0.501
  },

  "DCA": {
    "iterations": 1,
    "self-energy-mixing-factor": 0.,
    "interacting-orbitals": [0, 1]
  },

  "Monte-Carlo-integration" : {
    "warm-up-sweeps": 1000,
    "sweeps-per-measurement": 1,
    "measurements": 20000,
    "seed": "random",
    "threaded-solver": {
      "walkers": 1,
      "accumulators": 1,
      "shared-walk-and-accumulation-thread" : true,
      "fix-meas-per-walker" : true
    }
  }
}









Loading