To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 318db775 authored by Bastian Telgen's avatar Bastian Telgen
Browse files

change indexing for Euler

parent 83053226
......@@ -75,7 +75,7 @@ using elements::tensor::as_vector;
int main(int argc, char **argv) {
const auto context = Context(&argc, &argv);
auto index = Mesh::size_type(0);
auto index = Mesh::size_type(1);
std::string config_file = "/mnt/io/validation/data/cube.config";
std::string input_folder = "/mnt/io/validation/data/";
std::string output_folder = "/mnt/io/";
......
......@@ -21,7 +21,7 @@
template <std::size_t Dimension>
const auto read_config = [](std::ifstream &fConfig, std::size_t id) {
fConfig.seekg(std::ios::beg);
for (std::size_t i = 0; i < id + 1; ++i) {
for (std::size_t i = 0; i < id; ++i) {
fConfig.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment