waves
Basic FE playground
wForwardEuler.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 University of Liège
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef WFORWARDEULER_H
18 #define WFORWARDEULER_H
19 
20 #include "waves.h"
21 #include "wTimeIntegration.h"
22 
23 namespace waves
24 {
25 
31 {
32 public:
33  ForwardEuler(std::shared_ptr<Problem> _pbl);
34  virtual ~ForwardEuler() { std::cout << "~ForwardEuler()\n"; }
35 
36  virtual void start(tbox::MshExport *mshWriter) override;
37  virtual char const *clsname() const override { return "ForwardEuler"; }
38 };
39 
40 } // namespace waves
41 
42 #endif //WFORWARDEULER_H
WAVES_API
#define WAVES_API
Definition: waves.h:29
waves::ForwardEuler::~ForwardEuler
virtual ~ForwardEuler()
Definition: wForwardEuler.h:34
wTimeIntegration.h
waves::TimeIntegration
Time integration base class.
Definition: wTimeIntegration.h:43
waves::ForwardEuler::clsname
virtual const char * clsname() const override
Definition: wForwardEuler.h:37
waves
Definition: waves.h:34
waves.h
waves::ForwardEuler
simple explicit Forward Euler time integration
Definition: wForwardEuler.h:30