Change the project name from MbDCode to OndselSolver.
This commit is contained in:
22
OndselSolver/BasicUserFunction.cpp
Normal file
22
OndselSolver/BasicUserFunction.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2023 Ondsel, Inc. *
|
||||
* *
|
||||
* This file is part of OndselSolver. *
|
||||
* *
|
||||
* See LICENSE file for details about copyright. *
|
||||
***************************************************************************/
|
||||
|
||||
#include "BasicUserFunction.h"
|
||||
#include "CREATE.h"
|
||||
#include "Units.h"
|
||||
|
||||
using namespace MbD;
|
||||
|
||||
MbD::BasicUserFunction::BasicUserFunction(const std::string& expression, double myUnt) : funcText(expression), myUnit(myUnt)
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::BasicUserFunction::initialize()
|
||||
{
|
||||
units = CREATE<Units>::With();
|
||||
}
|
||||
Reference in New Issue
Block a user