#include <AbstractCardiacProblem.hpp>
Public Member Functions | |
AbstractCardiacProblem (AbstractCardiacCellFactory< SPACE_DIM > *pCellFactory) | |
void | Initialise () |
void | SetNodesPerProcessorFilename (const std::string &filename) |
void | SetBoundaryConditionsContainer (BoundaryConditionsContainer< SPACE_DIM, SPACE_DIM, PROBLEM_DIM > *bcc) |
virtual void | PreSolveChecks () |
virtual Vec | CreateInitialCondition () |
void | ConvertOutputToMeshalyzerFormat (bool call=true) |
void | SetMesh (AbstractMesh< SPACE_DIM, SPACE_DIM > *pMesh) |
void | PrintOutput (bool rPrintOutput) |
void | SetWriteInfo (bool writeInfo=true) |
Vec | GetSolution () |
AbstractMesh< SPACE_DIM, SPACE_DIM > & | rGetMesh () |
AbstractCardiacPde< SPACE_DIM > * | GetPde () |
void | Solve () |
void | CloseFilesAndPostProcess () |
virtual void | WriteInfo (double time)=0 |
virtual void | DefineWriterColumns () |
virtual void | WriteOneStep (double time, Vec voltageVec) |
void | InitialiseWriter () |
void | SetOutputNodes (std::vector< unsigned > &nodesToOutput) |
Hdf5DataReader | GetDataReader () |
void | UseMatrixBasedRhsAssembly (bool usematrix=true) |
virtual void | OnEndOfTimestep (double time) |
Public Attributes | |
Hdf5DataWriter * | mpWriter |
Protected Member Functions | |
virtual AbstractCardiacPde < SPACE_DIM > * | CreateCardiacPde ()=0 |
virtual AbstractDynamicAssemblerMixin < SPACE_DIM, SPACE_DIM, PROBLEM_DIM > * | CreateAssembler ()=0 |
Protected Attributes | |
std::string | mMeshFilename |
std::string | mNodesPerProcessorFilename |
std::string | mOutputDirectory |
std::string | mOutputFilenamePrefix |
bool | mUseMatrixBasedRhsAssembly |
bool | mAllocatedMemoryForMesh |
bool | mWriteInfo |
bool | mPrintOutput |
bool | mCallChaste2Meshalyzer |
std::vector< unsigned > | mNodesToOutput |
unsigned | mVoltageColumnId |
unsigned | mTimeColumnId |
unsigned | mNodeColumnId |
AbstractCardiacPde< SPACE_DIM > * | mpCardiacPde |
BoundaryConditionsContainer < SPACE_DIM, SPACE_DIM, PROBLEM_DIM > * | mpBoundaryConditionsContainer |
BoundaryConditionsContainer < SPACE_DIM, SPACE_DIM, PROBLEM_DIM > * | mpDefaultBoundaryConditionsContainer |
AbstractDynamicAssemblerMixin < SPACE_DIM, SPACE_DIM, PROBLEM_DIM > * | mpAssembler |
AbstractCardiacCellFactory < SPACE_DIM > * | mpCellFactory |
AbstractMesh< SPACE_DIM, SPACE_DIM > * | mpMesh |
Vec | mSolution |
Friends | |
class | TestBidomainWithBathAssembler |
See tutorials for usage.
Definition at line 51 of file AbstractCardiacProblem.hpp.
AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem | ( | AbstractCardiacCellFactory< SPACE_DIM > * | pCellFactory | ) | [inline] |
Constructor
pCellFactory | User defined cell factory which shows how the pde should create cells. |
Definition at line 45 of file AbstractCardiacProblem.cpp.
References GenericEventHandler< 11, HeartEventHandler >::BeginEvent(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mAllocatedMemoryForMesh, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mCallChaste2Meshalyzer, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodesToOutput, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpAssembler, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpCardiacPde, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mPrintOutput, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mSolution, and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mWriteInfo.
virtual AbstractCardiacPde<SPACE_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CreateCardiacPde | ( | ) | [protected, pure virtual] |
Subclasses must override this method to create a PDE object of the appropriate type.
This class will take responsibility for freeing the object when it is finished with.
Implemented in BidomainProblem< DIM >, and MonodomainProblem< DIM >.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise().
virtual AbstractDynamicAssemblerMixin<SPACE_DIM, SPACE_DIM, PROBLEM_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CreateAssembler | ( | ) | [protected, pure virtual] |
Subclasses must override this method to create a suitable assembler object.
This class will take responsibility for freeing the object when it is finished with.
Implemented in BidomainProblem< DIM >, and MonodomainProblem< DIM >.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise | ( | ) | [inline] |
Definition at line 91 of file AbstractCardiacProblem.cpp.
References GenericEventHandler< 11, HeartEventHandler >::BeginEvent(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CreateCardiacPde(), GenericEventHandler< 11, HeartEventHandler >::EndEvent(), Exception::GetMessage(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mAllocatedMemoryForMesh, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodesPerProcessorFilename, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mOutputDirectory, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpCardiacPde, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpCellFactory, and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpMesh.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetNodesPerProcessorFilename | ( | const std::string & | filename | ) | [inline] |
Set a file from which the nodes for each processor are read
Definition at line 224 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodesPerProcessorFilename.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetBoundaryConditionsContainer | ( | BoundaryConditionsContainer< SPACE_DIM, SPACE_DIM, PROBLEM_DIM > * | bcc | ) | [inline] |
Set the boundary conditions container.
*pbcc | is a pointer to a boundary conditions container |
Definition at line 230 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpBoundaryConditionsContainer.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::PreSolveChecks | ( | ) | [inline, virtual] |
Performs a series of checks before solving. It checks whether the cardiac pde has been defined, whether the simulation time is greater than zero and whether the output directory is specified (or the output is set not to be produced). It throws exceptions if any of the above checks fails.
Reimplemented in BidomainProblem< DIM >.
Definition at line 236 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mOutputDirectory, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpCardiacPde, and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mPrintOutput.
Referenced by BidomainProblem< DIM >::PreSolveChecks(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
Vec AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CreateInitialCondition | ( | ) | [inline, virtual] |
Perhaps this should be a method of AbstractCardiacPde?? This is virtual so BidomainProblem can overwrite V to zero for bath nodes, if there are any.
Reimplemented in BidomainProblem< DIM >.
Definition at line 256 of file AbstractCardiacProblem.cpp.
References DistributedVector::Begin(), DistributedVector::CreateVec(), DistributedVector::End(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpCardiacPde, and DistributedVector::Restore().
Referenced by BidomainProblem< DIM >::CreateInitialCondition(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::ConvertOutputToMeshalyzerFormat | ( | bool | call = true |
) | [inline] |
Set whether to call the Chaste2Meshalyzer script. This script gets everything ready to visualize the results with meshalyser and is useful in testing. By default the script is called. In performance testing for example it desirable to disable the script.
Definition at line 289 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mCallChaste2Meshalyzer.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetMesh | ( | AbstractMesh< SPACE_DIM, SPACE_DIM > * | pMesh | ) | [inline] |
This only needs to be called if a mesh filename has not been set
Definition at line 295 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mAllocatedMemoryForMesh, and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpMesh.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::PrintOutput | ( | bool | rPrintOutput | ) | [inline] |
Set whether the simulation will generate results files.
Definition at line 306 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mPrintOutput.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetWriteInfo | ( | bool | writeInfo = true |
) | [inline] |
Set whether extra info will be written to stdout during computation.
Definition at line 312 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mWriteInfo.
Vec AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::GetSolution | ( | ) | [inline] |
Get the final solution vector. This vector is distributed over all processes.
In case of Bidomain, this is of length 2*numNodes, and of the form (V_1, phi_1, V_2, phi_2, ......, V_N, phi_N). where V_j is the voltage at node j and phi_j is the extracellular potential at node j.
Use with caution since we don't want to alter the state of the PETSc vector.
Definition at line 318 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mSolution.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve | ( | ) | [inline] |
First performs some checks by calling the PreSolveChecks method. It creates an assembler to which it passes the boundary conditions specified by the user (otherwise it passes the defauls bcc). It then calls the Solve method in the assembler class. It also handles the output, if necessary.
Definition at line 337 of file AbstractCardiacProblem.cpp.
References GenericEventHandler< 11, HeartEventHandler >::BeginEvent(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CloseFilesAndPostProcess(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CreateAssembler(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CreateInitialCondition(), BoundaryConditionsContainer< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::DefineZeroNeumannOnMeshBoundary(), GenericEventHandler< 11, HeartEventHandler >::EndEvent(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::InitialiseWriter(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mOutputDirectory, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpAssembler, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpBoundaryConditionsContainer, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpDefaultBoundaryConditionsContainer, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpMesh, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mPrintOutput, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mSolution, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mWriteInfo, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::OnEndOfTimestep(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::PreSolveChecks(), ProgressReporter::PrintFinalising(), PetscTools::ReplicateException(), GenericEventHandler< 11, HeartEventHandler >::Reset(), and ProgressReporter::Update().
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CloseFilesAndPostProcess | ( | ) | [inline] |
Closes the files where the solution is stored and, if specified so (as it is by default), converts the output to Meshalyzer format by calling the WriteFilesUsingMesh method in the MeshalyzerWriter class.
Definition at line 450 of file AbstractCardiacProblem.cpp.
References PetscTools::AmMaster(), GenericEventHandler< 11, HeartEventHandler >::BeginEvent(), GenericEventHandler< 11, HeartEventHandler >::EndEvent(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mCallChaste2Meshalyzer, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodesToOutput, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mOutputDirectory, AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpMesh, and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mPrintOutput.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::InitialiseWriter | ( | ) | [inline] |
It creates and initialises the hdf writer from the Hdf5DataWriter class. It passes the output directory (mOutputDirectory) and file name (mOutputFilenamePrefix) to it. It is called by Solve(), if the output needs to be generated.
Definition at line 525 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mOutputDirectory.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetOutputNodes | ( | std::vector< unsigned > & | nodesToOutput | ) | [inline] |
Specifies which nodes in the mesh to output.
&nodesToOutput | is a reference to a vector with the indexes of the nodes where the output is desired. If empty, the output will be for all the nodes in the mesh. |
Definition at line 533 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodesToOutput.
void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::UseMatrixBasedRhsAssembly | ( | bool | usematrix = true |
) | [inline] |
Whether to use matrix-based RHS assembly or not
Definition at line 549 of file AbstractCardiacProblem.cpp.
References AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mUseMatrixBasedRhsAssembly.
virtual void AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::OnEndOfTimestep | ( | double | time | ) | [inline, virtual] |
Called at end of each time step in the main time-loop in Solve(). Empty implementation but can be overloaded by child classes
Reimplemented in BidomainProblem< DIM >.
Definition at line 258 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
std::string AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mMeshFilename [protected] |
Meshes can be read from file or instantiated and passed directly to this class, this is for the former
Definition at line 58 of file AbstractCardiacProblem.hpp.
std::string AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodesPerProcessorFilename [protected] |
If this is set, the nodes for each processor are read
Definition at line 61 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetNodesPerProcessorFilename().
std::string AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mOutputDirectory [protected] |
Data is not written if output directory or output file prefix are not set
Definition at line 64 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CloseFilesAndPostProcess(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::InitialiseWriter(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::PreSolveChecks(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
bool AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mUseMatrixBasedRhsAssembly [protected] |
Whether to use matrix-based assembly of the RHS vector (much more efficient). True by default
Definition at line 70 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::UseMatrixBasedRhsAssembly().
bool AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mAllocatedMemoryForMesh [protected] |
Whether this problem class has created the mesh itself, as opposed to being given it
Definition at line 72 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetMesh().
bool AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mWriteInfo [protected] |
Whether to print some statistics (max/min voltage) to screen during the simulation
Definition at line 74 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetWriteInfo(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
bool AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mPrintOutput [protected] |
Whether to write any output at all
Definition at line 76 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CloseFilesAndPostProcess(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::PreSolveChecks(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::PrintOutput(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
bool AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mCallChaste2Meshalyzer [protected] |
Whether to convert the output from HDF5 to meshalyzer readable format
Definition at line 78 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CloseFilesAndPostProcess(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::ConvertOutputToMeshalyzerFormat().
std::vector<unsigned> AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodesToOutput [protected] |
If only outputing voltage for selected nodes, which nodes to output at
Definition at line 81 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CloseFilesAndPostProcess(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetOutputNodes().
unsigned AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mVoltageColumnId [protected] |
Used by the writer
Definition at line 84 of file AbstractCardiacProblem.hpp.
unsigned AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mTimeColumnId [protected] |
Used by the writer
Definition at line 86 of file AbstractCardiacProblem.hpp.
unsigned AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mNodeColumnId [protected] |
Used by the writer
Definition at line 88 of file AbstractCardiacProblem.hpp.
AbstractCardiacPde<SPACE_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpCardiacPde [protected] |
The monodomain or bidomain pde
Definition at line 91 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CreateInitialCondition(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::PreSolveChecks().
BoundaryConditionsContainer<SPACE_DIM, SPACE_DIM, PROBLEM_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpBoundaryConditionsContainer [protected] |
Boundary conditions container used in the simulation
Definition at line 94 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetBoundaryConditionsContainer(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
BoundaryConditionsContainer<SPACE_DIM, SPACE_DIM, PROBLEM_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpDefaultBoundaryConditionsContainer [protected] |
It is convenient to also have a separate variable for default (zero-Neumann) boundary conditions
Definition at line 96 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
AbstractDynamicAssemblerMixin<SPACE_DIM, SPACE_DIM, PROBLEM_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpAssembler [protected] |
The PDE solver
Reimplemented in BidomainProblem< DIM >.
Definition at line 98 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
AbstractCardiacCellFactory<SPACE_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpCellFactory [protected] |
The cell factory creates the cells for each node
Definition at line 100 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise().
AbstractMesh<SPACE_DIM,SPACE_DIM>* AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mpMesh [protected] |
The mesh. Can either by passed in, or the mesh filename can be set
Definition at line 102 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::CloseFilesAndPostProcess(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Initialise(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::SetMesh(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().
Vec AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::mSolution [protected] |
The current solution vector, of the form [V_0 .. V_N ] for monodomain and [V_0 phi_0 .. V_N phi_N] for bidomain
Definition at line 106 of file AbstractCardiacProblem.hpp.
Referenced by AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::AbstractCardiacProblem(), AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::GetSolution(), and AbstractCardiacProblem< SPACE_DIM, PROBLEM_DIM >::Solve().