Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
testWeakProblem.cpp File Reference

Go to the source code of this file.

Typedefs

using Sparse = Eigen::SparseMatrix<double>
using Direct = Eigen::SparseLU<Sparse>
using Iterative = Eigen::BiCGSTAB<Sparse>
using Mesh = SimplicialMesh<3>

Functions

void require (bool value, const char *message)
template<class F>
void rejects (F &&operation, const char *message)
template<class Field, class BWF, class LWF, class Problem>
void compare (const std::shared_ptr< Field > &u, const std::shared_ptr< BWF > &bwf, const std::shared_ptr< LWF > &lwf, const std::shared_ptr< Problem > &problem)
template<int order, int components>
void exercise (const std::filesystem::path &root, bool periodic, bool iterative)
void failuresAndReuse (const std::filesystem::path &root)
void ownership (const std::filesystem::path &root)
int main (int argc, char **argv)

Typedef Documentation

◆ Direct

using Direct = Eigen::SparseLU<Sparse>

Definition at line 11 of file testWeakProblem.cpp.

◆ Iterative

using Iterative = Eigen::BiCGSTAB<Sparse>

Definition at line 12 of file testWeakProblem.cpp.

◆ Mesh

using Mesh = SimplicialMesh<3>

Definition at line 13 of file testWeakProblem.cpp.

◆ Sparse

using Sparse = Eigen::SparseMatrix<double>

Definition at line 10 of file testWeakProblem.cpp.

Function Documentation

◆ compare()

template<class Field, class BWF, class LWF, class Problem>
void compare ( const std::shared_ptr< Field > & u,
const std::shared_ptr< BWF > & bwf,
const std::shared_ptr< LWF > & lwf,
const std::shared_ptr< Problem > & problem )

Definition at line 40 of file testWeakProblem.cpp.

◆ exercise()

template<int order, int components>
void exercise ( const std::filesystem::path & root,
bool periodic,
bool iterative )

Definition at line 106 of file testWeakProblem.cpp.

◆ failuresAndReuse()

void failuresAndReuse ( const std::filesystem::path & root)

Definition at line 199 of file testWeakProblem.cpp.

◆ main()

int main ( int argc,
char ** argv )

Definition at line 297 of file testWeakProblem.cpp.

◆ ownership()

void ownership ( const std::filesystem::path & root)

Definition at line 274 of file testWeakProblem.cpp.

◆ rejects()

template<class F>
void rejects ( F && operation,
const char * message )

Definition at line 23 of file testWeakProblem.cpp.

◆ require()

void require ( bool value,
const char * message )

Definition at line 15 of file testWeakProblem.cpp.