Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ include(gsConfig)

## Collect files
aux_header_directory (${CMAKE_CURRENT_SOURCE_DIR}/src ${PROJECT_NAME}_H )
aux_header_directory (${CMAKE_CURRENT_SOURCE_DIR}/gsTemplates ${PROJECT_NAME}_H )
aux_cpp_directory (${CMAKE_CURRENT_SOURCE_DIR}/gsTemplates ${PROJECT_NAME}_CPP)
aux_tmpl_header_directory(${CMAKE_CURRENT_SOURCE_DIR}/gsTemplates ${PROJECT_NAME}_HPP)
aux_cpp_directory (${CMAKE_CURRENT_SOURCE_DIR}/src ${PROJECT_NAME}_CPP)
aux_tmpl_header_directory(${CMAKE_CURRENT_SOURCE_DIR}/src ${PROJECT_NAME}_HPP)

if( (NOT GISMO_BUILD_LIB) )
aux_instance_directory (${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_NAME}_INS)
Expand Down
11 changes: 3 additions & 8 deletions examples/helloSubmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
//! [Include namespace]
#include <gismo.h>

#include <gsModule/gsTemplates/gsClass.h>
#include <gsModule/gsHeader2.h>
#include <gsModule/gsClass.h>

using namespace gismo;
//! [Include namespace]
Expand All @@ -27,13 +26,9 @@ int main(int argc, char *argv[])

// Example how to use the class in submodules
submoduleClass submClass;
std::string str = "Hello, I am called from the submodule class, stored in gsSubmodule/gsFolder1";
std::string str = "Hello, I am called from the submodule class, stored in gsModule/src";
submClass.printString(str);

submoduleClass2 submClass2;
std::string str2 = "Hello, I am called from the submodule class, stored in gsSubmodule";
submClass2.printString(str2);


gsMultiPatch<real_t> mp;
gsReadFile<>("turtle.xml",mp);
gsInfo<<"Plotting the geometry, given in gsSubmodule/filedata in Paraview as geom.pvd\n";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.