Skip to content

Commit

Permalink
Merge branch 'master' of github.com:UG4/ugcore
Browse files Browse the repository at this point in the history
  • Loading branch information
LogashenkoDL committed Sep 1, 2024
2 parents dfb323a + 12c48db commit f1ae533
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
8 changes: 5 additions & 3 deletions scripts/shell/schedulers/pbs-generic
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@ function UJS_Info
sub(/\..*$/, "", $1)
status = $10
if (status == "R") {
if (status == "R" || status == "E") {
status = "RUNNING"
} else if (status == "Q") {
} else if (status == "Q" || status == "H" || status == "W" || status == "T" || status == "S") {
status = "PENDING"
} else {
status = "PENDING"
}
print $1, $2, $3, $4, $5, $6, $7, $8, $9, status, $11
}' # change status to RUNNING or PENDING
}' # change every status to RUNNING or PENDING, fallback to PENDING
) | column -t # format output as table
}

Expand Down
14 changes: 7 additions & 7 deletions ugbase/common/math/math_vector_matrix/math_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* UG4 is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License version 3 (as published by the
* Free Software Foundation) with the following additional attribution
* requirements (according to LGPL/GPL v3 ��7):
* requirements (according to LGPL/GPL v3 §7):
*
* (1) The following notice must be displayed in the Appropriate Legal Notices
* of covered and combined works: "Based on UG4 (www.ug4.org/license)".
Expand All @@ -20,7 +20,7 @@
* "Reiter, S., Vogel, A., Heppner, I., Rupp, M., and Wittum, G. A massively
* parallel geometric multigrid solver on hierarchically distributed grids.
* Computing and visualization in science 16, 4 (2013), 151-164"
* "Vogel, A., Reiter, S., Rupp, M., N��gel, A., and Wittum, G. UG4 -- a novel
* "Vogel, A., Reiter, S., Rupp, M., Nägel, A., and Wittum, G. UG4 -- a novel
* flexible software system for simulating pde based models on high performance
* computers. Computing and visualization in science 16, 4 (2013), 165-179"
*
Expand Down Expand Up @@ -101,7 +101,7 @@ class MathVector
static const std::size_t Size = N;

public:
MathVector() {for(std::size_t i = 0; i < N; ++i) m_data[i] = 0.0;}
MathVector() {for(std::size_t i = 0; i < N; ++i) m_data[i] = 0.0;}
MathVector(const value_type& val) {for(std::size_t i = 0; i < N; ++i) m_data[i] = val;}
MathVector(const MathVector& v) {assign(v);}

Expand Down Expand Up @@ -234,7 +234,7 @@ class MathVector<1, T>
static const std::size_t Size = 1;

public:
MathVector() {m_data[0] = 0.0; }
MathVector() {m_data[0] = 0.0;}
MathVector(value_type x) { m_data[0] = x; }
MathVector(const MathVector<1, T>& v) {assign(v);}

Expand Down Expand Up @@ -298,7 +298,7 @@ class MathVector<2, T>
static const std::size_t Size = 2;

public:
MathVector() { m_data[0] = m_data[1] = 0.0; }
MathVector() {m_data[0] = m_data[1] = 0.0;}
MathVector(const value_type& val) {m_data[0] = m_data[1] = val;}
MathVector(value_type x, value_type y)
{
Expand Down Expand Up @@ -370,7 +370,7 @@ class MathVector<3, T>
static const std::size_t Size = 3;

public:
MathVector() { m_data[0] = m_data[1] = m_data[2] = 0.0; }
MathVector() {m_data[0] = m_data[1] = m_data[2] = 0.0;}
MathVector(const value_type& val) {m_data[0] = m_data[1] = m_data[2] = val;}
MathVector(value_type x, value_type y, value_type z)
{
Expand Down Expand Up @@ -448,7 +448,7 @@ class MathVector<4, T>
static const std::size_t Size = 4;

public:
MathVector() {m_data[0] = m_data[1] = m_data[2] = m_data[3] =0.0;}
MathVector() {m_data[0] = m_data[1] = m_data[2] = m_data[3] = 0.0;}
MathVector(const value_type& val) {m_data[0] = m_data[1] = m_data[2] = m_data[3] =val;}
MathVector(value_type x, value_type y, value_type z, value_type w)
{
Expand Down

0 comments on commit f1ae533

Please sign in to comment.