MOOSE - Multiscale Object Oriented Simulation Environment
|
#include "header.h"
#include "SparseMatrix.h"
#include "Boundary.h"
#include "MeshEntry.h"
#include "VoxelJunction.h"
#include "ChemCompt.h"
#include "MeshCompt.h"
#include "CubeMesh.h"
#include "../utility/Vec.h"
#include "../utility/strutil.h"
#include "CylBase.h"
#include "NeuroNode.h"
Go to the source code of this file.
Functions | |
static bool | checkForSpine (unsigned int dendIndex, Id compt, vector< Id > &shaftId, vector< Id > &headId, vector< unsigned int > &spineParent) |
void | diagnoseTree (const vector< NeuroNode > &tree, const vector< NeuroNode > &nodes) |
static vector< Id > | findAllConnectedCompartments (Id compt) |
bool | isPartOfDend (ObjId i) |
void | reassignNodeIndices (vector< NeuroNode > &temp, const vector< unsigned int > &nodeToTempMap) |
static void | sortByShaftIds (vector< Id > &shaftId, vector< Id > &headId, vector< unsigned int > &spineParent) |
static void | spinyTraverse (unsigned int dendIndex, vector< Id > &dend, const unordered_map< Id, unsigned int > &dendMap, vector< int > &seen, unsigned int numSeen, vector< Id > &shaftId, vector< Id > &headId, vector< int > &dendParent, vector< unsigned int > &spineParent) |
|
static |
Definition at line 391 of file NeuroNode.cpp.
References Id::element(), findAllConnectedCompartments(), Element::getName(), and name.
Referenced by spinyTraverse().
static func
Definition at line 298 of file NeuroNode.cpp.
References Id::path().
Referenced by NeuroNode::traverse().
Finds all the compartments connected to current node, put them all into the return vector even if they may be 'parent' by the messaging. This is because this function has to be robust enough to sort this out
Definition at line 151 of file NeuroNode.cpp.
References axialOut, Element::cinfo(), cylinderOut(), distalOut(), Id::element(), Cinfo::find(), Cinfo::findFinfo(), Element::getNeighbors(), Cinfo::isA(), proximalOut(), raxialOut, and sumRaxialOut().
Referenced by checkForSpine(), NeuroNode::findConnectedCompartments(), and spinyTraverse().
bool isPartOfDend | ( | ObjId | i | ) |
Definition at line 376 of file NeuroNode.cpp.
References Element::cinfo(), ObjId::element(), Element::getName(), Cinfo::isA(), and name.
Referenced by NeuroNode::buildSpinyTree().
void reassignNodeIndices | ( | vector< NeuroNode > & | temp, |
const vector< unsigned int > & | nodeToTempMap | ||
) |
Definition at line 591 of file NeuroNode.cpp.
Referenced by NeuroNode::filterSpines().
|
static |
Definition at line 457 of file NeuroNode.cpp.
Referenced by NeuroNode::buildSpinyTree().
|
static |
spinyTraverse goes takes current dend entry and finds everything connected to it, recursively. Paints the 'seen' entries with the latest index for the number seen so we keep track of which subgroup the dend set belongs to. This does a depth-first recursive traverse. Looks for spines on every dend compt found.
Definition at line 429 of file NeuroNode.cpp.
References checkForSpine(), and findAllConnectedCompartments().
Referenced by NeuroNode::buildSpinyTree().