-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thm segregate #3
base: develop
Are you sure you want to change the base?
Conversation
@@ -35,6 +35,12 @@ endif() | |||
# so we provide an option similar to BUILD_TESTING, but just for THM. | |||
option(THM_BUILD_TESTING "enable testing for thm" ON) | |||
|
|||
# Add -O0 to remove optimizations when using gcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need this, please pass -DCMAKE_BUILD_TYPE=Debug
when compiling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make "DCMAKE_BUILD_TYPE=Debug" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmake -DCMAKE_BUILD_TYPE=Debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add binary files and perf files to the code repository
@@ -35,6 +35,12 @@ endif() | |||
# so we provide an option similar to BUILD_TESTING, but just for THM. | |||
option(THM_BUILD_TESTING "enable testing for thm" ON) | |||
|
|||
# Add -O0 to remove optimizations when using gcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmake -DCMAKE_BUILD_TYPE=Debug
|
||
#include "globalvariables.h" | ||
|
||
using namespace dealii; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended to avoid defining using namespace
please use dealii::fn
to be more precise.
|
||
using namespace dealii; | ||
|
||
namespace EquationData { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use lower case for namespace
names
Hi ,Krishna,
Because I am using vscode and using a fast pull and push operation to push and pull codes, I can not control what I can push and what I can’t push. Do you have any suggestion? Thanks a lot.
Best,
Xiang
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Krishna Kumar<mailto:[email protected]>
Sent: 2020年4月16日 18:34
To: cb-geo/thm<mailto:[email protected]>
Cc: shyaan<mailto:[email protected]>; Author<mailto:[email protected]>
Subject: Re: [cb-geo/thm] Thm segregate (#3)
@kks32 requested changes on this pull request.
Please don't add binary files and perf files to the code repository
In CMakeLists.txt<#3 (comment)>:
@@ -35,6 +35,12 @@ endif()
# so we provide an option similar to BUILD_TESTING, but just for THM.
option(THM_BUILD_TESTING "enable testing for thm" ON)
+# Add -O0 to remove optimizations when using gcc
cmake -DCMAKE_BUILD_TYPE=Debug
In include/boundaryvalues.h<#3 (comment)>:
@@ -0,0 +1,137 @@
+#pragma once
+
+#include <fstream>
+#include <iostream>
+
+// #include <deal.II/numerics/vector_tools.h>
+#include <deal.II/base/function.h>
+#include <deal.II/lac/vector.h>
+
+#include "globalvariables.h"
+
+using namespace dealii;
It's recommended to avoid defining using namespace please use dealii::fn to be more precise.
In include/boundaryvalues.h<#3 (comment)>:
@@ -0,0 +1,137 @@
+#pragma once
+
+#include <fstream>
+#include <iostream>
+
+// #include <deal.II/numerics/vector_tools.h>
+#include <deal.II/base/function.h>
+#include <deal.II/lac/vector.h>
+
+#include "globalvariables.h"
+
+using namespace dealii;
+
+namespace EquationData {
Please use lower case for namespace names
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#3 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AH3RE3MYFQP7WQ2UG5C2FWTRM6WZDANCNFSM4LGQ4EXA>.
|
please add this branch.