Skip to content

Commit

Permalink
feat: add element classes
Browse files Browse the repository at this point in the history
  • Loading branch information
frank1789 committed Aug 16, 2024
1 parent 970041c commit 9616158
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/include/elementproperty.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class AbstractElement {
public:
virtual ~Element() noexcept = 0;
virtual ~AbstractElement() noexcept = 0;

AbstractElement(const AbstractElement&) = delete;
AbstractElement(AbstractElement&&) noexcept = delete;
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int main(int argc, char* argv[]) {

auto parser = std::make_unique<lsdynatoapdl::Parser>();
// auto writer = std::make_unique<lsdynatoapdl::Writer>();
parser->elaborate();
parser->elaborate("");
LoggerManager::shutdown();
} catch (const std::exception& ex) {
spdlog::dump_backtrace();
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Parser::Parser() :
// spdlog::get("multi-sink")->debug("pass here");
}

void Parser::elaborate() {
void Parser::elaborate(const std::string& input_file) {
m_converter->setInputFile(
"/Users/francesco/Documents/Projects/LsDynaToAPDL/"
"dynain-trav_nomesh_mod.k");
Expand Down

0 comments on commit 9616158

Please sign in to comment.