DFT-EFE
 
Loading...
Searching...
No Matches
Defaults.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2021. *
3 * The Regents of the University of Michigan and DFT-EFE developers. *
4 * *
5 * This file is part of the DFT-EFE code. *
6 * *
7 * DFT-EFE is free software: you can redistribute it and/or modify *
8 * it under the terms of the Lesser GNU General Public License as *
9 * published by the Free Software Foundation, either version 3 of *
10 * the License, or (at your option) any later version. *
11 * *
12 * DFT-EFE is distributed in the hope that it will be useful, but *
13 * WITHOUT ANY WARRANTY; without even the implied warranty *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
15 * See the Lesser GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU Lesser General Public *
18 * License at the top level of DFT-EFE distribution. If not, see *
19 * <https://www.gnu.org/licenses/>. *
20 ******************************************************************************/
21
22/*
23 * @author Avirup Sircar
24 */
25
26#ifndef dftefeBasisDefaults_h
27#define dftefeBasisDefaults_h
28
29#include <utils/TypeConfig.h>
30#include <string>
32
33namespace dftefe
34{
35 namespace basis
36 {
38 {
39 public:
40 //
41 // The CG Preconditioner Type chosen for L2 Projection
42 //
44
45 //
46 // The number of batched gemms done
47 //
49
50 //
51 // Maximum iteration for CG
52 //
53 static const size_type MAX_ITER;
54
55 //
56 // Absolute tolerance of the residual |AX-b|
57 //
58 static const double ABSOLUTE_TOL;
59
60 //
61 // Relative tolerance of the residual |AX-b|/|b|
62 //
63 static const double RELATIVE_TOL;
64
65 //
66 // Maximum residual tolerance for divergence
67 //
68 static const double DIVERGENCE_TOL;
69
70 }; // end of class L2ProjectionDefaults
71
73 {
74 public:
75 //
76 // The maximum refinement steps used for adaptive mesh generation
77 // algorithm.
78 //
80
81 }; // end of class L2ProjectionDefaults
82
83 } // end of namespace basis
84} // end of namespace dftefe
85#endif // dftefebasisDefaults_h
Definition: Defaults.h:73
static const size_type MAX_REFINEMENT_STEPS
Definition: Defaults.h:79
Definition: Defaults.h:38
static const size_type MAX_ITER
Definition: Defaults.h:53
static const linearAlgebra::PreconditionerType PC_TYPE
Setting all the L2ProjectionDefaults.
Definition: Defaults.h:43
static const double RELATIVE_TOL
Definition: Defaults.h:63
static const size_type CELL_BATCH_SIZE
Definition: Defaults.h:48
static const double DIVERGENCE_TOL
Definition: Defaults.h:68
static const double ABSOLUTE_TOL
Definition: Defaults.h:58
PreconditionerType
Definition: LinearAlgebraTypes.h:41
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8