#include <stdlib.h>
#include <cmath>
#include <BasicFiniteElements.hpp>
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
|
static char | help [] = "...\n\n" |
|
constexpr int | SPACE_DIM = 2 |
| [Define dimension] More...
|
|
constexpr double | c = 1 |
|
constexpr double | k = 1 |
|
constexpr double | init_u = 0. |
|
◆ BoundaryEle
◆ BoundaryEleOp
◆ DomainEle
◆ DomainEleOp
◆ EntData
◆ OpBoundaryMass
◆ OpBoundarySource
◆ OpBoundaryTimeScalarField
◆ OpDomainGradGrad
◆ OpDomainGradTimesVec
◆ OpDomainMass
◆ OpDomainSource
◆ OpDomainTimesScalarField
◆ PostProcEle
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
- Examples
- heat_equation.cpp.
Definition at line 412 of file heat_equation.cpp.
419 auto core_log = logging::core::get();
421 LogManager::createSink(LogManager::getStrmWorld(),
"EXAMPLE"));
422 LogManager::setLog(
"EXAMPLE");
428 DMType dm_name =
"DMMOFEM";
441 CHKERR heat_problem.runProgram();
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
PetscErrorCode DMRegister_MoFEM(const char sname[])
Register MoFEM problem.
#define MOFEM_LOG_TAG(channel, tag)
Tag channel.
DeprecatedCoreInterface Interface
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.
static MoFEMErrorCode Finalize()
Checks for options to be called at the conclusion of the program.
Deprecated interface functions.
◆ help
◆ init_u
constexpr double init_u = 0. |
|
constexpr |
◆ SPACE_DIM
constexpr int SPACE_DIM = 2 |
|
constexpr |