suanPan
🧮 An Open Source, Parallel and Heterogeneous Finite Element Analysis Framework
Loading...
Searching...
No Matches
SectionNM.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (C) 2017-2026 Theodore Chang
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 ******************************************************************************/
29#ifndef SECTIONNM_H
30#define SECTIONNM_H
31
32#include <Section/Section.h>
33
39
40class SectionNM : protected DataSectionNM, public Section {
41protected:
42 static constexpr double tolerance = 1E-14;
43
44public:
45 using Section::Section;
46
47 void initialize_history(unsigned);
48
49 int clear_status() override;
50 int commit_status() override;
51 int reset_status() override;
52
53 void print() override;
54};
55
56#endif
57
A Section class.
Definition Section.h:77
Section(unsigned=0, SectionType=SectionType::D0, unsigned=0, double=0., vec &&={0., 0.})
Definition Section.cpp:24
A SectionNM class.
Definition SectionNM.h:40
int commit_status() override
Definition SectionNM.cpp:35
void print() override
Definition SectionNM.cpp:51
static constexpr double tolerance
Definition SectionNM.h:42
int clear_status() override
Definition SectionNM.cpp:27
int reset_status() override
Definition SectionNM.cpp:43
void initialize_history(unsigned)
Definition SectionNM.cpp:20
Definition SectionNM.h:34
vec trial_history
Definition SectionNM.h:37
vec initial_history
Definition SectionNM.h:35
vec current_history
Definition SectionNM.h:36