v0.16.3
Loading...
Searching...
No Matches
Macros | Functions
base_tensor_base.cpp File Reference

Check mixed scalar/vector/tensor basis bilinear contractions. More...

#include <MoFEM.hpp>

Go to the source code of this file.

Macros

#define FTENSOR_DEBUG
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Check mixed scalar/vector/tensor basis bilinear contractions.

Definition in file base_tensor_base.cpp.

Macro Definition Documentation

◆ FTENSOR_DEBUG

#define FTENSOR_DEBUG

Definition at line 5 of file base_tensor_base.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 131 of file base_tensor_base.cpp.

131 {
132 MoFEM::Core::Initialize(&argc, &argv, nullptr,
133 "Check mixed tensor bilinear integration\n");
134 try {
135 moab::Core moab;
136 MoFEM::Core core(moab);
137 CHKERR checkForm<2, 1, 2>(core);
138 CHKERR checkForm<2, 3, 2>(core);
139 CHKERR checkForm<3, 3, 2>(core);
140 CHKERR checkForm<4, 1, 2>(core);
141 CHKERR checkForm<4, 3, 2>(core);
142 CHKERR checkForm<9, 3, 2>(core);
143 CHKERR checkForm<3, 1, 3>(core);
144 CHKERR checkForm<3, 5, 3>(core);
145 CHKERR checkForm<9, 1, 3>(core);
146 CHKERR checkForm<9, 5, 3>(core);
147 CHKERR checkForm<3, 5, 3, 0>(core);
148 CHKERR checkForm<9, 3, 2, 0>(core);
149 }
152 return 0;
153}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
Core (interface) class.
Definition Core.hpp:83
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.
Definition Core.cpp:68
static MoFEMErrorCode Finalize()
Checks for options to be called at the conclusion of the program.
Definition Core.cpp:123