1D ComplexHarmonic problem in unit interval. More...
Public Member Functions | |
ComplexHarmonicProblem (const unsigned &n_element) | |
Constructor: Pass number of elements and pointer to source function. | |
~ComplexHarmonicProblem () | |
Destructor. Clean up the mesh and solver. | |
void | solve (const unsigned &label) |
Solve the problem. | |
void | doc_solution (const unsigned &label) |
Doc the solution, pass the number of the case considered, so that output files can be distinguished. | |
1D ComplexHarmonic problem in unit interval.
Definition at line 345 of file complex_harmonic.cc.
ComplexHarmonicProblem< ELEMENT, EIGEN_SOLVER >::ComplexHarmonicProblem | ( | const unsigned & | n_element | ) |
Constructor: Pass number of elements and pointer to source function.
Constructor for 1D ComplexHarmonic problem in unit interval. Discretise the 1D domain with n_element elements of type ELEMENT. Specify function pointer to source function.
Definition at line 373 of file complex_harmonic.cc.
|
inline |
Destructor. Clean up the mesh and solver.
Definition at line 353 of file complex_harmonic.cc.
void ComplexHarmonicProblem< ELEMENT, EIGEN_SOLVER >::doc_solution | ( | const unsigned & | label | ) |
Doc the solution, pass the number of the case considered, so that output files can be distinguished.
Doc the solution in tecplot format. Label files with label.
Definition at line 408 of file complex_harmonic.cc.
void ComplexHarmonicProblem< ELEMENT, EIGEN_SOLVER >::solve | ( | const unsigned & | label | ) |
Solve the problem.
Solve the eigenproblem.
Definition at line 431 of file complex_harmonic.cc.
Referenced by main().